Omron CQM1H-SCB41 Computer Hardware User Manual


 
5-7SectionUsing Protocol Macros
95
Precautions on Using the Force Abort Bit
The Protocol Macro Executing Flag will turn OFF as soon as the Forced Abort Bit
is turned ON from the ladder program. The Forced Abort Bit must remain ON for
at least 15 ms longer than the CPU Unit cycle time. Thus, the sequence will not
be aborted if the Forced Abort Bit is turned OFF as soon as the Protocol Macro
Executing Flag turns OFF.
If only the Protocol Macro Execution Flag is used in an NC condition for
PMCR(––), PMCR(––) will be executed during abort processing, and system er-
ror (FAL 9C) will occur. Wait at least 15 ms longer than the cycle time after turning
ON the Forced Abort Bit before executing the next protocol macro.
In the following example, the Forced Abort Bit is turned ON and an interlock is
created for the PMCR(––) instruction for 30 ms before the Forced Abort Bit is
turned OFF.
Execution
condition
Protocol Macro
Executing Flag
Forced Abort
Bit
Abort
condition
Forced Abort Bit
Abort
condition
T000
A
Forced Abort
Bit (IR 20711)
Protocol Macro
Executing Flag
(IR 20708)
PMCR
A
T000
TIMH
000
#0003
A
20711
T000
A
30 ms
1 cycle