P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1004
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
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
Declaration of the function
STL Representation
Description of formal parameters
The table below lists all formal parameters of the TM_TRANS2 function. Parameters shown in bold differ from FC
8.
FUNCTION FC 6 : VOID
VAR_INPUT
Start: BOOL;
TaskIdent: BYTE
;
TaskIdentNo: BYTE
;
NewToolMag: INT;
NewToolLoc: INT;
OldToolMag: INT;
OldToolLoc: INT;
Status: INT;
MtoolPlaceNum:
INT;
END_VAR
VAR_OUTPUT
Ready BOOL;
Error: INT;
END_VAR
BEGIN
END_FUNCTION
Signal
Typ
e
Type
Value range
Remark
Start
I
BOOL
See description of block FC 8
TaskIdent
I
BYTE
See description of block FC 8
TaskIdentNo
I
BYTE
See description of block FC 8
NewToolMag
I
INT
See description of block FC 8
NewToolLoc
I
INT
See description of block FC 8
OldToolMag
I
INT
See description of block FC 8