Mitsubishi Q00JCPU User Manual page 738

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION
(6) Using local devices when executing an interrupt/fixed scan execution
10
- 123
10.14 Convenient Usage of Devices
10.14.2 Local devices
(c) 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.
Remark
For details on SM776, refer to Appendix 1.
type 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.
Table10.31 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.
(a) Operation at "SM777 : OFF"
File name: ABC
X0
Occurrence
of interrupt
X2
Local devices used
by the file name: ABC
D1
DECP
Execution of the
INCP
D0
interrupt program
END
Read/write of the
local devices
Figure 10.108 When SM777 is OFF
Operation
File name: DEF
(Stand-by type program)
I0
Interrupt program
Local devices used
by the file name: DEF
IRET

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents