Omron CJ1W-SCU32 Operation Manual page 172

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

Advertisement

4 Using Protocol Macros
Protocol Status Area Descriptions
Device variable for
Name
CJ-series Unit
Protocol
*_P1_PmrExecSta
Macro Exe-
*_P2_PmrExecSta
cuting Flag
Step End
*_P1_PmrStepErr
Error
*_P2_PmrStepErr
Abort Flag
*_P1_PmrAbtSta
*_P2_PmrAbtSta
Tracing Flag *_P1_PmrTracingSta
*_P2_PmrTracingSta
Sequence
*_P1_PmrSeqEndSt
End Com-
a
pletion Flag
*_P2_PmrSeqEndSt
a
Sequence
*_P1_PmrSeqAbtSta
Abort Com-
*_P2_PmrSeqAbtSta
pletion Flag
4-36
Meaning
This flag is changed to TRUE when a ExecP-
MCR instruction (sequence) is executed. The
flag remains FALSE when execution fails.
When the sequence is completed and the
receive data is written, the flag is changed to
FALSE after all the receive data is written to
the memory used for CJ-series Unit.
This flag is changed to FALSE when the
sequence is completed (either when it is ended
by End, or when it is ended by Abort).
Note When the scan response notification
method is set for the sequence, first a
check is made to see if the received data
was written to the memory used for CJ-
series Unit before the Protocol Macro
Executing Flag is changed to FALSE.
This flag is changed to TRUE when a step
ended abnormally. It remains FALSE if the step
ends normally as a result of a retry.
TRUE: Step ended abnormally
FALSE: Step ended normally
This flag is changed to FALSE when process-
ing is ended by using the Abort Switch from the
user program. When the Abort Switch is
changed to TRUE at the end of a sequence,
the sequence may end with either End or Abort
status.
This flag is changed to TRUE while time-series
data for send and receive messages is traced
with an instruction from the CX-Protocol.
This flag is changed to TRUE when a
sequence is completed for the next process or
for an error process with an End command.
When a sequence ends normally, setting End
(Abort when the sequence ends abnormally)
enables this flag to be used to determine
whether or not the sequence execution ended
normally.
TRUE: Sequence ended
FALSE: Sequence not ended
This flag is changed to TRUE when a
sequence is ended for the next process or for
an error processing with an Abort command.
TRUE: Sequence aborted
FALSE: Sequence not aborted
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Timing
Initialize
Set
Reset
Controller
When
When
reset (*)
instruc-
instruc-
tion is
tion exe-
executing
cution is
completed
When ver-
When
ification
sequence
error
starts
occurs
after
receiving
When a
When
forced
sequence
abort
starts
occurs
When
When
trace
sequence
begins
starts, and
when
trace
ends.
When
When
sequence
sequence
ends.
starts
When
When
sequence
sequence
aborts
starts

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents