Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
2-166 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Declaration of the function
STL representation
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
Description of formal parameters
The table below lists all formal parameters of the TM_TRANS function:
Signal Type Type Value range Remarks
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 new tool
-1: Tool remains at its location NewToolLoc = any
value. Only with TaskIdent = 2 permissible.
NewToolLoc I Int 0 to max.
location
number
Current location number of new tool