Data Reception From External Device; Sequence Program - Mitsubishi Electric AJ71QC24 Manual

Melsec qna serial communications module
Table of Contents

Advertisement

5. NON PROCEDURE
PROTOCOL
COMMUNICATION
MELSEC QnA
5.6
Data Reception From External Device
In this section, the PC CPU receives the send data from an external device.
The receive data count units are word units.
(Practice Contents)
Send the data input from the external device keyboard to the PC CPU.
Use the sequence program INPUT instruction to read the receive data from the QC24 buffer
memory to the PC CPU.
5.6.1
Sequence program
'
I
MOVP K10
M2
A I
[SET
M2
I I
[SET
[
RST
DO
D3
M1
Y70
Y71
K14
Y 70
Y71
[END
Designates the receive
interface. (CHI)
Sets the allowable receive
data count (1 0 words)
D4: Receive data storage
destlnatlon head deuce
M I : Turned ON at the end of
execution of the Instructlon
(D2: Receive data count storage)
Normal end
Abnormal end
( D l =error code storage)
Clear 14 data reglsters to zero,
beginning from D4.
5 - 1 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents