107
Modbus Slave (RTU Mode)
Section 11-1
Function Code 10: Write multiple data registers
■
Commands
■
Responses
The response will be the command message with the data from the number of
bytes to register n removed.
PT slave
address
Function
code
10 hex
First address,
upper byte
First address,
lower byte
Number of
registers to
write,
upper byte
Number of
registers to
write,
lower byte
Number of
bytes
Register 1,
upper byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
Register 1,
lower byte
• • • • • • • • • •
Register n,
upper byte
Register n,
lower byte
Error check,
upper byte
Error check,
lower byte
1 byte
1 byte
1 byte
1 byte
1 byte
PT slave
address
Function
code
10 hex
First address,
upper byte
First address,
lower byte
Number of
registers to
write,
upper byte
Number of
registers to
write,
lower byte
Error check,
upper byte
Error check,
lower byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
Item
Function
PT slave address Specify the slave address of the PT to which to send the message.
For slave address 20, specify 14 hex.
Function code
Specify 10 hex.
First address
Specify the address of the first register to write in hexadecimal.
For GDT1230, specify 04 hex, CE hex.
Number of
registers to write
Send the number of data registers to write with the upper bytes
first, followed by the lower bytes. To write 20 registers, specify 00
hex, 14 hex.
Number of
bytes
Specify the number of bytes from register 1 to register n.
Register 1 to n
Send the data to write starting from the first data register with the
upper bytes first, followed by the lower bytes.
Error check
The CRC-16 values are sent and received.
Содержание NV3Q Series
Страница 1: ...Cat No V105 E1 02 Programmable Terminals NV Series NV3W NV4W NV3Q HOST CONNECTION MANUAL ...
Страница 2: ......
Страница 3: ...NV Series NV3W NV4W NV3Q Programmable Terminals Produced December 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 16: ...xvi ...
Страница 20: ...xx ...
Страница 68: ...44 S7 200 Series Section 5 1 ...
Страница 69: ...45 SECTION 6 Connecting to LG PLCs 6 1 MASKER K Cnet Series 46 6 1 1 Connection Method 46 ...
Страница 72: ...48 MASKER K Cnet Series Section 6 1 ...
Страница 76: ...52 FA M3 Series Section 7 1 ...
Страница 110: ...86 Web Controller Series Section 9 3 ...
Страница 120: ...96 Modbus RTU Mode Temperature Controller Section 10 3 ...
Страница 142: ...118 Modbus Connections Section 12 5 ...
Страница 144: ...120 Revision History ...