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.
Bits and words for status values used with the 2085-OF4 expansion module
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 UU
x
and UO
x
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 CE
x
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:
  • 0 - UO0 (Channel 0 Unlock Over Bit)
  • 1 - UU0 (Channel 0 Unlock Under Bit)
  • 2 - UO1 (Channel 1 Unlock Over Bit)
  • 3 - UU1 (Channel 1 Unlock Under Bit)
  • 4 - UO2 (Channel 2 Unlock Over Bit)
  • 5 - UU2 (Channel 2 Unlock Under Bit)
  • 6 - UO3 (Channel 3 Unlock Over Bit)
  • 7 - UU3 (Channel 3 Unlock Under Bit)
  • 8 - CE0 (Channel 0 Unlock Error Bit)
  • 9 - CE1 (Channel 1 Unlock Error Bit)
  • 10 - CE2 (Channel 2 Unlock Error Bit)
  • 11 - CE3 (Channel 3 Unlock Error Bit)
  • 12–15 - Reserved
_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:
  • 0 - S0 (Channel 0 Fault)
  • 1 - S1 (Channel 1 Fault)
  • 2 - S2 (Channel 2 Fault)
  • 3 - S3 (Channel 3 Fault)
  • 4 - E0 (Channel 0 Error)
  • 5 - E1 (Channel 1 Error)
  • 6 - E2 (Channel 2 Error)
  • 7 - E3 (Channel 3 Error)
  • 8–11 - Reserved
  • 12 (Diagnostic)
  • 13 - CRC (Cyclic Redundancy Check error)
  • 14 - GF (General Fault)
  • 15 - PU (Power Up)
For more information, see Bit definitions for the 2085-OF4 expansion module.
_IO_Xx_ST_05
0 to 15
Module status value 5.
Bits:
  • 0 - O0 (Over-Range Flag)
    Set when Channel 0 is over range.
  • 1 - U0 (Under-Range Flag)
    Set when Channel 0 is under range.
  • 2–3 Reserved
  • 4 - O1 (Over-Range Flag)
    Set when Channel 1 is over range
  • 5 - U1 (Under-Range Flag)
    Set when Channel 1 is under range.
  • 6-7 Reserved
  • 8 - O2 (Over-Range Flag)
    Set when Channel 2 is over range.
  • 9 - U2 (Under-Range Flag)
    Set when Channel 2 is under range.
  • 10–11 Reserved
  • 12 - O3 (Over-Range Flag)
    Set when Channel 3 is over range.
  • 13-U3 (Under-Range Flag)
    Set when Channel 3 is under range.
  • 14-15 Reserved
For more information, see Bit definitions for the 2085-OF4 expansion module.
_IO_Xx_ST_06
0 to 15
Module Status Value 6.
Bits 0 to 15 are reserved.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal