question

Victor Alejandro HT avatar image
0 Likes"
Victor Alejandro HT asked Meng,Li edited

Bad Task Executer/Task sequence error PF

Hi,

In my model I need that after the machine (Magnaflux) collects 6 pieces the batch stays for a process time and after that the operator 6 and the crane 4 unload the pieces one by one. I made a PF ,everything runs ok until the load step (Carga uña). See the picture below.

I attached the model. Thanks in advance for your support.

grua-puente.fsm

FlexSim 18.2.0
process flowtask sequence
load-error.png (195.8 KiB)
grua-puente.fsm (570.9 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

·
Sebastian Hemmann avatar image
2 Likes"
Sebastian Hemmann answered Meng,Li edited

Hi,

I found out that the reference in your activitys was wrong. At first I changed the Labels in your Aquire activitys:

Than I´ve set your reference in the Task Sequence Activitys:

But what I´ve also see, later in your PF you are Releasing the Ressources.

question3.jpg

Here you will have to change the values also. I did do it in the attached model, but was a little confused because called the Release "Crane 3" and not 4.15444-grua-puente-sh.fsm


changes1.jpg (82.1 KiB)
changes2.jpg (93.8 KiB)
question3.jpg (16.6 KiB)
· 4
5 |100000

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

Victor Alejandro HT avatar image Victor Alejandro HT commented ·

Hello @sebastian.hemmann thanks for your corrections and sorry you are right I made a mistake the Release "Crane is 4". It worked but I need that the crane and operator unload the 6 items one by one and with your adjustments unload all at once. I tried modifying the pull requested number and even with a Subflow with no sucess. Do you know how can I do that?

Thanks

0 Likes 0 ·
Sebastian Hemmann avatar image Sebastian Hemmann Victor Alejandro HT commented ·

No problem at all, I just was wondering how you want to Release all resources.

Attached a Modell where I did a small change.

1. No Create Tokens activity is needed but an "Assign Labels" that creates a label (Counter) and set it to 5.

2. On the end of your Process I made a decision, if the counters Value == 0. If so, process is finished. If not, the token does have to go to an "Assign Labels" where the value is reduced by 1 and than it goes around the process again. (So you have a loop) ;-)

15449-15444-grua-puente-sh-1.fsm

1 Like 1 ·
Victor Alejandro HT avatar image Victor Alejandro HT Sebastian Hemmann commented ·

Vielen Dank @sebastian.hemmann Ich habe Gestern mindenstens 6 Studen lang mit diesem Logic gearbeitet. Alles hat endlich gut geklappt. I have nur ein Travel step fuer den Operator nach dem Delay "Tiempo de Descarga" hinzugefuegt und fertig.

error.png

I wanted to practice a little bit my german, I hope I don´t bother you. I attached the final model if someone need it.

combiner-crane-operator-unload-1-by-1-with-pf.fsm

Gruesse Alejandro

0 Likes 0 ·
Meng,Li avatar image Meng,Li commented ·

@sebastian.hemmann,Hi hemmann, i've come with the same situation, but i checked again and again to make sure the right TE reference setting.But the error still shew up, so i upload my model here for your help.

I used "Create TS" activity to create a task sequence, i wondered why the error shows up the moment that token get in "Load" activity, shouldn't it be the moment that token get in "Create TS" activity ?

Look forward to your reply.

Best Regards!

wf-agvnetwork20191028.fsm

0 Likes 0 ·
001.png (140.6 KiB)

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.