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 Adrian Haws commented ·

@Gabriel illescas Cavazos I'm not sure I understand your question. Are you simply wanting to combine 6 boxes on a pallet with a combiner?

2 Likes 2 ·
Gabriel illescas Cavazos avatar image Gabriel illescas Cavazos Adrian Haws commented ·

example: queue1: Have 3 Products, queue2: Have 3 Products and I set that logial in trigger on entry of combiner but the combiner only pull 4 products but the correct batch is 6 products but the combiner doesnt respect my logical I dont know why

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Gabriel illescas Cavazos commented ·

@Gabriel illescas Cavazos

What do you want to achieve? The number of products in previous queues hasn't got any effect on the component list in the combiner. In which mode do you want to use the combiner? - Combine:

  • Pack
  • Join
  • Batch

How many different input ports have you connected to the combiner?

To Which object is the input port number 1 connected to?

Do you want to combine or assemble a defined number or infinite number of products?

Have you read the manual about the combiner? - the combiner page?

In which scenario do you want to use a combiner?

what purpose does the combiner have?

You can change the values in the component list dynamically, but it isn't recommended to do this without really knowing how a combiner object works. For instance If you change the component list if the last item to assemble enters the combiner you should test if that is still possible in a small model.

2 Likes 2 ·
Gabriel Illescas avatar image Gabriel Illescas commented ·

*pack

*2 ports: port 1= pallet, port 2= products

the input its variable that is the reason that a I use the code that you see in the top of the page

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

The box is a basic flow item - you should be using a container flowitem that knows it should pack items inside it (eg. tote or pallet) using a packing method. If you need to change the shape you can do so.

0 Likes 0 ·
Het avatar image Het Jason Lightfoot ♦♦ commented ·
Make sense.Thanks Jason.
0 Likes 0 ·
Het avatar image Het Jason Lightfoot ♦♦ commented ·

Hello @Jason Lightfoot

So, This time I used tote and changed graphics to open box as you can see here. However, Bottles are not get aligned in a box. Is there a simple coding I need to use in packaging methods?

Combiner practise.fsmSans.skp1706202332196.png

0 Likes 0 ·
1706202332196.png (319.9 KiB)
sans.skp (11.2 KiB)
Jeanette F avatar image Jeanette F ♦♦ Het commented ·
Hello @Het ,

Please follow our best practices and start a new post. You can reference this one in your new post if needed.

0 Likes 0 ·