task executer probleme in process flow

task executer probleme in process flow

djami_zinedine
Not applicable
48 Views
8 Replies
Message 1 of 9

task executer probleme in process flow

djami_zinedine
Not applicable

[ FlexSim 24.1.0 ]

hello every one, hope you are doing well,

i have encoutred a new problem in my flexsim model and i would like some help

the probleme faced is in the last part of the work, it envolves a task executer loading a product from a pallet and unload it into a sink, this task must be done twice as there is twe products in each pallet

the main probleme is that the task executer does not load the second product from the pallet, but it load the same product that was unload in the sink (the first product), and so, a task error is shown an invalid task of unload because i am reffering that it unloads the second product whilt the transporter is loading the first, i dont understand why its doing like this, although a made an assign for each product in the process flow(the first and for the second).


simple_example_probleme_TRANSPORT.fsm

thank you for your help in advance

1711461778981.png


0 Likes
Accepted solutions (1)
49 Views
8 Replies
Replies (8)
Message 2 of 9

joerg_vogel_HsH
Mentor
Mentor

This is logic. If you transport your first item from a pallet, a staying item becomes a first item then. If you want to use 1st and 2nd as a reference, you should transport second item, before you transport first item.

0 Likes
Message 3 of 9

djami_zinedine
Not applicable

thank you for your response, i think i miss defined the problem, tha logic that i made makes the staying item (the second) the first one, but for some reason the transporter takes the first item, puts it into the sink and then reloads the same item from the sink, which seems a lot illogical but this is what it happens

my goal is, like you said "If you transport your first item from a pallet, a staying item becomes a first item then" but it doesnt work

0 Likes
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

It looks like you should synchronise on token.palette not token.splitID.

You're setting a label called 'labelName' in the final section rather than itempris which is the label to which you refer for the item to unload.

Also you can refer to itempris with just token.itempris if you remove the space from assignLabels - not then you don't need token.labels["itempris "].value, and you won't end up with what (confusingly) looks like two itempris labels on the token.

simple-example-probleme-transport_jl.fsm

If you create task sequences you don't need to use Acquire and Release of Resources.

If you were using ports to control the flow and using the standard 'use transport' option, instead of opening and closing ports you would be better holding the item on the send to port and releasing the palette through a given port. If you didn't do this then multiple pallets could be allowed to exit before they are emptied or have the correct item returned. As it is in your model, you've put the transport in the process flow so the port control is bypassed.


0 Likes
Message 5 of 9

moehlmann_fe
Observer
Observer

You haven't adjusted the label name in one of the Assign Labels activities. Hence the "itempris" label still points to the first item afterwards and the same item is loaded again.

1711536597247.png

You also have two "itempris" labels, one with a space at the end and one without. I don't know if this is on purpose, but this might also cause issues, since both labels looking the same on first glance and might be used in the wrong place as a result.

1711536719165.png

0 Likes
Message 6 of 9

djami_zinedine
Not applicable
just like you refered, the problem was in the "labelname" i didnt change it to itempris, thank you very much

also, thank you for noticing that there was two itempris, it was a mistake that i made and i couldn't correct, could you please refer to me where i can modify the labels that i created, thank you

0 Likes
Message 7 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

Click to the right of the labelname field in your Assign labels - you'll see the cursor is to the right of itempris so press backspace to delete the extra space.

Message 8 of 9

djami_zinedine
Not applicable
thank you very much for your detailed description, it works perfectly
0 Likes
Message 9 of 9

djami_zinedine
Not applicable
thank you again for your help
0 Likes