Shop OBEX P1 Docs P2 Docs Learn Events
help needed — Parallax Forums

help needed

alvinalvin Posts: 1
edited 2010-06-21 08:19 in Learn with BlocklyProp
Hi I am a newbie here. I am also a newbie to plc. I have a question is that I have two switch(stop and start)and a bulb.what I would like to do is that to write a LD to make the bulb blinking with the most basic way which is just using NO, NC, Coil and Timer.
Then I would like to write another LD following the one above with the command press start once the bulb light up but not blinking then press start again the bulb start to blink.

Hope that you guys are willing to help me out
Thanks in advance

Post Edited (alvin) : 5/28/2010 11:18:20 PM GMT

Comments

  • hover1hover1 Posts: 1,929
    edited 2010-05-28 23:18
    What is an LD?

    Jim
  • Mike GreenMike Green Posts: 23,101
    edited 2010-05-28 23:53
    Ladder Diagram

    There are really no instructions or manuals or the like here on writing or using ladder diagrams. These forums are about the use of Parallax Basic Stamps and the Parallax Propeller. There are all sorts of tutorials on how to write programs for the Stamps. Start with the Educational Tutorials and the Stamps in Class Resources here (www.parallax.com/tabid/477/Default.aspx). The "What's a Microcontroller?" tutorial is a good starting point. You might also look at the "Process Control" tutorial.

    Post Edited (Mike Green) : 5/28/2010 11:58:33 PM GMT
  • hover1hover1 Posts: 1,929
    edited 2010-05-29 00:30
    Thanks Mike.

    I didn't click. My Dad did a lot of PLC, I just wish I had wanted to learn that while he was still alive. He was pretty good in that area.

    Jim
  • Brian BBrian B Posts: 31
    edited 2010-06-21 08:19
    a simple program is, depending on what input your switch is i will use P1 and P3 for the led

    IF (P1 = 0) THEN
    PULSOUT 3, 65000
    IF (P1 = 0) THEN
    DO
    PULSOUT 3, 65000
    PAUSE 2000
    LOOP
Sign In or Register to comment.