FC_InitPositionParameter - General Information
Type: |
Function |
Available as of: |
V1.1.0.0 |
Support for: |
PacDrive3 pilot template architecture |
Versions: |
Current version |
Function for initialization of an axis that is controlled by the FB_AxisModule function block.
This function is used to assign values for the positioning operating mode for the axis specified by iq_stAxisModuleItf.
The type of motion is specified by i_etPosMode and there are three types as follows:
oRelative: final position = current position + target distance
oAbsolute: final position = target position
oEndless: Endposition = 0 + target position The current position of the axis is reset to zero before the move starts, typically used with rotary axis with a machine period.
Input |
Data type |
Description |
---|---|---|
i_etPosMode |
SystemInterface.ET_PosMode |
Specifies the motion type. |
i_lrTarget |
LREAL |
Specifies the target position in units |
i_lrVelocity |
LREAL |
Specifies the velocity unless reduced velocity is enabled in units/sec, |
i_lrAcceleration |
LREAL |
Specifies the acceleration in units/sec^2 |
i_lrDeceleration |
LREAL |
Specifies the deceleration in units/sec^2 |
i_lrJerk |
LREAL |
Specifies the jerk in units/sec^3 |
Input/Output |
Data type |
Description |
---|---|---|
iq_stAxisModuleItf |
ST_ModuleInterface |
The axis interface structure of the associated axis |