question

Horn H avatar image
0 Likes"
Horn H asked Joerg Vogel answered

send message

Send Message to pause Processor when transporter is sending to Combiner ,then resume it when Transporter arrived at source as shown in picture.

FlexSim 18.1.2
send message
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

@Horn H, that is possible. Can you describe which logic do you use? ProcessFlow or Standard 3D trigger with use Transport Option?

1 Like 1 ·
Horn H avatar image Horn H Joerg Vogel commented ·

I use Standard 3D trigger with use Transport option .Can you give me suggestions ? Thank you so much.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered

The taskexecuter (Transporter) executes tasksequences. The vehicle gets the task sequence by the object that sends the item. The transport tasksequence consists of 5 tasks:

  1. travel to load station
  2. load item at load station
  3. break // looking for more tasksequences, there is transport capacity left
  4. travel to unload station
  5. unload item at unload station

There are other tasktypes that a taskexecuter can do:

In your case the transporter can send a message.

inserttask(ts,TASKTYPE_SENDMESSAGE,toObject,fromObject,msgparam1,msgparam2,msgparam3,delay) 

This code line will append a message that the taskexecuter initiate to send from fromObject to toObject with the 3 numerical values and a delay time at the task sequence with the reference to ts.

  • If the toObject is set to NULL the message is received by the taskexecuter himself.
  • If the fromObject is set to NULL the message will be sent from the taskexecuter that executes the task.

Before the tasksequence is executed the appended task must be set to the rank you wish the message task gets executed.

You can edit the transport task sequence by yourself if you choose the Task Sequence Example 1 instead of the option current.centerObject[1] after Use Transport.

customize-tasksequence-example-1-sendmessage.fsm


5 |100000

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