10 CPU Unit Functions
10-10
CJ2 CPU Unit Software User’s Manual
Table data processing (such as data searches) and text string processing (such as text string
searches), require time to execute, and can create large fluctuations in the cycle time due to the
extended amount of time required to execute them.
Background execution (time slicing) can be used to execute the following instructions over several
cycles to help control fluctuations in the cycle time. The PLC Setup enables setting background execu-
tion for each type of instruction.
• Table data processing instructions
• Text string processing instructions
• Data shift instructions (ASYNCHRONOUS SHIFT REGISTER only)
Setting background execution for the above instructions can help control temporary increases in the
cycle time.
Precautions for Correct UsePrecautions for Correct Use
Background processing is not performed in interrupt tasks for CJ2H CPU Units when high-speed
interrupts are enabled in the PLC Setup. An instruction processing error will occur.
10-2-5 Background Execution
MAX MAX
Executed over
several cycles
using time slicing.
Background execution
With Background
Processing
Execution
only started.
Without Background
Processing
Long execution time
Longer cycle time when
MAX is executed.