
282
(4) When executing an interrupt/fixed scan execution type program
The local device in the file where the interrupt/fixed scan execution type program is stored can be used 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
(c) Precautions
• When SM777 is on, local device data are read out before execution of an interrupt/fixed scan execution
type program, and the data are saved after execution of the IRET instruction. Because of this, the scan
time is increased if one interrupt/fixed scan execution type program is executed with SM777 set to on.
• The on/off status of SM777 is set for each CPU module. It cannot be set for each file.
• If the on/off status of SM777 is changed during program execution, control is implemented according to
the information after the change.
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.
Local device area
for file name, ABC
Local device area
for file name, DEF
Local device
writing/reading
File name: ABC
Execution of interrupt
program
File name: DEF
(Standby type program)
Interrupt
occurred
Interrupt program
Local device area
for file name, ABC
Local device area
for file name, DEF
Local device
writing/reading
File name: ABC
Execution of interrupt
program
File name: DEF
(Standby type program)
Interrupt
occurred
Interrupt program
Summary of Contents for L02CPU
Page 1: ......
Page 2: ......
Page 13: ...11 Memo ...
Page 78: ...76 Memo ...
Page 226: ...224 Memo ...
Page 318: ...316 To the next page ...
Page 320: ...318 To the next page ...
Page 322: ...320 To the next page ...
Page 324: ...322 To the next page ...
Page 326: ...324 To the next page ...
Page 335: ...333 Memo ...
Page 339: ......