P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
References
● For detailed information about tool management, refer to
the Function Manual Tool Manager.
● PI services for tool management
– FB4: Request PI service (Page 937)
– FC7: TM_REV - transfer block for tool change with revolver (Page 997)
– FC22: TM_DIR - direction selection for tool management (Page 1044)
Declaration of the function
FUNCTION FC8: VOID
//NAME :TM_TRANS
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
Signal
Start:
TaskIdent:
1002
Start :
TaskIdent:
TaskIdentNo:
NewToolMag:
NewToolLoc:
OldToolMag:
OldToolLoc:
Status:
Ready
Error :
Type
Type
I
BOOL
I
BYTE
BOOL;
BYTE ;
BYTE ;
INT;
INT;
INT;
INT;
INT;
BOOL;
INT;
Value range
Description
0 (FALSE), 1
1: Start transfer
(TRUE)
1, 2, 3, 4, 5
Interface or task identifier
1: Loading/unloading location
2: Spindle change position
3: Revolver change position
4: Asynchronous transfer
5: Asynchronous transfer with location reserva‐
tion
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions