Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·743·
Variables related to the machine configuration.
Syntax.
·ch· Channel number.
·sn· Name, logic number or index of the spindle.
Values of the variable.
Remarks.
The variable keeps its value between programs and after a reset; it is initialized to ·0· when
turning the CNC on.
Every time the part-program writes or reads this variable, the CNC synchronizes the block
preparation and the execution. If it is the PLC who modifies the variable, it must be borne
in mind that block preparation takes its value into account every time it detects a change in
the spindle movement (Function G63, change of speed or of the turning direction, etc.);
therefore, before preparing those blocks, the PLC must have written this variable.
NUMBER OF PULSES SENT BY THE HANDWHEEL.
(V.)G.HANDP[hw]
Variable that can only be read from the program, PLC and interface.
The variable returns the execution value; reading it interrupts block preparation.
Number of pulses sent by the handwheel since the system was started up. While the
handwheel is disabled from the PLC (marks INHIBITMPG1 through INHIBITMPG12), the
variable does not save the pulses sent by the handwheel.
Syntax.
·hw· Handwheel number.
Remarks.
The PLC can use these variables to control the machining feedrate depending on how fast
the handwheel is turned, for example when machining a part for the first time or to move back
in the machining operation when the retrace function is active. Depending on the handwheel
pulses read by the variable, it is possible to calculate from the PLC the right feedrate override
percentage and set it for the machining operation. This handwheel mode is known as "feed
handwheel".
V.A.POLARITY.S Spindle S.
V.SP.POLARITY.S Spindle S.
V.SP.POLARITY Master spindle.
V.A.POLARITY.4 Spindle with logic number ·4·.
V.SP.POLARITY.2 Spindle with index ·2· in the system.
V.[2].SP.POLARITY.1 Spindle with index ·1· in the channel ·2·.
Value. Meaning.
0 For the M3/M4 functions, the CNC applies parameters
POLARM3 and POLARM4.
1 For the M3/M4 functions, the CNC reverses the meaning of
parameters POLARM3 and POLARM4.
(V.)G.HANDP[1] Handwheel ·1·.