MODCELL Modrtu 1
MODCELL Modrtu 1
ABB Instrumentation
ABB INSTRUMENTATION
The Company
ABB Instrumentation is an established world force in the design and manufacture of BS EN ISO 9001
instrumentation for industrial process control, flow measurement, gas and liquid analysis St Neots -
and environmental applications. Certificate No. Q5907
Stonehouse -
As a part of ABB, a world leader in process automation technology, we offer customers
Certificate No. FM 21106
application expertise, service and support worldwide.
ISO 9001
We are committed to teamwork, high quality manufacturing, advanced technology and
Rochester, USA -
unrivaled service and support.
Certificate No. AQ-8618
The quality, accuracy and performance of the Company's products result from over 100
years experience, combined with a continuous program of innovative design and
development to incorporate the latest technology.
EN 29001 (ISO 9001)
The NAMAS Calibration Laboratory No. 0255(B) is just one of the ten flow calibration Lenno, Italy -
plants operated by the Company, and is indicative of ABB Instrumentation's dedication to Certificate No. 90/90A
quality and accuracy.
Stonehouse -
Certificate No. 0255
Use of Instructions
∆ Warning. An instruction that draws attention to the risk of Note. Clarification of an instruction or additional
injury or death. information.
Although Warning hazards are related to personal injury, and Caution hazards are associated with equipment or property damage, it
must be understood that operation of damaged equipment could, under certain operational conditions, result in degraded process
system performance leading to personal injury or death. Therefore, comply fully with all Warning and Caution notices.
Information in this manual is intended only to assist our customers in the efficient operation of our equipment. Use of this manual for
any other purpose is specifically prohibited and its contents are not to be reproduced in full or part without prior approval of ABB
Instrumentation.
1. The relevant sections of these instructions must be read carefully before proceeding.
2. Warning Labels on containers and packages must be observed.
3. Installation, operation, maintenance and servicing must only be carried out by suitably trained personnel and in accordance with the
information given or injury or death could result.
4. Normal safety procedures must be taken to avoid the possibility of an accident occurring when operating in conditions of high
pressure and/or temperature.
5. Chemicals must be stored away from heat, protected from temperature extremes and powders kept dry. Normal safe handling
procedures must be used.
CONTENTS
CONTENTS
Page
OVERVIEW ......................................................................................................................................................... 1
HARDWARE REQUIREMENTS.......................................................................................................................... 2
SERIAL INTERFACE CONSIDERATIONS .................................................................................................... 2
CABLE REQUIREMENTS .............................................................................................................................. 2
COMMUNICATIONS MODE........................................................................................................................... 2
RS-232 INTERFACE....................................................................................................................................... 3
RS-422 INTERFACE....................................................................................................................................... 3
RS-485 INTERFACE....................................................................................................................................... 3
BIAS RESISTORS .......................................................................................................................................... 3
TERMINATION RESISTORS ......................................................................................................................... 3
SOFTWARE BASICS .......................................................................................................................................... 5
MASTER/SLAVE RELATIONSHIP ................................................................................................................. 5
MESSAGE RESPONSE TIMES ..................................................................................................................... 5
INSTRUMENT RESPONSE TIMES TO HOST COMMANDS ........................................................................ 5
SOFTWARE DRIVERS................................................................................................................................... 6
MODBUS WITH MODCELL MLP AND MOD30ML............................................................................................. 7
STANDARD PROTOCOL ............................................................................................................................... 7
EXTENDED PROTOCOL ............................................................................................................................... 7
MOD 30ML COMMUNICATION CHANNELS................................................................................................. 7
USING ML AND CL BLOCKS:............................................................................................................................. 8
DIRECTING DATA WITH ML AND CL BLOCKS............................................................................................ 8
BLOCK CONNECTIONS ................................................................................................................................ 9
USING MODBUS MODULES:........................................................................................................................... 10
MODULE LOCATION ................................................................................................................................... 10
THE RS-485’S TERM (MASTER/SLAVE) SWITCH ..................................................................................... 10
THE COM DEFAULTS SWITCH .................................................................................................................. 10
THE HIGH AND LOW SWITCHES ............................................................................................................... 10
MODBUS MASTER ........................................................................................................................................... 12
MASTER REQUIREMENTS ......................................................................................................................... 12
DATA CONVERSION ................................................................................................................................... 12
SCALER BLOCK........................................................................................................................................... 12
INPUT CONVERT BLOCK ........................................................................................................................... 13
OUTPUT CONVERT BLOCK ....................................................................................................................... 13
MODBUS WITH COMMANDER SERIES INSTRUMENTS .............................................................................. 14
SCALING ANALOG VALUES ....................................................................................................................... 14
COMMUNICATIONS CONFIGURATION ..................................................................................................... 14
CONNECTION WITHIN THE NETWORK .................................................................................................... 14
HOST CONFIGURATION EXAMPLES ............................................................................................................. 15
MODBUS WITH FIX AND COMMANDER 150............................................................................................. 15
MODBUS WITH FIX AND COMMANDER 300............................................................................................. 16
MODBUS WITH INTOUCH AND COMMANDER 300 .................................................................................. 17
MODCELL MLP WITH TCP QUICKPANEL.................................................................................................. 18
PLC & Protocols ........................................................................................................................................ 18
Tags .......................................................................................................................................................... 18
Addressing ................................................................................................................................................ 18
Scaling....................................................................................................................................................... 19
MOD30ML AND MODCELL MLP REFERENCE TABLES ................................................................................ 20
WIRE CONNECTIONS...................................................................................................................................... 22
MODBUS MODULE TROUBLESHOOTING WITH MOD30ML AND MODCELL MLP ..................................... 23
GLOSSARY ....................................................................................................................................................... 25
i
MODBUS RTU
CONTENTS
TABLES
Page
Table 1. Cable Requirements .............................................................................................................................2
Table 2. Instrument Response Times .................................................................................................................5
Table 3. Software Drivers....................................................................................................................................6
Table 4. MOD30ML and Modcell MLP Port Numbers.......................................................................................10
Table 5. Integer Conversion - Signed to Unsigned ...........................................................................................12
Table 6. MODBUS with FIX and Commander 150............................................................................................15
Table 7. MODBUS with FIX and Commander 300............................................................................................16
Table 8. MODBUS with InTouch and Commander 300 ....................................................................................17
Table 9. Wiring for RS-485 Full Duplex.............................................................................................................18
Table 10. TCP QuickPanel Addressing.............................................................................................................18
Table 11. MOD30ML and Modcell Multiloop Processor to Host Device or PC Sample Configuration Entries .20
Table 12. MODBUS Reference Information for MOD30 ML and Modcell Communications .............................21
Table 13. Wire Connections for RS-232 Devices..............................................................................................22
Table 14. Wire Connections for RS-485 (4 or 5-Wire) Devices ........................................................................22
Table 15. Wire Connections for RS-485 (2 or 3-Wire) Devices ........................................................................22
FIGURES
Page
Figure 1. RS-485 Biasing and Termination .........................................................................................................4
Figure 2. Extended and Standard MODBUS Lists ..............................................................................................8
Figure 3. Block Connections ...............................................................................................................................9
Figure 4. Module Switches................................................................................................................................11
ii
MODBUS RTU
COMUNICATIONS GUIDE
OVERVIEW
MODBUS RTU is a non-proprietary serial communications protocol that is widely used in the process control
industry. The protocol was developed by Modicon for PLC communications and later released for public use.
This protocol is available in all major Human Machine Interface (HMI) software packages and terminals. Many
of the major controller and PLC manufacturers also offer MODBUS protocol as a standard or optional protocol
in their instrumentation.
The hardware over which MODBUS RTU communications are performed is not defined by the protocol.
MODBUS RTU is supported on RS-232, RS-422, RS-485, Ethernet and other electrical standards.
It should be noted that MODBUS RTU, MODBUS ASCII and MODBUS Plus are unique communication
formats, and are not compatible with each other. This document will discuss MODBUS RTU only.
1
MODBUS RTU
COMUNICATIONS GUIDE
HARDWARE REQUIREMENTS
An RS-232 interface allows only two devices to be connected together. RS-422 supports 1 driver and up to 10
receivers on a single network. For bi-directional communications, special tri-state circuitry is provided on the
drivers of some instrumentation, allowing 10 driver/receiver pairs. RS-485 supports up to 32 driver/receiver
pairs. With special hardware, the RS-422 and RS-485 limits can be expanded to allow as many as 248
devices on a single network. Each device on a network must have a unique address, which may be soft-
configured or set with switches. Address zero is reserved for broadcast messages from the host to all slaves.
All devices on a network must also be configured with the same parameters, such as baud rate and parity.
In designing the communication architecture, one should consider communications performance when
deciding how many devices to connect to a host port. Generally, nearly twice the performance can be
achieved by splitting the devices from one port, onto two ports.
CABLE REQUIREMENTS
The type of wire to use is usually specified by the hardware manufacturer and will vary with required length.
Wire with twisted pairs and an overall shield is used most often. The shield is tied to earth ground or chassis,
and typically at one end only. The shield is not to be used as a signal common or ground. The table below
lists typical cable recommendations.
COMMUNICATIONS MODE
Communications can take place in full or half-duplex mode. The communications hardware must be able to
support whatever mode the software is using. Half-duplex hardware shares the same lines for transmit and
receive, whereas, full-duplex hardware has dedicated transmit and receive lines. MODBUS protocol uses
half-duplex communications, regardless of the hardware. Full-duplex hardware is more widely supported by
software drivers and devices, than half-duplex.
2
MODBUS RTU
COMUNICATIONS GUIDE
RS-232 INTERFACE
An RS-232 interface is rated for distances up to 15 meters (50 feet). At least three wires are required for an
RS-232 interface. Wires are required for Transmit, Receive and Signal Ground. Some devices support
additional wires for communication handshaking. RS-232 hardware is a full-duplex configuration, having
separate Transmit and Receive lines.
RS-422 INTERFACE
An RS-422 interface requires at least four wires. Two wires each are used for Transmit and Receive. A fifth
wire is usually required for Signal Ground, when connecting non-isolated devices together. Handshaking lines
may also be supported by some hardware. This interface is full-duplex, allowing use of the same software
drivers as for RS-232. The differential drivers allow for distances up to 1200 meters (4000 feet). The
receivers of an RS-422 device are always enabled. For multi-drop operation, drivers must capable of tri-state
operation.
RS-485 INTERFACE
An RS-485 interface requires at least two wires. In a two-wire configuration, the same pair of wires is used for
Transmit and Receive. The two-wire configuration utilizes half-duplex communications. A four-wire
configuration functions much like an RS-422 system, except the Transmit driver circuits are always taken off-
line or tri-stated, when not in use. This tri-state feature reduces the load on the network, allowing more
devices, without the need of special hardware. A fifth wire is usually required for Signal Ground, when
connecting non-isolated devices together. Additional wires for handshaking may also be supported by some
hardware. This interface also uses differential drivers, supporting distances up to 1200 meters (4000 feet).
BIAS RESISTORS
RS-422 and RS-485 networks often require bias, or pull-up and pull-down resistors. These resistors are used
to stabilize the network. By definition, in a MODBUS RTU network, it is the responsibility of the Master to
provide this function. Functionally, any device on the network may provide the bias stabilization. Biasing may
also be installed external to the devices, with the appropriate resistors and power supply. If the Master is not
the device providing this function, careful consideration must be given to the consequences of that device
failing. If the Master is providing this function, and it fails, there would be no communications anyway. In
some systems, bias resistors may be installed on two slaves, offering redundant biasing. This feature is
available with MOD30ML and Modcell MLP modules (TERM switch). Some systems may function without
these stabilizing resistors, but may be more susceptible to communication errors. Though the pull-up and pull-
down resistors are the same, the value of these resistors varies from device to device. The actual
recommended resistance may be calculated, and varies with the number of devices on the bus. Commander
series instruments use 1.8KΩ, while MOD30ML and Modcell use 560Ω. The pull-up resistor is connected
from the positive communication line to +5Vdc. The pull-down resistor is connected from the negative
communication line to the power supply common.
TERMINATION RESISTORS
Termination resistors are often used to reduce reflections on the network. This problem occurs most with long
wires and high baud rates. Due to variations in wire and equipment, whether or not to use these terminators is
usually determined by system testing. The general rule is to add them only if needed. The resistors are
typically 120Ω, and installed across the Transmit and Receive wire pairs. Normally, one resistor is installed at
each end of each pair of wires. For two-wire installations, one resistor would be installed at each end. If bias
stabilization resistors are not installed, use of these terminations will probably drown the signal, preventing
communications.
3
MODBUS RTU
COMUNICATIONS GUIDE
2-Wire Configuration
4-Wire Configuration
4
MODBUS RTU
COMUNICATIONS GUIDE
SOFTWARE BASICS
MASTER/SLAVE RELATIONSHIP
A MODBUS RTU system consists of a Master and one or more Slave devices. Multiple Masters are not
permitted on the same network. The Master is responsible for initiating all communications, therefore, no
peer-to-peer capability is supported. With some hardware, it is possible to dynamically switch the device
between Master and Slave modes. This capability allows multiple Masters, though not simultaneously. With
special hardware, such as Phoenix Digital’s MPE Plus, having multiple Masters is possible, though it limits the
communications to the basic “Standard” MODBUS commands. Using the MPE Plus will block extended
MODBUS communications, including the Application Builder.
* NOTE: The response times for Modcell MLP and MOD30ML are for read
messages. Write messages may take longer. These instruments have a
configurable Write Message Timeout parameter.
5
MODBUS RTU
COMUNICATIONS GUIDE
SOFTWARE DRIVERS
Table 3. Software Drivers
Driver Description Use With
1719S Standard MODBUS Driver PC-30 and GFW
1733S Extended MODBUS Driver PC-30 and GFW
2010S EMP 16-bit Standard and Extended MODBUS Driver FIX 5.x for Windows 3.x
2011S EMP 32-bit Standard and Extended MODBUS Driver FIX 6.x for Windows 95 and NT
I/O Server Standard MODBUS GFW
DDE Server Standard MODBUS Wonderware InTouch
OPC Server Standard and Extended MODBUS GFW32, FIX Dynamics and
other OPC Clients
MODCELL Enhanced Standard MODBUS Citect
MODBUS Standard MODBUS Citect and others
6
MODBUS RTU
COMUNICATIONS GUIDE
STANDARD PROTOCOL
“Standard” MODBUS supports single-register, 16-bit integer values. Modcell and MOD30ML floating-point
data may be converted to this format with ML blocks. For maximum resolution, specify an actual engineering-
unit range in the ML block. If the engineering range is greater than 65535, a scaled range must be selected.
Some standard MODBUS drivers may be capable of reading floating-point data, using a 32-bit two-register
format.
The standard MODBUS driver (MB1) for Fix DMACS does not support the floating point format from Modcell
MLP and MOD30ML.
The standard MODBUS driver for PC-30 and GFW supports Modcell MLP and MOD30ML floating point
signals. A MODBUS I/O Server is also available for GFW, supporting floating-point.
EXTENDED PROTOCOL
Modcell and MOD30ML devices support an extended protocol, in addition to standard MODBUS RTU as a
subset. If the Master is capable of utilizing the extended features, additional data types, diagnostics and event
information may be obtained. The extended protocol also supports the Status Page in the Application Builder
and very fast uploads and downloads. Note that the 2-wire RS-485 module does not support these features.
The Extended MODBUS protocol implemented in Modcell and MOD30ML utilizes a user-defined MODBUS
command, and custom drivers are required in the host to support it. Custom drivers supporting this Extended
MODBUS protocol are available for PC-30, Genesis for Windows and FIX DMACS. The PC-30/GFW driver
supports only Extended MODBUS. The FIX drivers also support standard MODBUS devices, even on the
same network as Extended MODBUS devices.
When using Extended MODBUS, special interface files are created when compiling the instrument database.
These files provide automatic configuration of host poll records, significantly reducing engineering time. A MIF
file is used for FIX software. PC-30 and GFW use a TIF file. With Extended MODBUS, user-friendly alias
names are given to points in the Configured List. In the host software, these alias names are used instead of
register addresses.
7
MODBUS RTU
COMUNICATIONS GUIDE
* NOTE: Solid connection lines represent the most commonly used connections.
8
MODBUS RTU
COMUNICATIONS GUIDE
BLOCK CONNECTIONS
9
MODBUS RTU
COMUNICATIONS GUIDE
MODULE LOCATION
The sockets in which the module is installed determines its Port number
The 2-wire RS-485 module has no switches. It must be configured by the Application Builder software, to
change the factory defaults. The factory defaults are 9600 baud, no parity, 8 data bits, one stop bit and a
MODBUS address of one. Do not connect an unconfigured module to a network if there is another device on
the network with address one.
10
MODBUS RTU
COMUNICATIONS GUIDE
11
MODBUS RTU
COMUNICATIONS GUIDE
MODBUS MASTER
MASTER REQUIREMENTS
MODBUS Master communication requires a few special configuration items.
1. MSC Block - Each MSC block that will be used for MODBUS Master communications must have the Port
Functionality set to Master.
2. EX Block for Port Configuration - Each MODBUS Master port requires a specially configured Expression
block to define its parameters.
3. EX Block for Communications - Expression blocks are configured to send and receive the actual
communication messages. The first 10 inputs are dedicated to configuration and status. The remaining
inputs may be used to read or write data. Each block is configured to execute a specific type of MODBUS
function. The only relevant factor that limits the number of these blocks is performance.
DATA CONVERSION
Analog data in a newer Commander instruments and the 2050R is stored as a 16-bit signed integer value.
Integer values in the Modcell MLP and MOD30ML are unsigned. The decimal point position is also read as a
separate value. When reading or writing analog values between these instruments, expression blocks are
used to convert from one integer type to the other. The table below indicates the relationship between the two
number formats.
SCALER BLOCK
One expression block is required for each slave instrument, for decimal point scaling. The expression is as
follows:
12
MODBUS RTU
COMUNICATIONS GUIDE
Output is the FLOATING-POINT number to be converted to a COUNT, and send to the slave instrument.
Scaler is the FLOATING-POINT result of the Scaler block.
13
MODBUS RTU
COMUNICATIONS GUIDE
Newer models, such as the C100, C150, C250, C500 and PR250, place an engineering unit value into one or
two 16-bit registers. If two registers are used, the data type is considered a long integer. Values are
represented as positive or negative integers without a decimal point. If a decimal point is used in the
instrument, additional scaling must be performed at the host.
COMMUNICATIONS CONFIGURATION
The Commander must be configured from the face of the instrument via the Serial Data Communications
page. If this page is not accessible, the communications option may not be installed. Some Commanders use
a security switch to access the configuration mode. The parameters on this menu group must be set to match
host or Modbus Master device. The 3 Line type refers to 2-wire (half-duplex) with a common, where 5 Line is
4-wire (full-duplex) with a common. The number of Start and Data bits are fixed at 1, 8 respectively. The
number of Stop Bits is not configurable and can be set to 1 or 2 at the host. Parity can be set to none, odd or
even and must match the Host setting. The Ident or Addr entry configures the Modbus Slave address.
14
MODBUS RTU
COMUNICATIONS GUIDE
NOTES:
1. Each line of the poll record can have no more than 8 analog or 16 digital addresses.
2. It is acceptable to “read through” undefined addresses.
3. Use a calculation block to scale for proper decimal point position.
15
MODBUS RTU
COMUNICATIONS GUIDE
NOTES:
1. Ensure that each line of the poll record contains no more than 8 analogs or 16 digital addresses.
2. It is acceptable to “read through” undefined addresses.
16
MODBUS RTU
COMUNICATIONS GUIDE
* NOTE: The Commander supports only Single-Coil writes (Function Code 05), so
Block I/O does not apply. InTouch allows a minimum setting of 8.
17
MODBUS RTU
COMUNICATIONS GUIDE
Tags
Analog points are read from the MLP as an integer value (16-bit).
MLP floating-point numbers are not supported by this interface.
Addressing
Registers are referenced as a type and offset. Below are examples for Input Registers and Output (Holding)
Registers.
If connecting more than one slave to the QuickPanel, append an underscore and Modbus address to the tag.
Example:
QuickPanel is configured to access PLC ID 1
For MLP at address 2, with the same registers as above, the tags would be IR001_2, IR002_2,
OR001_2 and OR002_2.
18
MODBUS RTU
COMUNICATIONS GUIDE
Scaling
In ML Block, specify actual range for variable, if the number of significant digits is 5 or less. For ranges with
more than 7 significant digits, such as 500,000 or 750.000, change the units to allow smaller numbers. For
example, instead of 0 to 500,000 CFH, use 0 to 500 KCFH. Also note that the scale factor is for use only with
mSec time values. The field is enabled for sources that can support the data type. If your source data is not
mSec time, do not change the scale factor from default.
In QuickDesigner, leave Input Low at 0 and High at 65535. The Scale Low and High values should match
what is in the Modbus List, unless a decimal is required. If digits to the right of the decimal are needed,
multiply the range value by 10 for one place, 100 for two and etc.. For example, if two places are desired to
the right of the decimal point with a range of 0 to 10, specify a Scale High of 1000. In display Data Format,
specify 2 decimal places.
19
MODBUS RTU
COMMUNICATIONS GUIDE
Table 11. MOD30ML and Modcell Multiloop Processor to Host Device or PC Sample Configuration Entries
MOD30ML or Modcell Multiloop Processor Host Device or PC
Signal Source List
Engineering Modbus List Device Engineering
Data Range Type Entry Range Scale MSC Modbus Data Range Range
Type Low High CL ML Number Low High Factor Connection Address Type Low High Low High Note
Floating 0 100 X 1 0 100 SRWIN1 40001 WORD 0 65535 0 100
Point
Floating -10 10 X 2 -10 10 SRWIN1 40002 WORD 0 65535 -10 10
Point
Floating -14 0 X 3 -14 0 SRWIN1 40003 WORD 0 65535 -14 0
Point
Floating 0 80000 X 1 0 8000 SRWIN2 40101 WORD 0 65535 0 8000 10x mult
Point req’d
mSec 0 4294967295 X 2 0 65535 1 SRWIN2 40102 WORD 0 65535 0 65535 1 mSec /
Time count
mSec 0 4294967295 X 3 0 65535 10 SRWIN2 40103 WORD 0 65535 0 65535 10 mSec
Time / count
mSec 0 4294967295 X 4 0 65535 100 SRWIN2 40104 WORD 0 65535 0 65535 100
Time mSec /
count
mSec 0 4294967295 X 5 0 65535 1000 SRWIN2 40105 WORD 0 65535 0 65535 1 Sec /
Time count
mSec 0 4294967295 X 6 0 65535 10000 SRWIN2 40106 WORD 0 65535 0 65535 10 Sec /
Time count
mSec 0 4294967295 X 7 0 65535 100000 SRWIN2 40107 WORD 0 65535 0 65535 100 Sec
Time / count
Discrete 0 1 X 8 SRWIN2 40108 WORD 0 65535 0 1 Bit 1 of
16
Discrete 0 1 X 9 SRWIN2 40109 WORD 0 65535 0 1 Bit 1 of
16
Discrete 0 1 X 1 DRWIN1 00001 BIT 0 1 0 1 Bit 1 of 1
Discrete 0 1 X 2 DRWIN1 00002 BIT 0 1 0 1 Bit 1 of 1
Floating 0 100 X 1 MRWIN1 41001 FLOAT 0 100 0 100
Point
Floating -10 10 X 2 MRWIN1 41003 FLOAT -10 10 -10 10
Point
Floating -14 0 X 3 MRWIN1 41005 FLOAT -14 0 -14 0
Point
Floating 0 80000 X 1 MRWIN2 41101 FLOAT 0 80000 0 80000
Point
* NOTE: When connections are made from a source that has a variable data type,
the Range and Scale Factor fields may be enabled when they do not
apply. In this case, leave the default Range of 0 to 65535 and Scale
Factor of 1.
20
MODBUS RTU
COMMUNICATIONS GUIDE
Table 12. MODBUS Reference Information for MOD30 ML and Modcell Communications
Code Function Action Data Types Max Points per Address From To
Command Range
01 Read Coil Status Read one or more Discrete 99 00001-00499 CL DRWIN1-5
consecutive points
02 Read Input Status Read one or more Discrete 99 10001-10499 CL DROIN1-5
consecutive points
03 Read Holding Read one or more All except ASCII and HEX - 32 40001-40499 ML SRWIN1-5
Registers consecutive registers One Register per Point
Any - Uses as many 125 41001-45999 CL MRWIN1-5
Registers as req'd for Data
04 Read Input Read one or more All except ASCII and HEX - 32 30001-30499 ML SROIN1-5
Registers consecutive registers One Register per Point
Any - Uses as many 125 31001-35999 CL MROIN1-5
Registers as req'd for Data
05 Force Single Coil Write one point Discrete 1 00001-00499 CL DRWIN1-5
06 Preset Single Write one register All except ASCII and HEX - 1 40001-40499 ML SRWIN1-5
Register One Register per Point
Any - Uses as many 1 41001-45999 CL MRWIN1-5
Registers as req'd for Data
08 Loopback Test Return of Query (00) For Diagnostic Use Only N/A N/A N/A N/A
15 Force Multiple Write one or more Discrete 16 00001-00499 CL DRWIN1-5
Coils consecutive points
16 Preset Multiple Write one or more All except ASCII and HEX - 16 40001-40499 ML SRWIN1-5
Registers consecutive registers One Register per Point
Any - Uses as many 16 41001-45999 CL MRWIN1-5
Registers as req'd for Data
65 Extended Modbus Read and/or Write any Any - Data in buffer, rather Note 6 n/a CL FGLISTIN
Data Type than Coils or Registers
NOTES:
1. Placing discrete points into Holding or Input Registers uses an entire 16 bit register for one point. This
may be more efficient when only a small amount of discrete data is required, along with analog data. If a
significant number of discrete points are required, communications and memory efficiency would be
improved by placing them into the Coil or Input Status area. Another possibility would be to pack 16
discrete points into a count and store it in an Input or Holding Register. This would be dependent on the
host device's ability to accept the packed data format.
2. Date, Floating Point and mSec Time are converted to 16 bit integers when tied to an ML register.
3. It is recommended that no more than the number of points supported per command be put into each Slave
ML block. This will prevent the Master device from accessing more than the allowed number of points in a
single command. The instrument will not return any data if the maximum number of registers is exceeded
or an invalid register is included. Some HMI packages, such as Fix DMACS, allow poll records to be
broken into groups to avoid this problem.
4. When using Extended Modbus, group control loop data together in CL blocks for greatest efficiency.
5. Some peripheral equipment that is designed for Modbus communications may not support Extended
Modbus (function code 65).
6. The instrument's foreground can hold up to 2400 bytes of data. The number of points that can be handled
per command depends on the host software. Connecting the CL block to BGLISTIN may provide
increased performance with some host configurations. This is the case when using Database Caching
with PC-30 or Genesis for Windows. Without Database Caching enabled, a connection to FGLISTIN is
recommended.
7. Each Modbus List block can contain up to 99 points, and each type of connection provides inputs for five
lists. This is also true for Configured List blocks for Standard Modbus. When using Extended Modbus,
Configured List blocks may be nested, allowing more than 99 points to be connected to FGLISTIN or
BGLISTIN.
21
MODBUS RTU
COMMUNICATIONS GUIDE
WIRE CONNECTIONS
22
MODBUS RTU
COMMUNICATIONS GUIDE
23
MODBUS RTU
COMMUNICATIONS GUIDE
24
MODBUS RTU
COMMUNICATIONS GUIDE
GLOSSARY
The following terms are defined as they relate to this document. The definitions given here may not be the
same throughout the industry.
25
MODBUS RTU
COMMUNICATIONS GUIDE
PC Personal Computer
Receive Incoming communication signal. (Rx)
RTS RequestToSend hardware handshaking signal. Used with ClearToSend.
Rx See Receive
RxA Usually the negative Receive line. May vary with manufacturer. Also see
Receive
RxB Usually the positive Receive line. May vary with manufacturer. Also see
Receive
Signed Integer Whole number value represented by 16 bits (-32768 to 32767)
Transmit Outgoing communication signal. (Tx)
Tri-State The ability of a communications transmitter to turn its circuitry off, reducing
the load on the network
Tx see Transmit
TxA Usually the negative Transmit line. May vary with manufacturer. Also see
Transmit
TxB Usually the positive Transmit line. May vary with manufacturer. Also see
Transmit
Unsigned Integer Positive whole number value represented by 16 bits (0 to 65535)
Word A group of 16 bits
Xon/Xoff Software implementation of data flow control
26
PRODUCTS AND SERVICING
Controllers
digital display, electronic, pneumatic. Discrete single-loop and
multi-loop controllers which can be linked to a common display
station, process computer or personal computer.
Gas analyzers
Zirconia, paramagnetic, infrared, thermal conductivity.
The Company’s policy is one of continuous product
improvement and the right is reserved to modify
specifications contained herein without notice.
©1998 ABB Instrumentation