7-5
7 Using Modbus-RTU Slave Mode
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
7-2 De
vic
e V
ariab
les f
o
r CJ-series Un
it an
d S
ystem-defi
n
ed
V
ariables (Mo
d
b
u
s-R
T
U Sla
ve Mo
de)
7
7-2
-1 De
vice V
ar
iab
le f
or CJ-ser
ies Unit f
or System
S
e
ttings
7-2
Device Variables for CJ-series Unit
and System-defined Variables
(Modbus-RTU Slave Mode)
This section describes the device variables for CJ-series Unit and system-defined variables used in the
Modbus-RTU Slave Mode.
The Serial Communications Unit uses the following device variables for CJ-series Unit to perform Sys-
tem Settings when Modbus-RTU Slave communications are used.
7-2-1
Device Variable for CJ-series Unit for System Settings
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_P1_PortCfg
*_P2_PortCfg
WORD
RW
Port Settings Bit 15: User-specified setting inclu-
sion (*)
Bits 08 to 11: Serial communica-
tions mode
(A hex: Modbus-RTU Slave)
Bit 01: Parity (Yes/No)
Bit 00: Parity (Even/Odd)
*_P1_SerSetCfg
*_P2_SerSetCfg
BOOL
RW
User-speci-
fied Setting
Inclusion
FALSE: Default
TRUE: User settings
Default: FALSE
There is no specific
device variable for
CJ-series Unit to ref-
erence the serial
communications
mode.
When you set this
setting, set to bits 08
to 11 of
*_P1_PortCfg.
There is no specific
device variable for
CJ-series Unit to
reference the serial
communications
mode.
When you set this
setting, set to bits
08 to 11 of
*_P2_PortCfg.
Bit string
RW
Serial Com-
munications
Mode
Serial communications mode
3 hex: No-protocol
6 hex: Protocol Macro
9 hex: Serial Gateway
A hex: Modbus-RTU Slave
F hex: Loopback Test
Default: 0
*_P1_ParityYNCfg
*_P2_ParityYNCfg
BOOL
RW
Parity
FALSE: Yes
TRUE: No
Default: FALSE
*_P1_ParityBitCfg
*_P2_ParityBitCfg
BOOL
RW
Parity
Even/Odd
FALSE: Even
TRUE: Odd
Default: FALSE
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...