question

Talia Z avatar image
0 Likes"
Talia Z asked Jeff Nordgren answered

Problem with combiner quantity

Hello! My combiner's target quantity randomly changes after each run. I have my Combiner1 set to a "Target Quantity" of 8 from "Input Port 2". This number has changed to a random number anywhere from 1 to 75. I have investigated my model to ensure there are no messages being sent to the combiner, but can't figure out why this is happening. I would greatly appreciate any advice you may share.

bottle-unloader-process-v6.fsm

FlexSim 17.2.5
combinerquantity
5 |100000

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

1 Answer

·
Jeff Nordgren avatar image
2 Likes"
Jeff Nordgren answered

@Talia Z,

In your OnExit code in the "Unload truck" object, on the getvarnode code line, you are setting the Target Quantity of Combiner1 to the length of the subnodes of the "Broken down dunnage" object. My guess is that this is not what you are wanting/expecting to happen. I'm not sure what to suggest to fix it because I don't know what is happening in your model. But this is the line of code that is causing the Target Quantity in Combiner1 to change. And if you do mean to change the target quantity, this isn't the way it should be done anyway.

Thanks.

bottle-unloader-process-v6-1-jn1.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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