1 - 3 1 - 3
MELSEC-Q
1 OVERVIEW
(2) Data communication using the non procedure protocol
(Details are explained in Chapter 6 and the User's Manual (Application).)
(a) Data can be transferred in any message formats that conform to the
specifications of external devices (measuring devices, PCs, etc.).
(b) Fixed or variable length messages can be received in accordance with the
external device specifications.
• How to receive the variable length data
The external device sends data by adding at the end of the message the
end-code data (CR+LF or any one-byte data) that is set for the Q series C24.
• How to receive the fixed length data
The external device sends the amount of data equivalent to the size of the
end data that is set for the Q series C24.
End
code
Reception data
(When receiving variable length data)
QJ71E71
RUN
INIT.
OPEN
SD
ERR.
COM.ERR
RD
10BASE-T
+12V
12G
10BASE
RS-232
MODE
RUN
ERR.
USER
BAT.
BOOT
CH.2
SDA
SG
SDB
(FG)
RDA
(FG)
RDB
RS-422
/485
CH1.
CH2.
CH1.
2
1
3
4
5
6
7
RS-232
USB
Q25HCPU
POWER
MELSEC
PULL
MITSUBISHI
QJ71C24
(c) ASCII code data can be used for communication using the ASCII-BIN
conversion function.
ASCII-BIN
conversion
Binary
data
Q series C24
Binary
data
ASCII
data
QJ71E71
RUN
INIT.
OPEN
SD
ERR.
COM.ERR
RD
10BASE-T
+12V
12G
10BASE
RS-232
MODE
RUN
ERR.
USER
BAT.
BOOT
CH.2
SDA
SG
SDB
(FG)
RDA
(FG)
RDB
RS-422
/485
CH1.
CH2.
CH1.
2
1
3
4
5
6
7
RS-232
USB
Q25HCPU
POWER
MELSEC
PULL
MITSUBISHI
QJ71C24
(d) It is necessary to create a sequence program for communication control that
is appropriate to the external device.
(e) Communication can be performed using a user frame by registering the fixed
format portion of the head and tail sections of a message as a user frame.
• When sending data, the Q series C24 adds a user frame to any data
specified by the user.
• When receiving data, the Q series C24 transfers any data excluding the
user frame to the programmable controller CPU.
Any data format
ETX
ETX
STX
STX
QJ71E71
RUN
INIT.
OPEN
SD
ERR.
COM.ERR
RD
10BASE-T
+12V
12G
10BASE
RS-232
MODE
RUN
ERR.
USER
BAT.
BOOT
CH.2
SDA
SG
SDB
(FG)
RDA
(FG)
RDB
RS-422
/485
CH1.
CH2.
CH1.
2
1
3
4
5
6
7
RS-232
USB
Q25HCPU
POWER
MELSEC
PULL
MITSUBISHI
QJ71C24
Any data format
When receiving data
When sending data
(f) It is possible to clear the current reception data without interrupting the
transmission processing by using the dedicated instruction "CSET."
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......