Data Reception From The External Device; Receiving Methods - Mitsubishi QJ71C24/-R2 User Manual

Melsec system q programmable logic controllers, serial communication modules gx configurator-sc
Hide thumbs Also See for QJ71C24/-R2:
Table of Contents

Advertisement

6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL

6.1 Data Reception from the External Device

6.1.1 Receiving methods

PLC CPU
Q25HCPU
1)
MODE.
Reception data
RUN.
ERR.
read request
USER.
6
BAT.
BOOT.
2) 3)
INPUT
instruction
USB
RS-232
Reception data read request signal
INPUT instruction complete device
INPUT instruction
6 - 2
This section explains data reception from the external device.
There are two methods for receiving data: the "reception via receive complete code"
for receiving variable length messages, and the "reception via received data count" for
receiving fixed length messages. The receive complete code and received data count
used for data reception can be changed to any setting values chosen by the user using
GX Configurator-SC.
The following shows the methods for receiving data in any format using the non-
procedure protocol.
There are two methods for receiving data: the "reception via receive complete code"
for receiving variable length messages, and the "reception via received data count" for
receiving fixed length messages. The receive complete code and received data count
used for data reception can be changed to any setting values chosen by the user using
GX Configurator-SC.
Q series C24
Receiving area
(buffer memory)
Receive data
10
count storage
(00
)
(0A
)
H
H
area
A
STX
(41
)
(02
)
Receive data
H
H
storage area
B
C
(43
)
(42
)
H
H
E
D
(45
)
(44
)
H
H
G
F
(47
)
(46
)
H
H
ETX
H
(03
)
(48
)
H
H
Description
CH1/CH2
X3/XA
1) When data is received from the external device using either "reception via receive
complete code" or "reception via received data count" method, the reception data
read request signal (X3/XA) turns ON.
2) Control data is stored in the device designated with the INPUT instruction.
3) When the INPUT instruction is executed, receive data is read from the reception
area of the buffer memory.
Head data
Receive complete code
STX
A
B
C
D
E
F
G
(02
) (41
)
(42
)
(43
)
(44
)
(45
)
(46
)
(47
H
H
H
H
H
H
H
Transmission data
Control timing
INPUT
MELSEC-Q
H ETX
)
(48
)
(03
)
H
H
H
External device
6 - 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24nSh-080007Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2 ... Show all

Table of Contents