Mitsubishi Electric melsec q00ujcpu User Manual page 438

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

Advertisement

(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: 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.
Table9.15 Local device switching by ON/OFF of the special relay (SM777)
SM777
Perform operations with the local device that corresponds to the program executed before the interrupt/fixed scan
OFF
execution type program.
Perform operations with the local device that corresponds to the program file where the interrupt/fixed scan execution
ON
type program is stored.
(a) When SM777 is off
Interrupt occurred
(b) When SM777 is on
Interrupt occurred
File name: ABC
X0
DECP
D1
X2
Execution of
INCP
D0
interrupt program
END
Local device area for
file name, ABC
Figure 9.108 When SM777 is off
File name: ABC
X0
DECP
D1
X2
Execution of
INCP
D0
interrupt program
END
Local device area for
file name, ABC
Figure 9.109 When SM777 is on
*1
Operation
File name: DEF
(Stand-by type program)
I0
Interrupt program
Local device
writing/reading
Local device area for
file name, DEF
File name: DEF
(Stand-by type program)
I0
Local device
writing/reading
Local device area for
file name, DEF
CHAPTER9 DEVICES
IRET
Interrupt
program
IRET
9 - 93
9
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents