EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 217

Mitsubishi Electric MELSEC iQ-R Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
12 FILE CONTROL
12.4 File Check
215
12
Communication example (files for MELSEC iQ-R series)
Read directory/file information under the following conditions.
Drive No.: 4
Head file No.: 1
Number of requested files: 3
The path names of directory are shown in the following table.
(1) SUBDIR (6 characters)
The following shows the file name of a directory/file information to be read.
The current directory information is stored in the directory/file information 1.
The parent directory information is stored in the directory/file information 2.
The following shows the file name of the directory/file information 3.
(2) LINE.CSV (8 characters)
Data communication in ASCII code
(Request data)
In the figure (1), set the value of "ASCII code" in the table of "Value of code corresponds to character" in "Path name".
Item Value of code corresponds to character
Path name S U B D I R
UTF-16 0053 0055 0042 0044 0049 0052
ASCII code 30303533 30303535 30303432 30303434 30303439 30303532
Binary code 5300 5500 4200 4400 4900 5200
Directory Number of file name
characters
Character code
Current directory 1 File name .
UTF-16 002E
ASCII code 30303245
Binary code 2E00
Parent directory 2 File name . .
UTF-16 002E 002E
ASCII code 30303245 30303245
Binary code 2E00 2E00
Item Value of code corresponds to character
File name L I N E . C S V
UTF-16 004C 0049 004E 0045 002E 0043 0053 0056
ASCII code 30303443 30303439 30303445 30303435 30303245 30303433 30303533 30303536
Binary code 4C00 4900 4E00 4500 2E00 4300 5300 5600
1
31
H
8
38
H
1
31
H
0
30
H
0
30
H
0
30
H
4
34
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
4
34
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
0
30
H
1
31
H
0
30
H
0
30
H
0
30
H
6
36
H
0
30
H
0
30
H
0
30
H
3
33
H
(1)
Subcommand (Fixed value) Drive No. Head file No. Number of requested files
Number of characters Path name
Directory specification

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals