2.15.1.5 Channel axes .......................................................................................................................373
2.15.1.6 Path axes .............................................................................................................................373
2.15.1.7 Positioning axes ...................................................................................................................373
2.15.1.8 Synchronized axes...............................................................................................................374
2.15.1.9 Command axes ....................................................................................................................375
2.15.1.10 PLC axes..............................................................................................................................375
2.15.1.11 Link axes ..............................................................................................................................375
2.15.1.12 Lead link axes ......................................................................................................................377
2.15.2 From travel command to machine movement......................................................................379
2.15.3 Path calculation....................................................................................................................379
2.15.4 Addresses ............................................................................................................................380
2.15.5 Names..................................................................................................................................382
2.15.6 Constants .............................................................................................................................384
2.15.7 Operators and arithmetic functions .....................................................................................385
3 Work preparation ......................................................................................................................................389
3.1 Flexible NC programming ....................................................................................................389
3.1.1 Variables ..............................................................................................................................389
3.1.1.1 System data .........................................................................................................................390
3.1.1.2 Predefined user variables: Channel-specific arithmetic parameters (R) ..............................392
3.1.1.3 Predefined user variables: Global arithmetic parameters (RG) ...........................................393
3.1.1.4 Predefined user variables: Link variables ............................................................................395
3.1.1.5 Definition of user variables (DEF) ........................................................................................397
3.1.1.6 Redefinition of system data, user data, and NC commands (REDEF) ................................402
3.1.1.7 Attribute: Initialization value .................................................................................................406
3.1.1.8 Attribute: Limit values (LLI, ULI)...........................................................................................408
3.1.1.9 Attribute: Physical unit (PHU)...............................................................................................410
3.1.1.10 Attribute: Access rights (APR, APW, APRP, APWP, APRB, APWB)...................................412
3.1.1.11 Overview of definable and redefinable attributes .................................................................416
3.1.1.12 Definition and initialization of array variables (DEF, SET, REP) ..........................................417
3.1.1.13 Data types ............................................................................................................................423
3.1.1.14 Variable minimum, maximum and range (MINVAL, MAXVAL and BOUND) .......................424
3.1.1.15 Check availability of a variable (ISVAR)...............................................................................425
3.1.1.16 Reading attribute values / data type (GETVARPHU, GETVARAP, GETVARLIM,
GETVARDIM, GETVARDFT, GETVARTYP) .......................................................................427
3.1.1.17 Possible type conversions....................................................................................................432
3.1.2 Indirect programming ...........................................................................................................433
3.1.2.1 Indirectly programming addresses .......................................................................................433
3.1.2.2 Indirectly programming G commands ..................................................................................435
3.1.2.3 Indirectly programming position attributes (GP)...................................................................436
3.1.2.4 Indirectly programming part program lines (EXECSTRING)................................................439
3.1.3 Instructions...........................................................................................................................440
3.1.3.1 Arithmetic functions..............................................................................................................440
3.1.3.2 Comparison and logic operations.........................................................................................442
3.1.3.3 Priority of the operations ......................................................................................................444
3.1.3.4 Precision correction on comparison errors (TRUNC)...........................................................444
3.1.3.5 Roundup (ROUNDUP) .........................................................................................................446
3.1.4 String operations ..................................................................................................................447
3.1.4.1 Type conversion to STRING (AXSTRING) ..........................................................................448
3.1.4.2 Type conversion from STRING (NUMBER, ISNUMBER, AXNAME)...................................448
3.1.4.3 Concatenation of strings (<<)...............................................................................................449
3.1.4.4 Conversion to lower/upper case letters (TOLOWER, TOUPPER).......................................450
Table of contents
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 11