Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-198 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Declaration
FUNCTION FC 15: VOID //POS_AX
VAR_INPUT
Start: BOOL ;
AxisNo: INT ;
IC: BOOL ;
Inch: BOOL ;
HWheelOv: BOOL ;
Pos: REAL;
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 POS_AX function:
Signal I/O Type Value range Remarks
Start I Bool
AxisNo I Byte 1 - 31 No. of axis to be traversed
IC I Bool 0 = Absolute
1 = Incremental
Inch I Bool 0 = mm
1 = Inch
HWheelOv I Bool 1 = Handwheel override
Pos I Real ∓ 0,1469368 I -38 to
∓ 0,1701412 I +39
Position of
linear axis: mm
Rotary axis: Degr.
FRate I Real ∓ 0,1469368 I -38 to
∓ 0,1701412 I +39
Feedrate of
linear axis: mm/min
Rotary axis: rev/min
InPos Q Bool 1 = In position
Active Q Bool 1 = Active