EZ Digital OS-3060D Especificações Página 105

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 104
(
l)
Progr
am
example I
"Sl"
command
"SI" command is alway executed in the first place.
Thi
s is a program
to check that communication function is enabled.
Program example
The following pro
gram
is the program for IBM c
ompat
ible personal
com
puter.
10
••
51
CO
MMAND
••
••
20 • •
••
E
XEC
UTE
THIS
PROGRAM
UNTIL
RTNS
IS
A
(HEX41
)
30
OP
EN
"COM2: 4800. N. 8
.1.
CS.
OS.
CO"
FOR
RANDOM
AS
#1
40 PRINT #1.
"SI
"
50 LINE
INPlIT #1.
RTNS
60
RTN
:
ASC(RTNS)
70
IF
RTN
<>
&H41
THEN
100
80 PRINT "RI
RllTURN
-
";
RTNS
90
GO
TO 110
H10
PRINT "E
RR
OR
STATUS- " ;
RTN
110 CLOSE #1
120
END
(Explanation) By running "S
I"
command in the first place. it is
possible to check whether it is possible to communicate
with computer (transmission/receptio
n).
Thi
s should be
repeated until instrum
ent
sends response "A" (Hex 41).
105
Vista de página 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 113 114

Comentários a estes Manuais

Sem comentários