Trainer Operation - Mitsubishi Electric AJ71QC24 Manual

Melsec qna serial communications module
Table of Contents

Advertisement

5. NON PROCEDURE PROTOCOL COMMUNICATIONS
MELSEC QnA
5.5.3
Trainer operation
Write the sequence program shown in Section 5.5.1 to the PC CPU and the BASIC program
shown in Section 5.5.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.
@
Turn ON XO. The number of words of data to be sent to the external device is stored to D2 and
the send data is stored to D4 to
D7.
Use the GPPQ batch monitor screen to check if the data
was stored.
Device
W
mevice
0
1 2 3 4
5
6 7 8 9
A B
C
D E F
Hexadeclma'
D
0.
1
D
l
0
D
2
W
c
D
3
0
D
4 .
m
.
C24t
D
5
MW
.
4847
mmD
D
7
4645
..
H
D
6
4433
D
8
D
9
D
10
D
I 1
Display: 16Bit
0
0
0
0
GPPQ batch monitor screen
**
Reception from PC in non procedure mode
**
Wait to receive data !
Send the data from the PC.
External device screen
@
Turn ON X I . Send data DO to D4 are written to QC24 buffer memory addresses 400H to 404H
(1 024 to 1028) and sent
to the external device.
Device U8FG1024
Display 16Bit
Device
0 1 2 3 4 5 6 7
8 9 A B C D E F
G 1024
m .
G I 0 2 6
G 1025
W
D
m
W
4443
4241
G 1027
4645
..
G 1028
W
4847
G 1029
3
G 1030
G 1031
0
0
G 1032
G 1033
0
0
G 1034
0
G 1035
0
Value
Hexadecimal
.
4
I
~
GPPQ buffer batch monitor screen
**
Reception from PC in non procedure mode
**
Read data
=
ABCDEFGH
Receive again (Y/N) ?
External device screen
5 - 1 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents