Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a single momentary pushbutton input to turn on/off output

Status
Not open for further replies.

vminassian

Mechanical
Jul 13, 2006
7
Hey everyone.. i am taking an intro course to plc programming.. i am having trouble figuring out this problem that seems very simple..

use a single momentary pushbutton input to turn on and off a single output.

i have been trying to use latch output but i cannot figure it out.. any help will be appreciated..

thanks
 
Replies continue below

Recommended for you

I need to accomplish this also.

What have you learned or read online that will help in understanding this?

I want to have a Proface going to a SLC500 I am thinking. What module would be needed in the 500 series to accomplish momentary on back to off when a button is pushed on the Proface?
 
Here's how I do it...
[tt]

button Bit1 Bit2
001 ---][--------]/[----------( )--

button Bit1
002 ---][---------------------( )--

Bit2 Out Bit3
003 ---][-----+-----]/[-------(L)--
|
| Out Bit3
+-----][--------(U)--

Bit3 Out
004 ---][---------------------( )--

[/tt]

The first 2 rungs create a one-shot, preventing the output from continually toggling ON and OFF.
Bit2 is both the output of the one-shot and the input to the toggle logic. Each time Bit2 goes high, Bit3 is toggled to the opposite state as the current state of the output.
The output is then set accordingly.
 
You can use sequencer command.
Its one rung programme.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor