
13
3.3. Writing in n-registers (code 16)
Demand:
The function is accessible in broadcast mode. It enables the
modification of the register contents. The maximal number of
registers read out by one command is 128 for RE15 controller.
Example:
Writing of two registers beginning from the register
addressed 136.
Address Function Regist. Regist. Number Number Number Data Data Data Data Checksum
address address
of
of
of
Hi
Lo
Hi
Lo
Hi
Lo
regist.
regist.
bytes
Hi
Lo
11
10
00
87
00
02
04
00
0A
01
02
45
Answer:
The correct answer includes the unit slave address, function code,
starting address and the number of recorded registers.
Example:
Address
Function
Register
Register
Number of
Number of
Checksum
address Hi address Lo
registers Hi
registers Lo
11
10
00
87
00
02
56
LRC
3.4. Report identifying the device (code 17)
Demand:
This function enables the user to obtain information about the device
type, status and configuration depending on this.
Example:
Address Function
Checksum
11
11
DE
LRC
Answer:
The field ,,Device identifier in the answer frame means the unique
identifier of this class of device, however the other fields include
LRC
Summary of Contents for RE15
Page 1: ...1 USER S MANUAL SERIAL INTERFACE WITH MODBUS PROTOCOL MICROPROCESSOR CONTROLLER RE15...
Page 2: ...2...
Page 27: ...27...