6
- 58
6.7 Specifications, Installation, and Replacement of the Battery
6.7.5 Removing a battery before storage
6
PREPARATORY PROCEDURES AND SETTING
(1) Shutdown operation
(a) For the Q12DCCPU-V
Determine a shutdown request signal (Xm) in advance.
Create a program to perform the following operations by using the
QBF_X_In_BitEx function or various file access (close) functions.
1) Turn the shutdown request signal (Xm: arbitrary) from off to on by using an
external input.
2) Stop file access to the standard RAM, battery-backed-up RAM, and
CompactFlash card, and close the opened files.
*1
(Use the QBF_X_In_BitExXm function and the close or fclose function in
programming so that this operation will be performed when Xm turns on.)
3) Save the battery-backed-up RAM data to a file as necessary.
*1
(Use the QBF_ReadSRAM function in programming. Alternatively, save the
data by clicking the
button in the SRAM monitoring tab of C
Controller setting utility.
4) Store all of the standard RAM data on the CompactFlash card.
(Program example)
5) Unmount the CompactFlash card.
*1
(
6) "FF" on the 7-segment LED indicates the shutdown is complete.
7) After the shutdown, power off the C Controller system.
* 1 When the CompactFlash card files have not been accessed, closing the files in the CompactFlash
card and unmounting are not required.
mkdir("/CF/BackUp");
xcopy("/RAM","/CF/BackUp");
sysLedSet(0xFF);
Save data
Содержание Q06CCPU-V
Страница 2: ......
Страница 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Страница 617: ......