July 2013 6.12 Spindle 971
Module 9171 Oriented spindle stop
The module functions only in the cyclic PLC program. If you call the module
while the spindle is rotating, the transferred direction will be ignored. The
spindle will be oriented in the direction of spindle rotation.
If the values 2 to 4 are transferred as direction of rotation, the spindle will be
oriented to the angle last defined in CYCL DEF 13. The transferred angle is
added to the value from CYCL DEF 13.
Call:
PS B/W/D/K <Angle [1/10 000 °]>
or additional preset if there is a value from CYCL DEF 13
PS B/W/D/K <speed [1/1000 min–1]>
0: MP3520.1 is assumed
PS B/W/D/K <Direction of rotation>
–1: Negative direction (M04)
0: Direction of the shortest path
1: Positive direction (M03)
2: Same as –1 but angle from CYCL DEF 13
3: Same as 0 but angle from CYCL DEF 13
4: Same as +1 but angle from CYCL DEF 13
5: Incremental procedure with the entered angle.
Depending on the algebraic sign given, orientation occurs
in either positive or negative direction (+/–).
CM 9171
Error code:
Marker Value Meaning
M4203 0 Spindle is brought to an oriented stop
1 Error code in W1022
W1022 1 Incorrect value for direction of rotation or rotational
angle
2 Incorrect speed
19 No feedback-controlled spindle
24 The module was called in a spawn job or submit job
27 A spindle orientation is already running