MODBUS System Set Up
025-9209K
39
Within the MODBUS protocol, the Input Status and Input Register signal types (digital and
analog inputs) are read-only. The Coil and Holding Register signal types (digital and analog
outputs) may be both read from and written to.
When configuring the MODBUS master, the MODBUS addresses and value ranges must be
used. Table 15 lists the allowable range values in relation to the signal types.
Table 15. MODBUS Values versus Signal Types
I/O Type
⇓
MODBUS
Value
⇒
0
1
Coil (digital output)
OFF (open circuit)
N/A
ON (grounded)
Input Status
OFF (open circuit
or high voltage)
N/A
ON (ground or low
voltage)
I/O Type
⇓
MODBUS
Value
⇒
0
6553
32767
Input Register (analog input)
0 V or 0 mA
1 V or 4 mA
5 V or 20 mA
Holding Register (analog output) 0 V
1 V
5 V
The most common usage for analog inputs and outputs is with transducers that convert some
real world value either into a voltage (in the range 0 to 5V or 0 to 10V) or a current (in the
range 4 to 20mA). Most MODBUS master software packages provide a way to configure
input registers and holding registers so that the conversion from raw units used in the
MODBUS protocol to real world units is done automatically.
Here is an example. A sensor that measures water flow and outputs a current of 4mA for a
flow of 0 gal/min and a current of 20mA for a flow of 100 gal/min. This sensor is connected
to analog input number 5 of a Model 1716 RTU. In the MODBUS master software, input
register 30005 would be configured with a raw range of 6553 (4mA) to 32767 (20mA) and a
real world range of 0 gal/min to 100 gal/min.
USING ACCUMULATORS AND COUNTERS
Configuring the master to be able to access accumulators and counters is more difficult than
for basic RTU I/O, and requires a good working knowledge of the MODBUS master
software package.
Analog input accumulators keep a running total of the analog input value over a period of
time. There is one accumulator for each analog input on the Model 1708 or Model 1716
RTU. Each accumulator consists of three values: the accumulated total (sum of samples from
the analog input), the total number of samples taken, and the sample rate (how often the
analog input is read).
Accumulators are usually used to keep a running total of some flow through a system. For
example, if a sensor measuring flow in gal/min is connected to a Model 1708 RTU, the total
flow in gallons can be tracked through the use of an accumulator. Accumulators can also be
used to calculate the average value of an analog input.
Содержание 1708
Страница 1: ...Models 1708 and 1716 Remote Terminal Units Installation and Operation Manual 025 9209K...
Страница 8: ...Contents 025 9209K 8...
Страница 56: ...025 9209K 56...
Страница 60: ...Repair 025 9209K 60 MODEL 1700 SERIES ENCLOSURE OUTLINE 024 0057B...
Страница 61: ...Repair 025 9209K 61 MODEL 1700 SERIES ENCLOSURE INSTRUCTIONS 024 0056D Sheet 1 of 2...
Страница 62: ...Repair 025 9209K 62 024 0056D Sheet 2 of 2...
Страница 63: ...Repair 025 9209K 63 MODEL 1708 REMOTE TERMINAL UNIT SILKSCREEN 702 9439F...
Страница 64: ...Repair 025 9209K 64 MODEL 1716 REMOTE TERMINAL UNIT SILKSCREEN 702 9440F...
Страница 72: ...Appendix B 025 9209K 72...
Страница 80: ...Glossary 025 9209K 80...