Write ladder logic for Car parking Program.
Design the ladder program to implement Automation of parking garage system in an apartment where they can park only 10 cars. When 10 cars park, a signal will turn ON signalizing that a garage is full and notifying other drivers not to enter because there is no space available.
This is only a basic logic that counts the number of cars (entry/exit) and displays a lamp indication when parking is full. So you will have two inputs (entry/exit sensors) and one output (lamp).
Refer to the below diagram for additional information.