Device Variables For Cj-Series Unit For Status - Omron CJ1W-SCU32 Operation Manual

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

Device variable for CJ-series Unit
Port 1
*_P1_BaudrateCfg
* 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.
8-2-2

Device Variables for CJ-Series Unit for Status

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.
Device variable for CJ-series Unit
Port 1
*_P1_LbtSta
*_P1_LbtErrSta
*_P1_LbtDRErr
*_P1_LbtCSErr
*_P1_LbtTimeoutErr
*_P1_LbtParityErr
*_P1_LbtOverRunErr
*_P1_LbtFramingErr
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Port 2
*_P2_BaudrateCfg
Port 2
*_P2_LbtSta
*_P2_LbtErrSta
*_P2_LbtDRErr
*_P2_LbtCSErr
*_P2_LbtTimeoutErr
*_P2_LbtParityErr
*_P2_LbtOverRunErr
*_P2_LbtFramingErr
Type
R/W
Name
USINT
RW
Baud Rate
(unit: bps)
Type
R/W
Name
WORD
R
Loopback Test
Status
BOOL
R
Error
BOOL
R
DTR Check
Error
BOOL
R
CTS Check
Error
BOOL
R
Timeout Error
BOOL
R
Parity Error
BOOL
R
Overrun Error
BOOL
R
Framing Error
8 Loopback Test
Function
0: 9600
3:1200
4: 2400
5: 4800
6: 9600
7: 19200
8: 38400
9: 57600
10: 115200
11: 230400
Default: 0
Function
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
TRUE: Error
FALSE: Normal
TRUE: DTR check error
FALSE: Normal
TRUE: CTS check error
FALSE: Normal
TRUE: Timeout error
FALSE: Normal
TRUE: Parity error
FALSE: Normal
TRUE: Overrun error
FALSE: Normal
TRUE: Framing error
FALSE: Normal
8-5
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents