Omron CS1G/H-CPUxx-EV1 Programming Manual page 239

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

Advertisement

File Memory
Extension
Data format
.TXT
Non-delimited
(See notes.)
words
Non-delimited
double words
Tab-delimited
words
Tab-delimited
double words
.CSV
Comma-delimited
(See notes.)
words
Comma-delimited
double words
ASCII
This format is created by converting one-word fields of I/O
format
memory (4-digit hexadecimal) to ASCII and packing the
fields without delimiters. Records can be delimited with car-
riage returns.
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.
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.
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.
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.
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.
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,
A to F, or a to f.)
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.)
e) Delimiters:
When there are no delimiters, the fields are packed consecutively
and then stored. When delimited by commas, commas are insert-
ed between fields before they are stored. When delimited by tabs,
tab codes are inserted between fields before they are stored.
When delimiters (commas or tabs) are specified in FREAD(700),
the data is read as delimited data with one-word delimiters (com-
mas or tabs).
Contents
Section 5-1
Words/field
1 word
2 words
1 word
2 words
1 word
2 words
203

Advertisement

Table of Contents
loading

Table of Contents