This function starts a positioning with the YOffsetGenerator of the axis i_AxisId. A modification of the current positioning is caused by starting a new positioning.
A restart lets you modify the parameters.
The Y offset generator starts only in AxisState 3 to 6. AxisStop or detected errors stop the Y offset generator with the YOffsetRefDeceleration.
If a Setpos function is executed while positioning is active, the travel path remains unchanged.
Input |
Data type |
Description |
---|---|---|
i_stAxisId |
ST_LogicalAddress |
Logical address of the axis |
i_lrPosition |
LREAL |
Encoder position |
i_rVelocity |
REAL |
Maximum velocity |
i_rAcceleration |
REAL |
Maximum acceleration |
i_rDeceleration |
REAL |
Maximum deceleration |
i_etPosMode |
ET_PosMode |
ET_PosMode Endless (0) and Increment (3) are not supported for i_etPosMode. |