question

Patrick Zweekhorst avatar image
1 Like"
Patrick Zweekhorst asked Patrick Zweekhorst commented

Resume object on massflow conveyor resulting in exception

Hi,

In the attached example model I stop the two mass flow conveyors that supply the line. After 80 seconds these two conveyors are stopped. At time 100 I try to resume the conveyor (with the pick options in ProcessFlow), but this results in an exception.:
time: 100.000000 exception: FlexScript exception:

MODEL:/Tools/ProcessFlow/ProcessFlow/Resume 21>variables/codeNode at line 12

When I do the same thing at other conveyors it all seems to be working. Why is this resulting in an exception?


Thank you in advance.

MassConveyorStopObject.fsm

FlexSim 24.2.0
exception errormassflowconveyorresumeobjectresume
5 |100000

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

1 Answer

Logan Gold avatar image
0 Likes"
Logan Gold answered Patrick Zweekhorst commented

This does appear to be an issue with the Mass Flow Conveyor. We were able to determine the issue only occurs when the conveyor is generating mass flow units. If the Generative Rate is 0.00, then the conveyor can be stopped and resumed without issue.

I've added the issue to the development list to have the developers take a look. As a workaround, you could include a small section of a nongenerating Mass Flow Conveyor after the generating conveyor(s) and stop/resume the nongenerating section instead.

· 3
5 |100000

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

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hey @Patrick Zweekhorst, I've been told by the developers that you may need to use a Motor to stop Mass Flow Conveyors. I haven't had a chance to test it all out yet, but I wanted to mention it before I forget.

So for Mass Flow Conveyors that are generating, try connecting the conveyor to a Motor and then stop/resume the Motor. You may need to do this for non-generating Mass Flow Conveyors too, but like I said, I haven't been able to test it out yet.

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Logan Gold ♦♦ commented ·
Hi @Logan Gold ,

Thank you for the response. I will give that a try. If that is the case to stop and start a massflow conveyor, I think it would be good to have that somewhere clear in the documentation. I must admit that we never use the motor object for conveyors.

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Logan Gold ♦♦ commented ·

Hi @Logan Gold ,

I tried your suggestion, but it does not work. I actually get the same result as I got without the motor. I even found a new bug with the motor:

Question, Conveyor sampler not working for motor, Published Successfully (flexsim.com)


The model with the motor:
massconveyorstopobject_Motor.fsm

Thanks

0 Likes 0 ·