MC_READACTUALVELOCITY
(Original Document)
Function Description
The MC_READACTUALVELOCITY function is used to determine the current speed of the axis.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD Axis
CAL MC_READACTUALVELOCITY_Instance(AXIS:=AXIS, ENABLE:=ENB, ERROR=>ERR, VALID=>VA, BUSY=>B, ERRORID=>ERRID, VELOCITY=>V)
Representation in ST
Representation:
MC_READACTUALVELOCITY_Instance(AXIS:=AXIS, ENABLE:=ENB, ERROR=>ERR, VALID=>VA, BUSY=>B, ERRORID=>ERRID, VELOCITY=>V);
Description of the Output Parameters
The following table describes the output parameter that is in addition to the basic parameters:
Parameter
Type
Comment
VELOCITY
Speed of the axis, when VALID is TRUE.