How can I simulate a device using the FOUNDATION Fieldbus DD-IDE?

Modified on Wed, 16 Dec, 2015 at 10:06 AM

When you load an EDD binary into the DD IDE, and highlight the device or blocks on the left-side tree view, you should see several buttons labelled "create simulation file", "open simulation file", and "simulation off".


To create a simulation file, you would click on "create simulation file", and then to activate simulation, you would click on "simulation off", which should change the color to green, and then read "simulation on".

 


The “open simulation file” button can be used to open the simulation file if you want to modify any of the parameter values in it.

 


Below is a section of a simulation file for an Analog Input Block.  Values saved in the simulation file will be reflected in the simulated device in the DD viewer.


<nv name="block (6) [Analog Input]" value="0x800201d0" id="6">

      <nv name="Characteristics" value="" id="0x800201d7">

         <nv name="Block Tag" value="" id="0xc0010001">

         </nv>

         <nv name="DD Member Id" value="0x0000" id="0xc0010002">

         </nv>

         <nv name="DD Item Id" value="0x0000" id="0xc0010003">

         </nv>

         <nv name="DD Revision" value="0x00" id="0xc0010004">

         </nv>

         <nv name="Profile" value="0x00" id="0xc0010005">

         </nv>

         <nv name="Profile Revision" value="0x00" id="0xc0010006">

         </nv>

         <nv name="Execution Time" value="0x0000" id="0xc0010007">

         </nv>

         <nv name="Period of Execution" value="0x0000" id="0xc0010008">

         </nv>

         <nv name="Number Of Parameters" value="39" id="0xc0010009">

         </nv>

         <nv name="Next FB To Execute" value="0x00" id="0xc001000a">

         </nv>

         <nv name="Starting Index of Views" value="0x00" id="0xc001000b">

         </nv>

         <nv name="Number of VIEW_3" value="0x0" id="0xc001000c">

         </nv>

         <nv name="Number of VIEW_4" value="0x0" id="0xc001000d">

         </nv>

      </nv>

      <nv name="Static Revision" value="0x00" id="0x8002017a">

      </nv>

      <nv name="Tag Description" value="" id="0x80020180">

      </nv>

      <nv name="Strategy" value="0x00" id="0x8002017e">

      </nv>

      <nv name="Alert Key" value="0x0" id="0x80020037">

      </nv>

      <nv name="Block Mode" value="" id="0x80020126">

         <nv name="Target" value="0x0" id="0xc001001f">

         </nv>

         <nv name="Actual" value="0x0" id="0xc0010020">

         </nv>

         <nv name="Permitted" value="0x0" id="0xc00101a4">

         </nv>

         <nv name="Normal" value="0x0" id="0xc0010021">

         </nv>

      </nv>

      <nv name="Block Error" value="0x00" id="0x800200ac">

      </nv>

      <nv name="Process Value" value="" id="0x80020136">

         <nv name="Status" value="0x0" id="0xc001000f">

         </nv>

         <nv name="Value" value="0" id="0xc0010012">

         </nv>

      </nv>

      <nv name="Output" value="" id="0x8002012a">

         <nv name="Status" value="0x0" id="0xc001000f">

         </nv>

         <nv name="Value" value="0" id="0xc0010012">

         </nv>

      </nv>

      <nv name="Simulate" value="" id="0x80020077">

         <nv name="Simulate Status" value="0x0" id="0xc0010010">

         </nv>

         <nv name="Simulate Value" value="0" id="0xc0010013">

         </nv>

         <nv name="Transducer Status" value="0x0" id="0xc0010011">

         </nv>

         <nv name="Transducer Value" value="0" id="0xc0010014">

         </nv>

         <nv name="Simulate En/Disable" value="0x0" id="0xc0010076">

         </nv>

      </nv>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article