![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262325.webp)
14-47
14 Serial Communications
CP2E CPU Unit Software User’s Manual(W614)
1
4
-7 Mo
db
us-
R
T
U Sla
ve F
unc
tion
14
14-7-5 C
ommand and R
espo
nse D
etails
Example: Reading 3 words from D1000 to D1002
Command (Modbus-RTU Master)
Response (CP2E)
z
Write a word in the Data Memory (D) (Write Single Register)
Command (Modbus-RTU Master)
Response (CP2E)
Field name
Data
Field name
Data
Function code
0
3
Hex
Function code
0
3
Hex
Register starting address
(H)
0
3
Hex
Byte count
06 Hex
Register starting address
(L)
E
8
Hex
(D1000~)
Register value (H)
AB Hex
(D1000 H)
Quantity of Registers (H)
00 Hex
Register value (L)
12 Hex
(D1000 L)
Quantity of Registers (L)
0
3
Hex (
3
CH)
(D1000 to D1002)
Register value (H)
56 Hex
(D1001 H)
Register value (L)
7
8
Hex
(D1001 L)
Register value (H)
97 Hex
(D1002 H)
Register value (L)
1
3
Hex
(D1002 L)
Field name
Data length
Data
Function code
1 byte
06 Hex
Register address
2 bytes
E
-type: 0 to 0FFF Hex (D0 to D4095)
S
-type: 0 to 1FFF Hex (D0 to D
8
191)
N
-type: 0 to
3
FFF Hex (D0 to D16
383
)
Register value
2 bytes
0000 to FFFF Hex
Field name
Data length
Data
Function code
1 byte
06 Hex
Register address
2 bytes
E
-type: 0 to 0FFF Hex (D0 to D4095)
S
-type: 0 to 1FFF Hex (D0 to D
8
191)
N
-type: 0 to
3
FFF Hex (D0 to D16
383
)
Register value
2 bytes
0000 to FFFF Hex
DM
1000
1001
1002
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
A
B
1
2
5
6
7
8
9
7
1
3
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......