Output tags – Rockwell Automation 1756-LSC8XIB8I ControlLogix Low-speed Counter Module User Manual

Page 74

Advertising
background image

74

Rockwell Automation Publication 1756-UM536A-EN-P - April 2012

Appendix B

Tag Definitions

Output Tags

The output tags in

Table 7 on page 75

provide real-time control over the

module’s operation.

Counter[x].InWindow0

BOOL

Window 0 Input—Indicates whether the accumulated count or frequency value of Counter[x] is within the
parameters defined by the Counter[x].Window0On and Counter[x].Window0Off output tags. A change in window status
triggers a Change of State (COS) message to be sent to the owner-controller or peer module.
0 = Counter[x] value is not within window 0.
1 = Counter[x] value is within window 0.

Counter[x].InWindow1

BOOL

Window 1 Input—Indicates whether the accumulated count or frequency value of Counter[x] is within the
parameters defined by the Counter[x].Window1On and Counter[x].Window1Off output tags. A change in window status
triggers a Change of State (COS) message to be sent to the owner-controller or peer module.
0 = Counter[x] value is not within window 1.
1 = Counter[x] value is within window 1.

Counter[x].Direction

BOOL

Direction—Indicates the direction of the last count or instantaneous frequency.
0 = Direction of the last count was down.
1 = Direction of the last count was up.

(1) The average frequency and average pulse width cannot be calculated on the same pulse due to frequency timeouts.

Table 6 - Counter Module Input Tags (continued)

Name

Data Type

Definition

IMPORTANT

In RSLogix 5000 software, versions 18.02.00 and later, output tag information
is sent to the counter module only at the RPI rate defined during configuration.
For optimal performance, use an Immediate Output (IOT) instruction.

For example, the rung shown below contains an IOT instruction for a counter
module in slot 3. Add a similar rung to your last routine within the Main Task to
mimic normal output tag processing.

Advertising