EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #258 background imageLoading...
Page #258 background image
7 File Operations
7-6
CJ2 CPU Unit Software User’s Manual
• Never turn OFF the power supply to the CPU Unit when the BUSY indicator is lit (i.e., indicator show-
ing that the Memory Card is being accessed). The Memory Card may become unusable if this is
done.
• Never remove the Memory Card from the CPU Unit when the BUSY indicator is lit. Press the Memory
Card power OFF button and wait for the BUSY indicator to go out before removing the Memory Card.
The Memory Card may become unusable if this is not done.
• A few seconds will be required for the CPU Unit to recognize the Memory Card after it is inserted.
When accessing a Memory Card immediately after turning ON the power supply or inserting the
Memory Card, program an NC condition for the Memory Card Recognized Flag (A343.15) as an input
condition, as shown below.
If a power interruption occurs while the CPU is accessing file memory (the Memory Card or EM file
memory) the contents of the Memory Card may not be accurate. The file being updated may not be
overwritten correctly and, in some cases, the Memory Card itself may be damaged.
The affected file will be deleted automatically by the system the next time that power is turned ON. The
corresponding File Deletion Notification Flag (A395.06 for the Memory Card, A395.07 for EM file mem-
ory) will be turned ON. The flag will be turned OFF the next time that the power is turned OFF.
When a file is deleted, a deletion log file (DELETE.TMP) will be created in the root directory of the
Memory Card or EM file memory. The deletion log file can be read with a binary editor to check the fol-
lowing information: The date that the file was deleted, the type of file memory (media) that existed, the
subdirectory, file name, and extension. When necessary, recreate or recopy the deleted file.
Accessing the Memory Card
Power Interruptions While Accessing File Memory
Execution
condition
Memory
Card
Detected
Flag
File Memory
Operation
Flag
A343.15
A343.13
FREAD
C
S1
S2
D
The following diagram shows the structure of the deletion log file.
File size: 86 bytes
Year
Month
Day Extension
Media
00
Date of file
deletion
(6 bytes)
Deleted file's
extension
(4 bytes)
Media type (2 bytes)
0000 hex: Memory Card
0001 hex: EM file memory
Deleted file's
subdirectory and file
name (73 bytes)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals