
489
Appendices
During the direct-connect interface operation, a user program can regard RD signal as CS
signal, provided that the returned value of CS should be specified by
RS/CS control
parameter in the
OPEN "COM:" statement as listed below.
If the communications device file is closed, the BHT-5000 returns the value 0.
*3
Lower three bits (bit 2 to bit 0) in this byte represent the contrast level of the LCD in 000 to
111 in binary notation or in 0 to 7 in decimal notation. 0 means the lowest contrast; 7
means the highest.
*4
The LCD contrast, message version (English/Japanese), system status indication, and
VRAM should not be monitored by using a
WAIT statement. These status may not change
while a user program monitors them by this statement. The
WAIT statement used for this
purpose may cause the program to enter an infinite loop.
*5
In System Mode, the message version appears as English or Japanese on the LCD.
*6
If the BHT-5000 is initiated by the wakeup function, this bit goes ON (1).
*7
The BHT-5000 can display the system status on the bottom line of the LCD. If the system
status is displayed, the BHT-5000 returns the value 1; if not, it returns the value 0. For the
system status indication, refer to Chapter 7, Subsection 7.1.7.
*8
The BHT-5000 returns the re-read prevention enabled time length in units of 100 ms. If the
returned value is zero (0), it means that the re-read prevention is permanently enabled so
that the BHT-5000 does not read same bar codes in succession.
*9
An 8-bit binary pattern (bits 7 to 0) on the input ports 10h to 40Fh (which read VRAM) rep-
resents a basic dot pattern column of the LCD. Bit value 1 means a black dot. The port
number gives the dot column address.
*10
A user program returns the A/D converted value (0 to 255) of the battery voltage level (0 to
5V). The returned value is an instantaneous value when data on the input port is read. The
voltage level varies depending upon the BHT-5000 operation and it is not in proportion to
the battery capacity, so use this voltage level as a reference value.
*11
A user program returns the communications protocol type used for file transmission with
the
XFILE statement.
*12
A user program returns the BHT’s ID number which is required for the use of the multilink
protocol. The ID number is expressed by two bytes: lower byte on port 6061h and upper
byte on port 6062h. The range of the returned value is from 1 to FFFFh. If the ID number
is 1234h, for example, the value on 6061h is 34h and that on 6062h is 12h.
OPEN "COM:"
state-
ment
Returned value of CS (CTS)
OPEN "COM:,,,,0"
OPEN "COM:,,,,1"
OPEN "COM:,,,,2"
OPEN "COM:,,,,3"
OPEN "COM:,,,,4"
Always 1
Always 1
1 if RD signal is High.
1 if RD signal is Low.
Depends upon the RD signal state.
Kommentare zu diesen Handbüchern