Detailed description   
2.12 Block descriptions 
  Power Line Basic PLC Program (P3) 
2-202  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
 
Warning 
If several block calls (FC 15, FC 16, FC 18) are programmed for the same axis/spindle in the 
PLC user program, then the functions concerned must be interlocked by conditional calls in 
the user program. The conditional call of a started block (parameter Start or Stop = TRUE) 
must be called cyclically until the signal state of output parameter Active or InPos changes 
from 1 to 0. 
 
Declaration 
 
FUNCTION FC 16: VOID  //PART_AX 
VAR_INPUT 
 Start:  BOOL ; 
 AxisNo:  INT ; 
 IC:  BOOL ; 
 DC:  BOOL 
 Minus:  BOOL ; 
 Plus:  BOOL ; 
 Pos:  INT ; 
 FRate:  REAL; 
END_VAR 
VAR_OUTPUT 
 InPos:  BOOL ; 
 Active:  BOOL ; 
 StartErr:  BOOL ; 
  Error :  BOOL ; 
END_VAR 
 
Description of formal parameters 
The table below lists all formal parameters of the PART_AX function: 
 
Signal  I/O  Type  Value range  Remarks 
Start  I  Bool     
AxisNo  I  Int   1 - 31  No. of axis to be traversed 
IC  I  Bool    = Absolute direction input 
1 = Incremental direction input 
DC  I  Bool    = Predefined direction 
= Shortest path