![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262326.webp)
14 Serial Communications
14-48
CP2E CPU Unit Software User’s Manual(W614)
Example: Writing 3AC5 Hex to D2000
Command (Modbus-RTU Master)
Response (CP2E)
z
Write Multiple Bits in the Auxiliary Area (W) (Write Multiple Coils)
Command (Modbus-RTU Master)
Response (CP2E)
Field name
Data
Field name
Data
Function code
06 Hex
Function code
06 Hex
Register address (H)
07 Hex
Register address (H)
07 Hex
Register address (L)
D0 Hex
(D2000)
Register address (L)
D0 Hex
Register value (H)
3
A Hex
Register value (H)
3
A Hex
(D1000 H)
Register value (L)
C5 Hex
Register value (L)
C5 Hex
(D1000 L)
Field name
Data length
Data
Function code
1 byte
0F Hex
Starting address
2 bytes
0 to 07FF Hex (0 to 2047)
W0.00 to W127.15
Quantity of output
2 bytes
0001 to 07B0 Hex (1 to 196
8
)
Byte count
1 byte
N = Quantity of output /
8
, if the remainder is not 0, N+1
Output value
N bytes
Field name
Data length
Data
Function code
1 byte
0F Hex
Starting address
2 bytes
0 to 07FF Hex (0 to 2047)
W0.00 to W127.15
Quantity of output
2 bytes
0001 to 07B0 Hex (1 to 196
8
)
DM
2000
2001
2002
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
3
A
C
5
Содержание 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: ......