Main Content

OPC Quality Parts

(To be removed) Convert OPC DA quality ID into vendor, major, minor, and limit status

Support for the OPC Data Access (DA) standard will be removed in a future release. See Compatibility Considerations.

  • OPC Quality Parts block

Libraries:
Industrial Communication Toolbox

Description

The OPC Quality Parts block converts an OPC Data Access quality ID vector into four parts:

  • Vendor status

  • Major quality

  • Quality substatus

  • Limit status

The Quality output port of an OPC Read block generates quality IDs. For more information on quality parts, see OPC Quality.

Ports

Input

expand all

OPC quality ID integer, typically connected to the Quality output port of an OPC Read block.

Data Types: uint16

Output

expand all

Quality ID information specific to the vendor.

Data Types: uint16

Major quality value, indicating bad (0), uncertain (1), or good (3) quality. For more information, see Major Quality.

Data Types: uint16

Each major quality status has an additional substatus that describes the quality of the value in more detail. The interpretation of the substatus value depends on whether its major quality is good, uncertain, or bad. See Quality Substatus.

Data Types: uint16

The limit status of the quality value, indicating that the value is not limited (0), fixed at a lower limit (1), fixed at an upper limit (2), or constant (3). See Limit Status.

Data Types: uint16

Version History

Introduced before R2006a

expand all

See Also

Blocks