Internet PLC Forum

General => General Discussions => Topic started by: marz on March 03, 2004, 11:52:02 AM

Title: HELP!!!
Post by: marz on March 03, 2004, 11:52:02 AM
i'm supposed to implement a 3 state toggle switch from a single normally open push button using PLC... ???
Title: Re:HELP!!!
Post by: corley on March 05, 2004, 09:39:01 AM
well.. if you can't replace the pushbutton with a 3-pos toggle then I would suggest writting some code to count the number of presses.. sorta a morse code for the PLC to know what to do. Of course this can be a pain do to scan times, etc... missing scans or pushes so you would need some kinda feedback such as an LED to let you know that the plc has indeed counted the 'push' of the button.

1 push = auto
2 pushes = on
3 pushes = off

simple