Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Using ACE, open the default config you used in the "Getting Started Guide"
  2. Download and open the Elecsys-DF1-Demo.xml from the the http://partnerredigate.elecsyscorp.com site within the same ACE window as the configuration you used in your "Getting Started Guide"

    1. You will need to extract the .xml file from the .zip file you downloaded from the website. By default, ACE stores configuration files in the Documents\Elecsys\ACE\CFG folder, but you can store the configuration in any file location accessible by the ACE program..
    2. You cannot copy/paste nodes unless both configurations are open within the same instance of ACE. You can use the "Tile" buttons to have the windows automatically size themselves within the ACE program:
  3. Copy the "MasterChannel01" channel from the Elecsys-DF1-Demo.xml and paste the node into your configuration:


  4. Edit the "NetCircuit_DF1_10.1.35.196" → Connect Table to have the IP address of the PLC you will be connecting to. Do not worry about the "Interface" column; it is only used for legacy protocols.



  5. Under the "FieldUnitABDF1M_RTU" object, edit the "Poll Table" to poll the correct registers on your PLC:

    1. In the screenshot above, we are polling $F8:0 for a count of 2 and storing the data starting in the RTDB address of 42001: in the next step we will create the database of registers that are used to store these polled values.

      Warning
      titlePolling registers that do not exist

      You must have data in the registers that you are polling, otherwise you receive errors on that poll record during that poll attempt. For example, there are only 2 $F8 registers declared in this PLC program:

       

       

      Attempting to poll register $F8:2 will result in an error.



  6. Edit the DF1_RTDB → Database Definition table so that it contains enough registers of the correct datatypes to store all of the polls created in the previous step:

    1. In the above example, 5 registers were created in 30001 for the status bits coming from the RTU object, and 2 registers were created for the integers, floats, and bools we are polling
  7. Edit the "DF1_TagNames → Tag Names" table to add tag names for the registers you are polling:
  8. Save and upload the configuration to the RediGate (File → Upload XML to Device)

  9. Create a Putty session into the RediGate to confirm that the RediGate is successfully polling the tags. You may get some errors on start-up, but if you see the Poll Count field incrementing, your RediGate is configured correctly.

Congratulations, you have successfully configured your RediGate to talk to an Ethernet DF1 device. If you are interested in publishing your data to a cloud IoT platform, download one of our "IIoT Platform Quick Starts" from from http://partnerredigate.elecsyscorp.com/examples/.