Mitsubishi Electric AJ71QC24 Manual page 90

Melsec qna serial communications module
Table of Contents

Advertisement

5. NON PROCEDURE PROTOCOL COMMUNICATIONS
MELSEC QnA
1000
1010
1020
1030
1040
1050
1060
1070
1080
1090
1100
1110
1120
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
5.6.2
External device Droaram
I
I
I
1
1
AJ71QC24 Non Procedure Mode
Sample
Program
1
I
. . . . . . . . . . . . . . . . . . . . . . . . .
RS-232C open
&
initialize
- -
OPEN "COM:E71NN" AS #CH%
: '
Set communications mode, etc.
I
I
*SOUSIN
CLS
LOCATE
6,l:PRINT "**Transmission to PC in non procedure mode**"
LOCATE 10,5: INPUT
'I
SeRd data ''
;
SD$
PRINT #CH%,SD$;CR$;LF$;
LOCATE 10,8;INPUT "End of data transmission. Reset
IF Y$="Y" THEN *SOUSIN
CLOSE
END
transmission? (Y/N) ";Y$
*
BASIC commands must be changed according to BASIC software.
5 - 1 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents