Counters Practice Problems

Counters Practice Problems - -When a car passes the exit...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EE369 – Industrial Automation Counters Practice Problems 1. Write a PLC program that controls three lights as follows: - Pressing a N.O. pushbutton PB1 once turns L1 on and keeps it on - Pressing PB1 twice turns L2 on and keeps it on - Pressing PB1 three times turns L3 on and keeps it on - Pressing PB1 a fourth time turns off all the lights - This process should be repeatable 2. Write a PLC program that controls three lights as follows: - Pressing a N.O. pushbutton PB1 once turns L1 on and keeps it on - Pressing PB1 twice turns L1 off and turns L2 on and keeps it on - Pressing PB1 three times turns L1 and L2 off and turns L3 on and keeps it on - Pressing PB1 a fourth time turns off all the lights - This process should be repeatable 3. Write a PLC program that controls a parking lot as follows: - A N.O. entrance sensor and a N.O. exit sensor are used to control an entrance gate and exit gate respectively - When a car passes the entrance sensor, the entrance gate is opened
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -When a car passes the exit sensor, the exit gate is opened-The number of cars that are allowed in the parking lot can be set by using a 3-digit keypad connected to a 16-point input card in slot #5 of the PLC-This value can only be changed when a N.O. toggle switch is activated-While the toggle switch is active, the parking lot is closed and no cars are allowed to enter or leave R. Khan Nov. 2009-There is also a N.O. manual Reset toggle switch which allows the operator to restart from an empty lot-A 3-digit 7-segment LED display connected to a 16-point output card in slot #6 of the PLC shows the number of cars in the lot currently-If the parking lot is full, a No Vacancy light is turned on and off at a frequency of 0.5Hz at 70% duty cycle and no more cars are allowed to enter the lot R. Khan Nov. 2009...
View Full Document

Page1 / 2

Counters Practice Problems - -When a car passes the exit...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online