Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-213
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
Description of formal parameters
The table below lists all formal parameters of the SpinCtrl function.
Signal I/O Type Value range Remarks
Start I Bool Start spindle control from PLC
Stop I Bool Stop spindle control from PLC
Funct I Byte 1 to B#16#0B 1: Position spindle
2: Rotate spindle
3: Oscillate spindle
4: Indexing axis
5: PosAxis metric
6: PosAxis inch
7: PosAxis metric with handwheel override
8: PosAxis inch with handwheel override
9: Rotate spindle with gear stage selection
A: Rotate spindle with constant cutting rate
(m/min)
B: Rotate spindle with constant cutting rate
(feet/min)