Omron CJ - INSTRUCTIONS Reference Manual page 1030

Table of Contents

Advertisement

3. Instructions
Operand Specifications
Word addresses
Area
CIO
WR
HR
C
D1, D2
OK
OK
OK
S
Flags
Name
Error Flag
Related Auxiliary Area Flags and Words
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 Memory Format Error Flag
Number of Data to Transfer
992
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
OK
Label
ER
• ON if the file memory type specified in C does not exist.
• ON if the settings in C are not within the specified range.
• ON if the filename specified in D2 does not satisfy the required conditions.
• ON if the File Memory Operation Flag was ON.
• ON if a constant was not specified for C (only for CS-series CS1 CPU Units prior to V1).
• ON if data specified for D1 is out of range (all CPU Units except for CS-series CS1 CPU Units prior to
V1).
• ON if an illegal area is specified for S.
• With the CS1D CPU Units: ON if the active and standby CPU Units could not be synchronized.
• OFF in all other cases.
Address
Operation
A343.00 to A343.02
Contains a binary number indicating the type of Memory Card, if any, that is installed.
(0: None, 4: Flash ROM)
A343.07
ON when the Memory Card is not formatted or a formatting error has occurred.
A343.08
ON when an error occurred when writing to the file.
A343.09
ON when the data could not be written because the file was write-protected or there
was insufficient free memory.
A343.11
ON when the specified directory does not exist when writing a file.
A343.13
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 executed.
The program is being overwritten using a control bit in memory.
A simple backup operation is being performed.
A343.14
ON when file data is actually being accessed.
A343.15
ON when a Memory Card has been detected.
0 (OFF) when a Memory Card cannot be detected.
A343.06
ON when there is a format error in the starting bank of EM file memory.
A346 to A347
The contents of these words indicate the status 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 decremented 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.
addresses
Con-
stants
*DM
DR
*EM
---
---
OK
---
OK
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents