·842·
Installation manual
CNC 8060
CNC 8065
10.
CNC VARIABLES.
(REF: 1402)
Variables related to jog mode.
Remarks.
If an axis has been set in handwheel mode from the PLC, it can only be deactivated from
the PLC; a reset does not deactivate it.
SWITCH POSITION IN HANDWHEEL MODE.
(V.)G.MPGIDX
Variable that can only be read from the program, PLC and interface.
The variable returns the execution value; reading it interrupts block preparation.
Report variable (to be used from the scripts).
Active position for all the handwheels.
Values of the variable.
This variable returns one of the following values.
Remarks.
The value may be set by the switch of the operator panel or by PLC; the one set by PLC has
the highest priority.
(V.)G.CNCMPGIDX
Variable that can be read and written from the interface and read from the program and from the PLC.
The variable returns the execution value; reading it interrupts block preparation.
Report variable (to be used from the scripts).
Position selected at the switch.
The value set by the switch of the operator panel has lower priority than the one set by PLC.
Values of the variable.
This variable returns one of the following values.
(V.)PLC.MPGIDX
Variable that can be read and written from the PLC and read from the program and from the interface.
The variable returns the execution value; reading it interrupts block preparation.
Report variable (to be used from the scripts).
Position selected by PLC.
The value selected by PLC prevails over the one selected on the operator panel. To cancel
the feedrate set by PLC, set the variable to ·0·.
V.G.MPGIDX
Value. Meaning.
1 Position 1.
2 Position 10.
3 Position 100.
V.PLC.CNCMPGIDX
Value. Meaning.
1 Position 1.
2 Position 10.
3 Position 100.
V.PLC.MPGIDX