Installation manual
CNC 8055
CNC 8055i
ACCESS TO INTERNAL CNC VARIABLES
13.
SOFT: V02.2X
·533·
Variables associated with zero offsets.
13.2 Variables associated with zero offsets.
These variables are associated with the zero offset table, due to which the values that will be
assigned to or read from these fields will comply with the formats established for this table.
The possible zero offsets in addition to the additive offset indicated by the PLC, are G54, G55, G56,
G57, G58, G59 and G159.
The values are given in the units set by general parameter INCHES.
If, INCHES = 0, in ten-thousandths of a millimeter (±999999999).
If INCHES = 1, in hundred-thousandths of an inch (±393700787).
If rotary axis, in ten-thousandths of a degree (±999999999).
Although there are variables which refer to each axis, the CNC only allows those referring to the
axes selected at the CNC. Thus, if the CNC controls axes X, Y, Z, U and B, it only allows the variables
ORGX, ORGY, ORGZ,. ORGU and ORGB in the case of ORG(X-C).
Read-only variables
ORG(X-C)
Returns the value of the active zero offset in the selected axis. The value of the additive offset
indicated by the PLC or by the additive handwheel is not included in this value.
ADIOF(X-C)
It returns the value of the zero offset generated by the additive handwheel in the selected axis.
ADDORG (X-C)
Returns the value of the active incremental zero offset corresponding to the axis selected at the time.
It is read-only variable that can be read from the CNC, PLC and DNC.
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.
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