9
-
108
CHAPTER9 DEVICES
9
9.13 C
onve
nient
Usag
e of Devices
9.13.2
Local device
(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.
(a) When SM777 is off
(b) When SM777 is on
Table9.22 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.108 When SM777 is off
Figure 9.109 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
Содержание 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: ......