Omron CS1G/H-CPUxxH Instructions Manual page 925

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

File Memory Instructions
Precautions
904
The following table shows relevant flags in the Auxiliary Area.
Name
Memory Card Type
A34300 to
A34302
Memory Card Format
A34307
Error Flag
File Read Error Flag
A34310
File Missing 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
During normal instruction processing, FREAD(700) is used only to start read-
ing file memory. The instruction execution times given toward the end of this
manual are thus the times required to start reading, not to complete it. Actual
reading (transfer) is performed by the file access processing in peripheral ser-
vicing. Therefore, once FREAD(700) has been executed, reading is continu-
ously executed even if the execution condition is OFF in following cycles.
When transfer has been completed, the File Memory Operation Flag
(A34313) will turn OFF. This flag can be used for exclusive control of file mem-
ory instructions.
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 a file could not be read because its
data was corrupted or if it contains the wrong
data type.
ON when data could not be read because the
specified file doesn't exist.
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 FREAD(700) or FWRIT(701) instruc-
tion is executed, the number of words or fields
to be transferred is written to these words. The
value is decremented by 1 as each word or
field 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

Table of Contents