MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Preset and clear usage on the synchronous 74LS163 counter
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Preset and clear usage on the synchronous 74LS163 counter

The 74LS163 is a synchronous 4-bit binary counter whose clear and load are both synchronous. This page contrasts it with the 74LS161 and shows the preset method for arbitrary moduli.

1. How it works

Synchronous clear and load: on the 74LS163, pulling CLR bar low does not zero the outputs at once; the clearing happens at the next clock edge. LOAD bar is likewise synchronous: assert it and the next clock loads the data. This differs from the 74LS161, whose CLR bar is asynchronous and clears the instant it drops. The synchronous virtue is that every flip-flop acts on the same edge with no hazard.

2. Numbers and practice

Preset method for an arbitrary modulus: to build a divide-by-12, let the counter run from 0000 to 1011, eleven, and at that point a gate asserts LOAD bar so the next clock reloads 0000. The sequence jumps back before reaching full scale, skipping the unwanted states. Because the action is synchronous there is no transient glitch, cleaner than the reset method.

3. Pitfalls and fixes

Enables and cascading: both ENP and ENT must be high to count, and ENT also gates the RCO carry. For multi-chip synchronous cascading wire the low chip RCO into the ENP and ENT of the next, all chips sharing one clock. The result is a fast, ripple-free multi-digit counter, the preferred engineering arrangement over ripple chains.

4. 74LS163 versus 74LS161 differences

Feature74LS16374LS161
ClearSynchronous at the edgeAsynchronous immediate
LoadSynchronousSynchronous
Counting4-bit binary4-bit binary
CarryRCORCO
CascadeCommon clockCommon clock
Best forHazard-free zeroingInstant clear

5. Notes

Use the 163 for hazard-free roll-over and the 161 when an instant clear matters. The preset method gives any modulus more cleanly than the reset method.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Synchronous counters per GB/T 4728 and IEC 60617 symbols. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Treating the 163 as a 161 with asynchronous clear:pulling CLR bar does not stop it instantly and the emergency stop lags
② Preset method forgetting the clock edge:LOAD bar acts one beat late and the sequence slips
③ Enables not held high across chips:the higher stages never count and the cascade fails

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL