Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 226

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

b7
b6
0
0
3 - 166
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(Pattern 2) For mainly QnACPU files
• Files to be accessed should be designated using the following data
order.
File name + Extension + Attribute
When this file name is less than 8 characters, append a space (code:
20
) to the name to make it 8 characters.
H
• The following example shows how to designate the data when the
file name is ABC.QPG.
File name: "ABC
(" " indicates a space)
4)
Designate "20
for a file newly created by a user and when a dummy is designated.
The user can change this attribute (refer to Remarks ).
(Files for the Q/LCPU: Refer to Section 3.8.15; Files for the QnACPU:
Refer to Section 3.8.24)
The attributes for existing files can be checked using the functions
shown below.
Files for the Q/LCPU: Functions for reading directory/file information
(refer to Section 3.8.5)
Files for QnACPU: Functions for reading file information list (refer to
Section 3.8.16)
5)
For how to transmission data indicating the file name during data
communication, refer to the reference sections for each command.
REMARKS
The following is an outline of how to interpret the attributes of the files stored on
each disk of the Q/L/QnACPU. Each bit of an attribute value has its own meaning.
When each bit is turned on (1), the corresponding attribute is enabled.
b5
b4
b3
b2
b1
b0
1/0
0
1/0
0
0
1/0
Read only file
Volume name (the character string of file name and extension
indicate the volume name of the disk): Supports only the QnACPU
Disk files that can be read/written
The attribute of read/write enable disk file is used for user files by default.
The attribute of a file created by user can be changed between 01
file) • 20
(disk files that can be read/written). (Refer to Sections 3.8.15 and
H
3.8.24.)
QPG"
" as the attribute value (disk files that can be read/written)
H
(Read Only
H
3 - 166

Hide quick links:

Advertisement

loading