Answered step by step
Verified Expert Solution
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 bit BCD counting system. BCD is a system of binary where digit binary
represents a decimal digit. The decimalbinary equivalent for one decimal digit bits is:
Your program will be designed to keep track of a decimal count from which will increment every
second when enabled. When the counter reaches 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:
A Boolean tag will represent a start button.
a Your count should at and count towards when the start tag is ON
b Your count should go up by every second
c Your count should reset to if the start returns to OFF
You are required to have four outputs
a One output for each binary bit, as noted in the table above B B B B
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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started