EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 253

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...
213
File Memory Section 5-1
CSV/TXT Data File
Structure (Single Word)
The following illustration shows the data structure of a CSV data file
(ABC.CSV) with single-word fields containing four words from I/O memory:
1234 Hex, 5678 Hex, 9ABC Hex, and DEF0 Hex. The structure of the TXT file
with single-word fields is the same.
CSV/TXT Data File
Structure (Double Word)
The following illustration shows the data structure of a CSV data file
(ABC.CSV) with double-word fields containing four words from I/O memory:
1234 Hex, 5678 Hex, 9ABC Hex, and DEF0 Hex. The structure of the TXT file
with double-word fields is the same.
Creating Data Files with
Spreadsheet Software
Use the following procedure to create TXT and CSV data files with spread-
sheet software such as Microsoft Excel.
Set the cell contents to characters.
I/O memory
48 bytes (used by system)
8 bytes
Contents of ABC.IOM
I/O memory
Converted
to ASCII
4 bytes
Delimiter
4 bytes
Delimiter
The file displayed as text.
Contents of ABC.CSV
I/O memory
Converted to
ASCII (Upper
word first)
8 bytes
Delimiter
Contents of ABC.CSV
The file displayed as text.

Table of Contents

Related product manuals