Modbus
Modbus
and ValuMass™
Modbus Communications
Master-Touch™ and ValuMass™ flowmeters are shipped with the RS232 communications protocol as the
factory default. Prior to connecting a flowmeter to a RS485 Modbus RTU network, you must use our
EPICommunicator™ software, or the Master-Touch™ keypad, to set up the flowmeter with the Modbus
settings discussed in this manual.
INSTRUCTION MANUAL
80202201 (Rev. 3.0)
Eldridge Products, Inc.
465 Reservation Road
Marina, CA 93933
Tel: 800/321-3569
or 831/648-7777
Fax: 831/648-7780
Email: [email protected]
The intention of this implementation is to communicate the Flow Rate, Flow Total, and Temperature
(Temperature not available on all units) using the Modbus protocol on a RS485 physical layer.
This device is a slave device that supports the Modbus RTU protocol. It is assumed that the user has a
copy of the Modbus specification or is Modbus literate. It is not the intention of this document to
explain the specifics of the protocol. However the document discusses the device’s implementation of
the specification. This device uses the RS485 physical layer to communicate the protocol.
If any aspect of the implementation does not meet the requirements for your application, please
contact the factory regarding upgrading the firmware. Examples of potential upgrades would be other
commands not supported, exception handling, device parameter configuration, etc.
Modbus Address
Refer to Section B of this Manual for instructions on how to set the flowmeter’s Modbus address. Each
time the Modbus Address command is executed the port baud rate and parity revert back to the default
settings as programmed from the factory
Report Slave ID
Request Size Value Range
Slave ID 1 Byte 0xLL LL = 1 to 127
Function Code 1 Byte 0x11
CRC 2 Bytes Calculated
The EPI Commands value is used in place of the register address in the definition of the command
structure
Exception Codes
1. Unsupported Function Code
2. Unsupported EPI Menu Command
3. Invalid Register Quantity or Data Value or for writes, Not Unlocked
VM-BASE
CB-BASE
Registers
CONDO
Access
Mix of Static and Dynamic EPI Read Only Data Commands (Legacy)
000 R Y Float Flow Rate Returns the real time flow rate value
2 Registers
002 R Y Float Total Returns the real time totalizer value
2 Registers
004 R Y Float Temperature Returns the real time Gas Temperature;
2 Registers Not supported on all devices and will
report 0
006 R Y Integer Serial Returns the serial number
2 Registers Number
008 R Y ASCII Flow Units Returns flow rate engineering units in 4
2 Registers ASCII Characters
010 R Y ASCII Total Units Returns Totalizer engineering units in 4
2 Registers ASCII Characters
012 R Y Float Max Range Returns Max Range
2 Registers
014 R Y Float Full Scale Returns Full Scale
2 Registers
140 R/W Y Float Full Scale This menu item is used to adjust the
scaling of the 0 – 5VDC and 4 – 20mA
output signals. This value cannot exceed
the factory calibrated Maximum Range
(see menu item 811–MaxRange). To
change this value, enter the desired value
at the prompt, and then press Enter. (The
meter settings must be unlocked to make
this change.) The meter will accept the
new value and return to the data entry
prompt. To verify the change, return to
menu 140.
218 R/W Y Integer Reset Lock# A read of this command returns 9000 no
matter what the password. This menu
allows the integer password to be
changed. The flowmeter must be
unlocked prior to accessing this menu
item. All flowmeters are shipped with an
initial password of 9001 unless otherwise
specified at the time of purchase. The
range of valid passwords is 9001–9999. If
you set your own password, save it in a
secure place to prevent loss and lockout
from user variables.
219 W Y Integer Unlock This menu item is used to enter the pre-
set integer password that unlocks the
flowmeter’s settings. You can access any
number of menu items while the settings
are unlocked. The settings are locked
again when the flowmeter is returned to
Run Mode. Factory default is 9001
236 W Y Integer PSWD Mode This menu item is used restore the factory
settings
237 R/W Y Integer PSWD Mode This menu item is used to change the way
the password function works.
Mode Definitions:
0 – Normal, Must enter a password to
change the password using the change
password command. Password required to
change other command’s data values
1 – Hybrid, No password required to
change the password using the change
password command. Password required to
change command’s data values
2 – Disabled, No password required to
write to command’s data values. The unit
is always unlocked
401 R/W Y Integer Set Event This menu item selects the specific relay
Event (Ev1–Ev4) to which a response
condition is assigned.
402 W Y Integer Disabled This menu item causes the current active
Event to ignore all response conditions.
403 R/W Y Float Trip High This menu item sets the current active
Event to respond to a flow rate that is
higher than the preset value.
404 R/W Y Float Trip Low This menu item sets the current active
Event to respond to a flow rate that is
lower than the preset value.
405 R/W Y Integer MAX Button This menu item sets the current active
Event to respond when the MAX key on
the LCD panel is pressed or when Mode 1
is grounded.
406 R/W Y Integer MIN Button This menu item sets the current active
Event to respond when the MIN key on the
LCD panel is pressed or when Mode 2 is
grounded.
407 R/W Y Integer Timer This menu item sets current active Event
to respond to a time duration, such as a
pulsed output. Enter the desired preset
duration value in units of 50ms.
408 R/W Y Integer PropPOut This menu item sets the current active
Event to respond to the current flow rate.
The pulses are based upon flow rate per
minute, proportional to the value in menu
item 140–FScale. Using the keypad enter a
value equal to the desired number of
pulses per minute at the Full Scale flow
rate. Any value between 1 and 250 may
be entered at the prompt (>). The same
value must be entered for both relay
events (1&2 or 3&4). This will give a
50/50 duty cycle.
409 R/W Y Float Total This menu item sets the current active
Event to respond to an elapsed total.
Enter the desired preset value in the
current engineering units (whole numbers
only – no decimals).
410 R/W Y Integer PulseOut This menu item sets the current active
Event to respond to an elapsed total. This
function is used with remote data
collection systems which count the pulses
to generate an elapsed flow total. Enter a
value to activate a relay for every X
number of units on the totalized flow,
i.e., every 1 unit, 12 units, 50 units, etc.
Any whole number between 1 and
2,000,000 may be entered at the prompt
(>), but we recommend decimal values
(1, 10, 100, . . .).; A timer function must
be associated with this menu item to
release the relay from the active state
(see menu item 407–Timer). The timer
must be set fast enough to release the
relay before the next preset total value is
reached.
411 R/W Y Integer Trip Delay This menu item sets the response delay
for the current active Event. Enter the
desired value in increments of 50ms (20 =
1 second). The acceptable values are 1–
255.
412 R/W Y Integer ESD/EMI Rst This menu item detects LCD errors caused
by power supply noise or other
electromagnetic interference. A value in
increments of 50ms must be entered to
determine the duration of such
interference before the relay responds. A
value of one (1) will cause a response to
the shortest disturbance. Consult factory
for additional information and a diagram
of required wiring of input power to
implement this function.
500 W Y Integer Run Mode If meter unlocked it stores changed data
and relocks the flowmeter; Always
Reboots the meter
501 W Y Integer Run Mode If meter unlocked it stores changed data
and relocks the flowmeter; Never Reboots
the meter
751 R Y float Point-Wise Point-Wise Correction 5%. This value is a
Correction %correction between -100 and 100% for
5% this range. Consult Manual and factory for
further details
752 R Y float Point-Wise Point-Wise Correction 5%. This value is a
Correction %correction between -100 and 100% for
10% this range. Consult Manual and factory for
further details
753 R Y float Point-Wise Point-Wise Correction 5%. This value is a
Correction %correction between -100 and 100% for
15% this range. Consult Manual and factory for
further details
816 R/W Y Float Flow Cutoff This menu item is used to set a
percentage of the Full Scale value (menu
item 140–FScale) as the minimum
readable flow rate. Actual flow rates
below this minimum value will be treated
as No Flow. The display will show “Low”
instead of the real-time flow rate, no
additional elapsed flow will be recorded,
the 0–5VDC signal will drop to 0VDC, and
the 4–20mA signal will drop to 4mA. For
example, if the full scale is 1000 SCFM, a
value of 10 (10%) will cause the
flowmeter to ignore flow rates below 100
SCFM or less. When the actual flow rate
increases above this value, all of the
flowmeter’s functions will resume.
Master-Touch™ and ValuMass™ flowmeters are shipped with the RS232 communications protocol as the
factory default. Prior to connecting a flowmeter to a RS485 Modbus RTU network, you must use our
EPICommunicator™ software, or the Master-Touch™ keypad, to set up the flowmeter with the Modbus
settings discussed in this manual.
If the Temperature Output option or the 3Txxx option for wide process gas temperatures was
requested for your flowmeter, refer to the information for firmware version 6.x.
The submenus for Modbus are shown below. It is assumed that the user has a basic familiarity with the
Master-Touch™ firmware, its menu system and the process for data entry. The menuing system is
accessed by using the 4-button keypad or a Communicator™ II handheld infrared device.
226-Set RS485 Baud This menu item adjusts the baud rate of the RS485 port.
0 = Factory Default (19200)
1 = 9600
2 = 14400
3 = 19200
4 = 28800
5 = 33400
6 = 56000
7 = 57600
8 = 115200
233-SetRS485Parity This menu item adjusts the parity of the RS485 port.
0 = 1 8 NONE 1
1 = 1 8 EVEN 1 (Factory Default)
2 = 1 8 ODD 1
3 = 1 8 NONE 2
Although the Modbus communications can be set up using the firmware menuing system, it is
strongly recommended that you use our free EPICommunicator™ v2.1x software for this
process.
226-SetRS485Baud This menu item adjusts the baud rate of the RS485 port.
0 = Factory Default (19200)
1 = 9600
2 = 14400
3 = 19200
4 = 28800
5 = 33400
6 = 56000
7 = 57600
8 = 115200
233-SetRS485Parity This menu item adjusts the parity of the RS485 port.
0 = 1 8 NONE 1
1 = 1 8 EVEN 1 (Factory Default)
2 = 1 8 ODD 1
3 = 1 8 NONE 2
Although the Modbus communications can be set up using the firmware menuing system, it is
strongly recommended that you use our free EPICommunicator™ v2.1x software for this
process.
226-SetRS485Baud This menu item adjusts the baud rate of the RS485 port.
0 = Factory Default (19200)
1 = 9600
2 = 14400
3 = 19200
4 = 28800
5 = 33400
6 = 56000
7 = 57600
8 = 115200
233-SetRS485Parity This menu item adjusts the parity of the RS485 port.
0 = 1 8 NONE 1
1 = 1 8 EVEN 1 (Factory Default)
2 = 1 8 ODD 1
3 = 1 8 NONE 2
Although the Modbus communications can be set up using the firmware menuing system, it is
strongly recommended that you use our free EPICommunicator™ v2.1x software for this
process.
EPICommunicator™ 2.1x (EPICom) software is compatible with Master-Touch™ firmware versions 5.x and
6.x and with ValuMass firmware version 1.x. It includes the Modbus menu selections and a separate
Modbus Module for communication with as many as eight (8) flowmeters. It is assumed that the user
has a basic familiarity with the EPICom software, its menu system and the process for data entry.
To prepare for this process, check the RS232 and Modbus Comm Port numbers to which the
flowmeter is connected by viewing Hardware Manager on your PC and make note of these
ports. You must also know the Parity values required by your system or network. Please refer
to Section B of this Manual for the menu descriptions.
Type in “233” at the prompt and press the Enter key to go to Menu 233
Type in a number between 1 and 4, corresponding to the desired Parity setting, and press the
Enter key
Type in “500” and press the Enter key to return the flowmeter to Run Mode
The flowmeter is now ready to communicate via RS485 Modbus RTU. Please refer to the instructions for
your Modbus system or network for further directions.
EPICommunicator™ Screens
Master-Touch™ Firmware 5.x
The following are the EPICom screens that you will see when setting up the Modbus communications for
Firmware 5.x installed on most Series 8000MP–8800MP and Series 8000MPNH–8800MPNH flowmeters:
Menu 210
Menu 226
Menu 233
Menu 210
Menu 226
Menu 233
Menu 218
Menu 226
Menu 233
Always use the top left Modbus window as the first flowmeter. If this window is left blank, the
Modbus Module will not communicate with any of the other connected flowmeters.
Modbus Icon
Modbus Module
Modbus Settings
The following drawing show the wiring details for Modbus connections.