Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
248 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
MagNo[2].AnzPlatz:=12; //Number of locations for magazine 2 = 12
END_DATA_BLOCK
Note
For further details on tool management (also with regard to PLC) refer to the Description of
Functions Tool Management. Furthermore, PI services are provided for tool management via
the FB 4, FC 7 and FC 8 (see also the corresponding Sections in this documentation).
Declaration of the function
STL representation
FUNCTION FC 22: VOID
// NAME:
TM_DIR
VAR_INPUT
MagNo: INT ;
ReqPos: INT ;
ActPos: INT ;
Offset: BYTE ;
Start: BOOL ;
END_VAR
VAR_OUTPUT
Cw: BOOL ;
Ccw: BOOL ;
InPos: BOOL ;
Diff: INT ;
Error : BOOL ;
END_VAR
BEGIN
END_FUNCTION