![F.W. Bell 9900 Series Скачать руководство пользователя страница 60](http://html.mh-extra.com/html/f-w-bell/9900-series/9900-series_operation-and-maintenance-manual_535142060.webp)
SERIES
9900
9000
SERIES
GAUSSMETERS
RS-232 DEMO PROGRAM
100
105
110
115
120
125
130
135
140
145
150
155
160
165
170
175
180
185
190
195
200
205
210
215
220
225
230
235
240
245
250
255
260
265
270
275
280
285
290
295
296
297
298
300
305
315
320
325
330
335
340
345
350
351
352
CLS
PRINT
PRINT "*
PRINT "*
PRINT
F. W. BELL SERIES-9900 / MODEL-9500 GAUSSMETER
RS-232 DEMO PROGRAM
PRINT
PRINT "This program was written to assist users of the SERIES-9900 or
PRINT " MODEL-9500 Gaussmeters who wish to control the instrument
PRINT " remotely using the RS-232 communications port. This program
PRINT " will work with either communications cable depicted in the
PRINT " Gaussmeter user's manual, but the cable WITHOUT handshaking is
PRINT " recommended in most applications. The Gaussmeter must contain
PRINT " V1.7A or higher software. V1.8 or higher is recommended. The
PRINT " software version is displayed immediately after power-up.
PRINT
PRINT "The intent of this program is to provide the system programmer
PRINT " with operational code that can be used during the development
PRINT " o f his or her own applications software. This program can also
PRINT " be used to verify the hardware interface between the computer
PRINT " and the Gaussmeter.
PRINT
PRINT "Press any key to continue
IF INKEY$ = " " THEN 210 ELSE CLS
PRINT "The program is designed to operate from the PC's COM1 port, odd
PRINT " parity, 1 stop bit, 7 data bits, 9600 baud. See the comments
PRINT " i n the program to change these parameters. A t this point make
PRINT " sure that the Gaussmeter's RS-232 parameters match these by
PRINT " using the 'COMMUNICATIONS FORMAT' menu. Place the Gaussmeter
PRINT " i n the RUN mode before starting.
PRINT
PRINT "The program will begin by locking out the front panel and then
PRINT " programming in the Gaussmeter MODE to GAUSS-DC, RANGE to 3 kG,
PRINT " PEAK HOLD to OFF and DISPLAY DIGITS, BARGRAPH and BACKLIGHT ON,
PRINT " After this field measurements will be acquired and displayed
PRINT " until the user presses any key. I f using a SERIES-9900 only
PRINT " CHANNEL-1 will be programmed.
PRINT
PRINT "Press any key to start
IF INKEY4 = "" THEN 290 ELSE CLS
DIM RS232.IN$(255)
'
R
E
S
P
O
N
S
E
INPUT BUFFER.
MATCH% = 1
Open COMM PORT on PC and build demo command strings
MODE$ = "M012"
RANGE$ = "RA14"
MEAS$ = "MEI 00000000"
PEAK$ = "PE11"
DISP$ "DI1222"
LOKON$ = "L02"
LOKOFF$ = "L01"
'MODE = GAUSS-DC
'RANGE = 3 KG
'MEASURE (ZERO FILL)
'PEAK HOLD = OFF
'DISPLAY FORMAT (EVERYTHING ON)
'LOCKOUT ON
'LOCKOUT OFF
'=== On most PCs COM-1 is located at I/O address &H03F8 ====
55
11
11
11
11
I t
11
111
11
11
I t
11
1 i