GetDeviceError (FB)ΒΆ
FUNCTION_BLOCK GetDeviceError EXTENDS CBM.ETrigA
If IDevice.GetDeviceState returns DEVICE_STATE.ERROR this function block returns the associated device 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
device node
Output
eError
operation error code
einDeviceError
device error code