iSMA iSMA-B-AAC20 Manuale utente

iSMA-B-AAC20
User Manual
Sedona Modbus
Global Control 5 Sp. z o.o.
Warsaw, Poland
www.gc5.pl

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 2/ 55
Table of contents
1Introduction............................................................................................................................... 4
1.1 Revision history ................................................................................................................ 4
2Sedona Modbus....................................................................................................................... 4
3Installing iSMA Modbus kits.................................................................................................. 7
4Modbus Async Network kit.................................................................................................... 8
4.1 Modbus Async license and limitation .......................................................................... 8
4.2 Modbus Async Network.................................................................................................. 8
4.3 Modbus Async Device...................................................................................................11
4.4 Modbus data points....................................................................................................... 13
4.4.1 Modbus Async Boolean Point .........................................................................13
4.4.2 Modbus Async Boolean Writable.................................................................... 14
4.4.3 Modbus Async Numeric Point.........................................................................16
4.4.4 Modbus Async Numeric Writable ...................................................................17
4.4.5 Modbus Async Numeric Multi Point .............................................................. 19
4.5 Modbus folder.................................................................................................................20
5Modbus TCP Network kit .....................................................................................................21
5.1 Modbus TCP license and limitation............................................................................21
5.2 Modbus TCP Network ...................................................................................................21
5.3 Modbus TCP Device.......................................................................................................23
5.4 Modbus TCP data points ..............................................................................................25
5.4.1 Modbus TCP Boolean Point .............................................................................25
5.4.2 Modbus TCP Boolean Writable .......................................................................27
5.4.3 Modbus TCP Numeric Point ............................................................................28
5.4.4 Modbus TCP Numeric Writable.......................................................................30
5.4.5 Modbus TCP Numeric Multi Point..................................................................31
5.5 Modbus folder.................................................................................................................33
6Modbus TCP Slave Network kit (IP Module) ....................................................................34
6.1 Modbus TCP Slave Network ........................................................................................35
6.2 Modbus TCP Slave data points ...................................................................................35
6.2.1 Boolean Value.....................................................................................................36
6.2.2 Numeric Value ....................................................................................................37
6.3 Modbus Folder................................................................................................................39
6.4 Modbus RS 485 Slave Device (COM1) .......................................................................40
6.4.1 Modbus Slave COM1 wiring.............................................................................40
7Gateway mode .......................................................................................................................42
8iSMA Module...........................................................................................................................43
8.1 iSMA Device.....................................................................................................................44
8.2 iSMA Device config component ..................................................................................44
8.3 iSMA IO components.....................................................................................................45
8.3.1 DI components ...................................................................................................45

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 3/ 55
8.3.2 DO components ................................................................................................. 46
8.3.3 UI components ...................................................................................................47
8.3.4 AO components..................................................................................................48
8.3.5 iSMA Folder......................................................................................................... 49
9iSMA-B-AAC20 Modbus table..............................................................................................50

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 4/ 55
1Introduction
This manual contains information about Modbus protocols in iSMA-B-AAC20 controller.
The iSMA-B-AAC20 controller support following types of Modbus:
•Modbus ASCII/RTU
•Modbud TCP
•Modbus TCP Slave
1.1Revision history
Rev
Date
Description
1.0
28.08.2015
•First edition
1.3
20.04.2017
•Added Modbus type of registers addressing in Modbus TCP Slave
•Added information about accuracy increasing and Resistance
Register multiply in PT1000 or NI1000 input working type
2Sedona Modbus
The Modbus protocol defines a message structure and format used in communication
transactions. Modbus devices communicate using a master-slave method, in which only the
master device can initiate a communications transaction. There can be only one master
device on a Modbus network. All other devices must be Modbus Slaves.
WARNING! Before programming Modbus kits, please check if the latest kit version is used.
The latest kits are available on GC5 support website: www.support.gc5.pl
Modbus registers
A Modbus device holds transient (real-time) data and often persistent (configuration) data in
addressable registers. Here, the term “registers” implies all addressable data, but this is a loose
interpretation. Using Modbus nomenclature, all accessible data in a Modbus Slave is
contained in the following four available groups of data flags and registers (including the
Modbus Master access that is possible):

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 5/ 55
Coil status - Or simply “coils”: single-bit flags that represent the status of Digital (Boolean)
Outputs of the slave, that is, On/Off output status. A Modbus Master can both read from
and write to coils.
Input status - Or simply “inputs”: single-bit flags that represent the status of Digital (Boolean)
Inputs of the slave, that is, On/Off output status. A Modbus Master can read (only) inputs.
Input register - Are 16-bit registers that store data collected from the field by the Modbus
Slave. The Modbus Master can read (only) input registers.
Holding register - Are 16-bit registers that store general-purpose data in the Modbus Slave.
The Modbus Master can both read from and write to input registers.

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 6/ 55
Modbus data addresses
A Modbus device is not required to contain all four groups of data. For example, a metering
device may contain only holding registers. However, for each data group implemented, an
“address convention” is used. The requests for data (made to a device) must specify a data
address (and range) of interest.
Modbus data in a device is addressed as follows:
Coils —Addressed at 00000 —0nnnn decimal, or “0x” addresses,
Inputs —Addressed at 10000 —1nnnn decimal, or “1x” addresses,
Input Registers—Addressed at 30000 —3nnnn decimal, or “3x” addresses,
Holding Registers —Addressed at 40000 —4nnnn decimal, or “4x” addresses.
Note: the data addressing (at least in decimal and hex formats) is zero-based, where the first
instance of a data item, for example coil 1, is addressed as item number 0. As another
example, holding register 108 is addressed as 107 decimal or 006B hex.

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 7/ 55
3Installing iSMA Modbus kits
There are 4 Modbus kits in iSMA-B-AAC20 controller:
iSMA Modbus Async Network - to serve Modbus RS485 Master port of the iSMA-B-AAC20
controller,
iSMA Modules - extension of Modbus Async Netwok to serve iSMA MIX, Wireless and MINI
devices using Modbus Async protocol,
iSMA Modbus TCP Network - to serve Modbus TCP Master of the iSMA-B-AAC20 device using
IP connection,
iSMA Modbus TCP Slave Network - to serve Modbus TCP Slave of the iSMA-B-AAC20
controller using IP connection.
To install Modbus kits, import the kits to the WorkPlace software (possibly as part of the
package of various kits in a zip file). To do this, use an application from the Tools menu ->
Sedona Installer.
After successful import of the files, upload the files to your device using the Kit Manager
Application from the Sedona Tools package.
WARNING! Before programming Modbus Network, please check if the latest kit version is
used. The latest kits are available on GC5 support website: www.support.gc5.pl
Figure 1 –Sedona Installer

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 8/ 55
4Modbus Async Network kit
This section provides a collection of procedures to use the iSMA-B-AAC20 Modbus drivers to
build networks of devices with Modbus points. The iSMA-B-AAC20 controller has one RS485
port which can be used as a Modbus RTU / ASCII Master.
Modbus Async Network kit consists of 4 types of components:
Modbus Network,
Modbus Device,
Modbus Data Points,
Modbus Points folder.
4.1 Modbus Async license and limitation
In standard license, there are available 500 data points and this number cannot be expanded.
Number of available points is shown in ModbusAsyncNetwork component in slot Free Points.
WARNING! Each device and data point is counted as one point. For example to read 7 data
points from 15 devices: Points number = 15 *(1 + 7) = 105
4.2 Modbus Async Network
Modbus Network is a main component which is responsible for servicing RS485 COM2
physical port. The component must be placed under Drivers folder. Modbus Network sets
parameters such as communication baud rate and data format, testing etc. and keeps
statistic.
The component has the following actions available under the right mouse button:
Reset Statistic –Reset network statistic value and stat counting from the beginning,
Enable/Disable –switch on/off Modbus Network.

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 9/ 55
Figure 2 –Modbus Async Network component
Modbus Async Network component has the following slots:
Status –Network status, available states:
OK –Network is working properly,
Disabled –Network is disable (Slot “Enable” is in false),
OK some device/point down –error in device or points.
Fault Cause –Fault cause description,
Enable –this option switch on or switch off Modbus Network
(„true”- Network enable, „false”- Network disable),
Steady Time –Network start up delay time after power up or reset,
Baud Rate –Modbus RS485 port baud rate, available options:
2400, 4800, 9600, 19200, 38400, 57600, 115200 bps,
Stop Bits –Stop bit definition, available options: 1-bit, 2-bits,
Data Bits –Data bits definition, available options: 7-bits or 8-bits,
Parity –Parity bit definition, available options: None, Odd, Even, Always1, Always0,
Modbus Type –Modbus type definition , available options: RTU or ASCII,
Ping Enable –Enable devices connection testing function,
Ping Frequency –Time between testing message to check device connection,
Down Frequency –Time between testing message for devices or points which have got
status down,

