EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 251

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
211
File Memory Section 5-1
Note Calculate the number of steps in the program file by subtracting the available
UM steps from the total UM steps. These values are shown in the CX-Pro-
grammer’s Cross-Reference Report. Refer to the CX-Programmer Operation
Manual for details.
Data Files
General-purpose Files
1,2,3... 1. There are three kinds of general-purpose data files, with filename exten-
sions IOM, TXT, and CSV. (The TXT and CSV files: Not supported by CS-
series CS1 CPU Units that are pre-EV1.)
Note Reading and Writing TXT and CSV Data Files:
TXT and CSV data files can be read and written with FREAD(700) and
FWRIT(701) only.
The following six data formats are used in text and CSV files.
Note a) Precautions on Characters:
Data cannot be written to I/O memory properly if the TXT or CSV
file contains characters other than hexadecimal characters (0 to 9,
AtoF, or atof.)
b) Precautions on Field Size:
When words are being used, data cannot be written to I/O memory
properly if the TXT or CSV file contains fields that are not 4-digit
hexadecimal. Likewise, when double words are being used, data
cannot be written properly if the file contains fields that are not 8-
digit hexadecimal.
c) Storage Order:
When words are being used, I/O memory data is converted to
ASCII and stored in one-word fields in order from the lowest to the
Program files (.OBJ) (Number of steps used × 4) + 48 bytes (See note.)
Parameter files (.STD) 16,048 bytes
File type File size
Filename extension Contents Purpose
.IOM Binary format
CS/CJ-series data format
I/O memory backup
.TXT (See note.) In these data formats, 1-word or 2-
word fields in I/O memory are con-
verted to ASCII data.Records can
be delimited with carriage returns.
Exchanging data with
spreadsheet software
.CSV
Extension Data format Contents
I/O memory size per field Delimiter
.TXT
(See
notes.)
Non-delimited
words
1 word None
Non-delimited dou-
ble words
2 words None
Tab-delimited words 1 word Tab code
Tab-delimited dou-
ble words
2 words Tab code
.CSV
(See
notes.)
Comma-delimited
words
1 word Comma
Comma-delimited
double words
2 words Comma

Table of Contents

Related product manuals