Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 247

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

Advertisement

File Memory
Data Files
General-purpose Files
1,2,3...
File type
Program files (.OBJ)
Parameter files (.STD)
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.
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.)
Filename extension
.IOM
.TXT (See note.)
.CSV
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.
Extension
Data format
.TXT
Non-delimited
(See
words
notes.)
Non-delimited dou-
ble words
Tab-delimited words 1 word
Tab-delimited dou-
ble words
.CSV
Comma-delimited
(See
words
notes.)
Comma-delimited
double words
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,
A to F, or a to f.)
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
(Number of steps used × 4) + 48 bytes (See note.)
16,048 bytes
Contents
Binary format
CS/CJ-series data format
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.
I/O memory size per field
1 word
2 words
2 words
1 word
2 words
Section 5-1
File size
Purpose
I/O memory backup
Exchanging data with
spreadsheet software
Contents
Delimiter
None
None
Tab code
Tab code
Comma
Comma
209

Advertisement

Table of Contents
loading

Table of Contents