04.00
1
Flexible NC Programming
1.1
Variables and arithmetic parameters .............................................................................. 1-22
1.2
Variable definition............................................................................................................ 1-25
1.3
Array definition ............................................................................................................... 1-30
1.4
Indirect programming ..................................................................................................... 1-36
1.5
Assignments .................................................................................................................. 1-38
1.6
1.7
1.8
Priority of operators........................................................................................................ 1-44
1.9
1.10 String operations ............................................................................................................ 1-46
1.10.1 Type conversion........................................................................................................ 1-47
1.10.2 Chaining of strings .................................................................................................... 1-49
1.10.4 Length of string ......................................................................................................... 1-51
1.11 CASE instruction ............................................................................................................ 1-56
1.12 Control structures........................................................................................................... 1-58
1.13 Program coordination..................................................................................................... 1-63
1.14 Interrupt routine.............................................................................................................. 1-68
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
Flexible NC Programming
1
1-21