Omron CJ1W-ETN21 operation manual Section

Models: CJ1W-ETN21

1 242
Download 242 pages 30.9 Kb
Page 107
Image 107

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.TXT file contents

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

32

 

33

34

09

35

 

36

37

 

38

09

 

39

41

42

43

 

09

 

 

 

 

 

1

2

 

3

4 [HT] 5

6

7

 

8 [HT] 9

A

B

C [HT]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

35

 

36

37

38

0D

0A

39

 

41

42

 

43

09

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

6

7

8 [CR][LF] 9

A

B

C [HT]

 

 

 

 

 

 

 

 

 

 

.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

@...[HT]: Used to display tab space when displayed as text.

CSV Format

The CSV format is a data format (using comma delimiters) that is specified by ladder instructions, READ DATA FILE (FREAD(700)) and WRITE DATA FILE (FWRIT(701)), in the CPU Unit. The CSV format is configured according to the specified FREAD(700) and FWRIT(701) parameters, as follows:

Data format

Use of CRs and CR position

 

 

Words delimited by commas.

• No CRs

Double words delimited by com-

• CR after every 10 fields.

mas.

• CR after each field.

 

• CR after every 2 fields.

 

• CR after every 4 fields.

 

• CR after every 5 fields.

 

• CR after every 16 fields.

 

 

If word data from the I/O memory (1234 hexadecimal, 5678 hexadecimal, up to DEF0 hexadecimal) is contained in an attached file in CSV format, the word data will be converted into ASCII format in word or double-word units. The words are delimited by inserting comma delimiters (',':2C), and CRs after specified fields ([CR][LF]: 0D0A).

Example: Data format using words delimited by commas with CRs after every 10 fields.

83

Page 107
Image 107
Omron CJ1W-ETN21 operation manual Section