Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SCL PROGRAMMING A PLC is used for controlling a parking garage. It fits 7 cars. The program is to have 3 inputs, one for each
SCL PROGRAMMING
A PLC is used for controlling a parking garage. It fits 7 cars. The program is to have 3 inputs, one for each entry, and one for the exit. The inputs send a signal each time a car passes.
An output should be set as "1" when the parking garage is full.(7 cars)
The controls is to be connected to a display that has to show the number of cars in the parking garage. The interface of the display is a digital binary number of 3 bit. (ex. 5 cars has the value 101). For this purpose there are three outputs on the PLC.
Make a function block(FB) for the parking garage. You can assume that the FB is run from an instance data block(IDB), so it is not necessary to define tags(physical in and outputs)
Make all the information needed for the FB and write a program in SCL, comment if you are using work or rest contacts in the program. Show logics for outputs towards the display.
Comment your work.
Expected results include:
Input:
Name Datatype Comment
xPIn1 Bool, what is it?
Output:
InOut:
Static:
Temp:
Constant:
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