
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
2-30
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 changed to
TRUE when the Serial
Gateway function (mode)
is prohibited due to the
status of the Serial Gate-
way Prohibit Switch in the
user program.
This flag is changed to
FALSE when the Serial
Gateway is permitted.
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_PmrCommSeq
NoSta
*_P2_PmrCommSeq
NoSta
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
*_P1_PmrRepCntSta
*_P2_PmrRepCntSta
WORD
R
Repeat
Counter
Bits 08 to 15: Repeat
Counter Setting Value
Bits 00 to 07: Repeat
Counter Present Value
*_P1_PmrSetRepCnt
Sta
*_P2_PmrSetRepCnt
Sta
USINT
R
Repeat
Counter Set-
ting Value
The number of times a
step is repeated is set in
these bits.
Range: 0 to 255
*_P1_PmrCurRepCnt
Sta
*_P2_PmrCurRepCnt
Sta
USINT
R
Repeat
Counter
Present Value
The Repeat Counter Vari-
able N is set.
The value is cleared when
the sequence execution
starts, when the STUP
instruction is executed, or
at restarts.
Range: 0 to 255
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...