Delay operator after load

Delay operator after load

alejandro_ulises_tp
Not applicable
514 Views
14 Replies
Message 1 of 15

Delay operator after load

alejandro_ulises_tp
Not applicable

proyect-rev01.fsmHow can i delay an operator after he makes a load in the processor?

I want to simulate that after the load he makes another operation in the same processor, once he finishes the delay he can proceed to the next operation.

Please, anyone could help me?

0 Likes
Accepted solutions (1)
515 Views
14 Replies
Replies (14)
Message 2 of 15

alejandro_ulises_tp
Not applicable
0 Likes
Message 3 of 15

alejandro_ulises_tp
Not applicable

@zachary.h, could you guide me?

0 Likes
Message 4 of 15

joshua_s
Not applicable
Accepted solution

You can set the load time of the operator to the delay amount you want. If you want the delay to happen right after he picks up the item, you can have a small process flow activity block that fire when he loads an item, then have a custom code activity that stops him, then a delay, then a resume activity.

0 Likes
Message 5 of 15

alejandro_ulises_tp
Not applicable

proyect-rev03.fsmI did this but it doesn't work fine:

They don't respect the delays as i want it.

I want the operator delay to work just after the processor setup time is finished.

0 Likes
Message 6 of 15

joshua_s
Not applicable

So the item will not be processed until the operators delay is finished as well? I'm confused on what is supposed to happen when. Your processflow is firing too much, so it fires for both operators when an item finishes setup at a processor.

0 Likes
Message 7 of 15

alejandro_ulises_tp
Not applicable

The exact thing I'm looking for is that when the operator finishes the setup time the operator stops for about 25 seconds, then resumes. That stop is in order to simulate that the operator is filling a checklist.

Did you understand? I'm having a hard time with this 😕

0 Likes
Message 8 of 15

joshua_s
Not applicable

I put the operators in a group, so now anytime they finish the task of setting up, the operator is stopped for 25 seconds, and so they can't do anything else until the delay finishes and they are resumed. All of this is found in the activity block I added.24682-proyect-rev01-1.fsm

0 Likes
Message 9 of 15

alejandro_ulises_tp
Not applicable

@Joshua S Thank you so much! that is exactly what i needed but i don't understand why do you put 2 delays but just one have time?

Could you explain me?

0 Likes
Message 10 of 15

joshua_s
Not applicable

I use that as a breath activity, meaning at a specific time multiple events fire, so that allows the activity to fire above, the item is then processed, and the operator is stopped. Without it the operator is stopped before the processor changes from setup to processing, so the item will wait the 25 seconds before it is released to be processed. Sometmies lots of events will happen all at once, and this gives a buffer to the order of events that fire.

0 Likes
Message 11 of 15

alejandro_ulises_tp
Not applicable

joshua-s-error-delay.fsmI tried to change the basic delay for a task sequence delay in order to make a statistic out of it, but it throws me an error "Task executer activity "delay" in "process flow"

Do you know why is that?

0 Likes
Message 12 of 15

joshua_s
Not applicable

You don't have to change the delays to task sequence delays, in the first custom code change the state to processing. Also it wasn't working because the event triggered source added a label called operator pointing to the operator that it was called on, so the labels needed to match on your activities to token.operator.

0 Likes
Message 13 of 15

preetdesai
Not applicable

@Joshua S This solution helped me. So thank you. I have a question. What is the task type 5 "match value" in the event trigger?

1680900898998.png

0 Likes
Message 14 of 15

joshua_s
Not applicable

This means that when the event "On Finish Task" for any of the operators occurs, I check to see if the Task Type of the event is equal to 5, and if it is, create a token.

0 Likes
Message 15 of 15

jason_lightfoot_adsk
Autodesk
Autodesk

You can replace the literal 5 with the macro for the task for better readability - in this case TASKTYPE_UTILIZE

1681134388103.png

0 Likes