question

MINGYU L avatar image
0 Likes"
MINGYU L asked MINGYU L commented

how to order job to agv using PF?

Hello.

I wanna continuously give a job to certain agv(ex. agv_1) at work.

but, In PF Basic agv logic, The new job is given to the waiting agvs.


The way i tried that When token searched for a job in CP in the main control loop,

I changed the token's agv label to certain agv(agv_1) in the token using custom code, but to no avail.


What should I do?

Thank you.


FlexSim 20.0.6
agvflexsim 20.0.6pf
· 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.

tannerp avatar image tannerp commented ·

The Process Flow template for AGVs is used for general AGV applications. It doesn't have the ability to meet every need by default, but you can modify it or use the ideas from it to create something that will work for your needs. Your description is good, but it doesn't quite give us enough information to provide a solution. Can you post the model you're building so we can find a solution?

0 Likes 0 ·
MINGYU L avatar image MINGYU L tannerp commented ·

Sorry, Due to company security issues, it is not possible to post an ongoing project file.

So, i have described the function and scenario i want. I hope you can provide a solution.

Thank you.

=================== scenario ======================

Suppose A,B, and C are facilities.

The scenario is below and what i want is to run 5_2 instead of 5_1.

1. Job_1 occurs.

-> Job_1 : Move the product from A to C

2. The nearest AGV_1 is assigned.

3. AGV_1 moves the product from A to C.

4. A job_2 occurs in B while AGV_1 is moving the product.

-> Job_2 : Moves the product from B to C.

5_1. Job_2 is assigned to one of the idle states AGV_2 and AGV_3.

: Normal AGV PF.

5_2. Not like 5_1, AGV_1 moving a product from A to C is assigned a Job_2

to move the product from B to C. So, AGV_1 executes Job_2 after completing Job_1.

: I want to do instead of 5_1.


0 Likes 0 ·
scenario.gif (9.0 KiB)
tannerp avatar image tannerp MINGYU L commented ·

Thanks for the explanation! Is this example similar to what you have set up in your model?

If so, you'd like queues A and B to use AGV_1 whenever possible, right? When will AGV_2 and AGV_3 be used?

mingyu example.fsm

0 Likes 0 ·
mingyu-example.fsm (141.6 KiB)
Show more comments

1 Answer

tannerp avatar image
0 Likes"
tannerp answered MINGYU L commented

@MINGYU L

Thanks for the detailed explanations and scenarios. I modified my initial example model according to your description of the situation. The key element here is that the item's "Normal" or "NotNormal" label can be used in Process Flow at a Decide activity to determine which AGV should be acquired. I set this up as shown in the image below:

See if this behaves like you want. I think it should work pretty well.

mingyu-example_1.fsm


· 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.

MINGYU L avatar image MINGYU L commented ·

I applied the solution you provided and finished well.

Thank you very much for providing a good solution!!

0 Likes 0 ·