Hello,
I want to define a sensors on the advanced conveyor that conveyor stop on for special time, I use “conveyors_stop¬_conveyors” for stop it, but I don not know how to start it again after 2 minutes,
thank you for your kindly,
Kind Regards,
Hoora
advanced conveyor
- HarryBunnik
- Posts: 362
- Joined: Monday 07 February, 2011 - 11:22
Re: advanced conveyor
Hello Hoora,
Can I ask how you stop the Advanced Conveyor? If you do that by triggering the event "CreateEvent(0, c, CONVEYORS_STOP_CONVEYOR_EVENT, 0, first(c))", then you can start the conveyor again using "CreateEvent(120, c, CONVEYORS_START_CONVEYOR_EVENT)" in the same sensor.
I hope this helps you further,
Cheers,
Harry
Can I ask how you stop the Advanced Conveyor? If you do that by triggering the event "CreateEvent(0, c, CONVEYORS_STOP_CONVEYOR_EVENT, 0, first(c))", then you can start the conveyor again using "CreateEvent(120, c, CONVEYORS_START_CONVEYOR_EVENT)" in the same sensor.
I hope this helps you further,
Cheers,
Harry
-
- Posts: 3
- Joined: Tuesday 10 April, 2018 - 09:31
Re: advanced conveyor
Hello Harry
Thank you for your reply, I used “conveyors_stop_conveyor(c, 2)” sensor but I can not start it again, the file that you attached does not open and show “error monitor”.
Can I ask you, if I want to use “conveyors_stop/start_conveyor_event” for stop/ start conveyor, how can I set the parameters so that the conveyor be stopped for 2 minutes and run again, ?
Kind regards,
Hoora ,
Thank you for your reply, I used “conveyors_stop_conveyor(c, 2)” sensor but I can not start it again, the file that you attached does not open and show “error monitor”.
Can I ask you, if I want to use “conveyors_stop/start_conveyor_event” for stop/ start conveyor, how can I set the parameters so that the conveyor be stopped for 2 minutes and run again, ?
Kind regards,
Hoora ,
- HarryBunnik
- Posts: 362
- Joined: Monday 07 February, 2011 - 11:22
Re: advanced conveyor
Ha Hoora,
Here is a new file. I hope this one works. Which version of ED are you running?
Ok, to make it work you have to create the start event after 120 seconds. And that is what the code I've given is doing ("CreateEvent").
The idea is that you place the code I mentioned in the last post in the same location where you stop the conveyor, so that would be where you place the sensor.
Another option may be to use the UserEvent atom (library\TIME\User Events). Here you can create a UserEvent that you can time as well.
Cheers,
Harry
Here is a new file. I hope this one works. Which version of ED are you running?
Ok, to make it work you have to create the start event after 120 seconds. And that is what the code I've given is doing ("CreateEvent").
The idea is that you place the code I mentioned in the last post in the same location where you stop the conveyor, so that would be where you place the sensor.
Another option may be to use the UserEvent atom (library\TIME\User Events). Here you can create a UserEvent that you can time as well.
Cheers,
Harry
-
- Posts: 3
- Joined: Tuesday 10 April, 2018 - 09:31
Re: advanced conveyor
Hello Harry,
the new file that you send me, could be opened and it was very helpful,
thank you for your kindness,
kind regards,
Hoora
the new file that you send me, could be opened and it was very helpful,
thank you for your kindness,
kind regards,
Hoora