Table of contents
Preface ...................................................................................................................................................... iii
1
Flexible NC programming ....................................................................................................................... 1-1
1.1
system variables) ....................................................................................................................... 1-1
1.2
1.3
1.4
Indirect programming ............................................................................................................... 1-13
1.4.1
1.5
Assignments............................................................................................................................. 1-17
1.6
1.7
1.7.1
1.8
Priority of the operations .......................................................................................................... 1-24
1.9
Possible type conversions ....................................................................................................... 1-25
1.10
String operations...................................................................................................................... 1-26
1.10.1
Type conversion to STRING .................................................................................................... 1-27
1.10.2
Type conversion of STRING .................................................................................................... 1-28
1.10.3
Concatenation of strings .......................................................................................................... 1-28
1.10.4
1.10.5
Length of the string .................................................................................................................. 1-30
1.10.6
1.10.7
Selection of a substring............................................................................................................ 1-32
1.10.8
1.11
CASE statement ...................................................................................................................... 1-34
1.12
Control structures..................................................................................................................... 1-36
1.13
Program coordination............................................................................................................... 1-39
1.14
1.15
1.16
1.17
1.18
WRITE: Write file...................................................................................................................... 1-61
1.19
DELETE: Delete file ................................................................................................................. 1-63
1.20
1.21
1.22
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
vii