question

Arun Kr avatar image
0 Likes"
Arun Kr asked Phil BoBo edited

Task Sequence

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

FlexSim 16.0.1
task sequence
support.fsm (21.6 KiB)
· 3
5 |100000

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

Arun Kr avatar image Arun Kr commented ·

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

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

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

0 Likes 0 ·
Arun Kr avatar image Arun Kr commented ·

A solution without using process flow will be really helpful.

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
5 Likes"
Phil BoBo answered Phil BoBo edited

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);
5 |100000

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

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.