Omron SYSMAC CS Series Programming Manual page 190

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

File Memory
Data Files
General-purpose Files
1,2,3...
Extension
Data format
.IOM
Binary
.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
170
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.)
Dedicated CS/CJ-series data format with header.
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.)
Contents
Section 5-1
Words/field
---
1 word
2 words
1 word
2 words
1 word
2 words

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents