Omron CJ1W-SCU32 Operation Manual page 104

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

Advertisement

2 Initial Settings and Allocations of Device Variable for CJ-series Unit
Device variable for CJ-series Unit
Port 1
*_P1_PmrSgwProhSta
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.
*_P1_PmrCommSeq
NoSta
*_P1_PmrExecNoSta
*_P1_PmrStepNoCode
Sta
*_P1_PmrRcvCaseNo
CodeSta
*_P1_PmrRcvCaseNoFlg
Sta[0-15]
*_P1_PmrStepNoFlgSta
[0-15]
*_P1_PmrRepCntSta
*_P1_PmrSetRepCnt
Sta
*_P1_PmrCurRepCnt
Sta
2-30
Port 2
*_P2_PmrSgwProhSta
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.
*_P2_PmrCommSeq
NoSta
*_P2_PmrExecNoSta
*_P2_PmrStepNoCode
Sta
*_P2_PmrRcvCaseNo
CodeSta
*_P2_PmrRcvCaseNoFlg
Sta[0-15]
*_P2_PmrStepNoFlgSta
[0-15]
*_P2_PmrRepCntSta
*_P2_PmrSetRepCnt
Sta
*_P2_PmrCurRepCnt
Sta
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Type
R/W
Name
BOOL
R
Serial Gateway
Prohibited Flag
(Protocol Mac-
ros)
Bit
R
Protocol Macro
string
Error Code
UINT
R
Communica-
tions Sequence
No.
WORD
R
Executed Step
and Case No.
USINT
R
Executed Step
No. (Code)
USINT
R
Executed
Reception
Case No.
(Code)
BOOL
R
Executed
Reception
Case No. Stor-
age Flag
BOOL
R
Executed Step
No. Storage
Flag
WORD
R
Repeat
Counter
USINT
R
Repeat
Counter Set-
ting Value
USINT
R
Repeat
Counter
Present Value
Function
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.
0: No error
2: Sequence No. error
3: Data read/write area
exceeded error
4: Protocol data syntax
error
Range: 0 to 999
Bits 08 to 11: Executed
Step No. (code)
Bits 00 to 03: Executed
Reception Case No.
(code)
Range: 0 to 15
Range: 0 to 15
0 to 15: Correspond to bits
00 to 15
0 to 15: Correspond to bits
00 to 15
Bits 08 to 15: Repeat
Counter Setting Value
Bits 00 to 07: Repeat
Counter Present Value
The number of times a
step is repeated is set in
these bits.
Range: 0 to 255
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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents