Specifications

@Adam Equipment Company 2006
17
2. PRINT KEY MODE
If the balance is set to the print key mode, one group of data will be output only when
the [Print] key is pressed or commands sent from a PC as shown below-
<O><CR><LF>
ON/OFF command (50 0D 0A).
Same as the [On/Off] key on the balance.
<P><CR><LF> Print command (51 0D 0A).
Same as the [Print] key on the balance.
<T><CR><LF> Tare command (52 0D 0A).
Same as the [Tare] key on the balance.
<M><CR><LF> Mode select command (55 0D 0A).
Same as the [Mode] key on the balance.
<C><CR><LF> Calibration command (43.0D 0A).
Same as the [Cal] key on the balance.
10.3 COMPUTER INTERFACE
Example of a program for receiving a weight from the balance
(Baud Rate: 2400)
10 CLS
20 OPEN "COM1:2400,N,8,1,CS,DS" AS#1
30 OPEN "SCRN:" FOR OUTPUT AS#2
40 PRINT "1. START"
50 PRINT "2. STOP"
60 INPUT A%
70 IF A%<1 OR A%>2 THEN PRINT "AGAIN"; :GOTO 60
80 ON A% GOSUB 90,140
90 B$= INKEY$
100 IF B$="2" THEN CLOSE:GOTO 60
110 LINE INPUT #1,X$
120 PRINT #2,X$
130 GOTO 90
140 END