Error codes
The output pin [ErrCode] indicates the error code that occurred at the last read access of the function block to the BACnet object.
[ErrCode] can test the control program in the Programming editor online mode. In normal mode, [ErrCode] can be used by the program for specific troubleshooting exceptions, e.g., above range, below range.
- [ErrCode] = 0 indicates no fault.
- [ErrCode] > 0 indicates a fault.
ErrCode < 20 and >= 256
Error codes with a value < 20 and >= 256 are derived from the evaluation of the reliability property of the BACnet object. The error codes may indicate problems with field devices.
ErrCode >= 20 and < 256
Error codes >= 20 und < 256 indicate a problem between function and BACnet object (data point), e.g., difficulties accessing the object and/or required properties. Function blocks and/or data point configuration values may be incorrectly set.
Error codes derived from reliability property
Error code | Definition | Description |
|---|---|---|
|
0 | No fault | N/A |
1 | No sensor connected | No sensor connected to the input object. |
2 | Over range | The sensor connected to the input object reads a value over the normal operating range. |
3 | Under range | The sensor connected to the input object reads a value under the normal operating range. |
4 | Line break | The connection between the BACnet object and field device indicates a value with a transmission interrupt. |
5 | Short circuit | The connection between the BACnet object and field device indicates a value with a short circuit. |
6 | No field device connected | No device connected to the output object. |
7 | Unknown cause of fault | The automation station reports that the present value is unreliable, but no other error code describes the type of problem. |
8 | Processing error | Process error occurred. |
9 | Present value defined as fault | The present value of the multistate object corresponds to one of the states in the property for fault values, but no other fault was found. |
10 | Configuration error | BACnet object properties are inconsistent. |
11 | <reserved> | N/A |
12 | Communication failure | The proper operation of the object depends on communication with a remote sensor or remote device or communication with the remote sensor or remote device was interrupted. |
256 | Loss of remote communication | N/A |
257 | Group members missing or not assigned | N/A |
258 | Device: General fault | N/A |
259 | General output failure | N/A |
260 | Electrical protection: Power off | N/A |
261 | Thermal shutdown | N/A |
262 | Battery_Fault | N/A |
263 | Defective luminaire | N/A |
264 | Incorrect luminaire type | N/A |
265 | Power supply outside range | N/A |
266 | Lamp ignition failure | N/A |
267 | Load voltage outside range | N/A |
268 | Lamp cycle fault | N/A |
269 | Thermal overload | N/A |
270 | Load deviation detected | N/A |
271 | Electrical overload | N/A |
272 | Calibration error | N/A |
273 | Output control limited | N/A |
274 | Configuration error in I/O extension | N/A |
275 | Activation failure | N/A |
276 | Erroneous restart | N/A |
300 | <Unused> | N/A |
Error codes derived from function block error message or return value from the system function chart (SFC)
Error code | Definition | Description |
|---|---|---|
|
20 | Object not accessible | The referenced BACnet object was not found or cannot be accessed. |
21 | Missing match of object types | The referenced BACnet object type does not match the type supported or expected by the function block. Cause:
|
22 | Object reference is resolved | If supported, error code 22 indicates the following: Temporary state, BACnet object referenced by the BACnet object reference is not accessible. VAR OUTPUT cannot be determined during the resolution. If the resolution time exceeds a timeout, the error transitions to "ErrCode 20: Object not accessible". |
23 | Invalid object-reference | No BACnet object references are set. |
24 | Object is not updated | The BACnet object is in the start phase, e.g., after switch-on or download. In the start phase, the BACnet object was not yet updated by data acquisition. |
25 | Property not accessible | The property cannot be accessed or the BACnet property data type does not match the property data types supported by the function block. |
26 | No valid, present value found | The function block "Read-Multiple" could not find a valid, present value property from member objects that were aggregated by the gather type view node object. |
27 | <reserved> | N/A |
28 | Configuration parameter out of range | BACnet properties ID or array index value outside range. |
29 | Evaluation function is not supported | The function block does not support the configured EvlFnct. |
30 | Internal error | Internal error or system function chart (SFC) error. These are errors that cause an interruption of the SFC query. Typical support requests. |
31 | Unknown group data tag | The group data tag to be commanded is not known in the firmware. |
32 | Group data list error | The group data list for commanding is faulty. Distribution of the list is cancelled. |
33 | Group member overflow | The gathered number of group members exceed the maximum number as supported by the function block. |
40 | No property defined | No property was defined for the referenced BACnet object. |
41 | Properties do not match | The properties in the referenced BACnet object do not match the function block properties. Incorrect configuration. |
Troubleshooting
If the error code indicates a problem with the device ID or object ID of the function block, ensure that the referenced BACnet object is compatible with the function block.
Function block access to the gather view nodes object:
- The object ID displays a gather view node object (must be the same device).
- The referenced BACnet object must be compatible with the function block type.