Omron CJ1W-SCU32 Operation Manual page 256

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

7 Using Modbus-RTU Slave Mode
Device variable for CJ-series Unit
Port 1
*_P1_BaudrateCfg
*_P2_BaudrateCfg
*_P1_MbsSlavAdrCfg
*_P2_MbsSlavAdrCfg
*_P1_MbsCoilsAreaCfg *_P2_MbsCoilsAreaCf
g
*_P1_MbsRegAreaCfg
*_P2_MbsRegAreaCfg WORD
*_P1_MbsInRegAre
aCfg
*_P1_MbsHdRegAre
aCfg
* When default settings are specified, settings of the Baud Rate, Parity Yes/No and Parity Even/Odd settings are disabled. To
specify settings other than the default settings, apply user settings.
The default settings are Baud Rate: 19,200 bps, Data Length: 8 bits, Parity: Even, and Stop Bits: 1 bit.
7-6
Type
Port 2
USINT
USINT
BYTE
*_P2_MbsInRegAre
BYTE
aCfg
*_P2_MbsHdRegAr
BYTE
eaCfg
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
R/W
Name
RW
Baud Rate
0: 19,200
(unit: bps)
3: 1,200
4: 2,400
5: 4,800
6: 9,600
7: 19,200
8: 38,400
9: 57,600
10: 115,200
11: 230,400
Default: 0
RW
Modbus-
Range: 1 to 247
RTU Slave
Default: 0
Address
RW
Coils Alloca-
16#00: CIO area (default)
tion Area
16#B0: CIO area
16#B1: Work area
16#B2: Holding area
16#B3: Auxiliary area
RW
MODBUS-
Bits 08 to 15: Input Registers Allo-
RTU Set-
cation Area
tings
Bits 00 to 07: Holding Registers
Allocation Area
RW
Input Regis-
16#00: CIO area (default)
ters Alloca-
16#B0: CIO area
tion Area
16#B1: Work area
16#B2: Holding area
16#B3: Auxiliary area
RW
Holding
16#00: DM area (default)
Registers
16#82: DM area
Allocation
16#50 to 5C: EM bank 0 to bank C
Area
16#A0 to AC: EM bank 0 to bank C
Function

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents