14 Serial Communications
14-46
CP2E CPU Unit Software User’s Manual(W614)
Example: Reading 19 bits from W1.04 to W2.06
Command (Modbus-RTU Master)
Response (CP2E)
* The remaining bits less than one byte will be read as 0.
Note
The subscript numbers in the shaded boxes indicate the ON/OFF (1/0) status of the bits that are read.
z
Read Multiple Words from the Data Memory (D) (Read Holding Registers)
Command (Modbus-RTU Master)
Note
The maximum number of coils depends on the assigned starting address.
Response (CP2E)
Field name
Data
Field name
Data
Function code
01 Hex
Function code
01 Hex
Coil starting address (H)
00 Hex
Byte count
0
3
Hex
Coil starting address (L)
14 Hex
(20 bits W1.04~)
Coil status 27 to 20
CD Hex
(W1.11 to W1.04)
Quantity of coils (H)
00 Hex
Coil status
3
5 to 2
8
B6 Hex
(W2.0
3
to W1.12)
Quantity of coils (L)
1
3
Hex (19 bits)
(W1.04 to W2.06)
Coil status
38
to
3
6
05 Hex*
(W
3
.06 to W
3
.04)
Field name
Data length
Data
Function code
1 byte
0
3
Hex
Register 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
1 to 7D Hex (1 to 125)
Field name
Data length
Data
Function code
1 byte
0
3
Hex
Byte count
1 byte
2
×
N (N: Quantity of registers)
Register value
2
×
N bytes
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
63
62
61
60
59
58
57
56
55
47
46
45
44
43
42
41
40
39
54
53
52
51
50
49
48
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
38
37
36
35
34
33
32
1
0
1
1
1
1
0
0
1
0
1
0
0
0
1
1
1
1
0
0CH
1CH
2CH
3CH
Содержание 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: ......