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
itfNode
bus node
Output
eError
operation error code
einBusError
bus error code