Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 103

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

Advertisement

(6) Command
(7) Character area
3 - 43
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(f)
Local station number
1) During communication in ASCII code, "00" is used for transmission.
2) During communication in binary code, the 1-byte value "00
used for transmission.
POINT
When the external device and programmable controller CPU system configuration
is m:n and data communication is performed by QnA compatible 3C frames or QnA
compatible 4C frames, the external device station number must be a number within
the range 00
to 1F
(0 to 31) that does not duplicate the C24 side station number.
H
H
For the description of the external device station number, refer to the User's Manual
(Application).
A command designates the purpose of the access when an external device
accesses the programmable controller, such as read and write.
1) Data communication in ASCII code
The commands are converted to 4-digit (hexadecimal) ASCII code and
sequentially transmitted beginning from the most significant digit.
(Example)
Bit units batch read command
The command "0401" is sequentially transmitted from the first "0".
2) Data communication in binary code
The commands are used as 2-byte values (hexadecimal) and are
transmitted in the order, low byte (L: bits 0 to 7) to high byte (H: bits 8
to 15).
(Example)
Bit units batch read command
The command 0401
The following describes the application of each character area.
Character area A : Data that will instruct the programmable controller CPU to
Character area B : Data returned to the external device in response to a
Character area C : Data to instruct the programmable controller CPU to
The contents of the character areas (data section) depend on the command sent
from the external device.
1) During data communication in ASCII code, the character areas are
converted to ASCII code and transmitted.
2) During data communication in binary code, the character areas are
transmitted in binary code.
3) Refer to Section 3.1.7 about the approach to the transmission data in
the character area.
is sent in the order of 01
H
(data section)
execute a read request as designated by a command.
request designated by a command.
execute a write request as designated by a command.
" (0) is
H
and 04
.
H
H
3 - 43

Hide quick links:

Advertisement

loading