Process flow from machine to conveyor

Hey all,
I am trying to simulate a process flow from a machine to conveyor where the inflowing product changes it type in the machine and flows. The problem is only the first product from the machine flow to the next process. The second product fails to flow to next step and the third product is fed on top of the second one.

Kindly find the error statement:
“ShuttleNode::ShuttleProcessExecutor::Process #1::Transport Out error: Product’s CS Ni Studs state within its flow sequence is lost.”

If this is the case how does only the first product flows correctly… :thinking: :thinking: :thinking:

Picture of 3D layout and process statement is attached.


Thanks in advance!

The problem seems to be in your Flow Editor.
This machine has 2 processes, did you connect both processes to the FromComponent and ToComponent processes?

And if you changed the name of the processes, and they are now different, did you add them both in the ProcessFlowEditor?

There is only one process in the machine and it is updated on my flow editor.
I have modified the machine a bit i do not have two shuttle conveyor. I deleted one and moved the other one to the center.

Are the ProductType coming in the machine and the one coming out in the same Flow group?

Yes… I have defined all under the same flow group.

In that case how does only the first product flow correctly and from the second product “TransportOUT statement is not executed in the machine” but starts “TransportIn” beforehand.

This is the error statement the shows when the 2nd product fails to exit from the machine:

“ShuttleNode::ShuttleProcessExecutor::Process #1::Transport Out error: Product’s CS Ni Studs state within its flow sequence is lost.”

image

Can you share your vc file?

Hiii,

Kindly find the attached file.
Do let me know what mistake I have made and where it went wrong… For me to learn.

Thanks!
Forum.vcmx (3.6 MB)

Hi Raj,

When you are working with transport statements in a while loop, you have to reset the ProductVariableName:

For convenience I changed your ProductVariableName to ProductIn and with the line ‘Assign ProductIn = NULL’ you reset this variable at the end of the while loop.
If you do not do this, the following products will give this error ‘flow sequence is lots’.

(I think the reasoning behind this is that the variable will store the first product, and in the next loop it will try to transportin the product which it just transported out.)

Anyhow, this should fix your problem:

Forum_fixed.vcmx (4.0 MB)

1 Like

Note it does not have to be named ‘ProductIn’, it can have any naming as long as the names are identical trough the process node

Hello Jesper,

Thank you soo much for helping me.
Now it works fine and now I understood the problem.
Great explanation given… :clap: :clap: :clap: :slightly_smiling_face:

1 Like