Auxiliary Area And Cio Area Allocations (Modbus-Rtu Slave Mode); Auxiliary Area Allocations - Omron SYSMAC CS1W-SCB41-V1 Operation Manual

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Auxiliary Area and CIO Area Allocations (Modbus-RTU Slave Mode)

Serial Communications
Mode
Parity and Baud Rate
Modbus-RTU Slave
Address
Allocation Areas for Coils, Input Registers, and Holding Registers
Modbus data model
Discrete Inputs
1 to 5120
Coils
1 to 65536
1 to 8192
1 to 8192
1 to 15360
Input Registers
1 to 6144
1 to 512
1 to 512
1 to 960
Holding Registers
1 to 32768
1 to 32768
Note
9-3
Auxiliary Area and CIO Area Allocations (Modbus-RTU
Slave Mode)
9-3-1

Auxiliary Area Allocations

Port 1 and Port 2 Port
Settings Change Bits
278
Set the serial communications mode to A hex to use Modbus-RTU Slave com-
munications.
If user settings are specified for the port settings, the parity and baud rate
must be set.
Set the Modbus-RTU slave address to between 1 and 247 (1 and F7 hex).
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.
Modbus address
Address specified in
0 to 5119
0 to 65535
0 to 8191
0 to 8191
0 to 15359
0 to 6143
0 to 511
0 to 511
0 to 959
0 to 32767
0 to 32767
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.
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.
These bits can be turned ON from the program using the OUT or other
instructions to change communications settings and restart the Serial Com-
Corresponding CS/
commands
CJ-series CPU Unit
address
CIO 0 to CIO 319
(bits 0 to 5119)
CIO 0 to CIO 4095
(bits 0 to 65535)
(See note.)
W0 to W511
(bits 0 to 8191)
H0 to H511
(bits 0 to 8191)
A0 to A959
(bits 0 to 15359)
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
D0 to D32767
E@_0 to E@_32767
Section 9-3
Allocation area
setting (in DM Area
settings)
CIO Area (fixed: there
is no setting)
CIO Area (default)
Work Area
Holding Area
Auxiliary Area
CIO Area (default)
Work Area
Holding Area
Auxiliary Area
DM Area (default)
DM Area bank @

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents