9
-
59
9.6.2 Switching between the scan execution type and low-speed execution type
programs
The CPU module saves and restores the index register data when switching between the scan execution type program
and the low-speed execution type program.
Note7
(1) When switching from the scan execution type program to the low-speed
execution type program
The CPU module saves index register values in the scan execution type program, and restores index register
values in the low-speed execution type program.
(2) When switching from the low-speed execution type program to the scan
execution type program
The CPU module saves index register values in the low-speed execution type program, and restores index
register values in the scan execution type program.
*1: The Z0 value is changed to 3 in the low-speed execution type program.
*2: The Z0 value is changed to 6 in the scan execution type program.
(3) Passing of index register data
To pass index register data between the scan execution type program and the low-speed execution type program,
use word devices.
Note7
Figure 9.64 Saving and restoring index register data when switching the scan/low-speed execution type program
Note9.7
Since the Basic model QCPU and Redundant CPU cannot use the low-speed execution type program, switching to the
low-speed execution type program is impossible.
Basic
Redundant
Execution program
Index register value
Save area of
index register
For scan execution
type program
For low-speed
execution type
program
Switching
Switching
Switching
Saved
Restored
Saved
Restored
Saved
Restored
Low-speed
execution type
program
Low-speed
execution type
program
Scan execution
type program
Scan execution
type program
Z0=1
Z0=0
Z0=1
Z0=1
Z0=1
Z0=1
Z0=0
Z0=0
Z0=0
Z0=0
Z0=3
Z0=3
Z0=3
Z0=3
Z0=3
Z0=6
Z0=6
Z0=6*
2
Z0=3*
1
Z0=1