9
-
61
(2) Processing of the index register
(a) When "High-speed execution" is not selected
1) When switching from the scan execution type program to the interrupt/fixed scan
execution type program
The CPU module saves index register values in the scan execution type program, and passes them to the
interrupt/fixed scan execution type program.
2) When switching from the interrupt/fixed scan execution type program to the scan
execution type program
The CPU module restores the saved index register values.
*1: The Z0 value is changed to 3 in the interrupt program.
To pass index register values from the interrupt/fixed scan execution type program to the scan execution type program, use
word devices.
Figure 9.66 Saving and restoring index register data (when "High speed execution" is not selected)
Execution program
Index register value
Save area of index
register
for scan/low-speed
execution type program
Passed
Switching
Scan/low-speed
execution type
program
Saved
Interrupt/fixed scan
execution type
program
Restored
Restored
Z0=3
*
Z0=1
Scan/low-speed
execution type
program
Z0=1
Z0=1
Z0=1
Z0=1
Z0=1
Z0=1
Z0=0
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......