July 2013 8.1 Display and operation 1239
FN 17: SYSWRITE ID 331 NR5 IDX0 = 1
Sets "rotation" to active
FN 17: SYSWRITE ID 331 NR6 IDX0 = 0
Sets "feed rate factor" to inactive
FN 17: SYSWRITE ID 331 NR6 IDX0 = 1
Sets "feed rate factor" to active
FN 17: SYSWRITE ID 331 NR7 IDX0 = 0
Sets "disable axes" to inactive
FN 17: SYSWRITE ID 331 NR7 IDX0 = 1
Sets "disable axes" to active
FN 17: SYSWRITE ID 331 NR8 IDX0 = 0
Sets "handwheel superimpositioning" to inactive
FN 17: SYSWRITE ID 331 NR8 IDX0 = 1
Sets "handwheel superimpositioning" to active
ID 332 NR1 to
ID 332 NR 9
Sets or reads values from the global program settings
For axis-specific program settings, the axis index (e.g. 1 = X axis, 2 = Y axis,
.... 9 = W axis) must also be entered. Axis-specific are: ID 332 NR2, NR3, NR4,
NR7, NR8 and NR9. For ID 332 NR8 and ID 332 NR9 you can select the VT axis
with IDX10. For program settings that are not axis-specific (NR1, NR5, NR6),
IDX 0 must be entered.
When writing with FN 17: SYSWRITE ID 332 NRx IDX y = Q1, software option
44 must be set, otherwise the NC program is canceled with an error message
at this point. During axis swapping (ID 332 NR 2), a successful SYSWRITE call
leads to two lines of the exchange table being changed.
Example:
FN 17: SYSWRITE ID 330 NR 0 = 0
Set everything to default values
FN 17: SYSWRITE ID 331 NR 2 = 1
Activate axis swapping
FN 17: SYSWRITE ID 332 NR 2 IDX 1 = 2
Replace X axis by Y axis
Please note that at the same time, the Y axis is replaced by the X axis
because every axis letter can only appear once on each side of the exchange
table.
FN 18 functions:
FN 18: SYSREAD Q1 = ID 332 NR 1 IDX0
Returns the value of the basic rotation
FN 18: SYSREAD Q1 = ID 332 NR 2 IDX1
Axis swapping: returns the index of the axis that the X axis was exchanged
for (e.g. 7 for the U axis).
FN 18: SYSREAD Q1 = ID 332 NR 3 IDX1
Mirror axes: returns 1 if the X axis is mirrored in the global program settings,
otherwise 0
FN 18: SYSREAD Q1 = ID 332 NR 4 IDX2
Returns the shift value of the Y axis
FN 18: SYSREAD Q1 = ID 332 NR 5 IDX0
Returns the value of the rotation
FN 18: SYSREAD Q1 = ID 332 NR 6 IDX0
Returns the feed rate override
FN 18: SYSREAD Q1 = ID 332 NR 7 IDX3
Returns 1 if the Z axis is disabled in the global settings