Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will design the logic for a 4 - bit BCD counting system. BCD is a system of binary where 4 - digit binary represents

You will design the logic for a 4-bit BCD counting system. BCD is a system of binary where 4-digit binary
represents a decimal (0-9) digit. The decimal-binary equivalent for one decimal digit (4-bits) is:
Your program will be designed to keep track of a decimal count from 0-9, which will increment every 1
second when enabled. When the counter reaches 9, the counting needs to stop, and will reset and go
again if the enable (start tag) is flipped again.
Lab Task
This will take time to correctly complete, start early and plan your code carefully!
Your code needs to do the following:
1. A Boolean tag will represent a start button.
a. Your count should at 0 and count towards 9 when the start tag is ON
b. Your count should go up by 1 every 1 second
c. Your count should reset to 0 if the start returns to OFF
2. You are required to have four outputs
a. One output for each binary bit, as noted in the table above (B4, B3, B2, B1).
b. Make sure your bit outputs are in order (top to bottom, or bottom to top) and
not scrambled around in your PLC rungs of logic.
c. Each output bit should correspond to the count mentioned above and show the
correct binary.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Master The Art Of Data Storytelling With Visualizations

Authors: Alexander N Donovan

1st Edition

B0CNMD9QRD, 979-8867864248

More Books

Students also viewed these Databases questions

Question

Which netsh command lists site IDs?

Answered: 1 week ago

Question

Which ethical behaviors do I want to improve the most?

Answered: 1 week ago