question

mary avatar image
0 Likes"
mary asked Jason Lightfoot commented

Pull the part

Hi i have model where when part enter at Station1 it should check the global table and pull that part from the Queue 1 to Queue2. Example: Part enter at Station1 is "a" check the "part to order" column from GlobalTable1 i.e., "k". Now pull only one quantity of "k" from Queue1 to Queue2. I only want to pull the part not to push.

pullstrategy.fsm


@Jason Lightfoot @Felix Möhlmann

FlexSim 20.0.10
pullbuffer
pullstrategy.fsm (28.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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Example attached.

pullstrategy_jl.fsm

As a student you should be looking for material in the documentation and elsewhere on this forum to solve the problem.

Some points:

  • Do not release on Q1's send to port (release from the process flow)
  • Use transport from Q1.
  • The combiner is the instance of the process flow.
  • Two events - item entry on the combiner's port 1 and item entry into Q1.
  • The Q1 is referenced by the combiner's label "feederQ"
  • Q1 entry pushes the item to a list.
  • Port 1 entry of the combiner looks up the name it needs and pulls the correct item from the list.
  • A found item is released through exit port 1 of the Q1.



pullstrategy-jl.fsm (38.2 KiB)
· 4
5 |100000

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

mary avatar image mary commented ·
@Jason Lightfoot I don't want a physical connection from Queue1 to Queue2. without connection i want to pull
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ mary commented ·

The 'physical' connection is just there as it's the easiest way to get the transport task created. You can replace the 'release item activity' with the equivalent transport/load/unload tasks. Add a label to the combiner pointing to Queue2 called 'port2itemQ' and reference that in your tasks as current.port2itemQ ( better than sampling directly as it makes it generic - something everyone should be doing as best practice/ a good habit to cultivate).

0 Likes 0 ·
mary avatar image mary Jason Lightfoot ♦ commented ·

@Jason Lightfoot Thank you it is working.

Screenshot 2022-12-12 221708.png

You are using for "source" match value to inputport how is this working?

0 Likes 0 ·
Show more comments

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.