
1108
File Memory Instructions
Section 3-26
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
writing data with carriage returns (i.e., bits 08 to 11 of C set to between 8
and D hex).
2.
D1 to D1+3 must be in the same data area.
3.
If the specified starting word exceeds the number of words in the data file,
the File Write Error Flag (A34308) will be turned ON and the data will not
be written.
D2: Filename
D2 is the starting address of the words containing the absolute path and file-
name in ASCII. Use ASCII a to z, A to Z, and 0 to 9.
The full path name to the directory containing the data file can be up to 65
characters long, including the starting slash (ASCII 5C). The filename can be
up to 8 characters long, but null characters (ASCII 00) are not allowed in the
filename because the null character is used to mark the end of the character
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
D1+1
D1+1 contains the leftmost 4 digits and
D1 contains the rightmost 4 digits.
D1+2
D1+3
D1+3 contains the leftmost 4 digits and
D1+2 contains the rightmost 4 digits.
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 ...