Task Sequence

Task Sequence

arunTTT2P
Advisor Advisor
622 Views
4 Replies
Message 1 of 5

Task Sequence

arunTTT2P
Advisor
Advisor

[ FlexSim 16.0.1 ]

Dear Support,

I am trying to simulate a task sequence scenario. The forklift gets a message from a user event, which initiates it's task sequence. The forklift travels to the network node NN3 and executes a subtask, which is to travel to a sink and unload the parts carried.

The forklift when reaches the loading queue after unloading operation suddenly jumps back to the unloading location. I am unable to debug this problem.

note- The loading task sequence is initiated after unloading through sending a message from the unload trigger.support.fsm

Regards,

Arun KR

0 Likes
Accepted solutions (1)
623 Views
4 Replies
Replies (4)
Message 2 of 5

arunTTT2P
Advisor
Advisor

At a run time of around 280 min the problem is visible.

0 Likes
Message 3 of 5

Matthew_Gillespie
Autodesk
Autodesk

This would be a lot simpler in Process Flow...



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 4 of 5

arunTTT2P
Advisor
Advisor

A solution without using process flow will be really helpful.

0 Likes
Message 5 of 5

philboboADSK
Autodesk
Autodesk
Accepted solution

The problem is in the involved2 object in your load task. You are passing Transporter6 instead of Queue3.

The problem is being caused by line 19 of Transporter6's OnMessage. The 'loadingloc' variable is set to the Queue, but you are passing centerobject() of that as the involved2 (which is the Transporter).

Change:

inserttask(ts, TASKTYPE_LOAD, rank(loadingloc,j), centerobject(loadingloc,1), NULL);

into:

inserttask(ts, TASKTYPE_LOAD, rank(loadingloc,j), loadingloc, NULL);


Phil BoBo
Sr. Manager, Software Development