Module Tag Definitions
Module tags are created when you add a module to the Studio 5000 Logix Designer
application project. The set of module tags associated with a module depends on the module
type and Device Definition choices made during module configuration. The tables contained in
this section list all of the tags available with a module. Not all tags in the list are used
when that module type is added to a project. Tag use varies by module configuration.
Configuration Tag Definitions
Name | Data Type | Definition | Valid Values |
|---|---|---|---|
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.
IMPORTANT:
When Ptxx.FaultModeLocalControl tag
exists and is set to 1, this configuration is ignored.
|
|
Ptxx.FaultValue | BOOL | Defines the value that the discrete output assumes if a communication fault occurs
when FaultMode = 0. |
|
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.
IMPORTANT:
When Ptxx.ProgModeLocalControl tag
exists and is set to 1, this configuration is ignored.
|
|
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. |
|
Ptxx.ProgramToFaultEn | BOOL | Determines if an output transitions to the Communication Fault Mode if the
connection faults while in Program Mode. |
|
Ptxx.FaultFinalState | BOOL | If FaultValueStateDuration is nonzero, determines the final Output state after the
configured FaultValueStateDuration time out occurs. |
|
Ptxx.FaultValueStateDuration | SINT | This value determines the length of time the Communication Fault Mode state is held
before the FaultFinalState is applied. |
|
Ptxx.NoLoadEn | BOOL | Enables No Load detection for output points. |
|
Input Tag Definitions
Name | Data Type | Definition | Valid Values |
|---|---|---|---|
RunMode | BOOL | The module's operating state |
|
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. |
|
DiagnosticActive | BOOL | Indicates if any diagnostics are active or if 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. |
|
CIPSyncValid | BOOL | Indicates whether the module is synced with a 1588 master. A set bit alone cannot indicate that it is synced to the same master clock of the
owner controller. You must compare the Grandmaster Clock ID of both the module and the owner
controller. |
|
CIPSyncTimeout | BOOL | Indicates that the module was once synced with a 1588 master, but the module is not
synced now due to a timeout. |
|
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 |
|
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:
|
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.
|
|
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 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.
| For each point:
|
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.
|
|
Ptxx.NoLoad | BOOL | Indicates that the signal wire is disconnected from one of the RTB terminals or the
RTB is removed. |
|
Ptxx.ShortCircuit | BOOL | Indicates a short to high is detected on the safety input point. |
|
Schedule[x].State | SINT | Current state of the schedule tags at index x |
|
Schedule[x].ScheduleNumber | SINT | Echo of SequenceNumber from the output tag | All values |
LateScheduleCount | INT | Count of schedules that arrive late. That is, the arrival time is after scheduled
time. Counter rolls over every 65,535 late updates. The output is still being driven to new state if this is the most recent schedule
for that point. Useful in indicating that network delays/losses are causing
scheduling issues. | All values |
LostScheduleCount | INT | Increments whenever the schedule sequence number in the output tag skips a value,
which can indicate a lost schedule. Counter rolls over every 65,535 lost
updates. | All values |
Output Tag Definitions
Name | Data Type | Definition | Valid Values |
|---|---|---|---|
Ptxx.Data PtxxData (Packed data) | BOOL | Current digital output data to be applied |
|
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:
|
Ptxx.ScheduleEn | BOOL | Specifies the use of normal output data or scheduled data. |
|
TimeBase | LINT | Indicates the TimeBase for all schedule times. When a new schedule entry is received, the module uses TimeBase +
Schedule[n].TimeOffset to determine the time for the schedule entry. Once the schedule entries that are based on the current TimeBase are echoed back by
the module, a new TimeBase can be set to incorporate new schedule entry
creations. | Any positive value |
Schedule[x].ID | SINT | Indicates which hardware scheduler to use. Typically, you set the ID to the
schedule index x + 1. If you use an ID before that same ID of the previous schedule is completed, the new
schedule overwrites the old schedule. The schedule is considered complete when the schedule state is reported as Expired,
Late, or Discarded. |
|
Schedule[x].SequenceNumber | SINT | For every new schedule of Schedule[x], the sequence number is increased. The expected sequence to request the module to perform a new schedule is:
Once the module receives a new sequence number of Schedule[x], it starts processing
it. | All values |
Schedule[x].OutputPointSelect | SINT | Selects the output point that this schedule applies to. 0xFF means no output point selected. | 0…15 |
Schedule[x].Data | BOOL | Output data to be applied at time that is specified in schedule | 0 or 1 |
Schedule[x].TimeOffset | DINT | Offset from schedule base time. For more information, see the definition for
TimeBase. | All values |
Provide Feedback