MC_AxRtUpdateExternalEncoder_BkPlcMc
The function block updates the actual position of an axis with a value determined by the application.
Inputs
VAR_INPUT
ActualPos: LREAL;
END_VAR
Name | Type | Description |
---|---|---|
ActualPos | LREAL | The new value for the actual position. |
Inputs/outputs
VAR_IN_OUT
Axis: AXIS_REF_BkPlcMc;
END_VAR
Name | Type | Description |
---|---|---|
Axis | AXIS_REF_BkPlcMc | Here, the address of a variable of type Axis_Ref_BkPlcMc should be transferred. |
Behavior of the function block
ActualPos is entered as an actual position in the runtime data of the axis. The change generated by this in relation to the cycle time of the axis is used as the actual velocity. bEncoderResponse is set in stAxRtData to mark an update that has been made.
Notice | |
If this function block is used, no MC_AxRtEncoder_BkPlcMc() or MC_AxStandardBody_BkPlcMc() function block may be called. |
Notice | |
The actual position must be updated in each cycle. |
The function block does not filter. |