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. |
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 that the data can be inaccurate but the degree of inaccuracy is not
known. If the tag is set to 1, you must troubleshoot the module. |
|
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 PtxxData (Packed data) | BOOL | Indicates the current digital input 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.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 |
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 |
Provide Feedback