question

Rocio A avatar image
0 Likes"
Rocio A asked Jeanette F commented

Error in a Gravitatory Rack with process flow

Hello,

I have a model that has 4 cells. Each cell is made up of a RackKitPiezas, an RackKitVacio, a Combiner (really a queue), a Carrro (really a queue), a PalletVoluminoso and an RackSalida. A Kit goes into the RackKitPiezas. At that moment the operator takes the piece from the PalletVoluminoso and puts it in the Combiner. Afterwards, the operator goes to the RackKitPiezas and picks up the Kit and takes it to the Carro. There it takes the pieces that are in the Kit and puts them in the Combiner where I finally end up with the PalletVoluminoso piece (it simulates that I do a join as in a combiner).

The part is then processed and when it is finished the operator takes it to the RackSalida. Then he goes to the Carro and there he takes the Tote (Empty Kit) and takes it to RackKitVacio. But when this happens I get the following error:

time: 56.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/ProcessFlow/Proceso/Assign Operario, Carro, Combiner, RackSalida y PalletVoluminoso>labels/2/2 at line 7

time: 56.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/ProcessFlow/Proceso/Assign Operario, Carro, Combiner, RackSalida y PalletVoluminoso>labels/3/2 at line 7

time: 56.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/ProcessFlow/Proceso/Assign Operario, Carro, Combiner, RackSalida y PalletVoluminoso>labels/4/2 at line 7

time: 56.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/ProcessFlow/Proceso/Assign Operario, Carro, Combiner, RackSalida y PalletVoluminoso>labels/5/2 at line 7

time: 56.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/ProcessFlow/Proceso/Assign Operario, Carro, Combiner, RackSalida y PalletVoluminoso>labels/6/2 at line 7

If instead of RackKitVacios which is a gravitational RacK I put a queue it doesn't give an error...so I understand that the error is in the way of connecting the RackKitPiezas and RackKitVacio.

Could you help me?

Thank you in advance.

I attach the file

Prueba.fsm

FlexSim 24.1.1
process flowrackscentralobjectsgravitatory rack
prueba.fsm (934.7 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Rocio A commented

outofbound-error.jpg

Token label "RackKitPiezas" has got a refference to "/RackKitVacio1". This object has got a unique centerport connection. So any other reference to a higher port number is causing an error out of bounds.


· 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.