question

Mike avatar image
0 Likes"
Mike asked Felix Möhlmann edited

Unable to resume conveyor flow item

I want to resume the conveyor flow item on message. Station to send message on process finish. Could anyone help to check? Thanks.


conveyor_Resume.fsm

FlexSim 24.0.1
unable to resume conveyor flow item
conveyor-resume.fsm (64.5 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann edited

The message trigger does not have a reference to the item (only to the DP itself, the sender of the message and the message parameters if there are any).

So you need to write custom code that first checks whether there is an item waiting at the DP. And if this is the case, resumes it.

Getting the item reference is the tricky part, the expression to resume it once you have a reference could be copied from a different trigger where the "Resume Item" option is available.

conveyor-resume-fm.fsm

The same logic can be build using area restriction instead. Which does not require any custom code is probably more robust, since it does not depend on the timing of when exactly the previous enters/exits the second conveyor section.

conveyor-area-restriction-fm.fsm


5 |100000

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