Справочник Пользователя для Mitsubishi Electronics QnUCPU

Скачать
Страница из 630
1
2
3
APPEN-
DIX
6
7
8
Appendix
 3  Me
thod of
 Replacing B
a
sic M
odel Q
C
PU 
or High P
e
rf
or
mance 
Model Q
C
P
U
 wit
h U
n
iv
ersal 
Model Q
C
PU
Appendix
 3.
4  
F
u
n
cti
ons
APPENDICES
App
 
-
 
55
Appendix 3.4.4 Device latch function
(1) Overview
The device latch function
*1
 for the Universal model QCPU is more enhanced compared to that for the Basic 
model QCPU and High performance model QCPU.
This section describes the enhanced device latch function in the Universal model QCPU.
*1: The latch function is used to hold device data even when the CPU module is powered off or reset.
(2) Device data latch methods
Device data of the Universal model QCPU can be latched by:
 • using the large-capacity file register (R, ZR),
 • writing/reading device data to the standard ROM (with the SP.DEVST and S(P).DEVLD instructions), or
 • specifying a latch range of internal user devices.
(3) Details of each latch method
(a) Large-capacity file register (R, ZR)
Data in the file register can be latched by batteries.
File register size is larger and processing speed is higher in the Universal model QCPU, compared to the Basic 
model QCPU and High Performance model QCPU.
To latch a lot of data (many device points), use of the file register is effective.
TableApp.39 shows the file register size available for each CPU module.
(b) Writing/reading device data to the standard ROM (SP.DEVST and S(P).DEVLD instructions)
Device data of the Universal model QCPU can be latched using the SP.DEVST and S (P).DEVLD instructions 
(instructions for writing/reading data to/from the standard ROM). 
Utilizing the standard ROM allows data backup without batteries. 
This method is effective for latching data that will be updated less frequently.
TableApp.39 File register size available for each CPU module
Model
File register (R, ZR) size in the standard RAM
Q00UCPU,Q01UCPU,Q02UCPU
64K points
Q03UDCPU,Q03UDECPU
96K points
Q04UDHCPU,Q04UDEHCPU
128K points
Q06UDHCPU,Q06UDEHCPU
384K points
Q10UDHCPU,Q13UDHCPU,Q10UDEHCPU,Q13UDEHCPU
512K points
Q20UDHCPU,Q20UDHCPU,Q26UDEHCPU,Q26UDEHCPU
640K points