question

Raul Vazquez avatar image
0 Likes"
Raul Vazquez asked Raul Vazquez commented

Barrier Conditional Anavigator

rev-2-autosave-1-autosave.fsm

Hi to all, Im new using flexsim and I hope that you can help me.

I already create the next labels to AGV:

X_Lado=distance in x of the element

Y_Lado =distance in y of the element

Diagonal=diagonal of the element

Could you help me to know how I can create a conditional in the barrier please?

I need to do it in a project with several gates and different options, so, I need to understand how this could work.

I need that the barrier can give acces only when the "current" could be AGV1 or AGV2 etc... or AGVx..

is less than 85% in "y_Lado" ( ill change the side according their position in the layout) of the "y distance" of the barrier.

Thanks a lot for your help.

FlexSim 19.0.0
barriersanavigatormachine movementsmovements
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

Joshua S avatar image
0 Likes"
Joshua S answered Raul Vazquez commented

Look into using the Condition option on the barrier, you can set a different label that the barrier will check on the AGV, or add more code into that condition.


pic1.png (8.1 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.

Raul Vazquez avatar image Raul Vazquez commented ·

Hi @Joshua S, thanks a lot for your response

0 Likes 0 ·