Mitsubishi Q00JCPU User Manual page 557

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

9
DEVICE EXPLANATION
Remark
(e) Using local devices when executing an interrupt/fixed scan execution type
Occurrence
of interrupt
3) Precautions
• If SM776 is ON, the local device data is read when the subroutine
program is called and the local device data is saved after the execution of
the RET instruction. Accordingly, scan time is elongated by the time as
when a subroutine program is executed once with the setting of "SM776:
ON".
• ON/OFF setting of SM776 is enabled in CPU modules.
Setting in file units is not enabled.
• If the ON/OFF setting of SM776 is changed while a sequence program is
executed, the control is made according to the information after change.
For details on SM776, see Appendix 1.
program
It is possible to use local devices in the file where an interrupt/fixed scan
execution type program is stored when executing an interrupt/fixed scan
execution type program.
The local devices can be set available/unavailable by special relay "SM777" ON/
OFF setting.
Table9.24 Switching over local devices by setting ON/OFF for a special relay (SM777)
SM777
Executes operation with the local devices in the file which was executed
OFF
before the execution of the interrupt/fixed scan execution type program.
Executes operation with the local devices in the file where the interrupt/fixed
ON
scan execution type program is stored.
1) Operation at "SM777 : OFF"
File name: ABC
X0
DECP
X2
INCP
END
Local devices used
by the file name: ABC
Diagram 9.101 When SM777 is OFF
Operation
D1
Execution of the
D0
interrupt program
Read/write of the
local devices
9.13 Convenient Usage of Devices
9.13.1 Global devices and local devices
File name: DEF
(Stand-by type program)
I0
Interrupt program
IRET
Local devices used
by the file name: DEF
9
- 106
9
10
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents