![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262293.webp)
14-15
14 Serial Communications
CP2E CPU Unit Software User’s Manual(W614)
14-4
Modb
u
s
-R
TU Easy
Master F
unc
tion
14
14-4-
3
Sett
ing an
d W
o
rd Allocation
DM fixed allocation words and Auxiliary Area words are allocated for the Modbus-RTU Easy Master
according to the CPU Unit type and connected port as shown below.
z
DM Fixed Allocation Words
14-4-3 Setting and Word Allocation
CP2E CPU Unit serial port
DM fixed allocation words
Auxiliary Area bits
CP2E E
-type CPU
Unit
Built-in RS-2
3
2C port
D1200 to D1299
A640.00 to A640.02
CP2E S
-type CPU
Unit
Built-in RS-2
3
2C port
D1200 to D1299
A640.00 to A640.02
Built-in RS-4
8
5 port
D1
3
00 to D1
3
99
A641.00 to A641.02
CP2E N14/20 CPU
Unit
Serial Port 1
D1200 to D1299
A640.00 to A640.02
Serial Port 1 (EX)
D1400 to D1499
A6
38
.00 to A6
38
.02
CP2E N
3
0/40/60 CPU
Unit
Serial Port 1
D1200 to D1299
A640.00 to A640.02
Serial Port 2
D1
3
00 to D1
3
99
A641.00 to A641.02
Serial Port 1 (EX)
D1400 to D1499
A6
38
.00 to A6
38
.02
Word
Bits
Contents
Built-in RS232C
port of CP2E
E/S
-type
CPU Unit or
Serial Port 1 of
CP2E N
-type
CPU Unit
Built-in RS-485
port of CP2E
S
-type CPU
Unit or Serial
Port 2 of CP2E
N30/40/60 CPU
Unit
Serial Port 1
(EX) of CP2E
N
-type CPU
Unit
D1200
D1
3
00
D1400
00 to 07
Command
Slave address (00 to F7 hex)
0
8
to 15
Reserved (Always 00 hex.)
D1201
D1
3
01
D1401
00 to 07
Function code
0
8
to 15
Reserved (Always 00 hex.)
D1202
D1
3
02
D1402
00 to 15
Number of communications
data bytes (0000 to 005E hex)
D120
3
to D1249
D1
3
0
3
to D1
3
49
D140
3
to D1449
00 to 15
Communications data (94
bytes maximum)
D1250
D1
3
50
D1450
00 to 07
Response
Slave address (01 to F7 hex)
0
8
to 15
Reserved (Always 00 hex.)
D1251
D1
3
51
D1451
00 to 07
Function code
0
8
to 15
Reserved
D1252
D1
3
52
D1452
00 to 07
Error code
(See error codes in the follow-
ing table. )
0
8
to 15
Reserved (Always 00 hex.)
D125
3
D1
3
5
3
D145
3
00 to 15
Number of response bytes
(0000 to 0
3
EA hex)
D1254 to D1299
D1
3
54 to D1
3
99
D1454 to D1499
00 to 15
Response data (92 bytes
maximum)
Содержание 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: ......