Owner's manual
Rockwell Automation Publication 1756-UM536A-EN-P - April 2012 73
Tag Definitions Appendix B
Input Tags
The input tags in Tab le 6 indicate the current status of input points. The input
module sends this data to the controller or peer output module for processing.
Table 6 - Counter Module Input Tags
Name Data Type Definition
Fault DINT Fault—Indicates whether a fault has occurred. The controller sets all 32 bits upon a connection loss.
Fault bits 8…15 are also set by these conditions:
• Negative values in one or more of the Counter[x].Rollover, Counter[x].Preset, Counter[x].Window0On,
Counter[x].Window0Off, Counter[x].Window1On, or Counter[x].Window1Off output tags
• Preset value >rollover value
Pt[x].Data BOOL Data—Indicates the current On/Off value of the corresponding hardware input.
0= Off
1 = On
Counter[x].Count DINT Accumulated Count—Indicates the accumulated count value currently detected by Counter[x].
Valid values are 0…2
31
Counter[x].Frequency REAL Instantaneous Frequency—Indicates the frequency of the last pulse detected by a counter.
Valid values are ≥ 0.0
For details about how the module calculates instantaneous frequency, see Table 3 on page 12
.
Counter[x].FreqAverage
(1)
REAL Average Frequency—Indicates the average frequency of pulses detected by Counter[x]. The modules calculates
average frequency over the number of pulses defined in the Counter[x].FreqAveragePulseCount configuration tag.
Valid values are
≥ 0.0
For details about how the module calculates average frequency, see Table 3 on page 12.
Counter[x].PulseWidth REAL Instantaneous Pulse Width—Indicates the duration in microseconds of the last rising pulse edge to falling pulse
edge. The accuracy of the instantaneous pulse width is always ± -11 s regardless of the actual pulse width.
Valid values are ≥ 0.0
Counter[x].PulseWidthAverage
(1)
REAL Average Pulse Width—Indicates the average width of pulses. The module calculates average pulse width over the
same number of pulses used to calculate the average frequency of pulses.
Valid values are ≥ 0.0
For details about how the module calculates average pulse width, see Table 3 on page 12.
Counter[x].CountSequence SINT Count Sequence—Stores a rolling sequence number for each new count. The value increments each time a new count
is broadcast to the backplane.
Valid values are -128…127
Counter[x].FrequencySequence SINT Frequency Sequence—Stores a rolling sequence number for each new average frequency. The value increments each
time a new average frequency is calculated.
Valid values are -128…127
Counter[x].PulseWidthSequence SINT Pulse Width Sequence—Stores a rolling sequence number for each new average pulse width. The value increments
each time a new average pulse width is calculated.
Valid values are -128…127
Counter[x].Data BOOL Data—Indicates the current On/Off value of the corresponding counter input.
0= Off
1 = On