P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1010
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Declaration of the function
STL Representation
Description of formal parameters
The table below lists all formal parameters of the TM_TRANS function:
FUNCTION FC 8 : VOID
//NAME :TM_TRANS
VAR_INPUT
Start:
BOOL ;
TaskIdent:
BYTE ;
TaskIdentNo:
BYTE ;
NewToolMag:
INT;
NewToolLoc:
INT;
OldToolMag:
INT;
OldToolLoc:
INT;
Status:
INT;
END_VAR
VAR_OUTPUT
Ready
BOOL ;
Error :
INT;
END_VAR
BEGIN
END_FUNCTION
Signal
Typ
e
Type
Value range
Comment
Start
I
BOOL
1 = Start of transfer
TaskIdent
I
BYTE
1 ... 5
Interface or tank identifier
1: Loading/unloading location
2: Spindle change position
3: Revolver change position
4: Asynchronous transfer
5: Asynchronous transfer with location
reservation
TaskIdentNo
I
BYTE
1 ...
Number of associated interface or channel
number. The upper nibble can specify the
interface number for asynchronous transfer
(e.g. B#16#12, 1st interface, 2nd channel).
NewToolMag
I
INT
1, 0 ...
Current magazine number of tool to be replaced
-1: Tool remains at its location
NewToolLoc = any value
Only permissible if TaskIdent = 2
NewToolLoc
I
INT
0 ... max.
location number
Current location number of new tool
Содержание 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 ...