Canon Model 6401 B Manual Do Utilizador

Página de 47
Field Test Unit  Software
6.3  CHANNEL  ADDRESSES
The following Table defines some important location  in the Data Logger.
Refer to the STARLOG Portable Data Logger Hardware Supplement for
a  complete  List  of  location  definitions.
ChanneI
#  BLOCK  0  Address  on  field  test  unit
Analog  0
1 6
Analog  1
1 7
Analog  2
18
Analog  3
1 9
Analog  4
20
Analog  5
2 1
Analog  6
22
Analog  7
23
Counter 0
24 thru 27
Counter 1
28 thru 31
All  values  are  displayed  in  decimal  and  may  range  from  0  to  255  (  8  bit  byte)
or  0  to  4  biion  (32  bit  integer).
6.4  “NFTU.X07”  -  PROGRAM  LISTING
1
2
3
4
5
6
7
8
9
10
11
1 2  
ON I GOTO 14,13,20,21:GOTO 3
DEFINT  B,L,C:B  = 0:L  = 0:C  = 4:M = 2:CONSOLE 0,4,0
CLS
GOSUB  22:LOCATE  0,0:ON  M GOT0 4,5
PRINT V;:GOTO 8
FOR I=0 TO 3
PRINT  USING“####”;VAL(“&H”  +  MID$(L$,(I*2)  +  1,2));
NEXT I
LOCATE 0,1:PRINT  USING“####”;B;L
LOCATE  0,3:PRINT“?   LB  P”;
A$ =  INKEY$:IF  A$  =  “ ”  THEN  3
I =  INSTR(“LBP”,A$):A  =  ASC(A$)-27:IF  A0  THEN  ON  A
GOTO  18,17,16,19
30 
Section  6.  NFTU  COMMANDS