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.
This feature may not be supported by all fieldbus drivers. eError will return ERROR.NOT_SUPPORTED if not supported.
InOut: |
|