Mitsubishi Electric melsec q00ujcpu User Manual page 395

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

(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.
Execution program
Index register value
Save area of index register
for scan execution
type program
Figure 9.62 Saving and restoring index register data (when "High speed execution" is not selected)
*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.
9 - 50
Interrupt/fixed scan
Switching
Scan execution
execution type
type program
program
Passed
Z0=1
Saved
Z0=1
Z0=0
Scan execution
Restored
type program
Z0=1
Z0=3
*1
Restored
Z0=1
Z0=1
Z0=1
Z0=1

Advertisement

Table of Contents
loading

Table of Contents