Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 296

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

Advertisement

3 - 236
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(c) Frame byte count
This value designates the number of bytes in the frame to be registered or
read.
The variable data part is calculated with the 2-bytes of FF
1) Data communication in ASCII code
The value 0
(1 to 80) is converted to a 4-digit (hexadecimal) ASCII code and
sequentially transmitted beginning from the most significant digit.
2) Data communication in binary code
A 2-byte value indicating byte count 0
during deletion) or 1
beginning from the low byte (L: bits 0 to 7).
(d) Registration data
This value designates the data order of the frame to be registered to the
C24. It must be a continuous set of data (maximum of 80 bytes)
corresponding to the read/write byte counts described in item (b) above.
When deleting a registered user frame, it is not necessary to designate the
registration data.
1) Data communication in ASCII code
The data codes making up the frame are converted to 2-digit
(hexadecimal) ASCII codes and transmitted beginning from the most
significant digit.
(Example)
Designating a frame to transmit/receive ENQ + module station
number + space
This code is converted to "05FF0120" and sequentially transmitted
from the first "0" (head data).
2) Data communication in binary mode
The data codes making up the frame are sequentially transmitted
beginning from the head data.
(Example)
Designating a frame to transmit/receive END + module station
number + space
The registration data becomes 05
sequentially transmitted from 05
(the value when designated during deletion) or 1
H
to 50
(1 to 80) is sequentially transmitted
H
H
+
H
(the value when designated
H
, FF
, 01
and 20
H
H
H
H
.
H
as one byte.
H
to 50
H
H
and is
3- 236

Hide quick links:

Advertisement

loading