In this tutorial, we will be demonstrating connectivity to an Automation Direct CLICK PLC (C0-02DR-D) using serial Modbus RTU communications. We will use a RediGate 110e to demonstrate this connectivity, but this tutorial can be applied to any RediGate device with serial Modbus connectivity.
All of the Modbus and serial settings in this example are for an Automation Direct CLICK PLC. Consult the user's manual for the Modbus device you are connecting for the correct settings for your device. |
Download and open Elecsys-Modbus-Demo.xml from the http://redigate.elecsyscorp.com site within the same ACE window
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.
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:
Copy and paste the following objects from the Elecsys-Modbus-Demo config into the configuration you created in the "Getting Started" guide:
Edit your FieldUnitModbus1 object to poll the appropriate registers for your Modbus device
If your RediGate is configured correctly, you should see values from the Modbus registers you setup in your polling table in step 5.