Omron CS1G/H-CPUxxH Instructions Manual page 928

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

Advertisement

File Memory Instructions
Note
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.
D1 and D1+1: Number of Write Items
The 8-digit hexadecimal value in D1 and D1+1 specifies how many words or
fields to write to file memory.
D1+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)
D1+2 and D1+3: First Destination Word
The 8-digit hexadecimal value in D1+2 and D1+3 specifies the starting write
word from the beginning of the file.
D1+3
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)
1. D1+2 and D1+3 are used only when overwriting data, and only 1) For text
and CVS data with no carriage returns (i.e., bits 08 to 11 of C set to 0 Hex)
or 2) for binary data. Always set D1+2 and D1+3 to 00000000 Hex when
D1
D1+1 contains the leftmost 4 digits and
D1 contains the rightmost 4 digits.
Contents of D1 and D1+1
Number of words to write from file
memory.
00000000 to 3FFFFFFF Hex
Number of fields to write from file
memory, i.e., the number of words to
write from file memory.
00000000 to 1FFFFFFF Hex
Number of fields to write from file
memory, i.e., half the number of words
to write from file memory.
00000000 to 0FFFFFFF Hex
D1+2
D1+3 contains the leftmost 4 digits and
D1+2 contains the rightmost 4 digits.
Contents of D1+2 and D1+3
The word at which to begin writing
from the beginning of file memory.
00000000 to 3FFFFFFF Hex
The field at which to begin writing from
the beginning of file memory, i.e., the
number of words from the beginning.
00000000 to 1FFFFFFF Hex
The field at which to begin writing from
the beginning of file memory, i.e., half
the number of words from the begin-
ning.
00000000 to 0FFFFFFF Hex
Section 3-26
907

Advertisement

Table of Contents
loading

Table of Contents