![Omron CJ1G-CPUxx Instructions Manual Download Page 928](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491928.webp)
907
File Memory Instructions
Section 3-26
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+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.
Note
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
Data type
Bits 12 to 15 of C
Contents of D1 and D1+1
Binary
0 Hex (binary)
Number of words to write from file
memory.
00000000 to 3FFFFFFF Hex
Word
1 Hex (non-delimited),
3 Hex (comma-delimited),
or 5 Hex (tab-delimited)
Number of fields to write from file
memory, i.e., the number of words to
write from file memory.
00000000 to 1FFFFFFF Hex
Double-word
2 Hex (non-delimited),
4 Hex (comma-delimited),
or 6 Hex (tab-delimited)
Number of fields to write from file
memory, i.e., half the number of words
to write from file memory.
00000000 to 0FFFFFFF Hex
Data type
Bits 12 to 15 of C
Contents of D1+2 and D1+3
Binary
0 Hex (binary)
The word at which to begin writing
from the beginning of file memory.
00000000 to 3FFFFFFF Hex
Word
1 Hex (non-delimited),
3 Hex (comma-delimited),
or 5 Hex (tab-delimited)
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
Double-word
2 Hex (non-delimited),
4 Hex (comma-delimited),
or 6 Hex (tab-delimited)
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
D1+1 contains the leftmost 4 digits and
D1 contains the rightmost 4 digits.
D1
D1+1
D1+3 contains the leftmost 4 digits and
D1+2 contains the rightmost 4 digits.
D1+2
D1+3
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...