P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
13.13.14 FC 6: TM_TRANS2 transfer block for tool management and multitool
Function
The TM_TRANS2 block is used for position changes of the tool, status changes and multitool.
The FC 6 block includes the same functionality as for the FC 8, only that in addition the multitool functionality is
also integrated. This is the reason that only the parts of the multitool functionality are explained in this chapter.
The functionality that is included that goes beyond this is described in "FC 8: TM_TRANS transfer block for tool
management [Page 1008]".
Declaration of the function
STL Representation
FUNCTION FC 6 : VOID
VAR_INPUT
Start:
TaskIdent:
TaskIdentNo:
NewToolMag:
NewToolLoc:
OldToolMag:
OldToolLoc:
Status:
MtoolPlaceNum:
END_VAR
VAR_OUTPUT
Ready
Error:
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below lists all formal parameters of the TM_TRANS2 function. Parameters shown in bold differ from FC
8.
Typ
Signal
e
Start
I
TaskIdent
I
TaskIdentNo
I
NewToolMag
I
NewToolLoc
I
OldToolMag
I
1004
BOOL;
BYTE ;
BYTE ;
INT;
INT;
INT;
INT;
INT;
INT;
BOOL;
INT;
Type
Value range
BOOL
BYTE
BYTE
INT
INT
INT
Remark
See description of block FC 8
See description of block FC 8
See description of block FC 8
See description of block FC 8
See description of block FC 8
See description of block FC 8
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions