Quality Flags

Here you can unpack the complete PLC sources: TcPlcLibIEC870_5_101Slave_TutorialSample.zip

 

The quality flags (quality descriptor) provide additional information for the central station on the quality of an application object. The quality flags can be set/reset independent of each other from the PLC application via the F_iecSetAOQuality function. The F_iecGetAOQuality function can be used to interrogate the state of the quality flags. Any change in the quality flags leads to a spontaneous transfer of the data to the central station.

The following quality flags are internally analyzed by the substation at runtime:

The following quality flags are internally set/reset by the substation at runtime:

All other quality flags are sent to the central station without change.