![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301140.webp)
1100
File Memory Instructions
Section 3-26
file is in the Memory Card or EM file memory, the second digit of the control
word indicates whether the actual data or the number of words of data is to be
read, the third digits indicates the presence of carriage returns, and the fourth
digit indicates the data type.
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.
When reading data with carriage returns, bits 00 to 11 of C must be set to
between 8 and D hex.
3.
With double-words, the first word of data is stored in the higher memory
address, e.g., 12345678 would be stored with 1234 in D00001 and 5678
in D00000.
S1 and S1+1: Number of Read Items
The 8-digit hexadecimal value in S1 and S1+1 specifies how many words or
fields to read from file memory. If the specified number of words or fields
exceeds the number of words in the data file, the data in the file will be trans-
ferred normally and no error will occur.
15
8
0
11
3
7
4
12
C
File memory specifier
0: Memory Card
1: EM file memory
Function specifier
0: Read data.
1: Read number of words.
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 (-EV1 only)
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
@
.
Data type
Bits 12 to 15 of C
Contents of S1 and S1+1
Binary
0 hex (binary)
Number of words to read from file
memory.
00000000 to 3FFFFFFF hex
S1
S1+1
S1+1 contains the leftmost 4 digits and
S1 contains the rightmost 4 digits.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...