question

Tushar H avatar image
0 Likes"
Tushar H asked Tushar H commented

AGV Carry 2 item at a time and AGVS Work in round robin

Hello All,

In this model I am facing few issues which was agv1 first pick 2 items at a time and then transfer to queue2 after that for next time agv2 pick 2 items at a time and then transfer to queue2. In my model both agvs pick 1-1 items and transfer to queue2

Please find tha attached mode2 AGV Work obo.fsm

Thank you

FlexSim 23.0.3
agvcontrol
2-agv-work-obo.fsm (32.0 KiB)
· 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.

Tushar H avatar image Tushar H commented ·

@Felix Möhlmann Can you help me to find a solution..

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Tushar H commented

You have to change the "Pass To" rule of the dispatcher to give out the tasks in sequence [1, 1, 2, 2]. Due to how timing works, if a task is send out through a port, that port becomes unavailable until the task executer has processed the new task sequence. Before that happens the second task sequence is passed on, since that was already scheduled to happen. For the second task, the first task executer will still be unavailable, so it goes to the second.

The following code will pass out the tasks in the fixed sequence [1, 1, 2, 2].

1677686401435.png


1677686401435.png (16.2 KiB)
· 3
5 |100000

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

Tushar H avatar image Tushar H commented ·

Thank you @Felix Möhlmann, I applied this code in my model but it's giving me few errors. Also not working as per requirement.

Please find the attached model.2 AGV Work obo111.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Tushar H commented ·

You misspelled the label name at one point in the code (c <> C).

1677761645398.png

0 Likes 0 ·
1677761645398.png (16.6 KiB)
Tushar H avatar image Tushar H Felix Möhlmann commented ·

Thank you So much for your support @Felix Möhlmann

0 Likes 0 ·