Instructions

4 Configuration and programming
9
akytec GmbH - Vahrenwalder Str. 269 A - 30179 Hannover - Germany Tel.: +49 (0) 511 16 59 672–0 - www.akytec.de
The device can be used as master or slave. For further information about Modbus working and
RS485 interface configuration see ALP HELP.
4.4.1 Master mode
There can be only one master in Modbus network.
The following request methods are supported:
read by time using the parameter of master Interval between requests
write by change (default)
read / write by event
PR100 as a master can control up to 16 slaves. Each slave can maintain up to 256 variables.
It is allowed to use the same name and the same address for different slaves.
4.4.2 Slave mode
Following functions are supported:
01 (0x01) Read Coils
02 (0x02) Read Discrete Inputs
03 (0x03) Read Holding Registers
04 (0x04) Read Input Registers
05 (0x05) Write Single Coil
06 (0x06) Write Single Register
15 (0x0F) Write Multiple Coils
16 (0x10) Write Multiple Registers
To read the separate bits of a bitmask, use the functions 0x03 and 0x01. To calculate the bit number
to be requested, multiply the bit mask register number by 16 and add the desired bit number within
the mask.
Data types:
BOOL one bit
UINT16 2 Byte unsigned integer
REAL32 4 Byte float (byte order 2143)
Available Modbus registers are listed in Table 4.1.
Tabelle 4.1 Modbus registers
Parameter
Data type
Modbus
function
Address (hex)
Address
(dec)
Ac-
cess
DI1…DI8 status
bitmask
BOOL
0x01, 0x02
0x1000 0x1007 4096 4103 R
INT
0x03, 0x04
0x0100 256 R
AI1 REAL REAL32
0x03, 0x04 0x0B00, 0x0B01 2816, 2817
R
AI2 REAL REAL32
0x03, 0x04 0x0B02, 0x0B03 2818, 2819
R
AI3 REAL REAL32
0x03, 0x04 0x0B04, 0x0B05 2820, 2821
R
AI4 REAL REAL32
0x03, 0x04 0x0B06, 0x0B07 2822, 2823
R
AI1 INT UINT16
0x03, 0x04
0x0B80 2944 R
AI2 INT UINT16
0x03, 0x04
0x0B81 2945 R
AI3 INT UINT16
0x03, 0x04
0x0B82 2946 R
AI4 INT UINT16
0x03, 0x04
0x0B83 2947 R
AI1 DP INT UINT16
0x03, 0x04
0x0BC0 3008 R
AI2 DP INT UINT16
0x03, 0x04
0x0BC1 3009 R
AI3 DP INT UINT16
0x03, 0x04
0x0BC2 3010 R
AI4 DP INT UINT16
0x03, 0x04
0x0BC3 3011 R
AI1 status (digital
mode)
BOOL
0x01, 0x02
0x1010 4112 R
AI2 status (digital
mode)
BOOL
0x01, 0x02
0x1011 4113 R
AI3 status (digital
mode)
BOOL
0x01, 0x02
0x1012 4114 R