easy-forum
English Support - Software => easySoft => Thema gestartet von: krazeeandrei am Juni 05, 2006, 12:17:39 Nachmittag
-
hello,
i'm working for a few month with easy but i encountered a problem.
i have to start 18 motors on delayed by 5s. when all are running i can stop them off delayed 5s starting the last turned on.
on starting: if a problem occures until they are all running, they will stop backwords (from the last turned on).
if they are all running and a foult occures in the middle, all upwards motors will stop alltogether and downwards (starting the one before the one with the problem to the first turned on) delayed by 5s.
if somebody has a similar problem answered or can help me anayway, i am waiting for your respons.
thank you,
Andrei.
-
What you need?
-
priwjet Andrei,
try it with a blinking timer (5 sec) which increases a counter.
Then convert the counter value into the output signals for the motors:
counter | motor no.
value | 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
-----------|-----------------------------------------------------------------
00000 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
00001 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
00010 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
00011 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
00100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
00101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
...
For switching off the drives, reverse the counter direction (decrease).
Clearing the counter will switch all drives off.
Setting the counter to a specific value will switch some drives on, the others off.
Hope this will help you,
poka
Boppel
-
What you need?