Omron CQM1H-SCB41 Computer Hardware User Manual


 
5-6SectionUsing Protocol Macros
84
Word ResetSetClassifi-
cation
Name and FunctionBits
IR 207
08 Port 1 Protocol Macro Executing Flag (instruction
execution)
This flag is turned ON when a PMCR(––) instruction (se-
quence) is executed. The flag will remain OFF if execution
fails.
When the sequence is completed and receive data is writ-
ten, the flag is turned OFF after all the receive data has
been written to I/O memory.
This flag is turned OFF when the sequence is completed
(either when it is ended by End, or when it is ended by
Abort).
When the scan response notification method is set for the
sequence, first a check is made to see if the received data
has been written to I/O memory before the Protocol Macro
Executing Flag is turned OFF.
Protocol
macro
status
At
instruction
execution
At
completion
of execution
09 Port 1 Transfer Step Error Processing Flag
This flag is turned ON when a step has ended abnormally.
It is turned OFF if the step ends normally as a result of a
retry.
1: Step ended abnormally
0: Step ended normally
Step error At compare
error after
reception
Start of
sequence
10 Port 1 Sequence END Completion Flag
This flag is turned ON when a sequence is completed for
the next process or for an error process with an END com-
mand.
Setting END when a sequence has ended normally and
setting ABORT when the sequence has ended abnormally
enables this flag to be used to determine whether or not
the sequence execution has ended normally.
1: Sequence ended
0: Sequence not ended
Sequence
status
End of
sequence
11 Port 1 Forced Abort Bit
Protocol processing will be aborted when this bit is turned
ON. (Processing may be completed if the bit is turned ON
too late.)
Abort
process-
ing
User-set User-set
12 Port 2 Protocol Macro Executing Flag (instruction
execution)
Same as IR 20708.
Protocol
macro
status
At
instruction
execution
At
completion
of execution
13 Port 2 Transfer Step Error Processing Flag
Same as IR 20709.
Step error At compare
error after
reception
Start of
sequence
14 Port 2 Sequence END Completion Flag
Same as IR 20710.
Sequence
status
End of
sequence
15 Port 2 Forced Abort Bit
Same as IR 20711.
Abort
process-
ing
User-set User-reset