
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
2-16
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
*_ in a device variable name for CJ-series Unit corresponds to the device name of this Unit.
By default, a device name is assigned from "J01" in the order of registration in the Unit Configuration.
This identifies the individual unit.
z
All Serial Communications Modes
List of 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 Set-
ting Inclusion (*1)
Bits 08 to 11: Serial Com-
munications 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 set this set-
ting, 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 set this set-
ting, 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...