question

Prateekq4 avatar image
0 Likes"
Prateekq4 asked Jason Lightfoot commented

Resume item

Sending.fsmI have built a model where items on a conveyor are sent to a particular exit trigger (which is connected to a combiner) based on decision point on arrival trigger. At DP2 in my model i have created a stop item code(to stop item incase the combiner is not free) along with my send to port code. When my item is exiting combiner 12 (it is processed here), it sends a message to the DP2 to tell it to resume the item. My item doesnt resume. Can someone tell what is going wrong?

FlexSim 22.0.16
stop and resume
sending.fsm (59.9 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Prateekq4, was Jeanette F'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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered

Hello @Prateekq4,

In your DP2 On Arrival code you end up calling to stop the item 3 times. For every stop there has to be a resume called or a forced resume. There are two solutions for this issue. In your On Arrival code you can exit your for loops if you end up stopping the item once or in your on message trigger you can do a force resume.

1692156948212.png

1692157009610.png


1692156948212.png (18.4 KiB)
1692157009610.png (27.2 KiB)
5 |100000

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

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.