Omron CJ1W-SCU32 Operation Manual page 170

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

Advertisement

4 Using Protocol Macros
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_PmrCommSeqNoSt
a
*_P1_PmrExecNoSta
*_P1_PmrStepNoCode
Sta
*_P1_PmrRcvCaseNo
CodeSta
*_P1_PmrRcvCaseNoFlg
Sta[0-15]
*_P1_PmrStepNoFlgSta[0
-15]
4-34
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_PmrCommSeqNoSt
a
*_P2_PmrExecNoSta
*_P2_PmrStepNoCode
Sta
*_P2_PmrRcvCaseNo
CodeSta
*_P2_PmrRcvCaseNoFlg
Sta[0-15]
*_P2_PmrStepNoFlgSta[0
-15]
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
Function
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.
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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents