
8-5
8 Loopback Test
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
8-2 De
vice
V
a
ria
b
le f
o
r CJ-series Un
it (L
oo
pba
c
k T
est)
8
8-2
-2 De
vice V
ar
iab
les f
or C
J
-Ser
ies U
nit f
o
r
Status
* When the default settings are used, the Baud Rate, Start Bits, Data Length, Stop Bits, Parity Yes/No, and Parity
Even/Odd settings are disabled. To specify settings for these items to the settings other than the default, apply
user settings.
Default settings are Baud Rate: 9,600 bps, Start Bits: 1 bit, Data Length: 7 bits, Parity: even parity and Stop Bits:
2 bits.
You can read information concerning the loopback test status. If an error occurs, the device variable for
CJ-series Unit shown below will become TRUE.
*_P1_BaudrateCfg
*_P2_BaudrateCfg
USINT
RW
Baud Rate
(unit: bps)
0: 9600
3:1200
4: 2400
5: 4800
6: 9600
7: 19200
8: 38400
9: 57600
10: 115200
11: 230400
Default: 0
8-2-2
Device Variables for CJ-Series Unit for Status
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_P1_LbtSta
*_P2_LbtSta
WORD
R
Loopback Test
Status
Bit 15: Error
Bit 08: DTR check error
Bit 07: CTS check error
Bit 05: Timeout error
Bit 04: Parity error
Bit 03: Overrun error
Bit 02: Framing error
Bit 00: Comparison error
*_P1_LbtErrSta
*_P2_LbtErrSta
BOOL
R
Error
TRUE: Error
FALSE: Normal
*_P1_LbtDRErr
*_P2_LbtDRErr
BOOL
R
DTR Check
Error
TRUE: DTR check error
FALSE: Normal
*_P1_LbtCSErr
*_P2_LbtCSErr
BOOL
R
CTS Check
Error
TRUE: CTS check error
FALSE: Normal
*_P1_LbtTimeoutErr
*_P2_LbtTimeoutErr
BOOL
R
Timeout Error
TRUE: Timeout error
FALSE: Normal
*_P1_LbtParityErr
*_P2_LbtParityErr
BOOL
R
Parity Error
TRUE: Parity error
FALSE: Normal
*_P1_LbtOverRunErr
*_P2_LbtOverRunErr
BOOL
R
Overrun Error
TRUE: Overrun error
FALSE: Normal
*_P1_LbtFramingErr
*_P2_LbtFramingErr
BOOL
R
Framing Error
TRUE: Framing error
FALSE: Normal
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
Содержание 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...