FC_LEncPhaseStart - General Information
|
Type: |
Function |
|
Available as of: |
SystemInterface_1.32.6.0 |
|
Versions: |
Current version |
Create a phase shift of the logical encoder position.
This function starts a positioning with the phase generator of the logical encoder i_stLEncId. A modification of the positioning is caused by starting a new positioning. A restart lets you modify the parameters.
If a Setpos function is executed while positioning is active, the travel path remains unchanged, only the position counters change.
|
Input |
Data type |
Description |
|---|---|---|
|
i_stLEncId |
ST_LogicalAddress |
Logical address of the encoder |
|
i_lrPosition |
LREAL |
Encoder position |
|
i_rVelocity |
REAL |
Maximum velocity |
|
i_rAcceleration |
REAL |
Maximum acceleration |
|
i_rDeceleration |
REAL |
Maximum deceleration |
|
i_etPosMode |
ET_PosMode |
|
Data type |
Description |
|---|---|
|
DINT |
0: OK -1: i_stLEncId is invalid -2: i_rVelocity <= 0 -3: i_rAcceleration or i_rDeceleration <= 0 -4: i_etPosMode is invalid -5: PhaseEnable = FALSE |