P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Call example
CALL FC 7 (
Start :=
m 20.5,
ChgdRevNo :=
DB61.DBB 1,
Ready :=
m 20.6,
Error :=
DB61.DBW 12);
u m 20.6;
r m 20.5;
spb m001;
l db61.dbw 12;
ow w#16#0;
JC error;
m001:
error:
r m 20.5;
13.13.16 FC 8: TM_TRANS transfer block for tool management
Function
The user calls this block FC TM-TRANS when the position of the tool or the status of the transfer operation
changes. The parameter "TaskIdent" specifies the transfer job for the block FC 8 at the tool management
interface:
•
For loading/unloading positions,
•
For spindle change positions,
•
For revolver change positions as transfer identifier
•
Asynchronous transfer
•
Asynchronous transfer with location reservation
The interface number is indicated in parameter "TaskIdentNo".
Example for loading point 5:
Parameter "TaskIdent":= 1 and "TaskIdentNo":= 5.
Furthermore, the current tool positions and status data (list of "Status" parameter in the following text) are also
transmitted for this transfer function.
Note
FC8 informs the NCK of the current positions of the old tool.
The NCK knows where the old and the new tool have been located until the position change.
In the case of a transfer without a socalled "old tool" (e.g. on loading), the value 0 is assigned to parameters
"OldToolMag", "OldToolLoc".
1008
//Tool-management transfer block
//for Revolver
//Start := "1 " => transfer trigger
//Poll ready
//Reset start
//Jumps, if everything OK
//Error information
//Evaluate error
//Jumps to troubleshooting, if <> 0
// Start of another program
//Reset start, if an error has occurred
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions