Declaration of the function
STL representation
FUNCTION FC 8 : VOID
//NAME :TM_TRANS
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below lists all formal parameters of the TM_TRANS function:
Signal
Start
TaskIdent
TaskIdentNo
NewToolMag
NewToolLoc
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Start:
TaskIdent:
TaskIdentNo:
NewToolMag:
NewToolLoc:
OldToolMag:
OldToolLoc:
Status:
Ready:
Error :
Type Type
I
BOOL
I
BYTE
I
BYTE
I
INT
I
INT
BOOL ;
BYTE ;
BYTE ;
INT ;
INT ;
INT ;
INT ;
INT ;
BOOL ;
INT ;
Value range
Remark
1 = Start of transfer
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
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).
1, 0..
Current magazine number of new tool
-1: Tool remains at its location NewToolLoc =
any value.
Only permissible if TaskIdent = 2
0 to max.
Current location number of new tool
location number
Detailed description
2.12 Block descriptions
191