<?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: How to check whether the conveyor item is moving or stopped? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597128#M91633</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Thank you very much for your reply!&lt;/P&gt;
 &lt;P&gt;Yes,&lt;/P&gt;
 &lt;PRE&gt;getsdtvalue(stdNode,valName);&lt;/PRE&gt;
 &lt;P&gt;is exactly what I was looking for.&lt;/P&gt;
 &lt;P&gt;I managed to find the the state variable in my model earlier, but I didn't know how to access it.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521708iC5A0127B61ACA53E/image-size/large?v=v2&amp;amp;px=999" title="1704289576834.png" alt="1704289576834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Thank you again.&lt;/P&gt;
 &lt;P&gt;Greetings and happy New Year!&lt;/P&gt;
 &lt;P&gt;Dam.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 03 Jan 2024 13:49:13 GMT</pubDate>
    <dc:creator>damka</dc:creator>
    <dc:date>2024-01-03T13:49:13Z</dc:date>
    <item>
      <title>How to check whether the conveyor item is moving or stopped?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597126#M91631</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;In my model, I have many accumulation conveyors, which move many items at the same time. Some of them are stopped by logic in process flow, others stop, e.g. when the distance between objects has reached the minimum.... Is there any way, using flexscript or process flow, to check whether a given conveyor item is currently in the stopped state or is moving?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jan 2024 13:23:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597126#M91631</guid>
      <dc:creator>damka</dc:creator>
      <dc:date>2024-01-02T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether the conveyor item is moving or stopped?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597127#M91632</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can get some way towards this by checking a simple data type value of the Conveyor.Item (traversal) but it does not detect when the item is moving as part of an accumulation. Here's an example using the cylinder shape's draw code to change the color to green when moving and red otherwise.&lt;/P&gt;&lt;P&gt;The real question is why you would need to do this and whether an alternative method would suffice.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/77523-conveyoritemstate.fsm" target="_blank"&gt;ConveyorItemState.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Jan 2024 06:29:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597127#M91632</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-01-03T06:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether the conveyor item is moving or stopped?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597128#M91633</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Thank you very much for your reply!&lt;/P&gt;
 &lt;P&gt;Yes,&lt;/P&gt;
 &lt;PRE&gt;getsdtvalue(stdNode,valName);&lt;/PRE&gt;
 &lt;P&gt;is exactly what I was looking for.&lt;/P&gt;
 &lt;P&gt;I managed to find the the state variable in my model earlier, but I didn't know how to access it.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521708iC5A0127B61ACA53E/image-size/large?v=v2&amp;amp;px=999" title="1704289576834.png" alt="1704289576834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Thank you again.&lt;/P&gt;
 &lt;P&gt;Greetings and happy New Year!&lt;/P&gt;
 &lt;P&gt;Dam.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Jan 2024 13:49:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-check-whether-the-conveyor-item-is-moving-or-stopped/m-p/13597128#M91633</guid>
      <dc:creator>damka</dc:creator>
      <dc:date>2024-01-03T13:49:13Z</dc:date>
    </item>
  </channel>
</rss>

