![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262327.webp)
14-49
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: Writing 10 bits (xxxx xx11 1100 1101) from W1.04 to W1.13
Command (Modbus-RTU Master)
Response (CP2E)
Note
The subscript numbers in the shaded boxes indicate the ON/OFF (1/0) status of the bits that are written.
Other bits in the same word are set to 0.
z
Write Multiple Words in the Data Memory (D) (Write Multiple Registers)
Command (Modbus-RTU Master)
Response (CP2E)
Field name
Data
Field name
Data
Function code
06 Hex
Function code
0F Hex
Starting address (H)
00 Hex
Starting address (H)
00 Hex
Starting address (L)
14 Hex
(W1.04~)
Starting address (L)
14 Hex
Quantity of output (H)
00 Hex
Quantity of output (H)
00 Hex
Quantity of output (L)
0A Hex
(10 bits)
Quantity of output (L)
0A Hex
Byte count
02 Hex
Output value(H)
3
A Hex
Output value(L)
01 Hex
Field name
Data length
Data
Function code
1 byte
10 Hex
Starting 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
)
Quantity of registers
2 bytes
0001 to 07B Hex (1 to 12
3
)
Byte count
1 byte
2
×
N (N: Quantity of registers)
Registers value
2
×
N bytes
Field name
Data length
Data
Function code
1 byte
10 Hex
Starting address
2 bytes
0 to 7FF Hex (0 to 2047)
W0.00 to W127.15
Quantity of registers
2 bytes
0001~07BHex (1~12
3
)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
0
0
1
0
0
1
1
1
0
1
0
0
0
0
0
0CH
1CH
Содержание 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: ......