Delta Electronics AH — MC_ReadActualVelocity

Chapter 3 Motion Control Instructions MC_ReadActualVelocity 1. The output Valid is True when the output Velocity is valid. If Enable is reset, the data loses its validity, and all outputs are reset. In this case, to update new velocity data requires enabling this instruction again. 2. The reported value of the actual velocity at the output is obtained from the servo drive and the unit of the velocity 3_ value is the same as that of the servo drive.  Inputs  Outputs  Outputs Update Timing 3-123 FB/FC Description FB This instruction reports the actual axis velocity continuously when Enable is set.

Name Function Data type Setting value Timing for updating (Default value) Enable Obtains the value of the outputs continuously while enabled. BOOL True/False (False) - Name Function Data type Output range (Default value) Valid True when the axis velocity at the output is available. BOOL True/False (False) Busy Indicates there are incoming new output values and the instruction is not yet finished. BOOL True/False (False) Error True if an error occurs. BOOL True/False (False) ErrorID Indicates the error code if an error occurs.

Refer to table XX.XX for error code descriptions DWORD 16#0~16#FFFFFFFF (0) Velocity The value of the actual velocity (user unit/sec) LREAL Negative number, positive number or 0 (0) Name Timing for shifting to True Timing for shifting to False Valid  When Enable shifts to True and the actual  When Enable shifts to False.