Instruction Manual
Table Of Contents
- 1769-UM006E-EN-P, Compact High-speed Counter Module User Manual
- Summary of Changes
- Table of Contents
- Preface
- 1 - Module Overview
- 2 - Module Operation
- 3 - Installation and Wiring
- 4 - Module Configuration, Output, and Input Data
- Configure the Module
- Configuration Array
- General Configuration Bits
- Filter Selection
- Program Mode and Program State Run
- Output Program Value (Out0ProgramValue through Out3ProgramValue)
- Output Fault Mode and Output Fault State Run
- Output Fault Value (Out0FaultValue through Out3FaultValue)
- Counter Maximum Count (CtrnMaxCount)
- Counter Minimum Count (CtrnMinCount)
- Counter Preset (CtrnPreset)
- Counter Hysteresis (CtrnHysteresis)
- Counter Scalar (CtrnScalar)
- Cyclic Rate Update Time (CtrnCyclicRateUpdateTime)
- Configuration Flags
- Range High Limit (Range0To11[n].HighLimit) and Range Low Limit (Range0To11[n].LowLimit)
- Range Output Control (Range0To11[n].OutputControl)
- Range Configuration Flags
- Output Array
- Output on Mask (OutputOnMask.0 through OutputOnMask.15)
- Output Off Mask (OutputOffMask.0 through OutputOffMask.15)
- Range Enable (RangeEn.0 through RangeEn.15)
- RBF - Reset Blown Fuse (ResetBlownFuse)
- Control Bits
- Range High Limit or Direct Write Value (Range12To15[n].HiLimOrDirWr)
- Range Low Limit (Range12To15[n].LowLimit)
- Range Output Control (Range12To15[n].OutputControl)
- Range Configuration Flags (12To15)
- Input Array
- Input State (InputStateA0 through InputStateZ1)
- Readback (Readback.0 through Readback.15)
- Status Flags
- Range Active (RangeActive.0 through RangeActive.15)
- Current Count (Ctr[n].CurrentCount)
- Stored Count (Ctr[n].StoredCount)
- Current Rate (Ctr[0].CurrentRate to Ctr[3].CurrentRate)
- Pulse Interval (Ctr[0].PulseInterval and Ctr[1].PulseInterval)
- Status Flags
- 5 - Diagnostics and Troubleshooting
- A - Specifications
- B - Program a 1769-HSC Module, CompactLogix Controller, and 845F Incremental Encoder with RSLogix 5000 Software
- C - Program a 1769-HSC Module, MicroLogix 1500 Controller, and 845F Incremental Encoder with RSLogix 500 Software
- D - Programming Quick Reference
- E - History of Changes
- Glossary
- Index
- Back Cover

Rockwell Automation Publication 1769-UM006E-EN-P - July 2013 29
Module Operation Chapter 2
Ring Counter
Figure 8 demonstrates ring counter operation. In ring counter operation, the
current count (Ctr[n].CurrentCount) value changes between user-programmable
minimum count (CtrnMinCount) and maximum count (CtrnMaxCount)
values. If, when counting up, the counter reaches the CtrnMaxCount value, it
rolls over to the CtrnMinCount value upon receiving the next count and sets the
overflow bit. If, when counting down, the counter reaches the CtrnMinCount
value, it rolls under to the CtrnMaxCount value upon receiving the next count
and sets the underflow bit. These bits can be reset using the
CtrnResetCounterOverflow and CtrnResetCounterUnderflow bits.
Figure 8 - Ring Counter Diagram
Modifying Count Value
The count value (Ctr[n].CurrentCount) can be stored, reset, or preset using the
Z-input, CtrReset bit in the configuration array, control bits in the output array,
or overwritten using a Direct Write command.
Rollover
Count Up
Count Down
Maximum Count Value
Minimum Count Value
Table6-Available Z Functions
Setting For function
Store
(1)
(1) If both a store and preset function are configured, the stored count is captured before the preset operation
takes place.
On rising edge of Z, store count in the Stored Count input word
Hold WhileZ=1,hold counter at its current value
Preset/Reset On rising edge of Z, preset the count value to the value in the preset word
IMPORTANT
Because only the Z-inputs are used for external gating and presetting,
these functions are not available for Counters 2 and 3, which do not have
Z-inputs. All options are always available for Counters 0 and 1,
regardless of input operational mode.