SMC_ReadFBError (FB)ΒΆ
FUNCTION_BLOCK SMC_ReadFBError
This function block serves to read the oldest information on function block errors.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisInput
bEnableBOOLFALSE
TRUE: Starts the execution of the function block.Output
bValidBOOLFALSE
TRUE: Parameter is available.bBusyBOOLTRUE: Execution of function block is not finished.bFBErrorBOOLFALSE
TRUE: Error has occurred within the function block.nFBErrorIDSMC_ERROR0
Error identification
pbyErrorInstancePOINTER TO BYTE
Points to the function block instance that reported this error.
strErrorInstanceSTRINGtTimeStampTIMETime stamp of the error