Omron SYSMAC CS Series Instruction & Reference Manual page 700

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
• For range comparisons, the interrupt task for any one range will be executed only once each time the
comparison value enters or leaves the range. It will not be executed again until the condition for
execution is no longer met and then met again. The Range Comparison Condition Met Flag,
however, will be ON whenever the comparison value is within the range regardless of the out of
range/in range specification.
• Set the interrupt task number to FFFF hex to disable the range. Any range set to FFFF hex will be
ignored.
Example Programming
When CIO 0.00 turns ON in the following programming example, CTBL(882) registers a target value
comparison table and starts comparison for high-speed counter 0. The PV of the high-speed counter is
counted incrementally and when it reaches 500, it equals target value 1 and interrupt task 1 is
executed. When the PV is incremented to 1000, it equals target value 2 and interrupt task 2 is
executed.
666
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents