Tag definitions (5034-OA4)

The 5034-OA4 module has configuration, input, and output tags.
Configuration Tags
Name
Data Type
Definition
Valid Values
DCModeEn
BOOL
Defines the output point mode.
  • 0 = All output points are in AC mode.
  • 1 = All output points are in DC mode.
Ptxx.FaultMode
BOOL
Selects the behavior that the output point takes if a communication fault occurs. FaultValue defines the value to go to when set to user-defined value.
  • 0 = Go to a user-defined value
  • 1 = Hold last state
Ptxx.FaultValue
BOOL
Defines the value that the discrete output assumes if a communication fault occurs when FaultMode = 0.
  • 0 = Off
  • 1 = On
Ptxx.ProgMode
BOOL
Selects the behavior that the output point takes when transitioned into Program Mode or Inhibit mode. ProgValue defines the value to go to when set to user-defined value.
  • 0 = Go to a user-defined value
  • 1 = Hold last state
Ptxx.ProgValue
BOOL
Defines the value that the output takes when the connection transitions to Program Mode or Inhibit mode if the ProgMode bit is set to user-defined value.
  • 0 = The output state is Off during Program Mode or Inhibit mode
  • 1 = The output state is On during Program Mode or Inhibit mode
Ptxx.ProgramToFaultEn
BOOL
Determines if an output transitions to the Communication Fault Mode if the connection faults while in Program Mode.
  • 0 = Stay in Program Mode
  • 1 = Go to Communication Fault Mode
Ptxx.FaultFinalState
BOOL
If FaultValueStateDuration is nonzero, determines the final Output state after the configured FaultValueStateDuration time out occurs.
  • 0 = The output state is Off after the FaultValueStateDuration time expires
  • 1 = The output state is On after the FaultValueStateDuration time expires
Ptxx.FaultValueStateDuration
SINT
This value determines the length of time that the Communication Fault Mode state is held before the FaultFinalState is applied.
  • 0 = Hold forever
  • 1, 2, 5, or 10 seconds
Input Tags
Name
Data Type
Definition
Valid Values
RunMode
BOOL
The module's operating state
  • 0 = Idle – It means one of the following:
    • Connection is not up.
    • Connection has been opened but the module has not started producing data for the connection.
    • Because the controller is in Program Mode, the module is not applying new output tag data but is applying the Program Mode state of the output point instead.
  • 1 = Run – It means the following:
    • Connection is up.
    • Module is producing data for the connection.
    • Output tag data is being applied.
ConnectionFaulted
BOOL
Indicates if a connection to the target is running.
The module always returns a zero in this member. The controller overwrites the zero with a one when the connection is not up.
  • 0 = Connection is running.
  • 1 = Connection is not running.
DiagnosticActive
BOOL
Indicates if any diagnostics are active or if the prognostics threshold is reached.
  • 0 = No diagnostics are active.
  • 1 = One or more diagnostics are active or the prognostics threshold is reached.
Uncertain (Packed data)
BOOL
Indicates if the module is operating outside the designed operating range, or data is under manual or override control.
  • 0 = Good data
  • 1 = Uncertain data
DiagnosticSequenceCount
SINT
Increments for each time a distinct diagnostic condition is detected, and when a distinct diagnostic condition transitions from detected to not detected.
-128…+127
The value of 0 is skipped except during module powerup.
Ptxx.Data
PtxxData (Packed data)
BOOL
Echo of the current digital output value
  • 0 = Off
  • 1 = On
Data (Packed data)
INT
Indicates the current values for all points of the module. Each bit represents 1 point. For example, Bit.3 represents the Data of Pt03.
For each point:
  • 0 = Off
  • 1 = On
Ptxx.Fault
PtxxFault (Packed data)
BOOL
Indicates that point data is inaccurate and cannot be trusted for use in the application.
If the tag is set to 1, you must troubleshoot the module to correct the cause of the inaccuracy.
IMPORTANT: Once the condition that causes the tag to change to 1 is removed, the tag automatically resets to 0.
  • 0 = Good
  • 1 = Bad, causing fault
Fault (Packed data)
INT
Indicates the fault state for all points of the module. Each bit represents 1 point. For example, Bit.3 represents Fault status of Pt03.
Fault state indicates that point data is inaccurate and cannot be trusted for use in the application.
If the bit for a point is set to 1, you must troubleshoot the module to correct the cause of the inaccuracy.
IMPORTANT: Once the condition that causes the tag to change to 1 is removed, the tag automatically resets to 0.
For each point:
  • 0 = Good
  • 1 = Bad, causing fault
Ptxx.Uncertain
BOOL
Indicates that the point data can be inaccurate but the degree of inaccuracy is not known.
If the tag is set to 1, you must troubleshoot the module to correct the cause of the inaccuracy.
IMPORTANT: Once the condition that causes the tag to change to 1 is removed, the tag automatically resets to 0.
  • 0 = Good data
  • 1 = Uncertain data
Output Tags
Name
Data Type
Definition
Valid Values
Ptxx.Data
PtxxData (Packed data)
BOOL
Current digital output data to be applied
  • 0 = Off
  • 1 = On
Data (Packed data)
INT
Indicates the current values for all points of the module. Each bit represents 1 point. For example, Bit.3 represents the Data of Pt03.
For each point:
  • 0 = Off
  • 1 = On
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal