
67
Loop Processing
Section 5-6
5-6
Loop Processing
Process
Programming
Specified number of repetitions:
If no response is received within 3 s of trans-
mission of the command (C$), the command is
resent. If there is no response after 3 repeti-
tions, error processing will commence.
Repetition under set conditions:
A C$ command is executed and the command/
response reception are repeated as long as the
2 characters following the 4th character are 20
or less.
10
WHILE A <= 20
20
PRINT #2, C$
30
B$ = INPUT$(LOC(2), #2)
40
A$ = MID$(B$,4,2)
50
A =VAL(A$)
100 WEND
10 FOR A = 1 TO 3
20 PRINT #2, C$
30 WAIT "3.0", 50
40 A$ = INPUT$(1, #2): GOTO 1000
50 NEXT A
60
Error processing
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...