question

Sara W avatar image
0 Likes"
Sara W asked José Antonio MD edited

FlexScript exception. Label does not exist

Hi everybody:

I need help about what is wrong of my Script. I want to pack several quantities of items into the pallet at the Combiner, and the quantity to pack is dependent on the itemtype on the entry.

The System Console warning me the following error:

time: 0.000000 exception: FlexScript exception: Label property Contenedor retrieved on /Combiner1/Product. Label does not exist. at MODEL:/Combiner1>variables/entrytrigger

Thank you.

modo-13.fsm

FlexSim 18.1.2
flexscripterror message
modo-13.fsm (63.4 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

José Antonio MD avatar image
2 Likes"
José Antonio MD answered José Antonio MD edited

Hello @Sara W,

Your problem is that the label "Contenedor" does not exist in the source "palet". The source "palet" is the input port 1 in your combiner and you run this code when something Entry in port 1, so that is the problem.

You can change the order of the input ports if this is the mistake, add the label in Source "palet", etc. Or you can try to use a GlobalTable and use the function Update Combiner Component List.

I hope I have been helpful.


solution.png (34.0 KiB)
· 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.