question

fiz avatar image
0 Likes"
fiz asked Felix Möhlmann commented

Custom AGV network

Hi I am using AGV network for my AGV to travel, guided by process flow logic.

Currently, when the AGV travels to the pick up point, it is performing as intended, as shown here in the sequence below.
AGV travel to pick up control point:
1728525458992.pngAGV pick up and Travel loaded to main path (blue):
1728525600538.png

However, when AGV enters main path, turn and travel, the trolley should not turn with the AGV as the trolley should be parallel with the path (red):
1728525712355.png

Hence, I am trying to find a way so that the agv knows that whenever it enters a the main path for the very first time only after loading, it should turn independently.

Also would like the reverse on unload (when it exits the main path)

Any help given would be very much appreciated!

SimModel Rev.2.zip

Notice that there is label in the path

1728526022834.png
which may be use for classifying certain path as main

FlexSim 23.2.1
agvpath
1728525458992.png (58.9 KiB)
1728525600538.png (48.4 KiB)
1728525712355.png (40.9 KiB)
1728526022834.png (33.4 KiB)
simmodel-rev2.zip (207.1 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 commented

The only solution that comes to mind is to use the AGV customization delegate to hook into the travel logic. For each kinematic a message is send to the AGV with a value of either 90 or 0 depending on whether the travel section is on a main path (oneway) or a side path (twoway). In the On Message trigger of the AGV the rotation of the loaded item is set according to the received value.

agv-item-rotation-by-path-fm.fsm


· 2
5 |100000

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

fiz avatar image fiz commented ·

Thank you @Felix Möhlmann , thats helpful. However, I would like the if block condition to be link to the path label rather than if its one way or two way,


1728544160543.png1728544199422.png

how can i reference the label.pathtype instead in the highlighted code above?


0 Likes 0 ·
1728544160543.png (17.4 KiB)
1728544199422.png (25.5 KiB)
Felix Möhlmann avatar image Felix Möhlmann fiz commented ·

"section.path" is a reference to the path object. From there just access the label as normal with "section.path.labelName".

0 Likes 0 ·