learning...

serhan

Guest
S
hi everybody... ý am learning plc programming.. ý wrote some programs but ýt could not work continuously.. how can ý do it? that is, ýn simplier ý want to push a button and the light goes on forever...
 
serhan,

This could be an interesting thread, I bored and in a helpful mood so hear goes... there are many ways to skin a cat the simplist is based on 'relay logic.'

start Light
------[]-------------------------------()
| |
| light |
----[]----

This is called a hold-in unfortunately once turned on it cant be turned off so you need an off button

stop start light
-----[/]-------[]----------------------()
| |
| light |
----[]----

It can also be achieved by using a latch and other more complex ways. There is a link on the top of the page to "Learn PLCs" have a look, have a play and if you get stuck ask a question, but try to limit yourself to a specific issue. Do yourself a favour and don't ask for a traffic light program, Im not quite that bored....

Andrew
 
Originally posted by serhan
[B]...ýn simplier ý want to push a button and the light goes on forever... [/B]

Simple, keep your finger on the button forever. beerchug

We have all been through this when we started.
 
Pierre, good one...y am still laughing.

Serhan, you have to "latch" the output. To clarify what corkers posted I have redone his drawings:
Code:
     start                            light 
----[]----+----------------------------( )
|         |
| light   |
----[]----+
In this case the ouput itself creates a "latch" that holds the output on. As corker stated this cant be turned off once turned on so:
Code:
    stop      start                  light
-----[/]--------[]----------------------()
            |       |
            | light |
            ----[]---
As you can see a "stop" or some means to "unlatch" the circuit is needed.
 
I think you didin't understand me...

explaining....: I have a simple system such that there is a motor, plc....

ý want to control the motor with timer and start running clockwise for 15 seconds and after 15 seconds turn the opposite direction and run for 20 seconds...

after this 35 seconds I do not want to press push button again...

but

start light
----[]----+----------------------------( )
| |
| light |
----[]----+


this idea is not working here...




there must be something which press the start button secondly....

I hope you understood me... ;)))
 
Hello,

What do you wanna do, just make a blinker. Once pushed on the button
and the light keeps flashing on..off..on or a sequence you define?
 
Serhan,

when displaying a drawing it must be preceded by "[ ladder ]"
And when your done, on the next line place "[ / ladder ]"



This will allow the htm to hold the formatting.. spaces and shuch.

Note: when using these commands remove all spaces between the brackets.

Mike.
 
Last edited:

Similar Topics

I've gotten to the learning curve where I can program a call for pump to come on at set point but I'm not sure how to turn the same pump off when...
Replies
1
Views
158
I want to pick up an Allen Bradley PLC so I can practice writing programs. I have 10 years as a maintenance tech and a good understanding of...
Replies
8
Views
266
Hi all, i have started a new chapter in my career with a local company. a lot of their plc's is omron and i have the cx version 9.75 software...
Replies
25
Views
4,375
Can you guys recommend a course or book for my son to start learning PLC programming? He’s telling me he’s thinking of taking some $100 course...
Replies
31
Views
7,356
Hello All, I have recently had the opportunity to dabble in TIA portal for the first time. Been working in automation for almost a decade now and...
Replies
18
Views
2,674
Back
Top Bottom