2-27
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
2-3 De
vice
V
a
ri
a
b
le f
o
r CJ-series Un
it
2
2-3-4 D
e
vice V
ar
ia
b
le f
or CJ-ser
ies Unit f
or Sta
tus
*1
The current settings for the port are read. For details on the contents that are read, refer to List of Device Variable for CJ-
series Unit for System Settings on page 2-16. If a System Settings error occurs, the default settings will be read.
*2
If any of the error bits 00 to 14 becomes TRUE in the Protocol Macro Mode but then communications are recovered within
the specified number of retries, the bit will be changed to FALSE. The bit will remain TRUE if recovery is not possible
within the specified number of retries.
*3
Used only with protocol macros. Not used with any other serial communications mode.
*4
Used with Protocol Macro or Serial Gateway Mode.
This bit is changed to TRUE if an error occurs in the transmission path with the Serial Gateway.
With Modbus-RTU Slave Mode, this bit is changed to TRUE if there is a CRC check error.
*5
Used with Protocol Macro or Serial Gateway Mode.
This bit is changed to TRUE if a send start timeout or response timeout occurs with the Serial Gateway.
*6
Not used with Loopback Test Mode. This bit also changes to TRUE if more than 259 bytes of unread data is stored in the
reception buffer during No-protocol Mode.
*7
Not used with Loopback Test Mode.
There is no specific
device variable for CJ-
series Unit to reference
the number of retries.
When you reference
the number of retries,
refer to bits 08 to 11 of
*_P1_TransErrSta.
There is no specific
device variable for CJ-
series Unit to reference
the number of retries.
When you reference
the number of retries,
refer to bits 08 to 11 of
*_P2_TransErrSta.
Bit
string
R
Number of
Retries (*3)
Range: 0 to 9
*_P1_FCSErr
*_P2_FCSErr
BOOL
R
FCS Check
Error (*4)
TRUE: FCS check error
FALSE: FCS check nor-
mal
*_P1_CmdErr
*_P2_CmdErr
BOOL
R
Command
Error (*3)
TRUE: Command error
FALSE: No command
error
*_P1_TimeoutErr
*_P2_TimeoutErr
BOOL
R
Timeout Error
(*5)
TRUE: Timeout (protocol
macros: Tfs, Tfr, or Tr)
error or Serial Gateway
send/response timeout
FALSE: Normal
*_P1_OverRunErr
*_P2_OverRunErr
BOOL
R
Overrun Error
(*6)
TRUE: Overrun error
FALSE: Normal
*_P1_FramingErr
*_P2_FramingErr
BOOL
R
Framing Error
(*7)
TRUE: Framing error
FALSE: Normal
*_P1_ParityErr
*_P2_ParityErr
BOOL
R
Parity Error (*7)
TRUE: Parity 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...