
492
D4. BHT-6000/BHT-6500
■ 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 3-0 LCD contrast level
*4 *5
0 to 11 (0: Lowest, 11: Highest)
4 0 Message version
*5 *6
0: Japanese 1: English
5 0 Alphabet entry function 0: Disabled 1: Enabled
80
1
2
3
Wakeup function
Initiation of BHT
*7
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
Eh 0 System status indication
*5*8
0: OFF 1: ON
Fh 7-0 Re-read prevention enabled time
*9
0 to 255
10h-24Fh 7-0 VRAM
*5 *10
0: OFF 1: ON
6010h
6011h
7-0
0
Battery voltage level
*11
Battery type
0 to 255
0: Battery cartridge 1: Dry batteries
6040h 0
1
2
*12
3
*12
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
*13
0: BHT-protocol 2: BHT-Ir protocol
6061h
6062h
7-0
7-0
ID (lower byte)
*14
ID (upper byte)
*14
0 to 255
0 to 255
6070h 0 Output pulse width of IR beam 0: 1.63 µs 1: 3/16 bit time
6080h 0 Display font size
*15
0: Standard-size 1: Small-size
6090h
*12
0
1
Beeper
Vibrator
0: Deactivated
0: Deactivated
1: Activated
1: Activated
Komentáře k této Příručce