69
9
RS-485 INTERFACE
69
R
S-
48
5
IN
TE
R
FA
C
E
Chapter
9
04 (0x04) Read input registers
Contents of slave input registers are read.
No broadcast can be specified.
Specify the input register start address and number of registers.
The slave transmits the contents of one register as expanded in double bytes.
* N = Number of registers
Example) Read the contents of gross weight (address 30003 - 30004).
Keep in mind that the relative address for reading the gross weight value is 0x02.
The example shows the case where the indicated value of the F701-P is as follows:
* In function code 04, if the lower word in the 32-bit wide integer data area is designated at the
start address, or the higher word in the 32-bit wide integer data area is designated at the end of
the start a number of registers, results in lower word or higher word alone.
[Request]
Function
1
byte
0x04
Start address
2
byte
s
0x0000 - 0xFFFF
Number of registers
2
byte
s
1 - 125 (0x7D)
[Response]
Function
1
byte
0x04
Number of data bytes
1
byte
2×N
*
Register value
N×2
byte
s
[Error response]
Error code
1
byte
0x84 (fu 0x80)
Exception code
1
byte
01 or 02 or 03
[Request]
Function
04
[Response]
Function
04
Start address; higher
00
Number of data bytes
04
Start address; lower
02
Gross weight
(higher) (higher)
20
Number of registers; higher
00
Gross weight
(higher) (lower)
00
Number of registers; lower
02
Gross weight
(lower) (higher)
25
Gross weight
(lower) (lower)
1C
Weight status
Code
OFF (0)
Unused
OFF (0)
Unused
OFF (0)
OVER
OFF (0)
1/4 sale division
▼
OFF (0)
CZ
ON (1)
1/4 scale division
▲
OFF (0)
True CZ
OFF (0)
Weight data: 9500 (0x251C)
Summary of Contents for F701-P
Page 1: ...01AUG2020REV 1 07 WEIGHING INDICATOR F701 P OPERATION MANUAL...
Page 11: ...Contents X Contents X M E M O...
Page 116: ......