AX-Series Motion Controller Instructions Manual Chapter 2
124
2.2.8 MC_ReadActualVelocity
Supported Devices: AX-308E, AX-8, AX-364E
MC_ReadActualVelocity reads the actual axis velocity value.
FB/FC Instruction Graphic Expression ST Language
FB
MC_ReadActual
Velocity
MC_ReadActualVelocity_instance(
Axis : =,
Enable : =,
Valid =>,
Busy =>,
Error =>,
ErrorID =>,
Inputs
Name Function Data Type
Setting Value
Timing to Take Effect
Enable Run the function block. BOOL
True/False
(False)
-
Outputs
Output Range (Default Value)
Valid
True when the parameter to read
exists and can be further
processed.
BOOL True/False (False)
Busy
True when the function block is
BOOL True/False (False)
Error True when an error occurs.
BOOL
True/False (False)
ErrorID
Record the error code when an
error occurs.
Refer to Appendix for error
code descriptions.
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)
The current velocity of axis.
Positive, negative, or 0 (0)
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time
Timing for Shifting to True
Timing for Shifting to False
Valid
When Enable is triggered to True.
When the parameter to read exists.
When Enable turns from True to False.
When Error is rising edge.