iSMA-B-AAC20/Sedona Modbus
Version 1.3 www.gc5.pl Page 10 / 55
Write On Start –Do write action in device „Writable” components in Modbus Network after
reset or power up,
Write On Up - Do write action in device „Writable” components in Modbus Network after
restore the connection with Modbus device,
Write On Enable - Do write action in device „Writable” components in Modbus Network after
enable the device,
Fast Rate –Time between messages in „Fast” mode poll frequency,
Normal Rate –Time between messages in „Normal” mode poll frequency,
Slow Rate –Time between messages in „Slow” mode poll frequency,
Average Poll Time –Average time for sending/receive one message,
Busy Time –Percentage of Modbus Network usage,
Total Polls –Total number of messages,
Fast Polls –Number of messages in sending „Fast” mode,
Normal Polls –Number of messages in sending „Normal” mode,
Slow Polls –Number of messages in sending „Slow” mode,
Timeouts –Number of lost messages, difference between sending and receive messages,
Errors –Number of error messages (for example with wrong CRC)
Free points –Number of available physical points in Modbus Network.
Altri manuali per iSMA-B-AAC20
3
Indice
Altri manuali iSMA Controllori

iSMA
iSMA B-AAC20D Manuale utente

iSMA
iSMA SMA-B-LP Manuale utente

iSMA
iSMA iSMA-B-MAC36NL Manuale di installazione

iSMA
iSMA iSMA-B-MAC36NL Manuale utente

iSMA
iSMA iSMA-B-MAC36NL Manuale utente

iSMA
iSMA MVE2 Series Manuale utente

iSMA
iSMA iSMA-B-AAC20 Manuale utente

iSMA
iSMA iSMA-B-MAC36NL Manuale utente

iSMA
iSMA iSMA-B-FCU Series Manuale utente

iSMA
iSMA B-AAC20 Manuale utente




















