EasyManua.ls Logo

Omron SYSMAC CS/CJ Series

Omron SYSMAC CS/CJ Series
383 pages
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...
192
File Memory Section 5-1
Data Files
General-purpose Files
1,2,3... 1. General-purpose data files have filename extensions IOM, TXT, or CSV.
(The TXT and CSV files: Not supported by CS-series CS1 CPU Units that
are pre-EV1.)
Note a) 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.
b) 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.)
c) 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.
d) 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
highest I/O memory address.
When double words are being used, I/O memory data is converted
to ASCII and stored in two-word fields in order from the lowest to
the highest I/O memory address. (Within the two-word fields, the
higher-address word is stored first and the lower-address word is
stored second.)
Extension Data format Contents Words/field
.IOM Binary CS/CJ-series data format ---
.TXT
(See notes.)
Non-delimited
words
ASCII
format
This format is created by converting one-word fields of I/O
memory (4-digit hexadecimal) to ASCII and packing the
fields without delimiters. Records can be delimited with car-
riage returns.
1 word
Non-delimited
double words
This format is created by converting two-word fields of I/O
memory (8-digit hexadecimal) to ASCII and packing the
fields without delimiters. Records can be delimited with car-
riage returns.
2 words
Tab-delimited
words
This format is created by converting one-word fields of I/O
memory (4-digit hexadecimal) to ASCII and delimiting the
fields with tabs. Records can be delimited with carriage
returns.
1 word
Tab-delimited
double words
This format is created by converting two-word fields of I/O
memory (8-digit hexadecimal) to ASCII and delimiting the
fields with tabs. Records can be delimited with carriage
returns.
2 words
.CSV
(See notes.)
Comma-delimited
words
This format is created by converting one-word fields of I/O
memory (4-digit hexadecimal) to ASCII and delimiting the
fields with commas. Records can be delimited with carriage
returns.
1 word
Comma-delimited
double words
This format is created by converting two-word fields of I/O
memory (8-digit hexadecimal) to ASCII and delimiting the
fields with commas. Records can be delimited with carriage
returns.
2 words

Table of Contents

Related product manuals