
498
D5. BHT-7000/BHT-7500
■ Input Ports
A user program can monitor the hardware status through the input ports by using the WAIT
statement or INP function. BHT-BASIC defines each of these ports as a byte. The table
below lists the input ports and their monitoring function in the BHT.
Port No. Bit assignment
*1
Monitors the following:
00
1
2
3
4
5
6
7
Keyboard buffer
Barcode buffer
Trigger switch
*2
Receive buffer
Value of TIMEA function
Value of
TIMEB function
Value of
TIMEC function
CS (CTS) signal
*3
0: No data
0: No data
0: OFF
0: No data
0: Nonzero
0: Nonzero
0: Nonzero
0: OFF or file closed
1: Data stored
1: Data stored
1: ON
1: Data stored
1: Zero
1: Zero
1: Zero
1: ON
3 2-0 LCD contrast level
*4
0 to 7 (0: Lowest, 7: Highest)
4 0 Message version
*5
0: Japanese 1: English
5 0 Alphabet entry function 0: Disabled 1: Enabled
80
1
2
3
Wakeup function
Initiation of BHT
*6
TIME$ function
Wakeup time
0: Deactivated
0: Initiated by the
power key
0: System time
selected
0: Not set
1: Activated
1: Initiated by the
wakeup function
1: Wakeup time
selected
1: Set
Fh 7-0 Re-read prevention enabled time
*7
0 to 255
10h-40Fh
10h-C8Fh
7-0
7-0
BHT-7000 VRAM
*8
BHT-7500 VRAM
*8
0: OFF
0: OFF
1: ON
1: ON
6010h
6011h
7-0
0
Battery voltage level
*9
Battery type
0 to 255
0: Rechargeable
battery cartridge
1: Dry battery car-
tridge
6012h 0 BHT on/off the CU
*10
0: Off the CU
1: On the CU
2: Loaded with dry battery cartridge
6040h 0
1
2
3
Magic key 1
Magic key 2
Magic key 3
Magic key 4
0: Released
0: Released
0: Released
0: Released
1: Held down
1: Held down
1: Held down
1: Held down
6060h 7-0 Communications protocol
*11
0: BHT-protocol 2: BHT-Ir protocol
6061h
6062h
7-0
7-0
ID (lower byte)
*12
ID (upper byte)
*12
0 to 255
0 to 255
6070h 0 Output pulse width of IR beam
*13
1: 3/16 bit time
6080h 0 Display font size
*14
0: Standard-size 1: Small-size
Comentarios a estos manuales