![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301147.webp)
1107
File Memory Instructions
Section 3-26
Operands
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.
Note
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.
C
15
8
0
11
3
7
4
12
File memory specifier
0: Memory Card
1: EM file memory
Function specifier
0: Append
1: Overwrite
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
@
.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...