How do I integrate Allen-Bradley SLC500 to Verbatim Gateway via DH485 over RS485?
This technical note explains how to interface the RACO® Catalyst® system with many of the Allen-Bradley® MicroLogix™ family of PLCs. This allows the Catalyst® to perform its alarm notifications and data logging functions using the existing wiring to Allen-Bradley® MicroLogix™ as inputs via data communications.
Connecting Catalyst to MicroLogix™ PLC through an AIC Module |
(Click on the image above to enlarge) When setting up Modbus RTU Master / Slave over an RS485 network, provide a 3 wire cable (twisted pair)to connect back to the Allen-Bradley® Advanced Interface Converter. (1761-NET-AIC) External +24 vdc power is recommended and either a Simple NULL Modem cable (as illustrated) or use the Allen-Bradley® 1761-CBL cable to plug to the round 8-pin mini DIN receptacle, to connect between the PLC and AIC unit. Configure as per the illustration above. Ensure the P10 Jumpers are set for RS-485 on Catalyst main board. |
Communication Setup for the Allen-Bradley® MicroLogix™ |
In addition to cabling and interface setup, parametric changes are required within RSLogix™ 500 and Alarmware to synchronize the Modbus Drivers. When configuring communications for the Allen-Bradley®, a communication cable and either the RSLogix™ 500 or RSLogix™ Micro software are required. STEP #1 — Connect your MicroLogix™ to your PC using the required 1761-CBL cable
STEP #2 — Launch RSLogix™ 500 Software STEP #3 — Set Communications Driver to Modbus RTU Slave
Caution: It is not recommended to configure communications to Modbus should your PLC have only a single communications port, as Channel 0 should remain available to RSLogix™ 500 software for program upload / download and monitoring. (Click on the image above to enlarge) As shown above, the Channel Configuration form has four tabs: General, Channel 0, Channel 1 and Channel 2. Since we will reserve Channel 0 for RSLogix™ 500 software, we will select the Channel 2 tab. (Select Channel 1 if Channel 2 does not exist.) Once the Driver field is clicked, a drop-down menu of driver choices will be visible. Select Modbus RTU Slave, as shown. Next, select a unique Node Address. Catalyst default is 1, so anything other than 1, up to 256, is acceptable. Both the Baud rate and parity should match with the Catalyst. RACO recommends the following…
STEP #4 — Select PLC Data Files (Click on the image above to enlarge) Available file numbers are 3, 7 and 9 – 255.When selecting the data files, ensure that they exist. If the files do exist, ensure the elements within the file exist, and are not being utilized elsewhere in your program. In the example, at left, new data files were created and named exclusively for Modbus communications (highlighted in yellow). Once a file number has been assigned, select the data type. Type the name you wish to call the file in the name field. Our name follows the assignment as per Modbus. (See Table #1.) MicroLogix™ only allows Binary or Integer type data files to be linked to the Modbus convention. Floating point files are not currently accepted. (i.e. 5xxxx) In our example, 128 elements were selected. In the case of both “Coil number” and “Contact number,” where address is only a single bit, this translates to 2048 available addresses (i.e. 128 * 16 bits). In the case of “Input Register number,” 128-16 bit integer addresses were available. In the case of “Output Register number,” 128-16 bit integer addresses are available.
Upon completion of your data file assignment you are ready at the Allen-Bradley® end to communicate. |
Communication Setup for the RACO Catalyst | ||||||||||||||||||||||||||||
STEP #1 — Launch Alarmware for Catalyst 1.87
STEP #2 — Connect Catalyst to PC
(Click on the image above to enlarge)
STEP #3 — Modify Device Settings in Alarmware (Click on the image above to enlarge)
STEP #4 — Modify Channel Settings in Alarmware (Click on the image above to enlarge) Finally, we will configure the Channel settings.As illustrated above, first select “Configuration” then select “Channels”.
Important: Important: Important: |
Constructing the SNA (Source Network Address) |
The SNA is comprised of … Net / Node / Address. Net: This is either a 0 or 1.
Node: This is the node address of the PLC we wish to communicate.
Address: Points to the Modbus address mapped to the PLC. (i.e. remote device) The following two examples construct the SNA for both a discrete and analog PLC point as per file assignment illustrated in this Tech Note. Example #1 Example #2 Once channels are configured, they are ready to be assigned to your project, typically linked to Alarms and Messages. |
Supporting Integration Notes: MicroLogix™ via Modbus over RS485