P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
Parameter
Start :
Funct :
Mode :
AxisNo :
Pos :
FRate :
InPos :
Error :
State :
Function 5, 6, 7, 8: Position axes
Parameter
Start :
Funct :
Mode :
AxisNo :
Pos :
FRate :
InPos :
Error :
State :
Function 9: Rotate spindle with automatic gear stage selection:
Parameter
Start :
Stop :
Funct :
Mode :
AxisNo :
FRate :
InPos :
Error :
State :
1024
Description
0 → 1: Start the function
4: Function number for "Indexing axis"
Positioning mode 0, 1, 2, 3, 4
Number of machine axis
Indexing position
FRate ≠ 0: Positioning velocity
FRate = 0: Velocity corresponding to MD32060 $MA_POS_AX_VEL
1: Position reached with "Exact stop fine"
1: Positioning error
Error code
Description
0 → 1: Start the function
5, 6, 7, 8: Function number for "Position axes"
Positioning mode 0, 1, 2, 3, 4
Number of machine axis
Position
FRate ≠ 0: Positioning velocity
FRate = 0: Velocity corresponding to MD32060 $MA_POS_AX_VELO
1: Position reached with "Exact stop fine"
1: Positioning error
Error code
Description
0 → 1: Start the function
0 → 1: Stop the function
9: Function number for "Rotate spindle with gearbox stage selection"
Mode = 5: direction of rotation M4
Mode ≠ 5: direction of rotation M3
Number of machine axis
Spindle speed
1: Setpoint speed is output
1: Positioning error
Error code
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions