Mitsubishi Electric AJ71QC24 Manual page 66

Melsec qna serial communications module
Table of Contents

Advertisement

4. COMMUNICATIONS USING A DEDICATED
PROTOCOL
MELSEC
QnA
Batch write to Y70-Y77
u
START
f
' S T 1
f
Wrlte data
input
1
RS-232C OPEN
I
*COMSEND
Send command
1401
(subcommand
0000:
bit unlts)
'REC1
I ?
Store received 1 character da:a
to BUF$.
If BUF$=ACK$,
If BUF$=NAK$,
receive the remainlng 10 characters.
receive the remaining
14
characters.
I I
A
'JYUSIN
Store all the received
data to BUF$.
I _
A
'ERFIN
L
C
D
I
S
P
L
'ERDISP
Error disp1ay"Data
cannot
be
Abnormal end dlsplay
,
-1
' F IN,
RS-232C CLOSE
* I - - - # ,
I_
- -,
,
Label name used with the program
4
-
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents