Operating manual
CNC 8055
CNC 8055i
OPERATING IN JOG MODE
2.
·TC· OPTION
SOFT: V02.2X
·63·
Live tool
Example of a PLC program to manage the live tool
Here is an example of the portion of the PLC program that must manage the live tool:
( ) = CNCRD (TOOL, R101, M1)
Assigns the number of the active tool to register R101.
= CNCRD (TOF R101, R102, M1)
Loads register R102 with the location code of the active tool.
CPS R102 EQ 10 OR CPS R102 EQ 20 OR CPS R102 EQ 30 = M2
If the active tool is a live tool (if its location code is 10, 20 or 30), it activates the M2 mark.
CUSTOM AND (DFU B7R561 OR DFD M2) = CNCEX1 (M45 S0, M1)
If while the TC (CUSTOM=1) mode is selected, the "Stop live tool" key is pressed (DFU B7R561)
or the live tool is de-selected (DFD M2).
The PLC "tells" the CNC to execute block M45 S0 (stops the live tool).
CUSTOM AND M2 AND DFU B3R562 = CNCRD (LIVRPM, R117, M1) = CNCWR (R117, GUP100,
M1)= CNCEX1 (M45 SP100, M1)
If in TC (CUSTOM=1) mode, a live tool is selected (M2) and the "live tool clockwise" key is
pressed (DFU B3R562).
The PLC reads in R117 the rpm currently selected for the live tool (LIVRPM) and assigns them
to general parameter P100.
Finally, the PLC "tells" the CNC to execute block M45 SP100 (live tool clockwise at the selected
rpm).
CUSTOM AND M2 AND DFU B5R562 = CNCRD (LIVRPM, R117, M1) = CNCWR (R117, GUP100,
M1)= CNCEX1 (M45 S-P100, M1)
If in TC (CUSTOM=1) mode, a live tool is selected (M2) and the "live tool counterclockwise" key
is pressed (DFU B5R562).
The PLC reads in R117 the rpm currently selected for the live tool (LIVRPM) and assigns them
to general parameter P100.
Finally, the PLC "tells" the CNC to execute block M45 S-P100 (live tool counterclockwise at the
selected rpm).