![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498272.webp)
7 Using Modbus-RTU Slave Mode
7-22
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
z
Response
z
Writing 3AC5 and 9713 Hex to 2 Words, DM1000 and DM1001
Length
Data
Function Code
1 byte
10 hex
Starting Address
2 bytes
0000 to 17FF hex
Quantity of Regis-
ters
2 bytes
0001 to 007B hex
Request
Response
Data
Data
Function Code
10 hex
Function Code
10 hex
Starting Address (H)
03 hex
Starting Address (H)
03 hex
Starting Address (L)
E8 hex
Starting Address (L)
E8 hex
Quantity of Registers (H)
00 hex
Quantity of Registers (H)
00 hex
Quantity of Registers (L)
02 hex
Quantity of Registers (L)
02 hex
Byte Count
04 hex
Registers Value (H)
3A hex
Registers Value (L)
C5 hex
Registers Value (H)
97 hex
Registers Value (L)
13 hex
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DM1000
3
A
C
5
DM1001
9
7
1
3
Error Format
Length
Data
Function Code
1 byte
Function code + 80 hex
Exception Code
1 byte
Error code
Error
code
Name
Description
01
Illegal function
•
There is an error in the specified function code.
•
A function code not supported by the Serial Com-
munications Unit was specified.
02
Illegal data address
•
There is an error in the specified starting address.
•
The combination of the specified starting address
and data length (quantity of registers/coils)
exceeds the valid range.
•
The specified data length (quantity of regis-
ters/coils) exceeds the valid range.
•
The specified data length (quantity of regis-
ters/coils) differs from the actual data length.
•
Less than 4 bytes of data was received.
03
Illegal data value
•
There is an error in the specified data. (The data
for the Write Single Coil Command is not 0000 hex
or FF00 hex.)
04
Slave device failure
•
Reading or writing could not be performed
because an error occurred in the CPU Unit.
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...