question

Eddie avatar image
0 Likes"
Eddie asked Felix Möhlmann answered

Using AGV to carry item through a processor

I'm using the AGV with Basic Parking template and I have a station where the item gets processed on top of the AGV. At the very least, for the simulation, I need the AGV to stay with the item and pick it back up once it's done processing.

In the example I'm attaching I'm trying to keep the AGV with Processor2 until it's done processing the pallet, then pick up the pallet and move on to the next work point. I tried adding a Decide line to the process flow so that if Token.cp == "ControlPoint4" wait for processor to finish. Then I have the token go to the "Loading" sequence, skipping the "Travel to Pickup Location" logic, to pick up the pallet and continue to the next work point, but I've been unsuccessful with my attempts.

First, the logic I placed in the decide never recognizes "ControlPoint4" so it never goes into the "Wait for Event" logic.

Second, even after brute forcing it to get the token to the "Wait for Event" logic, I get an error, "exception: FlexScript exception: Invalid Control Point Connection Access at Model:/Tools/ProcessFlow/AGV/Assign CP~2>labels/2/2"

If someone has a better solution to this or knows what I'm missing/doing wrong with 1) the Decide logic and 2) the load sequence/Assigning CP label, that would be amazing!


AGV with Basic Parking Template Example.fsm

FlexSim 23.2.2
agvprocess flowprocessorconditional decideagv with basic parking
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

In the Decide activity you are comparing a pointer value (reference to the control point) with a string. You have to change this to either compare the name of the CP to the string or compare the label to a reference you get through "Model.find("...")".

Furthermore, in order for the waiting AGV to potentially pick up the finished pallet, the control point must not have any work forwarding connections. Otherwise the task can only be "seen" at those CPs.

agv-with-basic-parking-template-example_1.fsm

(In the case that both combiners are full, the AGV will resume empty as well, since no transport task is created for the pallet)


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.