[attachmentid=684]How to make a loop
--------------------------------------------------------------------------------
Hi here is a simple program which turns on a lamp after 10 seconds then turns it back of again 10 seconds later. I am using a normally closed switch LDI X402 so that when power is on no button needs to be pressed as it is normally closed, so its automatic if you like.
But I have included a push button LD X406, once this is pressed the automatic system is over- riden and the lamp comes on and stays on until the off button ANI X411 is pressed which turns off the lamp.
Please have a look at the ladder diagram then could you answer the question below it.
The Ladder Diagram has been attatched as a file ppt, the question is how do I make the program go in a loop, meaning lamp on for 10 then off for 10, I want it to keep repeating this, IE on10 off 10 on10 off 10 etc etc.
Please Help
--------------------------------------------------------------------------------
Hi here is a simple program which turns on a lamp after 10 seconds then turns it back of again 10 seconds later. I am using a normally closed switch LDI X402 so that when power is on no button needs to be pressed as it is normally closed, so its automatic if you like.
But I have included a push button LD X406, once this is pressed the automatic system is over- riden and the lamp comes on and stays on until the off button ANI X411 is pressed which turns off the lamp.
Please have a look at the ladder diagram then could you answer the question below it.
The Ladder Diagram has been attatched as a file ppt, the question is how do I make the program go in a loop, meaning lamp on for 10 then off for 10, I want it to keep repeating this, IE on10 off 10 on10 off 10 etc etc.
Please Help