Data Reception From The External Device; Receiving Methods - Mitsubishi Melsec-L Series User Manual

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

10.1 Data Reception from the External Device

10.1.1 Receiving methods

CPU module
10
10 - 2
This section explains data reception from the external device.
The following shows the methods for receiving data in any format using the
nonprocedural 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 by the user using GX Works2.
C24
Receive area
(buffer memory)
Receive data
(00
count
1)
Reception data
read request
(41
2) 3)
(43
INPUT
instruction
Receive data
(45
(47
(03
1) When data are received from the external device using either "reception via
receive complete code" or "reception via received data count" method, the
reception data read request (X3/XA) turns ON.
2) Control data are stored in the device designated with the INPUT instruction.
3) When the INPUT instruction is executed, receive data is read from the reception
data storage area of the buffer memory.
10 DATA COMMUNICATION USING THE NONPROCEDURAL PROTOCOL
10
Head data
)
(0A
)
H
H
A
STX
)
(02
)
H
H
S
A
B
C
T
C
B
X
(42
)
)
H
H
(02
) (41
) (42
) (43
H
H
H
H
E
D
)
(44
)
H
H
Send data
G
F
)
(46
)
H
H
ETX
H
)
(48
)
H
H
Receive complete
External device
code
E
D
E
F
G
H
T
X
) (44
) (45
) (46
) (47
) (48
) (03
)
H
H
H
H
H
H
10 - 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents