Page 1 of 1

Variable Assembler

Posted: Wednesday 23 May, 2012 - 12:55
by Eggbert
Hi,

is it possible to make a variable assembler?

Something like

If ContainerLable = 5 pack 5 Products,
if ContainerLable = 4 pack 4 Products and so on.


thanks for your help.

Re: Variable Assembler

Posted: Wednesday 23 May, 2012 - 13:21
by dks
Hi Eggbert,

Yes, it's possible.

You can solve it in several ways, e.g.

1) Different BOMs on the assembler
By this I mean that it's possible to set the assemblers BOM-table to more than one column. And for each column you can setup the quantity to pack. And then you just have to refer to the column you want to use in the particular situation (that is acc. to the arriving product)

2) Set the assemblers BOM table dynamic
By this you can use the entrytrigger on the assembler to change the assemblers BOM-table dynamically when a product arrives. Just keep in mind that you only have to perform this task when the first item to pack arrives.

Hope this is useful - if you want more input, please don't hesitate to ask ;)

Regards
Daniel K. Svendsen

Integrate (www.integrate.dk)
Incontrol Partner

Re: Variable Assembler

Posted: Thursday 24 May, 2012 - 15:59
by Eggbert
It works, thanks a lot

Re: Variable Assembler

Posted: Friday 05 October, 2012 - 14:05
by giovanni
Hello

I would like to what are the functions to set the assemblers BOM table dynamic?
I didnĀ“t find.

thank u

Re: Variable Assembler

Posted: Friday 05 October, 2012 - 14:12
by giovanni
ops

I would like to know

sorry

Re: Variable Assembler

Posted: Friday 05 October, 2012 - 14:27
by menno
Hello,

You can use the following code on the Trigger on entry channel 1 (this code is executed only for the 'main assembly part' or container):

Code: Select all

do(

  case(
    WhichIsTrue(
      label([ContainerType],i) = 3,
      label([ContainerType],i) = 4,
      label([ContainerType],i) = 5      
    ),    
    cell(2,1,c) := 3,
    cell(2,1,c) := 4,
    cell(2,1,c) := 5
  )

)

This code compares the value of the label, and then sets the cell of the Assembler's B.O.M. table.
The '2,1' is 'row, column' en the 'c' is the reference to the assembler itself.

This code be made much more complicated if necessary.

Hope that this helps!

Menno

Re: Variable Assembler

Posted: Friday 05 October, 2012 - 15:32
by giovanni
perfect thank u