question

gilbert jerald avatar image
0 Likes"
gilbert jerald asked Monika Sokół answered

How to set speed for AGV Vehicle through code?

Hi

In my model, I am using two AGV that transfer item from Queue1 to Queue2.In this, I have to set different traveling speed for two AVG at OnLoad and Onunload state through code that travels on the same path.

For example:

Agv1: Will move 5meter/sec at OnLoad condition and 7meter/sec at OnUnload Condition.

Agv2: Will move 4meter/sec at OnLoad condition and 6meter/sec at OnUnload Condition.

Note: I want to set speed for these two AGV through code.

I have attached the sample model for your reference agv-samplemodel.fsm

Thanks in advance for your valuable answer.

FlexSim 18.0.3
agv speed
agv-samplemodel.fsm (66.0 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

Monika Sokół avatar image
1 Like"
Monika Sokół answered

If I understand correctly you would like to specify different speed table for individual AGV, right? To do it you need to open “Network Properties” and then add a new AGV Type (by plus).

Then you set speed values. After that you need to add AGVs to a proper AGV Type. Just select AGV and in “Quick Properties” window change Type from dropdown list.

20180530-agv-type.fsm

I attached model with those changes.


add-new-type.png (33.2 KiB)
set-agv-type.png (23.6 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.