question

Gabriel illescas Cavazos avatar image
0 Likes"
Gabriel illescas Cavazos asked Jeanette F commented

I need pack 1 until 6 products when the pallet arrived to combiner

if (port==1) { treenode thelist = getvarnode(current,"componentlist"); treenode thesum = getvarnode(current,"targetcomponentsum"); setnodenum(thesum,0); int cantidad_carga1= getlabel(current,"combinar1"); setnodenum(cellrowcolumn(thelist,1,1),cantidad_carga1); inc(thesum,cantidad_carga1); int cantidad_carga2= getlabel(current,"combinar2"); setnodenum(cellrowcolumn(thelist,2,1),cantidad_carga2); inc(thesum,cantidad_carga2); }

FlexSim 16.2.1
combinerupdate component list
· 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.

Adrian Haws avatar image
2 Likes"
Adrian Haws answered

Your code works if you replace cellrowcolumn with gettablecell. cellrowcolumn is a deprecated command.


5 |100000

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

Het avatar image
0 Likes"
Het answered Jeanette F commented

Combiner practise.fsmI have follow-up question. I am trying to pack 2 bottles in a box. But at the end of combiner box seems packing only 1 bottle. and 2nd bottle is hovering on the box. I have shared the model. Could you please check what I did wrong?

1706127677838.png1706127689469.png


1706127677838.png (123.1 KiB)
1706127689469.png (45.3 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.