Eelectron HORIZONE Manuel utilisateur

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
1/22
HORIZONE SERVER
IN00B02WEB
MODBUS MODULE MANUAL
Product: IN00B02WEB
Description: Horizone Server Modbus Module Manual
Date: 03/03/2020
Version: 1.3

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
2/22
Any information in this manual may be changed without notice.
This manual can be downloaded free of charge from the website: www.eelectron.com
Exclusion of responsibility:
Although the contents of this manual have been checked to ensure that they correspond to the
hardware and software indicated in the title, changes may, however, be made. Consequently,
Eelectron assumes no responsibility therein.
© 2020 Eelectron SpA. All rights reserved.
Microsoft, Windows, Windows 2000, Windows XP, Windows 2003, Windows Vista, and Internet
Explorer are either registered trademarks or trademarks of Microsoft Corporation in the USA and
other countries. Java is a trademark of Sun Microsystems, Inc. in the USA and other countries.
All other product names mentioned herein are trademarks or registered trademarks of their
respective manufacturers.

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
3/22
Summary
INTRODUCTION 4!
Safety Information 4!
Copyright 4!
INTRODUCTION 5!
Introduction 5!
Purpose of this document 5!
Requirements 5!
CONNECTION 7!
Modbus RTU 7!
Modbus TCP 7!
Preliminary operations 7!
MODBUS LINES 11!
Introduction 11!
New Modbus line 11!
MODBUS REGISTERS 15!
Creation of registers 15!
Multiple reads and writes 20!
Register details 21!
Events and connections 21!
REVISIONS 22!
OPEN SOURCE 22!

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
4/22
INTRODUCTION
Safety Information
This manual contains the information necessary to safely operate the device. Anyone interacting
with the device must first have read this documentation, especially this safety information. This
document supplements and does not replace any safety laws or directives.
The device has been developed using state-of-the-art technologies and following current safety
regulations; it is, however, not possible to totally exclude all possible damage or interaction with other
devices during its operation. The device complies with EMC guidelines and harmonised European
standards; any changes to the device may affect EMC compatibility.
The supply voltage must be strictly within the range indicated in this manual and on the device;
danger of fire or explosion if power is supplied outside this range. The equipment shall be powered
by a limited power supply circuit whose isolation from the mains shall be not less than that between
the primary and secondary circuits of a safety transformer according to IEC 61558-2-6 or equivalent.
The CE declaration of conformity of the device can be requested from Eelectron SpA, at the contacts
on the website www.eelectron.com
In accordance with Directive 2002/96/EC, electronic devices must be disposed of in
dedicated facilities and not in the collection of municipal solid waste.
Copyright
HORIZONE SERVER technical instructions, manuals and software are subject to copyright; all rights
are reserved. Copying, reproduction, translation and/or modification, even partial, are expressly
prohibited unless approved in writing by Eelectron SpA.

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
5/22
INTRODUCTION
Introduction
HORIZONE can use the Modbus RTU and Modbus TCP/IP protocol to supervise one or more slave
devices, connected via both RS485 and network connection.
Once communication logs are configured with a Modbus slave device, they can be managed as
objects on the supervision pages or associated with other objects using logic.
Purpose of this document
This manual contains all the information you need to install, configure and use the specific features
of Modbus technology in the HORIZONE SERVER. It is aimed primarily at installers, but can also
be a useful guide for end users who are interested in customising the supervision features of their
building automation system.
It assumes a good knowledge of the Modbus protocol, the related devices to be supervised and
controlled on the system and HORIZONE; many sections of this document refer to general concepts
of supervision that can be explored in the general product INSTALLATION MANUAL.
For more information on the Modbus protocol, please consult the following page:
http://www.modbus.org/tech.php
Requirements
You must have the following in order to manage an integration of Modbus devices with HORIZONE:
● A HORIZONE SERVER
● MODBUS module activation license
To enter the activation license:
● Log on to HORIZONE SERVER administration
● Select “SETUP” from the side menu, then “MANAGE MODULES AND LICENSES”
● Identify “ACCESS CONTROL” and enter the activation code

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
6/22
● Press the “SAVE” button and wait for the page to reload
Refer to the INSTALLATION MANUAL for further details.

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
7/22
CONNECTION
Modbus RTU
To manage a device operating with MODBUS RTU protocol, simply connect it to the RS485 port
integrated into HORIZONE SERVER, respecting the polarity indicated on both the webserver and
the device.
Alternatively, you can use the RS232 port or one of the USB ports, using an RS485 adapter.
Modbus TCP
Interfacing with a device operating on MODBUS TCP protocol requires it be connected to the same
LAN as the webserver and for the two to be able to dialogue on the communication port of the
protocol, typically port 502.
Preliminary operations
Before starting the configuration of a Modbus device in HORIZONE SERVER, it is necessary to
obtain the table (or “mapping”) of the read and/or write logs. You will be able to identify the useful
information in it to make the HORIZONE communicate with the device, including the fundamental
information you need to know before proceeding with the integration:

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
8/22
COMMUNICATION
PARAMETERS
They vary depending on the type of protocol used by the Modbus
device.
In the case of Modbus RTU, the entries are as follows:
- Baud rate
- Parity
- Data bit
- Stop bit
- Communication mode (RS232 or RS485)
With the Modbus TCP, you need to know:
- IP Address
- Port
SLAVE ADDRESS
Each Modbus peripheral, whether communicating via RTU or
TCP, has a unique address on the network.
Unless the manufacturer specifies it, you can change it. The
procedure to follow is specified in the manual and is usually
performed through pre-configuration software of the device or
via hardware with dedicated switches. Eligible addresses on a
Modbus network range from 1 to 247. The Master device of the
line, which in our case will always be HORIZONE, does not need
an address for communication while address 0 is reserved for
“broadcast” messages

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
9/22
FUNCTIONS
In the Modbus, the “Function” entry indicates the second byte of
a message. It is sent by the Master and indicates which table of
Slave logs must be entered to access the data and whether a
read or a write operation should be performed.
Read functions:
FC 01: Read coil status
FC 02: Read input status
FC 03: Read holding register
FC 04: Read input registers
Write functions:
FC 05: Force single coil
FC 06: Preset single register
FC 15: Force multiple coils
FC 16: Preset multiple registers
It is essential to know each device registry on the network with
which Modbus function must be written and read in order to
access the correct data; as with other information, this is also
contained in the device manuals.
REGISTERS
A register contains the data to be read and/or written with
HORIZONE. Each device has a mapping that identifies each
register and declares its contents: a register, for example, may
contain a temperature value, an on/off command or an alarm
signal.
As you can see below, the logs will be the “objects” available to
the user on the supervision page in order to interact with the
device through the Modbus, whether they are read, write or both.
Since they are HORIZONE objects, they can be used for each
of the server functions: schedules, logics, conditions, composite
objects, etc.
For more information, consult the HORIZONE configuration
manual.

