101
Modbus Slave (RTU Mode)
Section 11-1
11-1-2 Function Code Reference
Provide an interval of at least the time required for four characters between
messages with Modbus slave (RTU Mode).
Function Code 01: Read internal bit status
■
Commands
■
Responses
PT slave
address
Function
code
01 hex
First address,
upper byte
First address,
lower byte
No. of bits to
read,
upper byte
No. of bits 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
01 hex
Number of
bytes
Data byte 1
• • • • • • • • • •
Data byte n
Error check,
upper byte
Error check,
lower 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 01 hex.
First address
Specify the address of the first bit to read in hexadecimal.
For GR20, specify 00 hex, 20 hex.
No. of bits to read Specify the number of bits to read in hexadecimal.
For 37 bits, specify 00 hex, 25 hex.
Up to 2,040 bits can be specified. (Specify 07 hex, F8 hex.)
Number of data
bytes
The number of bytes from data byte 1 to data byte n is returned.
Byte 1 to n
The ON/OFF status of the coils starting from the first coil are
returned in units of 8 bits. LSB of byte 1 is the status of the first bit.
Status is returned in units of 8 bits. Bits in byte n that do not corre-
spond to specified bits will be returned as 0.
Error check
The CRC-16 values are sent and received.
Summary of Contents for NV3Q Series
Page 1: ...Cat No V105 E1 02 Programmable Terminals NV Series NV3W NV4W NV3Q HOST CONNECTION MANUAL ...
Page 2: ......
Page 3: ...NV Series NV3W NV4W NV3Q Programmable Terminals Produced December 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 16: ...xvi ...
Page 20: ...xx ...
Page 68: ...44 S7 200 Series Section 5 1 ...
Page 69: ...45 SECTION 6 Connecting to LG PLCs 6 1 MASKER K Cnet Series 46 6 1 1 Connection Method 46 ...
Page 72: ...48 MASKER K Cnet Series Section 6 1 ...
Page 76: ...52 FA M3 Series Section 7 1 ...
Page 110: ...86 Web Controller Series Section 9 3 ...
Page 120: ...96 Modbus RTU Mode Temperature Controller Section 10 3 ...
Page 142: ...118 Modbus Connections Section 12 5 ...
Page 144: ...120 Revision History ...