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

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

File Memory Instructions
Precautions
1112
The following table shows relevant flags in the Auxiliary Area.
Name
Memory Card Type
Memory Card Format
Error Flag
File Write Error Flag
File Write Impossible
Flag
No File Flag
File Memory Operation
Flag
Accessing File Flag
Memory Card Detected
Flag
EM File Format Starting
Bank
EM File Memory For-
mat Error Flag
Number of Data to
Transfer
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
A34300 to
Contains a binary number indicating the type
A34302
of Memory Card, if any, that is installed.
(0: None, 4: Flash ROM)
A34307
ON when the Memory Card is not formatted or
a formatting error has occurred.
A34308
ON when an error occurred when writing to the
file.
A34309
ON when the data could not be written
because the file was write-protected or there
was insufficient free memory.
A34311
ON when the specified directory does not exist
when writing a file.
A34313
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.
A34314
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.
A34315
ON when a Memory Card has been detected.
A344
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.
A34306
ON when there is a format error in the starting
bank of EM file memory.
A346 to
The contents of these words indicate the sta-
A347
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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents

Save PDF