103
Modbus Slave (RTU Mode)
Section 11-1
Function Code 04: Read holding register contents
■
Commands
■
Responses
PT slave
address
Function
code
04 hex
First address,
upper byte
First address,
lower byte
No. of regis-
ters to read,
upper byte
No. of regis-
ters to read,
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
PT slave
address
Function
code
04 hex
Number of
bytes
Register 1,
upper byte
Register 1,
lower byte
• • • • • • • • • •
Register n,
upper byte
Register n,
lower byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
Error check,
upper byte
Error check,
lower 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 04 hex.
First address
Specify the address of the first data register to read in hexadecimal.
For GDT108, specify 00 hex, 6C hex.
No. of registers to
read
Specify the number of data registers to read in hexadecimal.
For 5 registers, specify 00 hex, 05 hex.
Up to 127 registers can be specified. (Specify 00 hex, 7F hex.)
Number of
bytes
The number of bytes from register 1 to register n is returned.
Register 1 to n
The contents of the first data register is returned with the upper
byte first, followed by the lower byte. The contents of the specified
number of registers are returned.
Error check
The CRC-16 values are sent and received.
Additional Information
Different function codes are used to read holding registers and input registers
with Modbus communications. When reading internal memory in the PT, either
function code can be used. The same area will be read.
Содержание 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 ...