Re: Switch Ouput Channel by material availability
Posted: Monday 12 August, 2019 - 10:29
Ha jjjermain,
I think you can achieve that by adjusting the "User Event" code and setting the label OutgoingChannel to 1 and add another label on the product in which you indicate that this a product that needs to be processed differently: Label([IsCutOff], First(refQueueMaterial1)) := 1.
Then, on the assembler you can decide on the "Trigger on entry" how many products you need assemble on your material if(Label([IsCutOff], i) = 1, Cell(2, 1, c) := 0, Cell(2, 1, c) := 1).
Similarly, you can use an if statement on the CycleTime: if(label([IsCutOff], first(c)) = 1, 10, 4) to make the time dependable of the type of process.
I hope this helps you further.
Gr. Harry
I think you can achieve that by adjusting the "User Event" code and setting the label OutgoingChannel to 1 and add another label on the product in which you indicate that this a product that needs to be processed differently: Label([IsCutOff], First(refQueueMaterial1)) := 1.
Then, on the assembler you can decide on the "Trigger on entry" how many products you need assemble on your material if(Label([IsCutOff], i) = 1, Cell(2, 1, c) := 0, Cell(2, 1, c) := 1).
Similarly, you can use an if statement on the CycleTime: if(label([IsCutOff], first(c)) = 1, 10, 4) to make the time dependable of the type of process.
I hope this helps you further.
Gr. Harry