R2: Rotary axes
12.3 Programming rotary axes
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
693
Extract from part program:
Program code Comment
M123 ; Insert the pallet with quadruple
clamping into the machine
Deactivate the software limit
switches on the B axis from the
PLC
DB35, DBX12.4=0
STOPRE ; Trigger a preprocessing stop
S1000 M3
G4 F2
G1 X0 Y300 Z500 B0 F5000
CYCLE84(500,400,0,350,0,1,4,10,,0,500,1000) ; drilling cycle
Z500
B90
CYCLE84(500,400,0,350,0,1,4,10,,0,500,1000) ; drilling cycle
Z500
B180
CYCLE84(500,400,0,350,0,1,4,10,,0,500,1000) ; drilling cycle
Z500
B270
CYCLE84(500,400,0,350,0,1,4,10,,0,500,1000) ; drilling cycle
Z500
G0 Z540 B0
M124 ; Insert the pallet with built-on
axis into the machine
Activate the software limit
switches on the B axis from the
PLC
DB35, DBX12.4=1
;
STOPRE ; Trigger a preprocessing stop
B270