
Using File Memory |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Section | |
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
Example: Data format using words delimited by commas with CRs after every 10 fields.
83