Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1152

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

File Memory Instructions
Precautions
The following table shows relevant flags in the Auxiliary Area.
Name
Memory Card Type
A34300 to
A34302
Memory Card Format
A34307
Error Flag
File Write Error Flag
A34308
File Write Impossible
A34309
Flag
No File Flag
A34311
File Memory Operation
A34313
Flag
Accessing File Flag
A34314
Memory Card Detected
A34315
Flag
EM File Format Starting
A344
Bank
EM File Memory For-
A34306
mat Error Flag
Number of Data to
A346 to
Transfer
A347
The File Memory Operation Flag (A34313) is turned ON when FWRIT(701) is
executed. An error will occur and the instruction will not be executed if A34313
is already ON.
The File Write Impossible Flag (A34309) will be turned ON and the instruction
will not be executed if data could not be written because the file was write-pro-
tected or there was not enough free memory.
Address
Contains a binary number indicating the type
of Memory Card, if any, that is installed.
(0: None, 4: Flash ROM)
ON when the Memory Card is not formatted or
a formatting error has occurred.
ON when an error occurred when writing to the
file.
ON when the data could not be written
because the file was write-protected or there
was insufficient free memory.
ON when the specified directory does not exist
when writing a file.
ON for any of the following:
The CPU Unit has sent a FINS command to
itself using CMND(490).
FREAD(700) or FWRIT(701) are being exe-
cuted.
The program is being overwritten using a con-
trol bit in memory.
A simple backup operation is being performed.
ON when file data is actually being accessed.
Use this flag as an execution condition to pre-
vent a file memory instruction from being exe-
cuted while another is in progress.
ON when a Memory Card has been detected.
Contains the starting bank number of the EM
Area that has been formatted for use as EM
file memory. Contains FFFF when none of the
EM Area has been formatted.
To convert the EM Area for use as file memory,
the PLC Setup's EM File Memory setting must
be set to 1 and the EM File Memory Starting
Bank (0 to C) must be set. All EM banks from
the starting bank to the last bank will then be
formatted for use as file memory.
ON when there is a format error in the starting
bank of EM file memory.
The contents of these words indicate the sta-
tus of data file transfers.
When an FWRIT(701) instruction is executed,
the number of words or fields to be transferred
is written to these words. The value is decre-
mented by 1 as each word is transferred.
A346 contains the rightmost 16 bits and A347
contains the leftmost 16 bits of the 32-bit
binary value.
Section 3-26
Operation
1113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents