this is the type of training aid we give people who wish to learn control systems.Sample Code - Ladder
This logic is developed for momentary push button. FYI safety systems does should not use this On-Off Logic.
I like to set this task for apprentices to use relay logic. - NO PLC
one N/O push button 3 to 5 relays (3 is harder) and 1 light
Press the button the light goes ON
Press it again and the Light goes Off.
Coolasad14 - your program is good - but too complex - try again
The answers earlier on this post are better.
As i had