7/17/2013 4:58 PM | |
Joined: 1/21/2013 Last visit: 6/6/2024 Posts: 4620 Rating:
|
Hi Chispas, You can use the M8 flag which is the startup flag. It only works for the first cycle of the program. |
7/17/2013 7:49 PM | |
Posts: 5225 Rating:
|
[smile] I take up the challenge. (I have done this before.) Please see the attached program. Simulate the program. You will see that the output is ON. Reset the output by toggeling I1. Switch off I1. Now press the "cut power" button. Output will switch ON again. Try to download this to a Logo! Run the program there too. Cool.. do you not agree? AttachmentDemo first scan on Logo_1.zip (486 Downloads) |
7/18/2013 11:28 AM | |
Joined: 12/27/2006 Last visit: 7/7/2024 Posts: 1197 Rating:
|
Yes its possible You can doe it on several ways. But you can not run the LOGO, make the cyclus once, and then STOP the logo. You can programm so your cyclus is made 1x, and then your LOGO! stops forever, until you disconnect the power. Its also possible to make it with a coutre, so the cyclus is make x times. Its possible to use a RS (Latching) block and set it once by an input or by M8 ( see programming by others here), or do it by an other way. Look in the example. If you make i1, then after 1 sec, the output goes on for 2 sec, and then its ready. Its start only wen you disconnect the power for a several seconds. Its not nice to doe it by this way, to disconnect the power for a new cyclus. Better is to make an input and start the cyclus again when pushing the (reset) button. But there are of lot of possibilities to do it. Attachmentonce1.zip (358 Downloads) |
Follow us on