1238 HEIDENHAIN Technical Manual iTNC 530 HSCI
ID 331 NR 0 to
ID 331 NR 9
Sets a global program setting inactive/active and checks for active global
program settings.
To be able to activate a global program setting with FN 17: SYSWRITE ID 331
NRx IDX0 = 1, software option 44 "Global PGM Settings" must be set;
otherwise the NC program is canceled at this point. Setting a global program
setting to inactive, e.g. with FN 17: SYSWRITE ID 331 NR0 IDX0 = 0, also works
without software option 44, however.
Examples:
FN 18 functions:
FN 18: SYSREAD Q1 = ID 331 NR0 IDX0
Returns 1 if a setting is active, otherwise 0 (identical to ID 330 NR 0)
FN 18: SYSREAD Q1 = ID 331 NR1 IDX0
Returns 1 if a "basic rotation" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR2 IDX0
Returns 1 if "axis swapping" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR3 IDX0
Returns 1 if "mirror axes" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR4 IDX0
Returns 1 if "shifting" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR5 IDX0
Returns 1 if "rotation" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR6 IDX0
Returns 1 if "feed rate factor" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR7 IDX0
Returns 1 if "disable axes" is active; otherwise 0
FN 18: SYSREAD Q1 = ID 331 NR8 IDX0
Returns 1 if "handwheel superimpositioning" is active; otherwise 0
FN 17 functions:
FN 17: SYSWRITE ID 331 NR0 IDX0 = 0
Sets all global program settings to inactive (like
GLOBAL SETTINGS INACTIVE soft key)
FN 17: SYSWRITE ID 331 NR0 IDX0 = 1
Sets all global program settings to active
FN 17: SYSWRITE ID 331 NR1 IDX0 = 0
Sets "basic rotation" to inactive
FN 17: SYSWRITE ID 331 NR1 IDX0 = 1
Sets "basic rotation" to active
FN 17: SYSWRITE ID 331 NR2 IDX0 = 0
Sets "axis swapping" to inactive
FN 17: SYSWRITE ID 331 NR2 IDX0 = 1
Sets "axis swapping" to active
FN 17: SYSWRITE ID 331 NR3 IDX0 = 0
Sets "mirror axes" to inactive
FN 17: SYSWRITE ID 331 NR3 IDX0 = 1
Sets "mirror axes" to active
FN 17: SYSWRITE ID 331 NR4 IDX0 = 0
Sets "shifting" to inactive
FN 17: SYSWRITE ID 331 NR4 IDX0 = 1
Sets "shifting" to active
FN 17: SYSWRITE ID 331 NR5 IDX0 = 0
Sets "rotation" to inactive