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-MELSEC-Demo.xml from the http://partner.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-MELSEC-Demo.xml and paste the node into your configuration:

  4. Edit the "NetCircuit0 Q-series

    " →

    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.
    Image Modified


    Info
    titleMaster Network Port

    The "Master Network Port" is set to 5002 in the example configuration. While this is the default setting for the PLC, it should be edited to match the setting on the QJ71E71-100 or equivalent Ethernet card.

     

    Under the "FieldUnitABDF1M_RTU

  5. Under the "FieldUnit_MELSEC0" object, edit the properties to match that of the QJ71E71-100 or equivalent Ethernet card:
    Image Added

    (Example settings on QJ71E71-100)
    Image Added


  6. Also under the "FieldUnit_MELSEC0" object, edit the "Poll Table" to

    poll

    match the

    correct

    registers

    on

    in your PLC:

    Image RemovedIn 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:

     

    Image Removed

     

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

    Edit the

    Image Added


    (Example global label database from PLC program)

    Image Added

     

  7. 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:

    Image Removed
    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
    Edit the "DF1_TagNames →

    Image Added

  8. Edit the "TagNames Mitsubishi → Tag Names" table to add tag names for the registers you are polling:
    Image RemovedImage Added
  9. Save and upload the configuration to the RediGate (File → Upload XML to Device)
    Image Removed
    Image Added
  10. 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.

...