![HORNER XL7 OCS Скачать руководство пользователя страница 171](http://html.mh-extra.com/html/horner/xl7-ocs/xl7-ocs_user-manual_2163915171.webp)
MAN0974-09-EN_XL7_UserManual
March 4
th
, 2019
Page 171 | 185
CHAPTER 22: MODBUS COMMUNICATIONS
22.1 Modbus Overview
For complete Modbus instructions, please refer to the Help file in Cscape.
Modbus (serial) is a popular, de-facto standard protocol that allows industrial devices from
multiple manufacturers to easily share data in real-time. For Modbus serial communications,
the XL7 can act as either a Master or a Slave.
Modbus protocol (serial) allows for one master and multiple slaves. The master always
initiates the conversation by sending a request to a particular slave. Only the addressed slave
will send a response when the request is completed. Should the slave be unable to complete
the request, it returns the appropriate error response. Should the slave be unable to respond,
the
master’s timeout timer expires to provide an indication of
No Response.
22.2 Modbus Slave Overview
For complete Modbus Slave instructions, please refer to the Help file in Cscape.
The Modbus slave function block, when used with the appropriate Modem and/or Open
function blocks, allows the primary serial port on the controller to act as a Modbus slave. The
Modbus function supports both ASCII and RTU modes of operation across a range of baud
rates and protocol frames. Also supported is port activity status, an inactivity timer, support
for call-on exception, and support for store and forward (repeater) operation for radio
modems.
The
describes the supported Modbus Commands as well as the
Modbus Map for XL7 References (%R, %M, etc.).