EasyManua.ls Logo

Siemens SINUMERIK 810D - Page 55

Siemens SINUMERIK 810D
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1
04.00 Flexible NC Programming
1.10 Strin
g
o
p
erations
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1-55
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]
;Evaluation of acknowledgment
component
Accessing single character with
call-by-reference parameter:
DEF STRING [50] STRG
DEF CHAR CHR1
EXTERN UP_CALL (VAR CHAR1)
;Call-by-reference parameter!
…
CHR = STRG [5]
UP_CALL (CHR1)
;Call-by-reference
STRG [5] = CHR1

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Related product manuals