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

Скачать
Страница из 630
6
 
-
 
146
6.29  Writing/Reading Device Data to/from Standard ROM 
(1) Definition
This function writes device data to the standard ROM. 
Writing the fixed values for operation and operation results to the standard ROM can prevent losing data due to 
low battery. Also, timing of writing to the standard ROM can be set by an instruction.
(2) Execution method
Device data are written to the standard ROM by the SP.DEVST instruction. 
The device data written to the standard ROM is read to the specified device by the S(P).DEVLD instruction.
(3) Devices that can be written to the standard ROM
Table6.48 shows the devices whose data can be written to the standard ROM.
*1: The extended data register (D) is included.
*2: The extended link register (W) is included.
(4) Setting method
The area for storing the device data is set in the standard ROM by the PLC file tab of the PLC parameter dialog 
box.
Remark
For details of the instructions, refer to the following.
 QCPU Programming Manual (Common Instructions)
Table6.48 Devices that can be written to the standard ROM and storage location
Device
Storage location
X,Y,M,L,B,F,V,T,ST,C,D
*1
,W
*2
,SM,SD,SB,SW,R,ZR
Standard ROM(device data storage location)
Figure 6.112 Screen for setting a file for storing device data
Set a file size 
(A file name is fixed to DEVSTORE).