·588·
Installation manual
CNC 8055
CNC 8055i
14.
AXES CONTROLLED FROM THE PLC
SOFT: V02.2X
PLC execution channel
Subroutine SUB1 can be programmed as follows:
(SUB 1)
(P100 = G, P101 = U, P102 = F)
Data transfer to global parameters.
(PLCM1000 = PLCM1000 OR 1)
Execution command for the PLC.
(RET)
The PLC program, in turn, will have to contain the following instructions:
M1000 = CNCEX (G90 GP100 UP101 FP102, M111)
;When mark M1000 is active, it sends the indicated block to the CNC.
NOT M111 = RES M1000
If the CNC accepts this block, it resets mark M1000.