
319
Using File Memory
Section 11-7
Example: Data format using words delimited by commas with CRs after every
10 fields.
Note
FREAD(700) will not be able to read the last byte in a file that has been written
to the Memory Card if the file contains an odd number of bytes. Add 00 hexa-
decimal to the end of the file if necessary to write an even number of bytes to
the Memory Card.
Note
The UM and DM Areas contain binary data. Set the data type to binary using
the
type
command before reading or writing files using FTP. (Refer to type
Note
For details on how to use File Memory Instructions, refer to the CS/CJ Series
Instructions Reference Manual (W340).
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+0
1234
5678
9ABC
DEF0
1234
5678
9ABC
DEF0
1234
5678
+10
9ABC
DEF0
1234
5678
9ABC
DEF0
1234
5678
9ABC
DEF0
31 32 33 34 2C 35 36 37 38 2C 39 41 42 43 2C
I/O memory
.CSV file contents
1
2
3
4
,
5
6
7
8
,
9
A
B
C
,
35 36 37 38 0D 0A 39 41 42 43 2C
5
6
7
8 [CR] [LF] 9
A
B
C
,
1234,5678,9ABC,DEF0,1234,5678,9ABC,DEF0,1234,5678
9ABC,DEF0,1234,5678,9ABC,DEF0,1234,5678,9ABC,DEF0
.TXT file displayed as text
Summary of Contents for CJ2H-CPU6 - REV 02-2010
Page 2: ......
Page 4: ...iv...
Page 6: ...vi...
Page 14: ...xiv...
Page 18: ...xviii...
Page 38: ...12 Network Configurator Overview Section 1 5...
Page 58: ...32 Selecting the Network Devices Section 2 3...
Page 116: ...90 Auxiliary Area Data Section 4 5...
Page 222: ...196 Message Communications Errors Section 7 6...
Page 364: ...338 Using the Backup Tool Section 13 3...
Page 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Page 404: ...378 Ethernet Network Parameters Appendix B...
Page 406: ...380 TCP Status Transitions Appendix C...
Page 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Page 460: ...434 Index...
Page 462: ...436 Revision History...
Page 463: ......