<?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: Coding BasicFR to use like a Processor in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480673#M337</link>
    <description>&lt;P&gt;Thank you for your hint and advice &lt;A rel="user" href="https://answers.flexsim.com/users/437/arun.k.html" nodeid="437"&gt;@Arun KR&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I finally figured out how the initialising works. I also can really recommend to read the User Manual's "Item and Current" section like you said.&lt;/P&gt;
&lt;P&gt;Regards Robin&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 10:06:55 GMT</pubDate>
    <dc:creator>robin_brunner</dc:creator>
    <dc:date>2017-02-02T10:06:55Z</dc:date>
    <item>
      <title>Coding BasicFR to use like a Processor</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480669#M333</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I want to create my own FixedResource. Quite similiar to the Processor FR. I want to insert a custom 3D Shape to the BasicFR with a custom Load and Unload Position for the Task Executors. But I already fail at making a simple material flow through my BasicFR. I uploaded my actual progression here in a .FSM File with all the coding done by now. I can receive FlowItems, but not release them through my output port. Maybe can somebody explain what is wrong in my coding?&lt;/P&gt;
&lt;P&gt;EDIT: Somehow I can't upload the files right now. Will upload them later!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480669#M333</guid>
      <dc:creator>robin_brunner</dc:creator>
      <dc:date>2017-01-25T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coding BasicFR to use like a Processor</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480670#M334</link>
      <description>&lt;P&gt;Hi Robin Brunner,&lt;/P&gt;&lt;P&gt;The attached is a simple example of Basic FR.&lt;A href="https://answers.flexsim.com/storage/attachments/4882-basic-fr.fsm"&gt;basic-fr.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Basically, I used commands given below. You can also use location commands to set the position of the flow items and senddelayedmessage() to create processing delay.&lt;/P&gt;&lt;PRE&gt;receiveitem(current);//current is receiving object 
releaseitem(item,1);//item is the received item
&lt;/PRE&gt;&lt;P&gt;Furthermore, you can go through the manual to create a basic FR using process flow, which is really easy to model.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun KR&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 05:23:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480670#M334</guid>
      <dc:creator>arunTTT2P</dc:creator>
      <dc:date>2017-01-26T05:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coding BasicFR to use like a Processor</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480671#M335</link>
      <description>&lt;P&gt;Thank you for your help &lt;A rel="user" href="https://answers.flexsim.com/users/437/arun.k.html" nodeid="437"&gt;@Arun KR, &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I finally can release my items from my BasicFR. I coded the BasicFR to receive and handle 4 FlowItems at a time. But then if I want to release them all at the same time, everytime just one FlowItems goes out through my output port. I didn't really figured out whats the deal with the initialising "Object item = param(1);" at the start of every custom code. Has it something to do with setting up pointer on objects? How can I say for example FlowItem1 release now, FlowItem2 release in 5 seconds and FlowItem3 release when trigger "..." is fired?&lt;/P&gt;
&lt;P&gt;I uploaded my progress. EDIT: Sorry. Upload is still not possible.&lt;/P&gt;
&lt;P&gt;Regards Robin&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 10:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480671#M335</guid>
      <dc:creator>robin_brunner</dc:creator>
      <dc:date>2017-01-26T10:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Coding BasicFR to use like a Processor</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480672#M336</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;Object item = param(1);//Simple explanation&lt;/P&gt;&lt;P&gt;For example, if you are performing some logic in the on entry trigger of the Basic FR, then the above initialization will give the reference to the flow item, which enters at the time of execution of the trigger.&lt;/P&gt;&lt;P&gt;You may refer the current and item section of the user manual for deep understanding.&lt;/P&gt;&lt;P&gt;Again for releasing more than one flow item, you have to create a reference to the child flow items using the following command and release them(You may need a loop for releasing them together).&lt;/P&gt;&lt;PRE&gt;Object FlowItem = current.subnodes[rank of flow item]; &lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun KR&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480672#M336</guid>
      <dc:creator>arunTTT2P</dc:creator>
      <dc:date>2017-01-26T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Coding BasicFR to use like a Processor</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480673#M337</link>
      <description>&lt;P&gt;Thank you for your hint and advice &lt;A rel="user" href="https://answers.flexsim.com/users/437/arun.k.html" nodeid="437"&gt;@Arun KR&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I finally figured out how the initialising works. I also can really recommend to read the User Manual's "Item and Current" section like you said.&lt;/P&gt;
&lt;P&gt;Regards Robin&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 10:06:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/coding-basicfr-to-use-like-a-processor/m-p/13480673#M337</guid>
      <dc:creator>robin_brunner</dc:creator>
      <dc:date>2017-02-02T10:06:55Z</dc:date>
    </item>
  </channel>
</rss>

