Item verschwinden auf Conveyor

Item verschwinden auf Conveyor

Lucas.Fromm
Explorer Explorer
12 Views
10 Replies
Message 1 of 11

Item verschwinden auf Conveyor

Lucas.Fromm
Explorer
Explorer

[ FlexSim 23.2.1 ]

In meinem Prozess soll von Rack1 und Rack2 ein Item zu dem Combiner gebracht werden und diese mit der Palette vereint werden. Anschließen sollen dieses Paket über ein Conveyor auf ein Queue verschoben werden und dann über einen Transporter zu einer Sink bzw. im Optimalfall zu einem FloorStorage. Aktuell habe ich das Problem, dass mein Paket auf dem Conveyor die beiden Items verliert und nur noch die Palette dargestellt wird.
Paralell dazu wird ein Item aus Rack3 in den Processor gebracht und anschließend über ein Conveyor zu einem Queue gebracht. Dort soll dann ebenfalls ein Transporter das Item zu einer Sink bzw. im Optimallfall zu einem FloorStorage bringen. Auch hier habe ich das Problem, dass das Item nicht zur Queue kommt. Der Transporter fährt währenddessen irgendwo rum. Eventuell findet er das Item wo anders?
Nun stellt sich für mich die Frage wie ich diese Probleme beheben kann?

Vielen Dank im Voraus!

IL_Support.fsm

0 Likes
Accepted solutions (1)
13 Views
10 Replies
Replies (10)
Message 2 of 11

moehlmann_fe
Explorer
Explorer
Accepted solution

Die Operator laden immer wieder dasselbe Item. Im Process Flow werden jeweils 100 Items erzeugt. Das "item" label der Tokens enthält entsprecht je ein Array mit 100 Einträgen.

1705049340510.png

Der Ausdruck "token.item" verweist auf den ersten Eintrag. Über "token.item[index]" kann angegeben werden, welcher Eintrag gelesen werden soll.

Am besten kann dies direkt in der "Run Sub Flow" Aktivität festgelegt werden, die den Child-Tokens ein eigenes "item" label mit dem ihres jeweiligen Ranges entsprechenden Eintrag zuweist.

1705049407250.png

Die Sprache in diesem Forum ist generell Englisch. In Zukunft, füge bitte eine Übersetzung an Posts an, damit mehr User diese verstehen und von ihnen profitieren können.


English:

The operators are always loading the same items. In the Process Flow the tokens generate 100 items each. So the resulting "item" label is an array with 100 entries.

Through the use of "token.item" the first entry of those arrays is read. By using square brackets (token.item[index]) the index of the target entry can be specified.

This could best be done in the "Run Sub Flow" activity by assigning each child tokens its own "item" label with the entry corresponding to its creation rank.

0 Likes
Message 3 of 11

Lucas.Fromm
Explorer
Explorer

Jetzt funktioniert es. Vielen Dank!
Bitte entschuldigen Sie, dass die Übersetzung gefehlt hatte.

Können Sie mir noch sagen woher die folgende Fehlermeldung kommt bitte?
"time: 0.000000 exception: FlexScript exception: cannot call pop() on non-array Variant at MODEL:/Tools/ProcessFlow/ProcessFlow/Create Box R1>labels/1/2"


Now it's working. Thank you!
Please excuse the missing translation.

Can you please tell mme where the following error message is coming from?
"time: 0.000000 exception: FlexScript exception: cannot call pop() on non-array Variant at MODEL:/Tools/ProcessFlow/ProcessFlow/Create Box R1>labels/1/2"

0 Likes
Message 4 of 11

moehlmann_fe
Explorer
Explorer

Die Fehlermeldung sagt aus, dass in der Zuweisung des ersten Labels in der "Create Box R1" Aktivität versucht wurde 'pop()' auf einen Wert anzuwenden, der kein Array ist. Warum hier ein Array erwartet wird, aber der entsprechende Wert keines ist, kann ich ohne das Modell natürlich nicht sagen.

The error message tells you that the first label creation in the "Create Box R1" activity tried to use 'pop()' on a non-array value. Without the model i can't tell why an array is expecting but not present at that point.

0 Likes
Message 5 of 11

Lucas.Fromm
Explorer
Explorer
okay danke.

Das Modell ist das gleiche wie in der Frage oben.

okay thanks.
The model is the same as in the questions above.

0 Likes
Message 6 of 11

jason_lightfootVL7B4
Autodesk
Autodesk
When I run that model it doesn't generate that exception.
0 Likes
Message 7 of 11

Lucas.Fromm
Explorer
Explorer
Hi Jason,

thank you for your answer. That's strange. I already recieve that exception when I open the model.

0 Likes
Message 8 of 11

jason_lightfootVL7B4
Autodesk
Autodesk
They are remaining from errors that happened previously - clear the console so that you can recognise fresh errors.
0 Likes
Message 9 of 11

Lucas.Fromm
Explorer
Explorer

Hi Felix,

bei dem Modell von oben würde ich gerne am Ende das Produkt auf ein FloorStorage anstatt auf eine Sink ablegen. Bisher fährt der Transporter allerdings nur an den FloorStorage ran und lädt nicht ab. Woran kann dies legen?

Soll ich hierfür eine neue Frage mit Modell machen?

Danke im Voraus.


In the model above I would like to place the product on a FloorStorage instead of a Sink at the end of the process. Currently the Transporter only approaches the FloorStorage but does not unload. What could be the reason for this?
Should I create a new question with the model?

Thanks in advance.

0 Likes
Message 10 of 11

Lucas.Fromm
Explorer
Explorer
okay, thank you!
0 Likes
Message 11 of 11

moehlmann_fe
Explorer
Explorer
Generell ist die Richtlinie in diesem Forum, eine neue Frage zu stellen, wenn sie thematisch nicht mit der ursprünglichen Frage zusammenhängt.

Daher würde ich sagen; eine neue Frage zu stellen und das aktuelle Modell anzuhängen ist hier der richtige Weg.

General forum policy is to create a new question if it's not connected to the original question anymore. So yes, please post a new question and attach your current model.

0 Likes