
4 Using Protocol Macros
4-34
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
*_P1_PmrSgwProhSta
*_P2_PmrSgwProhSta
BOOL
R
Serial Gateway
Prohibited Flag
(Protocol Mac-
ros)
This flag is set to TRUE
when the Serial Gateway
function (Mode) is prohib-
ited due to the status of
the Serial Gateway Pro-
hibit Switch in the user
program.
This flag is set to FALSE
when the Serial Gateway
is not prohibited.
There is no specific
device variable for CJ-
series Unit to reference
the Protocol Macro
Error Code.
When you reference
the code, refer to bits
00 to 03 of
*_P1_PmrSta.
There is no specific
device variable for CJ-
series Unit to reference
the Protocol Macro
Error Code.
When you reference
the code, refer to bits
00 to 03 of
*_P2_PmrSta.
Bit
string
R
Protocol Macro
Error Code
0: No error
2: Sequence No. error
3: Data read/write area
exceeded error
4: Protocol data syntax
error
*_P1_PmrCommSeqNoSt
a
*_P2_PmrCommSeqNoSt
a
UINT
R
Communica-
tions Sequence
No.
Range: 0 to 999
*_P1_PmrExecNoSta
*_P2_PmrExecNoSta
WORD
R
Executed Step
and Case No.
Bits 08 to 11: Executed
Step No. (code)
Bits 00 to 03: Executed
Reception Case No.
(code)
*_P1_PmrStepNoCode
Sta
*_P2_PmrStepNoCode
Sta
USINT
R
Executed Step
No. (Code)
Range: 0 to 15
*_P1_PmrRcvCaseNo
CodeSta
*_P2_PmrRcvCaseNo
CodeSta
USINT
R
Executed
Reception
Case No.
(Code)
Range: 0 to 15
*_P1_PmrRcvCaseNoFlg
Sta[0-15]
*_P2_PmrRcvCaseNoFlg
Sta[0-15]
BOOL
R
Executed
Reception
Case No. Stor-
age Flag
0 to 15: Correspond to bits
00 to 15
*_P1_PmrStepNoFlgSta[0
-15]
*_P2_PmrStepNoFlgSta[0
-15]
BOOL
R
Executed Step
No. Storage
Flag
0 to 15: Correspond to bits
00 to 15
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...