Installation manual
CNC 8055
CNC 8055i
CONCEPTS
7.
SOFT: V02.2X
·385·
Configuring a CNC as two and a half axes
PLC programming example
;
;* * * * * * * * 2+1/2-AXIS APPLICATION * * * * * * * *
;
() = SET TOOLINSP = CNCRD(MPG147,R131,M1000)
;
NOT B2R131 = JMP L99
If it is not a 2+1/2-AXIS configuration, jump to label L99.
() = CNCRD(OPMODA,R130,M1000)
;
NOT B0R130 AND NOT B4R130 AND NOT B7R130 = DRO3
If the program is not in execution (B0R130), it is not interrupted (B4R130) and it is not in tool inspection
mode (B7R130), then Z is a DRO axis.
;
(NOT INPOSX OR NOT INPOSY) AND DFD B3R130 = TG1 124 100
If the X axis or the Y axis is not in position and we it is coming out of tool inspection (B3R130), then
generate /STOP.
;
ENABLEZ AND INPOSX AND INPOSY = SET M200
If wished to move the Z axis and the X-Y axes are in position, then the Z axis may be moved.
;
M200 AND B0R130 AND NOT B3R130 AND NOT B7R130 = SET INHIBITX = SET INHIBITY = MOV 100
R131 = CNCWR(R131,PLCFRO,M9)
If the Z axis may be moved and the program is not in execution (B0R130), it is not repositioning
(B3R130) and it is not in tool inspection (B7R130), then inhibit the X-Y axes, set the feedrate override
of the PLC to 100% and disable the feedrate override.
;
M200 AND B0R130 AND NOT B4R130 = M412
If the Z axis may be moved, there is a program in execution (B0R130) and it is not interrupted
(B4R130), then the Z axis is moving.
;
M412 AND (ENABLEX OR ENABLEY) = TG1 123 100
If the Z axis is moving and you wish to move the X or Y axis, then generate /STOP.
;
DFD INCYCLE = RES M200
If the program execution is finished or a /STOP has been generated, then the Z axis movement has
finished.
;
(START AND NOT M412) OR DFD B0R130 OR DFU B7R130 = RES INHIBITX = RES INHIBITY = MOV
0 R131 = CNCWR(R131,PLCFRO,M9)
If [CYCLE START] is pressed and the Z axis does not move or the execution of the program ends
(B0R130) or it goes into tool inspection (B7R130), then enable the X-Y axes, set the PLC feedrate
override to 0% and enable the feedrate override.
;
L99
;
;* * * * Emergency, feedhold, stop, auxend * * * *
;
NOT T123 AND NOT T124 = /STOP
I1 = /EMERGEN
E-stop button.
/ALARM = O1
() = /FEEDHOL = /XFERINH
START AND NOT M412 = CYSTART
[CYCLE START] is pressed and the Z axis does not move.
NOT T1 = AUXEND
;