Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
2-188 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
10/11. Rotate spindle with constant cutting rate:
The "Constant cutting rate" function must be activated by the NC program in order for this to
be executed.
The following signals are relevant:
Start: Initiation signal for start rotation
Stop: Initiation signal for stop rotation
Funct: "B#16#0A = Rotate spindle with constant cutting rate (m/min)
Funct: "B#16#0B = Rotate spindle with constant
cutting rate (feet/min)
Mode: Positioning mode 5 (direction of rotation M4)
Positioning mode < >5 (direction of rotation M3)
AxisNo: Number of machine axis
FRate: Cutting rate
InPos: Setpoint speed is output
Error : With position error = "1"
State : Error code
FUNCTION FC 18: VOID //SpinCtrl
VAR_INPUT
Start: BOOL ;
Stop: BOOL ;
Funct: BYTE ;
Mode: BYTE ;
AxisNo: INT ;
Pos: REAL;
FRate: REAL;
END_VAR
VAR_OUTPUT
InPos: BOOL ;
Error : BOOL ;
State : BYTE ;
END_VAR