Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9.14 Convenient Usage of Devices
9.14.2 Local device
9 - 93
(6) When executing an interrupt/fixed scan execution type program
When executing an interrupt/fixed scan execution type program, you can utilize the local device corresponding to
the file where the program is stored.
Use of the relevant local device is set by ON/OFF of SM777.
*1
*1: The index register set as the local device uses the local device area for the program executed before the interrupt/fixed
scan execution type program, regardless of the on/off status of SM777.
(a) When SM777 is off
(b) When SM777 is on
Table9.15 Local device switching by ON/OFF of the special relay (SM777)
SM777 Operation
OFF
Perform operations with the local device that corresponds to the program executed before the interrupt/fixed scan
execution type program.
ON
Perform operations with the local device that corresponds to the program file where the interrupt/fixed scan execution
type program is stored.
Figure 9.109 When SM777 is off
Figure 9.110 When SM777 is on
X0
X2
D1
D0
DECP
INCP
END
Interrupt occurred
IRET
I0
Interrupt program
Local device area for
file name, ABC
Local device area for
file name, DEF
File name: ABC
File name: DEF
(Stand-by type program)
Execution of
interrupt program
Local device
writing/reading
X0
X2
D1
D0
DECP
INCP
END
Interrupt occurred
IRET
I0
Interrupt
program
Local device area for
file name, ABC
Local device area for
file name, DEF
File name: ABC
File name: DEF
(Stand-by type program)
Execution of
interrupt program
Local device
writing/reading