Siemens SINUMERIK 828D Programming Manual page 84

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Flexible NC programming
1.9 String operations
Examples
Example 1: Single character access to system data, machine data, etc.
Program code
DEF STRING [50] STRG
DEF CHAR ACK
...
STRG = $P_MMCA
ACK = STRG [0]
Example 2: Single character access with call-by-reference parameter
Program code
DEF STRING [50] STRG
DEF CHAR CHR1
EXTERN UP_CALL (VAR CHAR1)
...
CHR1 = STRG [5]
UP_CALL (CHR1)
STRG [5] = CHR1
84
Comments
;
Evaluating the acknowledgement
components
Comments
;
Call-by-reference parameters!
;
Call-by-reference
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents