
6-5
6 No-protocol Mode
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
6-2
De
vice V
ariab
le
s f
o
r CJ-se
rie
s Unit and
System
-d
efin
ed V
ariab
les (No
-pr
o
to
col Mo
de)
6
6-2-1 De
vice
V
ar
iab
les f
or CJ-Ser
ies Unit
f
or System Set
tings
6-2
Device Variables for CJ-series Unit
and System-defined Variables
(No-protocol Mode)
This section explains the device variables for CJ-series Unit and system-defined variables used in the
No-protocol Mode.
Use the device variables for CJ-series Unit shown below to perform System Settings when you use the
Serial Communications Unit in No-protcol Mode.
6-2-1
Device Variables 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 Setting
Bit 15: User-specified set-
ting inclusion (*1)
Bits 08 to 11: Serial Com-
munications Mode (3hex:
No-protocol Mode)
Bit 04: Start bits
Bit 03: Data length
Bit 02: Stop bits
Bit 01: Parity (Yes/No)
Bit 00: Parity (Even/Odd)
*_P1_SerSetCfg
*_P2_SerSetCfg
BOOL
RW
User-specified
Setting Inclu-
sion
FALSE: Default
TRUE: User settings
Default: FALSE
There is no specific
device variable for CJ-
series Unit to reference
the serial communica-
tions mode.
When you configure
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 communica-
tions mode.
When you configure
this setting, set to bits
08 to 11 of *_P2 _
PortCfg.
Bit
string
RW
Serial Commu-
nications 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_StartBitCfg
*_P2_StartBitCfg
BOOL
RW
Start Bits
1 start bit is always used
regardless of whether the
setting is FALSE/TRUE.
FALSE: 1 bit
TRUE: 1 bit
Default: FALSE
*_P1_DatBitCfg
*_P2_DatBitCfg
BOOL
RW
Data Length
FALSE: 7 bits
TRUE: 8 bits
Default: FALSE
*_P1_StopBitCfg
*_P2_StopBitCfg
BOOL
RW
Stop Bits
FALSE: 2 bits
TRUE: 1 bit
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...