30
Example of connection
The above connection is one of examples. This may be different slightly depending on the personal
computer connected to be balance.
Example of programming
The following example deals with such a program that the display value of balance is
being displayed on the personal compute screen whenever the (SPACE) key of personal computer is
pressed.
Baud rate : 1200 bps
Parity : none
Delimiter : CR
(“
” means space.)
◆
IBM PC/AT
10 OPEN "COM1:1200,N,8,1" AS #1
20
Z$=INKEY$
30
IF Z$≠” ” THEN 20
40
PRINT #1,“D05”
50
INPUT #1,A$
60
PRINT A$
70
GOTO 20
◆
NEC PC-9801 VM2
10 OPEN "“COM:N81NN” AS #1
(20 line and under the same IBM/PC/AT)
Setting baud rate (1200BPS) by personal computer’s memory switch.