Using File Memory - Omron CJ - 08-2008 Operation Manual

Programmable controllers
Table of Contents

Advertisement

File Memory
3-2-4

Using File Memory

Memory Card
Reading/Writing Files
Using Programming
Device (CX-Programmer
or Programming Console)
1,2,3...
Automatically Transferring
Memory Card Files to the
CPU Unit at Power-up
1,2,3...
1,2,3...
Reading/Writing Data
Files Using
FREAD(700)and
FWRIT(701)
1,2,3...
Note For details on using file memory, refer to the CS/CJ Series Programming Man-
ual.
File
Program files
Data files
Parameter files
1. Install the Memory Card into the CPU Unit.
2. Initialize the Memory Card if necessary.
3. Name the file containing the data in the CPU Unit and save the contents in
the Memory Card.
4. Read the file that is saved in the Memory Card to the CPU Unit.
Including Parameter File
File
Program files
Data files
Parameter files
1. Install the Memory Card into the CPU Unit.
2. Set pin 2 of the DIP switch to ON.
3. Turn ON the power to the PLC. The files will be read automatically when
the power is turned ON.
Excluding Parameter File
File
Program file
I/O memory files
Parameter file
1. Install the Memory Card into the CPU Unit.
2. Set pin 2 of the DIP switch to ON.
3. The files are read automatically when the power is turned ON.
File
Data files
1. Install the Memory Card into the CPU Unit.
2. Initialize the Memory Card using a Programming Device.
3. Using the FWRIT(701) instruction, name the file of the specified I/O mem-
ory area, and save to the Memory Card.
File name and extension
∗∗∗∗∗∗∗∗.OBJ
∗∗∗∗∗∗∗∗.IOM
∗∗∗∗∗∗∗∗.STD
File name and extension
AUTOEXEC.OBJ
AUTOEXEC.IOM
ATEXECDM.IOM
ATEXECE@.IOM
AUTOEXEC.STD
File name and extension
REPLACE.OBJ
REPLACE.IOM
REPLCDM.IOM
REPLCE@.IOM
Not needed
File name and extension
∗∗∗∗∗∗∗∗.IOM
∗∗∗∗∗∗∗∗.TXT
∗∗∗∗∗∗∗∗.CSV
Section 3-2
Data transfer direction
Between CPU Unit and Mem-
ory Card,
Data transfer direction
From Memory Card to CPU Unit
Data transfer direction
From Memory Card to CPU Unit
Data transfer direction
Between CPU Unit and
Memory Card
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents