Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 196

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

Advertisement

16 points
00
to
0F
3 - 136
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(b) Number of bytes
This value designates 2 bytes  the number of addresses of the area from
which data is read (or written) and is designated by even byte.
1) Data communication in ASCII mode
The number of addresses  2 (2 to 1920) is converted to 4-digit ASCII
code (hexadecimal), used, and sequentially transmitted beginning from
the most significant digit ("0").
2) Data communication in binary mode
A 2-byte value indicating the number of addresses  2 (2 to 1920) is
transmitted beginning from the low byte (L: bit 0 to 7).
(c) Module number
This is used to designate the intelligent function module that will read, or
write, the data.
It is shown in 3) how to designate the module number.
The accessible modules, buffer memory head address, and modules when
the accessible module is installed on to slot 0, are shown in Section 3.5.2.
1) Data communication in ASCII mode
The applicable intelligent function module input/output signal is
expressed in four digits, and the first three digits are converted to 4-
digit ASCII code (hexadecimal) and sequentially transmitted beginning
from the first digit.
(Example)
The intelligent function module input/output signal is 0080
The module No. is converted to "0008" and is sequentially
transmitted beginning from "0".
2) Data communication in binary mode
The applicable intelligent function module input/output is expressed in four
digits, and the 2-byte value of the first three digits are transmitted
sequentially in the order low byte (L: bit 0 to 7) to high byte (H: bit 8 to 15).
(Example)
The intelligent function module input/output signal is 0080
The module No. is converted to 0008
from 08
3)
The module number should be designated in the following way when
reading from or writing to the intelligent function module buffer memory.
• The module number should be designated as the head input/output
signal allocated to the relevant intelligent function module in the
installable station.
• For an intelligent function module occupying two slots, the value is
designated as the head input/output signal of the slot on the
intelligent function module side.
(When intelligent function modules occupy one slot)
32 points
32 points
16 points
32 points
16 points
32 points
10
30
50
60
80
90
to
to
to
to
to
to
2F
4F
5F
7F
8F
AF
and 00
.
H
H
Module number "0006
"
H
Module number "0009
"
H
32 points
16 points 32 points 32 points 32 points 32 points
B0
D0
E0
to
to
to
CF
DF
FF
and is transmitted in order
H
Module number "0012
100 120 140
to
to
to
11F 13F 15F
to 009F
H
H
to 009F
H
H
"
H
3 - 136

Hide quick links:

Advertisement

loading