P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1033
Declaration of the function
Description of formal parameters
The table below lists all formal parameters of the SpinCtrl function.
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
Signal
Typ
e
Type
Range of values
Remark
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: Positioning axis metric
6: Positioning axis inch
7: PosAxis metric with handwheel override
8: PosAxis inch with handwheel override
9: Rotate spindle with
automatic gear stage selection
A: Rotate spindle with constant cutting rate (m/
min)
B: Rotate spindle with constant cutting rate (feet/
min)
Mode
I
BYTE
0 to 5
0: Pos to absolute pos
1: Pos incrementally
2: Pos shortest path
3: Pos absolute, positive approach direction
4: Pos absolute, negative approach direction
5: Rotational direction as for M4
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...