Professional Documents
Culture Documents
Reset The Counter On The 1769-HSC
Reset The Counter On The 1769-HSC
Reset The Counter On The 1769-HSC
Document ID QA2946
Summary
Reset the counter on the 1769-HSC
Question
How do I reset a counter on a 1769-HSC via ladder logic in a CompactLogix system?
What is the difference between Reset Counters shown on Input Configuration tab
and Counter Reset Enable shown on Counter Configuration tab in 1769-HSC series B
in Module Properties in RSLogix 5000?
How do I retain counter counts after power recycle of 1769-HSC?
Environment
1769-HSC series B
CompactLogix controllers
RSLogix/Studio 5000
Answer
Counters can be reset using the Soft Preset feature of the 1769-HSC module.
In RSLogix 5000, set the preset value to 0 in the CtrnPreset tag in the configuration array, then toggle the Soft
Preset bit CtrnSoftPreset in the ladder logic (do not use a one-shot). The counter value will be preset to the
value in CtrnPreset. Keep in mind that if the counter is running when the CtrnPreset value is changed, it will not
take effect until the power is cycled or the inhibit module bit is toggled.
If the counter is required to remain running without missing counts, use the Load Direct Write feature.
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/45816/loc/en_US 1/3
5/4/23, 11:55 Reset the counter on the 1769-HSC
If you want the counters you have designated in Counter Reset Enable shown on Counter Configuration tab to
be reset, not only you need to select Counter Reset Enable for the counters, but also you need to select Reset
Counters shown on Input Configuration tab. When the system transitions to Run or the Inhibit Module bit
transitions to 0.
The following actions will occur:
System checks counter reset selection bits 12…15 to determine which counter needs
to be reset.
Only those counters selected for reset are reset to zero.
The output array is reset to default values until the ModConfig bit is set (1).
The default value for the output array is all zeros.
The input array counter status flags (Overflow, Underflow, RisingEdgeZ, RateValid,
PresetWarning) are reset.
The input array counter values (Current Count, StoredCount, CurrentRate and
PulseInterval) are also reset to zero.
Counts are lost and outputs are turned off.
The Counter Reset Enable and Reset Counters are available on page 73-74 and 123 in Compact High-speed
Counter Module 1769-HSC User Manual Publication 1769-UM006 for further help.
Recently Viewed
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or
subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not
intended to constitute application, design, software or other professional engineering advice or services. Before
making any decision or taking any action, which might affect your equipment, you should consult a qualified
professional advisor.
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/45816/loc/en_US 2/3
5/4/23, 11:55 Reset the counter on the 1769-HSC
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE
DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION
WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT
SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE
POSSIBILITY OF SUCH DAMAGES.
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE
INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS
FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do
not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.
www.rockwellautomation.com
https://rockwellautomation.custhelp.com/app/answers/answer_view/a_id/45816/loc/en_US 3/3