Omron CS1G/H-CPUxxH Instructions Manual page 921

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

File Memory Instructions
Note
900
15
12
11
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 (-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@.
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.
S1+1
Data type
Bits 12 to 15 of C
Binary
0 Hex (binary)
Word
1 Hex (non-delimited),
3 Hex (comma-delimited),
or 5 Hex (tab-delimited)
Double-word
2 Hex (non-delimited),
4 Hex (comma-delimited),
or 6 Hex (tab-delimited)
8
7
4
3
0
File memory specifier
0: Memory Card
1: EM file memory
Function specifier
0: Read data.
1: Read number of words.
S1
S1+1 contains the leftmost 4 digits and
S1 contains the rightmost 4 digits.
Contents of S1 and S1+1
Number of words to read from file
memory.
00000000 to 3FFFFFFF Hex
Number of fields to read from file
memory, i.e., the number of words to
read from file memory.
00000000 to 1FFFFFFF Hex
Number of fields to read from file
memory, i.e., half the number of words
to read from file memory.
00000000 to 0FFFFFFF Hex
Section 3-26

Advertisement

Table of Contents
loading

Table of Contents