Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 169

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

Advertisement

File No.
0000
Filename not designated
H
0001
TO 0100
File number
H
H
FFFF
File number unknown
H
3 - 109
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
Description
Designated when file and step numbers are not designated in the monitor conditions.
Designated when the file number is known.
Designated when the file number is retrieved by the C24/E71.
(Random read requests from the C24/E71 to the programmable controller CPU are delayed
for one sequence scan time or longer.)
a) Data communication in ASCII code
The file number shown above is converted to a 4-digit (hexadecimal)
ASCII code and transmitted beginning from the most significant digit.
(Example)
When the file number is 1F
sequentially transmitted beginning from the first "0".
b) Data communication in binary code
The 2-byte value shown above is transmitted beginning from the
low byte (L: bits 0 to 7).
(Example)
When the file number is 1F
transmitted first and then 00
c)
When file and step numbers are not designated (02
used) in the monitor conditions, the file number becomes 0000
if the monitor condition designated is selected by a subcommand.
d) When a monitor condition was selected not to be designated by a
subcommand, it is not required to specify the file number.
e)
The file number can be checked using the file search function
described in Sections 3.8.6, 3.8.16, and 3.8.17.
6)
Filename, extension, and attribute
These data items are for designating the target file of the sequence
number in 9) below. They designate the filename, extension, and
attribute when that file is registered (written) to the programmable
controller CPU.
The initial attribute of a user file is 20
changed by the user. (Refer to Sections 3.8.15 and 3.8.24)
a) Data communication in ASCII code
The filename, extension, and attribute used during registration are
sequentially transmitted beginning from the first character of each.
A space (code: 20
When the filename is less than 8 characters, a space (code: 20
is added.
(Example)
The filename during registration was "ABCD12"
"ABCD12
b) Data communication in binary code
For the filename and extension, each character code during
registration is used as a binary value and is sequentially
transmitted beginning from the first character.
The 1-byte value "20
When the filename is less than 8 characters, "20
(Example)
When the filename during registration was "ABCD12"
The filename becomes 41
and is sequentially transmitted beginning from 41
Designation contents
: It becomes "001F" and
H
: It becomes 001F
H
.
H
(disk file). This attribute may be
H
) is transmitted as the attribute.
H
" is sequentially transmitted from the "A".
" is transmitted as the attribute.
H
, 42
, 43
H
H
and 1F
is
H
H
and 04
are
H
H
H
" is added.
H
, 44
, 31
, 32
, 20
, 20
H
H
H
H
H
.
H
3 - 109
even
)
H
H

Hide quick links:

Advertisement

loading