Using File Memory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Section 4-7

I/O memory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.CSV file contents

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

32

 

33

34

2C

35

 

36

37

 

38

2C

 

39

41

42

43

 

2C

 

 

 

 

 

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

,

 

 

 

 

 

 

 

 

 

 

.TXT file displayed as text 1234,5678,9ABC,DEF0,1234,5678,9ABC,DEF0,1234,5678 9ABC,DEF0,1234,5678,9ABC,DEF0,1234,5678,9ABC,DEF0

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.

Note For details on how to use File Memory Instructions, refer to the CS/CJ Series Instructions Reference Manual (W340).

84

Page 108
Image 108
Omron CJ1W-ETN21 operation manual 9ABC