Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 197

Table of Contents

Advertisement

Hint
• KEEP(011) has an immediate refreshing variation (!KEEP(011)). When an external output bit has
been specified for B in a !KEEP(011) instruction, any changes to B will be refreshed when
!KEEP(011) is executed and reflected immediately in the output bit. (The changes will not be
reflected immediately if the bit is allocated to a Group-2 High-density I/O Unit, High-density Special
I/O Unit, or a Unit mounted in a SYSMAC BUS Remote I/O Slave Rack.)
• KEEP(011) operates like the self-maintaining bit, but a self-maintaining bit programmed with
KEEP(011) requires one less instruction.
0.02
0.03
5.00
0.02
0.03
Self-maintaining bits programmed with KEEP(011) will maintain status even in an interlock program
section, unlike the self-maintaining bit programmed without KEEP(011).
Output bit C will maintain its
previous status in an interlock.
• KEEP(011) can be used to create flip-flops as shown below.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
5.00
KEEP
5.00
Output bit C will be turned
OFF in an interlock.
3. Instructions
3
159

Advertisement

Table of Contents
loading

Table of Contents