SMC_GetMaxSetVelocity (FB)¶
FUNCTION_BLOCK SMC_GetMaxSetVelocity
This function block may be employed to measure the maximum value of velocity of an axis.
Measuring will be done if bEnable is TRUE, and will be reset to 0,
if bEnable is FALSE. With dwTimeStamp you can provide
a call counter, which is latched output in dwTimeAtMax with a new maximum value.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisInput
bEnableBOOLFALSE
TRUE: Starts execution of the function block.dwTimeStampDWORDOptional time stamp input; can be used to find out when the maximum occured.
Output
bValidBOOLFALSE
bBusyBOOLTRUE: Parameter is available.fMaxVelocityLREAL0
TRUE: Eecution of the function block is not finished yet.dwTimeAtMaxDWORD0
Maximum velocity in [u/s²]