Siemens sinumerik 840d Programming Manual page 55

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573
It is only possible to access single characters in
variables that have been defined by the user (LUD,
GUD and PUD data).
In addition, this mode of accessing data with
subroutine calls can only be used for parameters of
the "call-by-value" type.
Examples:
Accessing single character in a system data,
machine data, ...:
DEF STRING [50] STRG
DEF CHAR ACKNOWLEDGMENT
...
STRG = $P_MMCA
ACKNOWLEDGMENT = STRG [0]
Accessing single character with
call-by-reference parameter:
DEF STRING [50] STRG
DEF CHAR CHR1
EXTERN UP_CALL (VAR CHAR1)
...
CHR = STRG [5]
UP_CALL (CHR1)
STRG [5] = CHR1
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC Programming
1.10 String operations
;Evaluation of acknowledgment
component
;Call-by-reference parameter!
;Call-by-reference
1
1-55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents