P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1030
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Functions
1. Position spindle:
The following signals are relevant:
2. Rotate spindle:
The following signals are relevant:
3. Oscillate spindle:
The following signals are relevant:
The oscillation speed is taken from machine data:
MD35400 $MA_SPIND_OSCILL_DES_VELO
Start:
Initiation signal
Funct:
"1" = Position spindle
Mode:
Positioning mode 1, 2, 3, 4
AxisNo:
Number of machine axis
Pos:
Position
FRate:
Positioning speed, if FRate = 0, the value from MD35300
$MA_SPIND_POSCTRL_VELO (position control activation speed) is
taken
InPos:
Is set to "1" when position is reached with "Exact stop fine".
Error :
With positioning error = "1"
State :
Error code
Start:
Initiation signal for start rotation
Stop:
Initiation signal for stop rotation
Funct:
"2" = Rotate spindle
Mode:
Positioning mode 5 (direction of rotation M4)
Positioning mode < >5 (direction of rotation M3)
AxisNo:
Number of machine axis
FRate:
Spindle speed
InPos:
Function has started without an error
Error :
With positioning error = "1"
State :
Error code
Start:
Initiation signal for start oscillation
Stop:
Initiation signal for stop oscillation
Funct:
"3" = Oscillate spindle
AxisNo:
Number of machine axis
Pos:
Set gear step
InPos:
Setpoint speed is output
Error :
With positioning error = "1"
State :
Error code