Installation manual
CNC 8035
ACCESS TO INTERNAL CNC VARIABLES
Variables associated with zero offsets.
11.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·373·
11.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 and G59.
The values are given in the units set by g.m.p. 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 the X and Z axes, it only allows the variables
ORGX and ORGZ 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.
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.
CNCRD(ORGX 55,R100,M102)
Loads register R100 with the X value of G55 in the zero offset table.
CNCWR (R101, TOX3, M101)
Assigns the value indicated in R101 to the Y value of G54 in the zero offset table.