MC_ReadActualVelocity (FB)¶
FUNCTION_BLOCK MC_ReadActualVelocity
As long as Enable** remains ``TRUE, the function block will return the value of the current velocity.
Valid will be set to TRUE, as soon as data output Velocity becomes valid.
If Enable is reset, the data will loose its validity and Valid will also be reset regardless of new data available.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisReference to axis
Input
EnableBOOLFALSE
While
TRUE, the parameter values are read out continuously.Output
ValidBOOLFALSE
TRUE: Valid outputs are available.BusyBOOLFALSE
TRUE: Execution of function block has not been finished yet.ErrorBOOLFALSE
TRUE: Error has occurred within the function block.ErrorIDSMC_ERROR0
Error identification
VelocityLREAL0
Value of current velocity (in axis’ unit [u/s])