<?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: Rotating Disk Sorter Imitation in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552055#M56463</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;FlexScript, the coding language of FlexSim is indeed based on C++. You can find an introduction and a class/command reference here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/WritingLogic/"&gt;https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/WritingLogic/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 11 Aug 2021 08:06:43 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2021-08-11T08:06:43Z</dc:date>
    <item>
      <title>Rotating Disk Sorter Imitation</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552052#M56460</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;DIV class="fr-view clearfix"&gt;
  &lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Recently I've been trying to imitate the behavior of a disk sorter. When a package arrives, the disk sorter rotates to the direction the package needs to go. However, when a package arrives that needs to go to another direction, the disk sorter should rotate back to the original position and this requires some time. So my question is, how do I add a delay when the package is being sent to a different direction. Items that follow which are being sent in the same direction do not need this delay. The delay should be added as a start up time delay.&lt;BR /&gt;&lt;BR /&gt;I've tried to use conveyor stop item and delay but this adds the delay to every single package of that type irregardless whether the next one is going in the same direction. Any help would be appreciated. &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/42502-sorter-seperation-problem.fsm" target="_blank"&gt;Sorter Seperation Problem.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Aug 2021 00:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552052#M56460</guid>
      <dc:creator>afthab_l</dc:creator>
      <dc:date>2021-08-11T00:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Disk Sorter Imitation</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552053#M56461</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I would add a label to the Decision Point, that stores the direction the sorter is currently set to. This label can then be compared to the direction the item needs to go. The delay is only triggered if they are different (condition in "Stop Item and Delay" option). Then the label gets updated to the new direction.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/42503-sorter-seperation-problem-fm.fsm" target="_blank"&gt;sorter-seperation-problem-fm.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the model I also added the direction as an extra label on the items in the first DP on the conveyor to make the logic of the "sorter" DP a little simpler.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Aug 2021 06:11:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552053#M56461</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-08-11T06:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Disk Sorter Imitation</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552054#M56462</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 This works perfectly. May I please ask on what language is the coding based on (It looks like C++), if not where can I find the relevant commands? 
 &lt;P&gt;&lt;BR /&gt;Thank you so much by the way! Appreciate it a lot!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Aug 2021 07:21:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552054#M56462</guid>
      <dc:creator>afthab_l</dc:creator>
      <dc:date>2021-08-11T07:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Disk Sorter Imitation</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552055#M56463</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;FlexScript, the coding language of FlexSim is indeed based on C++. You can find an introduction and a class/command reference here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/WritingLogic/"&gt;https://docs.flexsim.com/en/21.2/Reference/CodingInFlexSim/WritingLogic/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Aug 2021 08:06:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552055#M56463</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-08-11T08:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating Disk Sorter Imitation</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552056#M56464</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thank you so much!
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Aug 2021 07:30:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/rotating-disk-sorter-imitation/m-p/13552056#M56464</guid>
      <dc:creator>afthab_l</dc:creator>
      <dc:date>2021-08-12T07:30:45Z</dc:date>
    </item>
  </channel>
</rss>

