SMC_GetMaxSetAccDec (FB)¶
FUNCTION_BLOCK SMC_GetMaxSetAccDec
This function block may be employed to measure the maximum absolute value of acceleration
(or deceleration) 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 function block.dwTimeStampDWORDOptional time stamp input; can be used to find out when the maximum has occured.
Output
bValidBOOLFALSE
TRUE: Parameter is available.bBusyBOOLTRUE: Execution of the function block has not been finished.fMaxAccelerationLREAL0
Maximum acceleration in [u/s²]
dwTimeAtMaxDWORD0
Maximum value of
dwTimeStamp