Mitsubishi Electric MELSEC IQ-R series Reference Manual page 303

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

File size
A data that indicates the current file size in number of bytes.
■Data communication in ASCII code
Convert the numerical value to 8-digit (hexadecimal) ASCII code, and send it from the upper digits.
■Data communication in binary code
*1
Send 4-byte
numerical from the lower byte (L: bits 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Ex.
When the file size is 7168 bytes
ASCII code
0
0
0
0
1
C
0
30
30
30
30
31
43
30
H
H
H
H
H
H
Header statement
A header statement given to the file specified by Engineering tool supporting QnACPU (up to 32 characters).
■Data communication in ASCII code
Send data from the first character.
If the header statement is less than 32 characters, append a space (code: 20H).
Ex.
The header statement at the registration is '1 line-PC5'
The header statement becomes '1 line-PC5...' , and is sequentially sent from '1'. (: indicating a space.)
■Data communication in binary code
Use the character code of header statement as binary value, and send if from the first character.
When the header statement is less than 32 characters, 20H is added for the shortage.
Ex.
The header statement at registration is '1 line-PC5'
The header statement becomes 31H, 20H, 6CH, 69H, 6EH, 65H, 2DH, 50H, 43H, 35H, 20H, 20H..., and is sequentially sent
from 31H.
Offset address
A data to specify the start address of the file range for which data is read and written.
Specify the address (one address/one byte) from the head (offset address: 0H) of each file with an even number.
■Data communication in ASCII code
Convert the address described in the reference section relevant to the corresponding function to 8-digit (hexadecimal) ASCII
code, and send it from the upper digits.
■Data communication in binary code
Send 4-byte numerical values described in the reference section relevant to the corresponding function from lower byte (L:
bits 0 to 7).
■Offset addresses that can be specified
Check the file size (number of bytes) with the following read file information table functions, and calculate the offset address
(0H to nH) by the size.
Page 308 Read file information table without header statement (command: 0201)
Page 311 Read file information table with header statement (command: 0202)
Binary code
0
30
00
1C
00
H
H
H
H
H
00
H
15 QnACPU DEDICATED COMMANDS
15
301
15.3 File Control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents