Control and status values for 2085-OF4
Status (ST) is a read-only variable that indicates the actual non-configured state of the respective tag.
The ST variable is useful when using Forcing. After you force a tag to a certain state, the ST variable still shows the actual non-configured state of the tag. With the ST variable, you can:
- Systematically compare the respective DO and ST status to find out any mismatch between what the program is sending and what the controller actually should be sending.
- Programmatically check whether forcing is overriding the program scan and turning the physical value OFF.
- If a tag status is forced, notice the mismatch of "Value" and "Physical Value", together with "Force", when the controller is connected.
Status Variable | Bit | Description |
---|---|---|
_IO_Xx_CO_00 | 0 to 15 | Control Value 0. This global variable is used to clear latched alarms. During Run mode, the UUx and UOx bits are written to clear any latched alarms. The alarm is unlatched when the unlatched bit is set to 1 and the alarm condition no longer exists. If the alarm condition persists, the unlatched bit has no effect.During Run mode, the CEx bits are written to clear any Digital-to-Analog Converter hardware error bits that are caused by a previous output overload fault, and then turn on the channel again if the fault is cleared.Bits:
|
_IO_Xx_ST_00 _IO_Xx_ST_01 _IO_Xx_ST_02 _IO_Xx_ST_03 | 0 to 15 | During Run mode, these words show the actual output level currently set for the respective channels. It usually follows the respective output words until they are out of range (overrange or underrange fault). In such fault cases, the full maximum or minimum value, or the high or low clamp value, if they are enabled, are applied. For output overload fault, the respective output channel is turned off and its error code is shown here. Module status value 0, 1, 2, and 3. |
_IO_Xx_ST_04 | 0 to 15 | Module status value 4. Bits:
|
_IO_Xx_ST_05 | 0 to 15 | Module status value 5.
Bits:
|
_IO_Xx_ST_06 | 0 to 15 | Module Status Value 6. Bits 0 to 15 are reserved. |
Provide Feedback