This project uses interlock function to achieve the automatic operation of the gage of the parking lot.
2. I/O list
|X1||One car is going to enter the parking lot|
|X2||One car is leaving the parking lot|
|Y1||The “go” signal for the entering car|
|The “stop: signal for the leaving car|
|Y2||The “stop” signal for the entering car|
|The “go” signal for the leaving car|
This project uses X0 as a button to turn ON light, Y0 as a output to trigger light, T0 (100ms timer) as timer for light ON.
When X0 set ON, trigger is set ON, and Y0 trigger the T0 work, when T0 up to 200 (20 seconds), T0 set ON, then Y0 is set ON.
Date: Feb 2017