The information contained in this guide is subject to change without notice. Chatsworth Products, Inc. (CPI) shall not be liable for technical or editorial errors or omissions contained herein; nor is it liable for any injury, loss, or incidental or consequential damages resulting from the furnishing, performance, or use of this material and equipment.
Page 3
The following information is located on the bottom of each RIM Protocol Converter unit. Please have this information available whenever a technical support call is placed: Product Model Number Product Serial Number Product Manufacture Date Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 4
The information contained in this guide is subject to change without notice. Chatsworth Products, Inc. shall not be liable for technical or editorial errors or omissions contained herein; nor is it li- able for any injury, loss, or incidental or consequential damages resulting from the furnishing, performance, or use of this material and equipment.
SMTP (Email) Modbus Communications Implementation Basics Modes of Transmission Slave Address Field Function Field Data Field Error Check (Checksum) Field Exception Responses Packet Communications for the Protocol Converter Function 03: Read Output Registers RTU Framing Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 6
RIM-Protocol Converter User Guide - Version 1.0 Load Firmware & Configuration Files Load Flash Firmware Using MIME Load Flash Firmware Using TFTP Save a Configuration (.cfg) File Load a Configuration (.cfg) File Save a Device Configuration (.xml) File Load a Device Configuration (.xml) File Troubleshooting Technical Specifications www.chatsworth.com...
Page 7
RIM-Protocol Converter User Guide - Version 1.0 Figures Protocol Converter User Guide Figure 1.1 Protocol Converter (P/N 60106-001) Figure 1.2 Dual Port Protocol Converter (P/N 60106-002) Product Overview Figure 1.1 Protocol Converter Indicators Figure 1.2 Locations of Terminals Installation Figure 2.1 Protocol Converter with Mounting Brackets Figure 2.2 24VDC Power Supply Connection...
Page 8
RIM-Protocol Converter User Guide - Version 1.0 Modbus Communications Load Firmware & Configuration Files Figure A.1 System Page—Load Flash Firmware Figure A.2 Firmware Load Messages Figure A.3 Identity Link Showing Current Firmware Version Figure A.4 System Page Figure A.5 Bootloader Page Figure A.6 System Page—Download Configuration File Figure A.7 Example Download .cfg Figure A.8 System Page...
Introduction This manual describes how to install the Remote Infrastructure Management (RIM) System, RIM-Protocol Converter from Chatsworth Products and configure it to communicate using the Modbus, BACnet, and SNMP protocols. IMPORTANT Basic configuration to install the hardware and connect the Protocol Converter to the network is available from CPI.
RIM-Protocol Converter User Guide - Version 1.0 1.2.1 Rear Panel Indicators The back of the Protocol Converter has the following indicators: • Two data transmit/receive indicators to show when data is being transmitted and received through the EIA-485 port (the Dual Port Protocol Converter contains three EIA-485 ports and three sets of data transmit-receive indicators). When data is either being transmitted or received, the status lights will blink.
Port 3 (the left most port) of the Dual Port Protocol Converter is BACnet MS/ TP capable (Slave only). RJ45 Ethernet Port 10/100 BaseT connector Table 1.2 Terminal Block Designations Chatsworth Products, Inc. (CPI) • 800-834-4969...
Note: The brackets can be reversed so the other side of the Protocol Converter is facing outward. 2. Install the Protocol Converter in the rack. 3. Use the proper anchoring method to mount the Protocol Converter securely in the rack. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 2.3. Wire the Protocol Converter If you plan to use the EIA-485 port for Modbus RTU communication, CPI recommends an 18 AWG shielded, twisted-pair stranded copper wire for the connection. CPI recommends no more than 2,000 feet (609.6m) of wire at this specification.
Subnet Connection To connect the Protocol Converter on a subnet using a hub or switch and straight-through CAT5 cables, see Figure 2.4. Figure 2.4 Protocol Converter Ethernet Connection to a PC on a Subnet Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 2.3.3 EIA-232 COM Connection The EIA-232 port can be connected to a PC for IP configuration, firmware downloads, and troubleshooting. NOTE: The EIA-232 is typically only used as a temporary connection. Connect the straight through, 9-pin, serial cable as shown. Figure 2.5 EIA-232 COM Connection 2.3.4 Modbus EIA-485 Connections...
You must change this default address to an IP address that corresponds with your network before the Protocol Converter can communicate over the network. Use one of these vehicles to change the IP address: ¥ Web browser ¥ The EIA-232 interface Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.1.1 Set the IP Address Using a Web Browser Unless you are familiar with setting the IP address, consult your IT department before attempting this procedure. To use a Web browser to set the Protocol Converter's IP address: 1.
13. From the computer's Web browser, type the new IP address of the Protocol Converter. Enter the user name and password as stated in step 6 to verify network access to the Protocol Converter. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.1.2 Set the IP Address Using an EIA-232 Connection To use the EIA-232 interface to set the Protocol Converter’s IP address: 1. Connect the EIA-232 port on the Protocol Converter to a terminal or PC running terminal emulation software (HyperTerminal) with a 9-pin, male-female, straight-through serial cable.
RIM-Protocol Converter User Guide - Version 1.0 Once setup, each device’s status is color coded. Figure 3.6 Protocol Converter Color Codes Note: The color codes are also available in the Help section of the Protocol Converter interface. Click on an individual device number to view individual information being polled from that device to the Protocol Converter.
Password of the configurable settings. Read Only Specify an alphanumeric value up to 16 characters. Table 3.1 Network and Web Configuration Fields Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 26
RIM-Protocol Converter User Guide - Version 1.0 Option Description The Protocol Converter can be configured with two passwords - the read/ Password write password allows users to access the web interface and to edit all settings. Read/Write Specify an alphanumeric value up to 16 characters. This integer value represents how long the system waits until it updates the Web interface with current data.
Do this on the Configuration>Clock screen. Figure 3.9 Clock Configuration Page Option Description Date Enter the date in mm/dd/yy format. Enter the time in hh:mm:ss format (24-hour clock). Time Table 3.2 Clock Fields Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.4.1 Network Time Protocol (NTP) Network Time Protocol (NTP) is used to synchronize clocks of computer systems. NTP synchronizes the time of a computer or device (the Protocol Converter) to another computer or referenced time source. NTP maintains a high level of accuracy and reliability in time stamped events.
2. To configure a slave device, enter the appropriate information for the communication protocol used by that device. Only the applicable fields for each communications protocol will appear. Configurable fields include: Table 3.4 Device Configuration Fields Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 30
RIM-Protocol Converter User Guide - Version 1.0 Option Description Modbus Slave Address / A numeric value that indicates the slave address for Modbus communications. Unit Identifier Type an integer ranging from 1 to 254. If Modbus communications will not be used, leave this value at 0. Enter the IP address of the device being polled for Modbus IP Address TCP, SNMP, or BACnet/IP slave data.
The write operations are generated via Modbus preset single-register commands, SNMP sets, and BACnet write-property operations. Refer to the following sections on configuring Modbus, SNMP, and BACnet registers for more information about generating write operations through the Protocol Converter’s user interface. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.6.2 Register Configuration Web Pages Access the Register Configuration page by clicking on the Registers link in the menu bar. 1. Click on the register number to configure individual registers. Figure 3.12 Register Configuration Page The configuration page for that register displays.
The register type. Choose Unsigned Integer, Signed integer, Long, Float, Alarm Register Type Bit / ON=ALARM, Alarm Bit / OFF=ALARM, Status Bit, Coil Status, or Input Status. Table 3.5 Modbus Register Configuration Page Options Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 34
RIM-Protocol Converter User Guide - Version 1.0 Option Description Bitflag The proper bit flag to be used for this particular register. Choose values from :00 to :15. Determines the way the register is read by the Protocol Modbus Word Order Converter.
3. Once the changes have been accepted, click the Next>> link in the bottom navigation bar to configure the next register. You can also click the First, <<Prev, Last, or End links to go to those locations in the list of registers. Figure 3.14 Register Configuration Navigation Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 4. Write a specific value to a Modbus register by clicking the Manual Preset Single Register link on the individual register pages. This option is only available for writeable Modbus registers (40001 and above). Figure 3.15 Modbus Manual Preset Single Register Link When you click this link, the Modbus Preset Single Register webpage displays.
Labels can contain up to 30 alphanumeric characters. This option allows you to choose how the value is HTML Display displayed on the register page. Choose from Integer (whole number) or Float (number plus decimal). Table 3.6 SNMP Register Configuration Options Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 38
RIM-Protocol Converter User Guide - Version 1.0 Option Description Indicates the value that, when reached or exceeded, causes the Protocol Converter to trigger an alarm. Threshold 1 Specify if the alarm should occur when the reading is less than (<), Equal to (=) or greater than (>) the specified threshold value.
Figure 3.20 SNMP New Value Field 5. Enter the new value for the register in the New Value box and click the Submit Changes button. Click the Return link to go back to the register configuration page. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.6.5 BACnet Register Configuration If you are configuring a BACnet device, the register configuration page looks like this: Figure 3.21 BACnet Register Configuration 1. Type an appropriate value in each field, or choose the value from the drop-down. Table 3.7 BACnet Register Configuration Options www.chatsworth.com...
Page 41
RIM-Protocol Converter User Guide - Version 1.0 Table 3.7 BACnet Register Configuration Options 2. Click Submit Changes located in the upper left hand corner of the web page. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3. Once the changes have been accepted, click on Next>> link at the bottom of the page. You can also click the First, <<Prev, Last, or End links to go to those locations in the list of registers. Figure 3.22 Register Configuration Navigation 4.
A pop-up displays so you can confirm the delete operation. 3. If you are certain you want to delete all programmed registers, click OK. Otherwise, click Cancel. When you click OK, the registers are immediately deleted. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 Set Communication Protocol Options Set the Modbus, BACnet, or SNMP protocols as described in the following sections. 3.7.1 Modbus/EIA-485 Port Configuration To configure the Modbus/EIA-485 port, use the top navigation bar to access the Configuration screens. Select the EIA-485/Modbus/BACnet-MSTP Ports option and configure the fields accordingly.
Page 45
RIM-Protocol Converter User Guide - Version 1.0 Table 3.8 EIA-485/Modbus/BACnet-MSTP Ports Configuration Options Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.7.2 BACnet Server Configuration From the Configuration page, click the Bacnet link to configure the BACnet Server. 3.27 BACnet Server Configuration Enter the following settings for the BACnet server: Option Description A numeric value that uniquely identifies each BACnet Device ID Device on the network.
This feature is used by some BACnet masters for discovery on different subnets. BACnet BBMD-BDT Enter information as applicable to your application. Table 3.9 BACnet Server Configuration Options (continued) Figure 3.28 BACnet PICS Information Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 3.7.3 SNMP The SNMP Server configuration page allows you to set the System Name (displayed on the home page), System Contact, and System Location. You can also set up communities that allow multiple SNMP systems to access the Protocol Converter. Note: To set up communities, you must know the IP address of the SNMP Management System and the Community String.
The second IP address used to communicate to a DNS server. The IP address or host name of the mail server being used by the Protocol Mail (SMTP) Server Converter. Table 3.11 SMTP Configuration Options Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 50
RIM-Protocol Converter User Guide - Version 1.0 Option Description The email address used by the Protocol Converter to communicate to the mail Mail Sender Address server. Mail Subject Description to be displayed on the email notification subject line. Mail Recipient (1-4) The address for an email account, cell phone, or distribution list.
The slave address field is one byte in length and identifies the slave device involved in the transaction. A valid address range is between 1 and 254. The slave address is set on the Modbus Device section of the Configuration page. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 4.1.1.2 Function Field The function field is one byte in length and tells the Protocol Converter which function to perform. The supported functions are 03 (Read 4xxxx output registers). 4.1.1.3 Data Field The data field of the request is a variable length depending on the function. The data fields for the Protocol Converter are 16-bit registers, transmitted high order byte first (big-endian) 4.1.1.4 Error Check (Checksum) Field The checksum field lets the receiving device determine if the packet has transmission errors.
Table 4.4 Response Sample Slave address 2 responds to Function Code 4 with six bytes of hexadecimal data and ends with CRC16 checksum. Register Values: 40001 = 0000 (hex) 40002 = 0000 (hex) 40003 = 0001 (hex) Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 54
RIM-Protocol Converter User Guide - Version 1.0 www.chatsworth.com...
filename, save it to a local disk. IMPORTANT: Do not change the name of the firmware file when you save it. Otherwise, the Protocol Converter will not recognize the file. 3. In the Protocol Converter’s user interface, go to Configuration>System. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 The System webpage displays. Figure A.1 System Page—Load Flash Firmware 4. Click the Browse button. 5. Locate and choose the firmware file (.bin) that you saved from the CPI website. 6. Click the Upload button. While the firmware file loads, you’ll see the following confirmation message: Figure A.2 Firmware Load Messages When the file is loaded, the Protocol Converter reboots itself.
5. Open your TFTP client. Configure the client as follows: Host = Enter the Protocol Converter’s IP Address Port = Block Size = 64, 128, 256, 512, or 1024 Note The file must be sent in BINARY (not ASCII). Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 58
RIM-Protocol Converter User Guide - Version 1.0 6. Send or PUT the firmware file to the Protocol Converter. It may take ~10 seconds for the firmware upload to begin. This will put the new firmware into effect. 7. After one minute, refresh the Protocol Converter webpage. Notice that the Flash Application field now contains the latest firmware.
Figure A.7 Example Download .cfg 3. Select the location and name for the file (do not change the .cfg extension). Click the Save button. The file is saved to the location and with the name you specified. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 A.4. Load a Configuration (.cfg) File Once you have saved a configuration file as described in A.3., “Save a Configuration (.cfg) File” on page 59, you can load that file to the same Protocol Converter or other Protocol Converters. To load a configuration file (.cfg) to the Protocol Converter: 1.
¥A dialog box opens to display the file name that is automatically assigned to the device. You can choose to open or save the file. Save the file. When you have saved the .xml file, it can be uploaded to other devices of the same type. See “Load a Device Configuration (.xml) File” on page 62 for instructions. Chatsworth Products, Inc. (CPI) • 800-834-4969...
RIM-Protocol Converter User Guide - Version 1.0 A.6. Load a Device Configuration (.xml) File An .xml file that you have saved using the Protocol Converter’s user interface can be loaded to another device. This procedure may not work in all cases; some manufacturers use the same register set across different models of the same type of device, and others do not.
Figure A.14 Preset/Delete Link on Device Configuration Webpage 7. The Preset/Delete dialog displays in a secondary browser window. Figure A.15 Preset/Delete Dialog 8. Select one of two items from the drop-down: Figure A.16 Drop-Down for Preset/Delete Dialog Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 64
RIM-Protocol Converter User Guide - Version 1.0 9. Revert to the preset registers or delete all register information as follows: ¥ To revert to the preset values, indicate a Start Index number. This is the number of the register at which you want to begin the preset operation.
If a ping response is established, call the CPI technical support department. Table B.1 Troubleshooting the Protocol Converter Chatsworth Products, Inc. (CPI) • 800-834-4969...
Page 66
RIM-Protocol Converter User Guide - Version 1.0 Problem Action Slave units are showing loss 1) Check the Device Configuration in the Protocol of communication. Converter and make sure the proper addressing is assigned. a) Modbus-RTU/485: The device address is set to the proper RTU address and the 485 communica- tions line is wired properly.