question

Lucas avatar image
0 Likes"
Lucas asked Felix Möhlmann commented

Item verschwinden auf Conveyor

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

FlexSim 23.2.1
combinerconveyorsitemsprocesor
il-support.fsm (89.7 KiB)
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

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.


1705049340510.png (5.9 KiB)
1705049407250.png (8.5 KiB)
· 9
5 |100000

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

Lucas avatar image Lucas commented ·

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 0 ·
Felix Möhlmann avatar image Felix Möhlmann Lucas commented ·

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 0 ·
Lucas avatar image Lucas Felix Möhlmann commented ·
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 0 ·
Show more comments
Lucas avatar image Lucas commented ·

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 0 ·
Felix Möhlmann avatar image Felix Möhlmann Lucas commented ·
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 0 ·

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.