7-9
Sample Program
7
Output the Measurement Data (ASCII Code, four-wire)
Read out the measurement data by ASCII code from DR series, display on CRT of the personal
computer, and save to floppy disk.
10
‘
20
OPEN “COM1:E81N” AS #1
30
OPEN “TS0ASC.DAT” FOR OUTPUT AS #2
40
‘
50
PRINT #1,CHR$(&H1B)+”O 01"
60
LINE INPUT #1,D$ :PRINT D$
70
PRINT #1,”TS0"
80
LINE INPUT #1,D$ :PRINT D$
90
PRINT #1,CHR$(&H1B)+”T”
100
LINE INPUT #1,D$ :PRINT D$
110
PRINT #1,”FM0,001,010"
120
LINE INPUT #1,D$
130
PRINT D$
140
PRINT #2,D$
150
IF MID$(D$,2,1)<>”E” THEN GOTO 270
160
‘
170
PRINT #1,CHR$(&H1B)+”C 01"
180
LINE INPUT #1,D$ :PRINT D$
190
CLOSE
200
END
7.3 RS-422-A/RS-485 Sample Programs
Содержание DR130 SERIES
Страница 1: ...http www omega com e mail info omega com User sGuide DR130 DR230 DR240 SERIES Communication Interface ...
Страница 39: ...4 9 Command Format 4 4 5 Input Range Parameter This page intentionally left blank ...
Страница 40: ...4 10 4 5 Input Range Parameter This page intentionally left blank ...
Страница 56: ...5 15 Commands 5 This page intentionally left blank 5 5 Other Settings ...
Страница 71: ...6 9 Output Format 6 This page intentionally left blank ...