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 |
|---|---|---|---|
Counterxx.InputOffOnFilter | SINT | The amount of time that a signal must be in the On state before the input data
indicates the On state. The amount of time is indicated using an enumeration. |
|
Counterxx.InputOnOffFilter | SINT | The amount of time that a signal must be in the Off state before the input data
indicates the Off state. The amount of time is indicated using an enumeration. |
|
Counterxx.RolloverAtPreset | BOOL | Determines whether the simple counter will rollover to 0 at the Preset value. |
|
Ptxx.InputOffOnFilter | SINT | The amount of time that a signal must be in the On state before the input data
indicates the On state. The amount of time is indicated using an enumeration. |
|
Ptxx.InputOnOffFilter | SINT | The amount of time that a signal must be in the Off state before the input data
indicates the Off state. The amount of time is indicated using an enumeration. |
|
Ptxx.ChatterTime | INT | A value from 1…10,000 ms in whole ms increments | 1…10,000 |
Ptxx.ChatterCount | SINT | The number of input changes that are considered Chatter |
|
Ptxx.CaptureOffOnEn | BOOL | Enables capturing Off to On timestamps. If cleared, the point does not record Off
to On timestamps. |
|
Ptxx.CaptureOnOffEn | BOOL | Enables capturing On to Off timestamps. If cleared, the point does not record On to
Off timestamps. |
|
Ptxx.TimestampLatchEn | BOOL | Determines whether timestamps latching is enabled. |
Timestamp is acknowledged by copying the value from input tag
TimestampOffOnNumber/TimestampOnOffNumber to output tag
TimestampOffOnNumberAck/TimestampOnOffNumberAck. The acknowledgment also clears TimestampOverflowOffOn/TimestampOverflowOnOff. |
Ptxx.ProgramToFaultEn | BOOL | Determines if an output transitions to the Communication Fault Mode if the
connection faults while in Program 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.
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.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. |
|
PtxxPowerSource | SINT | Indicates the power source that is used for the point. |
|
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. |
|
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. |
Counterxx.Data | BOOL | Indicates the current digital input value. |
|
Counterxx.Fault | BOOL | Indicates that counter 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.
|
|
Counterxx.Uncertain | BOOL | Indicates that the counter 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.
|
|
Counterxx.Done | BOOL | If RolloverAtPreset is set, indicates if Count ≥ Preset. If RolloverAtPreset is not set, always 0. |
|
Counterxx.Rollover | BOOL | The counter counted up to Preset -1 and continued counting from 0. The RolloverAck bit transitioning from 0 to 1 or the Reset bit transitioning from 0
to 1 clears this bit. |
|
Counterxx.Count | DINT | The number of rising edge of input signal counted by the counter | All values |
Ptxx.Data (Input mode) | BOOL | Indicates the current digital input value. |
|
Ptxx.Data (Output mode) | BOOL | Indicates the current digital output value applied at the screw. |
|
Ptxx.Fault | 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.
|
|
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.Chatter | BOOL | Indicates if the input is chattering per the ChatterTime and ChatterCount
settings. |
|
Ptxx.TimestampOverflowOffOn | BOOL | Indicates an Off to On timestamp was lost. A timestamp can be lost when TimestampLatchEn is set but the reported timestamp is
not acknowledged in time. | 0 or 1 |
Ptxx.TimestampOverflowOnOff | BOOL | Indicates an On to Off timestamp was lost. A timestamp can be lost when TimestampLatchEn is set but the reported timestamp is
not acknowledged in time. | 0 or 1 |
Ptxx.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. |
|
Ptxx.CIPSyncTimeout | BOOL | Indicates that the module was once synced with a 1588 master, but the module is not
synced now due to a timeout. |
|
Ptxx.TimestampOffOnNumber | INT | An Off to On timestamp identifier for the currently produced timestamp | All values |
Ptxx.TimestampOnOffNumber | INT | An On to Off timestamp identifier for the currently produced timestamp | All values |
Ptxx.TimestampOffOn | LINT | 64-bit timestamp corresponding to when a change of state Off to On was recorded at
the input | All values |
Ptxx.TimestampOnOff | LINT | 64-bit timestamp corresponding to when a change of state On to Off was recorded at
the input | All values |
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 |
|---|---|---|---|
Counterxx.Reset | BOOL | When this bit transitions from 0 to 1, Count and Rollover are set to zero. |
|
Counterxx.RolloverAck | BOOL | Clears the Rollover bit in the input tag when it transitions from 0 to 1. |
|
Counterxx.Preset | DINT |
| 0…2,147,483,647 |
Ptxx.ResetTimestamps | BOOL | Erases all recorded timestamps for the input point when it transitions from 0 to
1. |
|
Ptxx.TimestampOffOnNumberAck | INT | An Off to On timestamp identifier that the controller writes to indicate that the
identified timestamp has been seen and acted on. When Latching is enabled and the Timestamp Number that is received from the
controller matches the most recent timestamp that is produced, the module is then
allowed to produce a new timestamp. | All values |
Ptxx.TimestampOnOffNumberAck | INT | An On to Off timestamp identifier that the controller writes to indicate that the
identified timestamp has been seen and acted on. When Latching is enabled and the Timestamp Number that is received from the
controller matches the most recent timestamp that is produced, the module is then
allowed to produce a new timestamp. | All values |
Ptxx.Data | BOOL | Current digital output data to be applied |
|
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