
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
2-24
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
These variables are used for data input from the Serial Communications Unit to the CPU Unit.
With statuses, you can read the setting status, communications status, transmission control signal sta-
tus, and transmission error status of each Serial Communications Unit port common to each Communi-
cations Mode, and you can read the protocol status unique to each Communications Mode.
2-3-4
Device Variable for CJ-series Unit for Status
List of Device Variables for CJ-series Unit for Statuses Common to
All Communications Modes
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_Com_UnitSta
WORD
R
Serial Commu-
nication Unit
Status
Bit 01: Error log EEPROM
error
Bit 00: Protocol data error
*_Com_UnitLogMemErr
BOOL
R
Error Log
EEPROM Error
TRUE: Error log EEPROM
error
FALSE: Error log
EEPROM normal
*_Com_UnitPmrDatErr
BOOL
R
Protocol Data
Error
TRUE: Protocol data error
FALSE: Protocol data nor-
mal
*_P1_SysSetSta
*_P2_SysSetSta
WORD
R
System
Settings (*1)
Bits 12 to 15: Serial Com-
munications Mode
Bits 8 to 11: Baud rate
Bit 04: Start bits
Bit 03: Data length
Bit 02: Stop bits
Bit 01: Parity (Yes/No)
Bit 00: Parity (Even/Odd)
There is no specific
device variable for CJ-
series Unit to reference
the serial communica-
tions mode.
When you reference
this setting status, ref-
erence bits 12 to 15 of
*_P1_SysSetSta.
There is no specific
device variable for CJ-
series Unit to reference
the serial communica-
tions mode.
When you reference
this setting status, ref-
erence bits 12 to 15 of
*_P2_SysSetSta.
Bit
string
R
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
There is no specific
device variable for CJ-
series Unit to reference
the baud rate.
When you reference
this setting status, ref-
erence bits 08 to 11 of
*_P1_SysSetSta.
There is no specific
device variable for CJ-
series Unit to reference
the baud rate.
When you reference
this setting status, ref-
erence bits 08 to 11 of
*_P2_SysSetSta.
Bit
string
R
Baud Rate
0: 9,600
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
Содержание 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...