<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: send message in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495056#M11586</link>
    <description>&lt;P&gt;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:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;travel to load station&lt;/LI&gt;&lt;LI&gt;load item at load station&lt;/LI&gt;&lt;LI&gt;break // looking for more tasksequences, there is transport capacity left&lt;/LI&gt;&lt;LI&gt;travel to unload station&lt;/LI&gt;&lt;LI&gt;unload item at unload station  &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There are other tasktypes that a taskexecuter can do:&lt;/P&gt;&lt;P&gt;In your case the transporter can send a message.&lt;/P&gt;&lt;PRE&gt;inserttask(ts,TASKTYPE_SENDMESSAGE,toObject,fromObject,msgparam1,msgparam2,msgparam3,delay) &lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the toObject is set to NULL the message is received by the taskexecuter himself.&lt;/LI&gt;&lt;LI&gt;If the fromObject is set to NULL the message will be sent from the taskexecuter that executes the task.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Before the tasksequence is executed the appended task must be set to the rank you wish the message task gets executed.&lt;/P&gt;&lt;P&gt;You can edit the transport task sequence by yourself if you choose the  &lt;STRONG&gt;Task Sequence Example 1 &lt;/STRONG&gt;instead of the option &lt;STRONG&gt;current.centerObject[1] &lt;/STRONG&gt;after Use Transport.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16781-initiate-messages-in-ts.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498458i0332C31F2F36D4F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="16781-initiate-messages-in-ts.jpg" alt="16781-initiate-messages-in-ts.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="16782" href="https://answers.flexsim.com/storage/attachments/16782-customize-tasksequence-example-1-sendmessage.fsm"&gt;customize-tasksequence-example-1-sendmessage.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2019 14:36:42 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2019-01-07T14:36:42Z</dc:date>
    <item>
      <title>send message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495053#M11583</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Send Message to pause Processor when transporter is sending to Combiner ,then resume it when Transporter arrived at source as shown in picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16774-49686314-133479004257004-4228127412916846592-n.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498459i021581C7DE4C93AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="16774-49686314-133479004257004-4228127412916846592-n.png" alt="16774-49686314-133479004257004-4228127412916846592-n.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 08:52:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495053#M11583</guid>
      <dc:creator>hayhernandes9</dc:creator>
      <dc:date>2019-01-07T08:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: send message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495054#M11584</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/11665/hornh.html" nodeid="11665"&gt;@Horn H&lt;/A&gt;, that is possible. Can you describe which logic do you use? ProcessFlow or Standard 3D trigger with use Transport Option?  &lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:24:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495054#M11584</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-01-07T09:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: send message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495055#M11585</link>
      <description>&lt;P&gt;I use Standard 3D trigger with use Transport option .Can you give me suggestions ? Thank you so much.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 10:47:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495055#M11585</guid>
      <dc:creator>hayhernandes9</dc:creator>
      <dc:date>2019-01-07T10:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: send message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495056#M11586</link>
      <description>&lt;P&gt;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:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;travel to load station&lt;/LI&gt;&lt;LI&gt;load item at load station&lt;/LI&gt;&lt;LI&gt;break // looking for more tasksequences, there is transport capacity left&lt;/LI&gt;&lt;LI&gt;travel to unload station&lt;/LI&gt;&lt;LI&gt;unload item at unload station  &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There are other tasktypes that a taskexecuter can do:&lt;/P&gt;&lt;P&gt;In your case the transporter can send a message.&lt;/P&gt;&lt;PRE&gt;inserttask(ts,TASKTYPE_SENDMESSAGE,toObject,fromObject,msgparam1,msgparam2,msgparam3,delay) &lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the toObject is set to NULL the message is received by the taskexecuter himself.&lt;/LI&gt;&lt;LI&gt;If the fromObject is set to NULL the message will be sent from the taskexecuter that executes the task.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Before the tasksequence is executed the appended task must be set to the rank you wish the message task gets executed.&lt;/P&gt;&lt;P&gt;You can edit the transport task sequence by yourself if you choose the  &lt;STRONG&gt;Task Sequence Example 1 &lt;/STRONG&gt;instead of the option &lt;STRONG&gt;current.centerObject[1] &lt;/STRONG&gt;after Use Transport.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16781-initiate-messages-in-ts.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1498458i0332C31F2F36D4F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="16781-initiate-messages-in-ts.jpg" alt="16781-initiate-messages-in-ts.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="16782" href="https://answers.flexsim.com/storage/attachments/16782-customize-tasksequence-example-1-sendmessage.fsm"&gt;customize-tasksequence-example-1-sendmessage.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 14:36:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/send-message/m-p/13495056#M11586</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-01-07T14:36:42Z</dc:date>
    </item>
  </channel>
</rss>

