Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 253

Programmable controllers
Table of Contents

Advertisement

File Memory
CSV/TXT Data File
Structure (Single Word)
I/O memory
CSV/TXT Data File
Structure (Double Word)
I/O memory
Creating Data Files with
Spreadsheet Software
I/O memory
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.
Converted
to ASCII
Contents of ABC.CSV
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.
Converted to
ASCII (Upper
word first)
Contents of ABC.CSV
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.
48 bytes (used by system)
Contents of ABC.IOM
4 bytes
Delimiter
4 bytes
The file displayed as text.
Delimiter
8 bytes
The file displayed as text.
Delimiter
Section 5-1
8 bytes
213

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?

Questions and answers

Table of Contents