Write a PLC Program for the following Task :
Construct a PLC timing circuit that will output (using output O:2/0) a 0.5 second pulse every two seconds (i.e. on for 0.5s then off for 2s).
If a switch (using I:1/0) is closed and a 1 second pulse every two seconds if the switch is open.
PLC Ladder Logic
Author : Dr. D. J. Jackson