Eelectron Spa
IN00B02WEBFI00060134_MODBUS_MANUAL_IT
10/22
DATA TYPES
Indicates the set of values for each register that the variable can
assume and the operations that can be performed on it. For
example, you can only perform simple arithmetic operations on
integers on an integer log (INT).
The device logs table also mainly shows the type of encoding
needed to interpret the value.
Once you have obtained all of the above information about the Modbus device, it is recommended
that you test write and read with Modbus software from your PC. This step allows you to get in-depth
information about the device function by performing a test bench before proceeding with integration
with HORIZONE.
All you need to do is install the Modbus Master software on your PC and connect it with a serial
cable or network cable to the device, depending on whether the protocol is Modbus RTU or TCP, in
order to access the device and its registers. This will allow you to test all the key aspects that will
allow integration: communication parameters, addresses, functions, registers and data types. Once
you have succeeded in interacting with the Modbus device, resolving any problems encountered,
integration on HORIZONE will be easier and faster.
Obviously, this procedure must be followed for each device that you want to insert into a HORIZONE
line.
You can find lots of free Modbus Master programs on the internet; we recommend the following:
http://www.modbustools.com/modbus_poll.html (30 days free trial)
https://oceancontrols.com.au/OCS-011.html
http://www.qmodbus.sourceforge.net/
After obtaining all the information required to integrate one or more Modbus devices with the
HORIZONE and performing the communication, write and read tests, you can proceed to create the
HORIZONE registers.
Autres manuels pour HORIZONE
1
Ce manuel convient aux modèles suivants
1
Table des matières
Autres manuels Eelectron Serveur

Eelectron
Eelectron IN00B02WEB Manuel utilisateur

Eelectron
Eelectron IN00B02WEB Manuel utilisateur

Eelectron
Eelectron IN00B02WEB Feuille d'instructions

Eelectron
Eelectron HORIZONE Manuel de formation

Eelectron
Eelectron Horizone Mini IN00M02WEB Manuel utilisateur

Eelectron
Eelectron Horizone Mini IN00M02WEB Manuel utilisateur

















