Jump to content

Variable batch size


JoshuaHarrap

Recommended Posts

Got issues with a combiner. i have a server that processes the member parts but has a 0.1 probability of going to scrap, this means the batch size has changed.

the parent part has a integer state that gets updated when this happens but doesn't update the combiner batch quantity property.

I have attached an image showing this issue. you can see the pallet number displayed which is the way i match the parts with the correct pallet. the pallet(parent) also displays the batch size using the same integer state which i use in the combiner logic. Theres a pallet with 4 items on it and it shows the batch is 4 so why wont that process it?

Also attached the whole model so you can look at it all

 

simio.png

Batch and Scrap.spfx

Link to comment
Share on other sites

I used to have a similar problem. My advice, avoid the pallet entering the combiner untill you have defined de @new@ batch size, elseway the batchsize wont be updated.

In my case I put a scan step in a prevoious node, retaining the pallet ouside the combiner until I've re-defined the batchsize.

Let me know if that works

Rds

 

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...