EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 206

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...
204
12 FILE CONTROL
12.3 Data to be specified in commands
File name of MELSEC iQ-R series module (Number of characters and file name)
Use the subcommand '0040'.
Specify the file name including absolute path from the root folder with variable length.
The file name and the extension are specified by inserting a period between them. Specify the length of character string with
"number of characters". (Page 200 Number of characters)
Specify "Path name" + "Period (002EH)" + "Extension" by Unicode(UTF-16).
"Drive name:\" is not required in front of the path. Use '\' (005CH) for the delimiter between the folder names.
For the characters that cannot be used for a file name and naming rules, refer to the manual of the access target module.
Data communication in ASCII code
Convert the numerical value of UTF-16, which indicates a file name, to ASCII code (hexadecimal), and send it from the upper
digits.
Data communication in binary code
Send the numerical value of UTF-16 that indicates file name from the lower byte (L: bits 0 to 7).
Ex.
When the file name and the extension are 'LINE\LINE.CSV' (13 characters)
The value of the file name 'LINE\LINE.CSV' is as follows.
ASCII code Binary code
ASCII code Binary code
Item Value of code corresponds to character
File name LINE\LINE.CSV
UTF-16 004C 0049 004E 0045 005C 004C 0049 004E 0045 002E 0043 0053 0056
ASCII code 3030
3443
3030
3439
3030
3445
3030
3435
3030
3543
3030
3443
3030
3439
3030
3445
3030
3435
3030
3245
3030
3433
3030
3533
3030
3536
Binary code 4C00 4900 4E00 4500 5C00 4C00 4900 4E00 4500 2E00 4300 5300 5600
Number of characters File name + "." + Extension
(4 digits) (Variable length)
Number of characters File name + "." + Extension
(2 bytes) (Variable length)
30
H
30
H
30
H
44
H
000D
LINE/LINE.CSV
0DH 00H
LINE/LINE.CSV

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals