![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 307](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586307.webp)
278
Auxiliary Area and CIO Area Allocations (Modbus-RTU Slave Mode)
Section 9-3
Serial Communications
Mode
Set the serial communications mode to A hex to use Modbus-RTU Slave com-
munications.
Parity and Baud Rate
If user settings are specified for the port settings, the parity and baud rate
must be set.
Modbus-RTU Slave
Address
Set the Modbus-RTU slave address to between 1 and 247 (1 and F7 hex).
Allocation Areas for Coils, Input Registers, and Holding Registers
The I/O memory areas in the CS/CJ-series CPU Unit that correspond to the
Modbus Data Models (Coils, Input Registers, and Holding Registers) can be
set. The Discrete Inputs data model always accesses the CIO Area.
Note
1.
Bits in the following word addresses can be accessed in the CIO Area for
Coils: CIO 0 to CIO 4095
2.
An EM bank can be allocated to the Holding Registers by specifying a val-
ue from either 50 to 5C hex or A0 to AC hex (for EM bank 0 to C).
3.
Addresses in Modbus data models start from 1, but addresses specified in
Modbus-RTU commands and addresses in the CS/CJ-series CPU Unit
start from 0. Refer to the above table when specifying addresses in appli-
cations.
9-3
Auxiliary Area and CIO Area Allocations (Modbus-RTU
Slave Mode)
This section describes the bits and words used by the Serial Communications
Board and Serial Communications Units in the Auxiliary Area and the Status
Area allocated in the CIO Area. The Software Switches allocated in the CIO
Area are not used for Modbus-RTU Slave communications.
9-3-1
Auxiliary Area Allocations
Port 1 and Port 2 Port
Settings Change Bits
These bits can be turned ON from the program using the OUT or other
instructions to change communications settings and restart the Serial Com-
Modbus data model
Modbus address
Address specified in
commands
Corresponding CS/
CJ-series CPU Unit
address
Allocation area
setting (in DM Area
settings)
Discrete Inputs
1 to 5120
0 to 5119
CIO 0 to CIO 319
(bits 0 to 5119)
CIO Area (fixed: there
is no setting)
Coils
1 to 65536
0 to 65535
CIO 0 to CIO 4095
(bits 0 to 65535)
(See note.)
CIO Area (default)
1 to 8192
0 to 8191
W0 to W511
(bits 0 to 8191)
Work Area
1 to 8192
0 to 8191
H0 to H511
(bits 0 to 8191)
Holding Area
1 to 15360
0 to 15359
A0 to A959
(bits 0 to 15359)
Auxiliary Area
Input Registers
1 to 6144
0 to 6143
CIO 0 to CIO 6143
CIO Area (default)
1 to 512
0 to 511
W0 to W511
Work Area
1 to 512
0 to 511
H0 to H511
Holding Area
1 to 960
0 to 959
A0 to A959
Auxiliary Area
Holding Registers
1 to 32768
0 to 32767
D0 to D32767
DM Area (default)
1 to 32768
0 to 32767
E
@
_0 to E
@
_32767
DM Area bank
@
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...