Technical Appendix
6.3 PLC user program for turning (UPGMTURN)
6-150
SINUMERIK 802S
6FC5 597–2AA00–0BP2 (01.02)
Precondition Result
• AUTO mode M03 active
• JOG mode Spindle CW key pressed
• JOG mode Spindle Jog key (#2) pressed
• Spindle CW (O0.0) active
• Spindle CCW (O0.1) inactive
• AUTO mode M04 active
• JOG mode Spindle CCW key pressed
• Spindle CCW (O0.1) active
• Spindle CW (O0.0) inactive
• AUTO mode M05 active
• JOG mode Spindle STOP key pressed
• Spindle brake (O0.2) active for the
interval as specified in PLC-MD
• Spindle CW and CCW inactive
• In AUTO mode Spindle speed M41 M42 M43 M44
controlled by M41, M42, M43, M44 O1.0 n n
O1.1 n n
O1.2 n n
O1.3 n n
• In JOG mode if Spindle Jog key pressed as with
M41
smallest speed is activated
In JOG mode Spindle speed >> key and spindle speed<<
key control an internal pointer for changing the speed
stages as in AUTO mode
Speed stage 1 (identical to M41)
---->> Speed stage 2 (identical toM42)
Speed stage 3 (identical to M43)
Speed stage 4 (identical to M44)
• With speed stage 1
• With speed stage 2
• With speed stage 3
• With speed stage 4
O1.4 active; O1.5, O1.6, O1.7 inactive
O1.5 active; O1.4, O1.6, O1.7 inactive
O1.6 active; O1.4, O1.5, O1.7 inactive
O1.7 active; O1.4, O1.5, O1.6 inactive
Note: n means ”active”
Toolholder control
S Input signals:
I0.0, I0.1, I0.2, I0.3, I0.4, I0.5 toolholder locations
I0.6 toolholder “Positioned”
T function (tool number) in the part program
Manual tool change on the machine control panel (C4)
S Output signals:
Toolholder CW (O0.4)
Toolholder CCW (O0.5)
S UPGMTURN control
Precondition Result
S In AUTO mode T (0<= T <=5) is not identi-
cal to the current toolholder position
S Toolholder CW is active as long as the se-
lected toolholder position is detected on the
inputs; then Toolholder CCW is active for
the interval set in the PLC MD.
S In JOG mode Manual Tool Change key
pressed down
S Toolholder CW is active as long as the key
is pressed down.