Component Overlays and Quality Codes

Tip...

Component overlays are driven by the Expert Data Quality Property. Feel free to bind this property or externally control it to manipulate overlays.

Component Feedback

Most components support overlays to clearly indicate state conditions to the end user, which is based on the component's quality code. These represent such things as: stale data, insufficient permissions, incorrect configuration, write pending, etc.


Fig 1: Component feedback

Overlays

Overlays are defined separately for each component. Each overlay often corresponds to many different quality codes.


Fig 2: LCD component overlays

Quality Codes

Quality codes indicate states of reliability of data. Many codes match up to OPC specification.

A component's quality is determined by the quality of the worst bound property. This value is stored in the (Expert) Data Quality property. -1 means no overlay.

Quality CodeState
0Bad Data from OPC
4CONFIG_ERROR
8NOT_CONNECTED
12DEVICE_FAILURE
16SENSOR_FAILURE
20Bad, showing last value
24COMM_FAIL
28OUT_OF_SERVICE, SERVER_DOWN
32WAITING
64UNCERTAIN
68UNCERTAIN, showing last
80SENSOR_BAD
84LIMIT_EXCEEDED
88SUB_NORMAL
192Good Data
216Good, with local override
256OPC_UNKNOWN
300Config Error
301Comm Error
310Expr Eval Error
330Tag exec error (FSQL)
340Type Conversion Error
403Access Denied
404Not Found
410Disabled
500Stale
600Unknown (loading)
700Write Pending

Copyright © 2001-2005 Inductive Automation, Inc. All Rights Reserved.