![KEP SUPERtrol II Скачать руководство пользователя страница 121](http://html.mh-extra.com/html/kep/supertrol-ii/supertrol-ii_manual_1956274121.webp)
SUPERtrol II Flow Computer
117
RS-485 & Modbus RTU Protocol
When the Flow Computer is equipped with the RS-485 communication option, the protocol it uses is the
Modbus RTU protocol. This protocol defines a message structure that hosts and clients will recognize and
use on the RS-485 network over which they communicate. It describes the process a master device (PC
compatible) uses to request access to another device (Flow Computer), how it will respond to requests
from the other devices, and how errors will be detected and reported. It establishes a common format for
the layout and contents of message fields.
During communications on a Modbus RTU network, the protocol determines how each Flow Computer will
know its device address, recognize a message addressed to it, determine the kind of action to be taken,
and extract any data or other information contained in the message. If a reply is required, the Flow Com-
puter will construct the reply message and send it using Modbus RTU protocol.
RTU Mode
The Flow Computer with RS-485 communications option supports the Modbus RTU (Remote Terminal
Unit) mode only. The Modbus ASCII mode is not supported. The main advantage of the RTU mode is that
its greater character density allows better data throughput than ASCII for the same baud rate. The Modbus
RTU uses a Master-Slave Query-Response Cycle in which the Flow Computer is the slave device.
Control Functions
The Flow Computer with RS-485 communications option supports the following function codes:
CODE NAME
DESCRIPTION
01
Read Coil Status
Read a single coil
03
Read Holding Register Read a range of holding registers
05
Force Single Coil
Forces a single coil (0x reference) to either ON or OFF
06
Preset Single Register Presets a value into a single holding register (4x reference)
15
Force Multiple Coil
Forces each coil (0x reference) in a sequence of coils to either ON
or OFF
16
Preset Multiple Registers Presets values into a sequence of holding registers (4x reference)
Appendix C- RS-485 Modbus Protocol