Omron CJ1W-SCU32 Operation Manual page 173

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

Advertisement

Device variable for
Name
CJ-series Unit
Sequence
*_P1_PmrSeqWaitSt
Wait Flag
a
*_P2_PmrSeqWaitSt
a
Serial Gate-
*_P1_PmrSgwProhS
way Prohib-
ta
ited Flag
*_P2_PmrSgwProhS
(Protocol
ta
Macros)
Protocol
Bits 00 to 03 of
Macro Error
*_P1_PmrSta and
Code
*_P2 _PmrSta
Communi-
*_P1_PmrCommSeq
cations
NoSta
Sequence
*_P2_PmrCommSeq
No.
NoSta
Executed
*_P1_PmrStepNoCo
Step No.
deSta
(Code)
*_P2_PmrStepNoCo
deSta
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Meaning
This flag is changed to TRUE when a
sequence is waiting due to the Wait command.
Waiting is released when the Wait Release
Switch is changed from FALSE to TRUE in the
user program, and the sequence will move to
the next step.
Note Make sure to set the Wait Release
Switch from FALSE to TRUE from the
user program.
This flag is changed to TRUE when the Serial
Gateway (Mode) is prohibited due to the status
of the Serial Gateway Prohibit Switch in the
user program. This flag is changed to FALSE
when the Serial Gateway is not prohibited.
The contents of the error codes are shown in
the following table.
Code
Error contents
0
No error
Sequence No. Error
The sequence number specified
2
by the ExecPMCR instruction
does not exist in the Unit.
Data Read/Write Area Exceeded
Error
3
When data is written or read to
the CPU Unit, the specified area
range was exceeded.
Protocol Data Syntax Error
A code that cannot be executed
4
occurs while the protocol macro
was executed. (Example: A
header comes after a terminator.)
No codes other than the above are used.
When an error occurs, the error code is held
until the next sequence starts.
The error code is cleared when the Unit is
restarted, or when the next sequence execu-
tion starts.
The current communications sequence num-
ber is set when the sequence execution starts.
The number is set even when a sequence
number error (Error Code: 2) occurs.
Step numbers 0 to 15 (0 to F hex) for which
execution is complete are stored.
4 Using Protocol Macros
Timing
Initialize
Set
Controller
When
reset (*)
Wait com-
mand is
executing
When
instruc-
tion is
executing
At error
Protocol
macro
execution
Executed
Not exe-
cuted
Execution
stops after
the error
occurs
When
sequence
starts
When
step is
executed
Reset
When
Wait
Release
Switch is
ON, and
when
sequence
starts
When
instruc-
tion exe-
cution is
completed
When
sequence
starts
4
None
When
sequence
starts
4-37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents