Jump to content

Recommended Posts

Posted (edited)
Hi! I need to loop my program. The best way i think of doing it is by using a timer. This is what I need to do: A pushbutton starts motor 1, then the motor goes in 5 seconds before motor 2 starts. Both two motors will go in 10 seconds before they stop in 10 seconds and start from the beginning again. In the pictures you see what I have done so far, the process works like I want to, but the timer that loops the program is starting to count the second the plc get power... Edited by Haakon
Posted
T0003 will start as soon as the PLC powers on. It looks like you need at least one (probably two) more bits involved. You need to set a bit when 0.01 is on (cycle start bit) and add this bit to the T0003 logic. You probably also need a cycle stop input that turns off that cycle start bit.
Posted
Can you tell me a little deeper how I do this? I am going at school and we have just worked with PLC in since December, so I'm not that good with PLC yet I'm really interrested in PLC, and planning to take education as an automation technician :)
Posted
OK .... You could set an unused I/O bit when 0.01 turns on with an SET instruction then use another input (or some other logic) to reset the bit with an RSET when you want to stop the process. You would then add the bit to the logic for T0003. In this example I used 50.01 for the cycle start bit
Posted (edited)
Ok, thanks! I kinda figured out myself, and managed to get it to work like i wanted to. I used a "fake" coil to start one timer that resets the whole process. Edited by Haakon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...