Mitsubishi Electric AJ71QC24 Manual page 130

Melsec qna serial communications module
Table of Contents

Advertisement

6. BlDlRECTlONAL PROTOCOL COMMUNICATIONS
MELSEC QnA
6.6.3
Trainer operation
Write the sequence program shown in Section 6.6.1 to the PC CPU and the BASIC program
shown in Section 6.6.2 to the external device.
After writing, set the PC CPU and external device to "RUN".
If there are no errors, send and receive data using the following procedure.
@
Input an even number of arbitrary send data from the external device keyboard and
send the data to the PC CPU.
(For e x a m p l e , l i ' l ~ J 1 _ 3 1 ~ J l ~ l l ~ i l ~ )
* +
Transmission to PC in bidirectional mode
**
Send data?
I
(Note) Make the input data an even number.
@
The data sent from the external device
is
written to the QC24 buffer memory
(addresses 600H-).
Devlce U8YG1536
Display : 16Bt
Devlce
0 1 2 3 4 5 6 7 8 9 A B C 0
E
F
'
G 1537
G 1541
3635
W W
H .
..
W
U
G 1539
3433
.. .
H .
G 1538
0003
U .
G 1536
3231
W H
W
..
G 1540
0000
0000
G 1542
0000
G 1543
0000
G 1544
G 1545
0000
G 1546
0000
G 1547
0000
0000
**
Transmission to PC in bidirectional mode
**
Send data?l23456
End of communications.
Reset transmission
(Y/N) ?
GPPQ buffer batch monitor screen
6 - 1 9
External device screen

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents