·346·
Programming manual
CNC 8055
CNC 8055i
13.
HIGH-LEVEL LANGUAGE PROGRAMMING
·M· & ·EN· MODELS
SOFT: V02.2X
Variables
EXTORG
Returns the active absolute zero offset. The values returned by the variable are identical for both
possible expressions of absolute zero offsets.
This read-only variable interrupts block preparation and may be read from the CNC, from the PLC
and from DNC.
The values of the EXTORG variables that correspond to the absolute zero offsets are:
Considerations:
• When programming only an incremental zero offset (G58 or G59), the value of the EXTORG
variable will be 0.
• When programming an absolute and an incremental zero offset, the EXTORG variable will keep
the value of the absolute zero offset.
Example: If G54 + G58, EXTORG = 1 has been programmed.
Read-and-write variables
ORG(X-C)n
This variable allows the value of the selected axis to be read or modified in the table corresponding
to the indicated zero offset (n).
PLCOF(X-C)
This variable allows the value of the selected axis to be read or modified in the table of additive offsets
indicated by the PLC.
Accessing any of the PLCOF(X-C) variables interrupts block preparation and the CNC waits for that
command to be executed before resuming block preparation.
EXTORG Active zero offset EXTORG Active zero offset
0 G53 (there is no zero offset) 11 G159N11
1 G54 or G159N1 12 G159N12
2 G55 or G159N2 13 G159N13
3 G56 or G159N3 14 G159N14
4 G57 or G159N4 15 G159N15
5 G159N5 16 G159N16
6 G159N6 17 G159N17
7 G159N7 18 G159N18
8 G159N8 19 G159N19
9 G159N9 20 G159N20
10 G159N10
If G54-G59 is used:
(P110=ORGX 55)
Loads parameter P100 with the X value of G55 in the zero offset table.
(ORGY 54=100.8)
It assigns value 100.8 to the Y axis in the table for the G54 zero offset.
If G159N1-N20 is used:
(P110=ORGX 19)
Loads parameter P110 with the X value of G159N19 in the zero offset table.
(ORGY 19=100.8)
It assigns value 100.8 to the Y axis in the table for the G159N19 zero offset.