74
9
RS-485 INTERFACE
74
R
S-4
85
IN
TE
R
FA
C
E
Chapter
9
Example 2) Change the upper limit (address 40001 - 40002) to 99999 (0x0001869F) and
the lower limit (address 40003 - 40004) to 5000 (0x00001388) in the 32-bit
wide integer data area.
Keep in mind that the relative address for writing in upper limit is 0x00.
* In function code 16, 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, an error response is returned.
11 (0x0B) Get comm event counter
The event counter is incremented by one each time each slave processes a request.
It is not incremented if there is an error in any frame or by reading other counters.
With the master, whether or not processing is executed can be judged by reading this counter before
and after the request.
As status, 0x0000 (slave is not busy) is always returned.
Example) Read the event counter.
The example shows the case of 264 (0x0108) commands having been processed so far in a not-
busy state (0x0000).
[Request]
Function
10
[Response]
Function
10
Start address; higher
00
Start address; higher
00
Start address; lower
00
Start address; lower
00
Register; higher
00
Register; higher
00
Register; lower
04
Register; lower
04
Number of data bytes
08
Upper limit (higher); higher
00
Upper limit (higher); lower
01
Upper limit (lower); higher
86
Upper limit (lower); lower
9F
Lower limit (higher); higher
00
Lower limit (higher); lower
00
Lower limit (lower); higher
13
Lower limit (lower); lower
88
[Request]
Function
1
byte
0x0B
[Response]
Function
1
byte
0x0B
Status
2
byte
s
0x0000
Event counter
2
byte
s
0x0000 - 0xFFFF
[Error response]
Error code
1
byte
0x8B (fu 0x80)
Exception code
1
byte
01
[Request]
Function
0B
[Response]
Function
0B
Status; higher
00
Status; lower
00
Event counter; higher
01
Event counter; lower
08
Содержание F701-P
Страница 1: ...01AUG2020REV 1 07 WEIGHING INDICATOR F701 P OPERATION MANUAL...
Страница 11: ...Contents X Contents X M E M O...
Страница 116: ......