Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1147

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

File Memory Instructions
Operands
Note
1108
C: Control Word
As shown in the following diagram, the third digit of the control word indicates
whether to append or overwrite data in the data file and the fourth digit indi-
cates whether the destination file is in the Memory Card or EM file memory.
15
12
11
8
C
Carriage returns
0: No returns
8: Return every 10 fields*
9: Return every 1 field*
A: Return every 2 fields*
B: Return every 4 fields*
C: Return every 5 fields*
D: Return every 16 fields*
Data type
0: Binary (extension: .IOM, words/field: NA)
1: Non-delimited words (extension: .TXT, words/field: 1)*
2: Non-delimited double-words (extension: .TXT., words/field: 2)*
3: Comma-delimited words (extension: .CSV, words/field: 1)*
4: Comma-delimited double-words (extension: .CSV, words/field: 2)*
5: Tab-delimited words (extension: .TXT, words/field: 1)*
6: Tab-delimited double-words (extension: .,TXT words/field: 2)*
*: Cannot be set for CS-series CS1 CPU Units prior to V1@.
1. Each field will contain 1 word of I/O memory for the word data types and 2
words of I/O memory for the double-word data types.
2. With double-words, the first word of data is read from the higher memory
address, e.g., 12345678 would be written with 1234 from D00001 and
5678 from D00000.
3. If delimiting is specified, the specified of delimiter is added after every word
for word data types and after every two words for double-word data types.
(The code for a comma is added for comma-delimiting and the code for a
tab is added for tab-delimiting.)
4. If non-delimited words or double-words are specified, the data for all fields
is written continuously without any delimiters.
5. If carriage returns are specified, a carriage return will be added after each
set of the specified number of words. If no carriage returns is specified, the
data will be written continuously without carriage returns.
7
4
3
0
File memory specifier
0: Memory Card
1: EM file memory
Function specifier
0: Append
1: Overwrite
Section 3-26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents