
IM-P198-02
MI Issue 5
74
Introduction
Modbus is a serial communication protocol commonly used in industrial applications. It
allows communications between many devices and is typically used to transmit data from
instruments or control devices back to a main controller or data gathering system.
The Modbus implementation for the RIM10 Series allows the user to view and modify
flowmeter parameters. Appendix A lists the available Modbus registers. Modbus uses a
Master / Slave communication scheme. The RIM10 is always the Modbus slave. The
customer must provide the Modbus Master.
Supported Modbus Protocols
The RIM10 supports two types of Modus communications.
-
Modbus TCP / IP.
-
Modbus RS-485. (RTU)
Configuration
Configuration of the RIM10 consists of software set-up and physical wiring.
1. Software set-up:
Using the LCD or Web interface, select 'Network Set-up', 'Modbus
Network'. Select 'TCP' for Ethernet or 'RTU' for RS-485. Be sure to save when done.
See Appendix B for web page screen shots. The LCD or Web page interface
documentation provides details on flowmeter operation.
Note:
Always power-cycle the flowmeter after making any changes to the Modbus
configuration.
2. Physical Wiring:
TCP / IP requires connecting an Ethernet cable from the flowmeter to
a PC / Controller. RS-485 requires wiring from the terminal block of the flowmeter to a
PC / Controller. Only a 2 wire configuration is supported for RS-485. A termination
jumper is provided if the unit is the last device. See wiring diagram section for details.
Read operation
The RIM10 flowmeter only supports Modbus register reads.
The following operations are required to perform a read / write operation using Modbus:
1.
Connect to the flowmeter using a Modbus master program.
2.
Select a register from the Modbus register list.
3.
Read/write the register from the master.
Note:
Reading or writing a Modbus register
typically requires specifying the number of bytes. See appendix A for register map.
4.
The Modbus data packets are transferred as 2, 16-bit words, low word / high word, low
byte / high byte. The Modbus master program must ensure that the 2 bytes that form
the 16-bit words are ordered as high byte / low byte.
7. MODBUS