question

Jelmer B avatar image
0 Likes"
Jelmer B asked Ryan Clark commented

Conveyor motor cannot restart conveyors for the second time

hello, I am having issues with restarting the conveyor motor for the second time in the simulation. The first time there is no issue. But the second time, the photo-eye stops the motor, it doesn't continue the conveyors properly. only one part of the connected conveyors resume, the rest doesn't do anything. What can I do to fix this problem?

see the simulation file or the video for the first stop in comparison to the second stop when the problem occurs.

simulation robot.fsm


FlexSim 22.0.1
conveyorphoto eyeresume motorstop motor
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
It's the first time you resume the conveyors not the second, and looks like a bug. Also the Conveyor.Motor class is missing from the documentation.
1 Like 1 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @Jelmer B, was Jelmer B's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

-1 Like -1 ·

1 Answer

·
Jelmer B avatar image
1 Like"
Jelmer B answered Ryan Clark commented

I think it has something to do with acceleration and deceleration. If I set this to 0 it works fine. If I set this on something about 0,5 until 1 m/s/s, the conveyors start behaving strangely when stopping and starting up again. Some conveyors are stopping late while others stop directly with the same settings. And some conveyors won't start up again.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ryan Clark avatar image Ryan Clark commented ·
Hi @Jelmer B,

I believe that you are correct about the acceleration/deceleration being the problem. Since you're controlling the conveyor motion with the motor rather than by changing the speed of the conveyor directly, the value of the acceleration/deceleration results in breaking some of the logic. I would recommend just changing those values to 0 as you mentioned; it doesn't appear to change the visual behavior of the model anyway.

Best of luck!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.