GetBusError (FB)ΒΆ
FUNCTION_BLOCK GetBusError EXTENDS CBM.ETrigA
If IBus.GetBusState returns BUS_STATE.ERROR this function block returns the associated bus error code. The error codes are fieldbus specific and will be defined by the associated communication stack.
Bemerkung
This feature may not be supported by all fieldbus drivers.
eError will return ERROR.NOT_SUPPORTED if not supported.
- InOut:
Scope
Name
Type
Comment
Input
itfNodebus node
Output
eErroroperation error code
einBusErrorbus error code