Output the system configuration data – Yokogawa DR240 User Manual

Page 110

Advertising
background image

8-12

IM DR231-11E

8.3 RS-422-A/RS-485 Sample Programs

Output the System Configuration Data

Read out the configuration data from DR series, display on CRT of the personal computer, and save
to floppy disk.

10

‘

20

OPEN “COM1:E81N” AS #1

30

OPEN “TS5.DAT” FOR OUTPUT AS #2

40

‘

50

PRINT #1,CHR$(&H1B)+”O 01"

60

LINE INPUT #1,D$ :PRINT D$

70

PRINT #1,”TS5"

80

LINE INPUT #1,D$ :PRINT D$

90

PRINT #1,CHR$(&H1B)+”T”

100

LINE INPUT #1,D$ :PRINT D$

110

PRINT #1,”CF0"

120

LINE INPUT #1,D$

130

PRINT D$

140

PRINT #2,D$

150

IF LEFT$(D$,2)<>”E:” THEN GOTO 120

160

‘

170

PRINT #1,CHR$(&H1B)+”C 01"

180

LINE INPUT #1,D$ :PRINT D$

190

CLOSE

200

END

Advertising
This manual is related to the following products: