Technical Appendix
6.3
PLC user program for turning (UPGMTURN)
•
AUTO mode M03 active
•
JOG mode Spindle CW key pressed
•
JOG mode Spindle Jog key (#2) pressed
•
AUTO mode M04 active
•
JOG mode Spindle CCW key pressed
•
AUTO mode M05 active
•
JOG mode Spindle STOP key pressed
•
In AUTO mode Spindle speed
controlled by M41, M42, M43, M44
•
In JOG mode if Spindle Jog key pressed
In JOG mode Spindle speed >> key and spindle speed<<
key control an internal pointer for changing the speed
stages as in AUTO mode
•
With speed stage 1
•
With speed stage 2
•
With speed stage 3
•
With speed stage 4
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
Toolholder CCW
S
UPGMTURN control
S
In AUTO mode T (0<= T <=5) is not identi-
cal to the current toolholder position
S
In JOG mode Manual Tool Change key
pressed down
6-150
Precondition
(O0.4)
(O0.5)
Precondition
•
CW (O0.0) active
Spindle
•
CCW (O0.1) inactive
Spindle
•
CCW (O0.1) active
Spindle
•
CW (O0.0) inactive
Spindle
•
Spindle brake (O0.2) active for the
interval as specified in PLC-MD
•
Spindle CW and CCW inactive
M41
n
O1.0
O1.1
n
O1.2
O1.3
as with
M41
Speed stage 1 (identical to M41)
---->>
Speed stage 2 (identical toM42)
Speed stage 3 (identical to M43)
Speed stage 4 (identical to M44)
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
Result
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
Toolholder CW is active as long as the key
is pressed down.
6FC5 597–2AA00–0BP2 (01.02)
Result
M42
M43
M44
n
n
n
n
n
n
smallest speed is activated
SINUMERIK 802S