BHT300B Users Manual E
BHT300B Users Manual E
i
How this book is organized
This manual is made up of five chapters and appendices.
Appendix A: Specifications
Appendix B: A Typical Basic Operation
ii
Technical Terms Used in This Manual
Source Program and Object Program (User Program)
Generally, a source program is translated into an object program by a compiler. This manual calls an
object program a user program.
BHT-BASIC
This manual expresses BHT-BASIC 4.0 as BHT-BASIC.
Related Publications
BHT-BASIC Programmer's Manual (BHT-300 series)
BHT-BASIC 4.0 Transfer Utility User's Guide
Screen Indication
The lettering in the screens in this manual is a little different from that in the actual screens. File names
used are only for description purpose, so they will not appear if you have not set files having those
names.
iii
SAFETY PRECAUTIONS
Strict observance of these warnings and cautions is a MUST for preventing accidents that could result in
bodily injury and substantial property damage. Make sure you fully understand all definitions of these
terms and symbols given below before you proceed to the text itself.
Alerts you to those conditions which could cause serious bodily injury or
death if the instructions are not followed correctly.
Alerts you to those conditions which could cause minor bodily injury or
substantial property damage if the instructions are not followed correctly.
Meaning of Symbols
A triangle ( ) with a picture inside alerts you to a warning of danger. Here you see the warning
for electrical shock.
A diagonal line through a circle ( ) alerts you to something you should not do; it may or may
not have a picture inside. Here you see a screwdriver inside the circle, meaning that you
should not disassemble.
A black circle ( ) with a picture inside alerts you to something you MUST do. This example
shows that you MUST unplug the power cord.
iv
To System Designers:
When introducing BHTs in those systems that could affect human lives (e.g., medicines
management system), develop applications carefully through redundancy and safety design
which avoids the feasibility of affecting human lives even if a data error occurs.
Do not carry or store the battery cartridge together with metallic ball-point pens, necklaces,
coins, hairpins, etc.
Doing so could short-circuit the terminal pins, causing the batteries to rupture or the battery
fluid to leak, resulting in a fire or bodily injury.
Never put the battery cartridge into a microwave oven or high-pressure container.
Doing so could cause the batteries to break, generate heat, rupture or burn.
Avoid dropping the battery cartridge or letting it undergo any shock or impact.
Doing so could cause the batteries to break, generate heat, rupture or burn.
Only use the dedicated charger for charging the battery cartridge.
Using a different type of charger could cause battery-rupture or leakage of battery fluid and
result in a fire, bodily injury, or serious damage to property.
Never charge the lithium-ion battery cartridge where any inflammable gases may be emitted;
doing so could cause fire.
Handling the CU
If smoke, abnormal odors or noises come from the CU, immediately unplug the AC adapter
from the wall socket, disconnect the interface cable, and contact your nearest dealer.
Failure to do so could cause fire or electrical shock.
v
If foreign material or water gets into the CU, immediately unplug the AC adapter from the wall
socket or CU, disconnect the interface cable, and contact your nearest dealer.
Failure to do so could cause fire or electrical shock.
If you drop the CU so as to damage its housing, immediately unplug the AC adapter from the
wall socket or CU, disconnect the interface cable, and contact your nearest dealer.
Failure to do so could cause fire or electrical shock.
Never use the CU for charging anything other than the specified battery cartridges.
Doing so could cause heat, battery-rupture, or fire.
Never bring any metals into contact with the output terminals.
Doing so could produce a large current through the CU, resulting in heat or fire, as well as
damage to the CU.
Never use the CU on the line voltage other than the specified level.
Doing so could cause the CU to break or burn.
If the power cord of the AC adapter is damaged (e.g., exposed or broken lead wires), stop
using it and contact your nearest dealer.
Failure to do so could result in a fire or electrical shock.
Avoid using the BHT in extremely humid or dusty areas, or where there are drastic
temperature changes.
Moisture or dust will get into the BHT, resulting in malfunction, fire or electrical shock.
vi
Never disassemble or modify the BHT; doing so could result in an accident such as break or
fire.
Never
disas-
semble
If smoke, abnormal odors or noises come from the BHT, immediately turn off the power, pull
out the battery cartridge, and contact your nearest dealer.
Failure to do so could cause smoke or fire.
If foreign material or water gets into the BHT, immediately turn off the power, pull out the
battery cartridge, and contact your nearest dealer.
Failure to do so could cause smoke or fire.
If you drop the BHT so as to damage its housing, immediately turn off the power, pull out the
battery cartridge, and contact your nearest dealer.
Failure to do so could cause smoke or fire.
Do not use batteries or power sources other than the specified ones; doing so could
generate heat or cause malfunction.
In environments where static electricity can build into significant charges (e.g., if you wipe
off the plastic plate with a dry cloth), do not operate the BHT. Doing so will result in
malfunction or machine failure.
When connecting or disconnecting the direct-connect interface cable to/from the BHT, do
not plug or unplug it at an angle and do not pull the cable strongly. Doing so will result in a
machine failure.
If the BHT has been stored in a hot (50°C to 60°C, 122°F to 140°F) and humid place, allow
it to sit at room temperature and humidity for at least one day before use. Using the BHT
with its inside being hot will fail to scan or result in a machine failure.
Handling the CU
Never put the CU in places where there are excessively high temperatures, such as inside
closed-up automobiles, or in places exposed to direct sunlight.
Doing so could affect the housing or parts, resulting in a fire.
Avoid using the CU in extremely humid or dusty areas, or where there are drastic
temperature changes.
Moisture or dust will get into the CU, resulting in malfunction, fire or electrical shock.
Never disassemble or modify the CU; doing so could result in an accident such as fire or
malfunction.
vii
If you will not be using the CU for a long time, be sure to unplug the AC adapter from the wall
socket and disconnect the interface cable for safety.
Failure to do so could result in a fire.
When caring for the CU, unplug the AC adapter from the wall socket and disconnect the
interface cable for safety.
Failure to do so could result in an electrical shock.
Do not place the CU anyplace where it may be subjected to oily smoke or steam, e.g., near
a cooking range or humidifier.
Doing so could result in a fire or electrical shock.
Do not insert or drop foreign materials such as metals or anything inflammable through the
openings or vents into the CU.
Doing so could result in a fire or electrical shock.
DENSO WAVE INCORPORATED does not assume any product liability arising out of, or in
connection with, the application or use of any product, circuit, or application described herein.
If it is judged by DENSO WAVE INCORPORATED that malfunction of the product is due to the
product having been dropped or subjected to impact, repairs will be made at a reasonable charge
even within the warranty period.
viii
Proper Care of the BHT and CU
Clean the BHT's charge terminals and battery cartridge terminals with a cotton swab or the like
periodically. Clean the BHT housing with a dry, soft cloth. Before cleaning, be sure to turn the BHT off
and unplug the AC adapter of the CU.
If the BHT or CU becomes smudged, moisten a soft cloth with neutral detergent and wring it out
thoroughly. Wipe the BHT or CU with the cloth and then go over it again with a dry cloth.
Dust or dirt accumulating on the clear plate of the bar-code reading window will affect reading
performance. If you use the BHT in dusty areas, therefore, periodically check the clear plate of the
bar-code reading window and clean it if dusty.
To clean the plate, first blow the dust away with an airbrush. Then wipe the plate with a cotton swab or
the similar soft one gently.
If sand or hard particles have accumulated, never rub the plate; doing so will scratch or damage it.
Blow the particles away with an airbrush or a soft brush.
ix
FCC Regulations
This device complies with Part 15 of the FCC Rules.
NOTE: This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment. This
equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the instruction manual, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference in which case the
user will be required to correct the interference at his own expense.
FCC WARNING: Changes or modifications not expressly approved by the party responsible for
compliance could void the user’s authority to operate the equipment.
x
Chapter 1 Quick Guide
Appendices
Chapter 1
Quick Guide
This chapter describes the basic operating method of the BHT-300B and the related notes.
1
1.1 Reading Bar Codes
Turn the BHT on, bring the bar-code reading window to a bar code to be scanned, and press the trigger
switch. The BHT turns on the illumination LED to scan the bar code.
When the BHT has read the bar code successfully, the indicator LED will illuminate in green.
Indicator LED
(Illuminates in green when the
BHT has read the bar code
successfully.) Trigger switch
(M3 key)*
• The BHT can read bar codes at a maximum distance of 45 cm (17.7")** from the bar-code reading window.
(**For details about the scanning conditions, refer to Appendix A.)
• The bar code reading procedure may differ depending upon the application used, so follow the application’s
manual.
2
Chapter 1 Quick Guide
Hand strap
3
1.3 Setting the Backlight
Pressing the M4 key (right-hand trigger switch) while holding down the SF (Shift) key activates or
deactivates the backlight function.
Backlight OFF
(The backlight function is
OFF when you turn the
BHT on.)
Press M4 while
holding down SF.
M4
(right-hand trigger
switch)
Backlight ON
Press M4 while
holding down SF.
If no key is
pressed for
approx. 3
seconds. Press any key (except
for the simultaneous
depression of SF and
M4.)
Backlight OFF
(The backlight function
SF is kept ON.) Press M4 while
holding down SF.
In user programs, you can select the key to be used for activating or deactivating the backlight
function (instead of the initial setting: combination of SF and M4 key (right-hand trigger switch)), as
well as modifying the ON-duration of the backlight before the automatic turning-off.
4
Chapter 1 Quick Guide
Selecting Tasks
If the LCD shows the selection items (xxx) prefixed by numerals (e.g., 1: xxx, 2: xxx), use the numerical
keys to select a desired item and press the ENT key to execute. If a YES/NO screen (e.g., 1: YES, 2:
NO) appears, press the 1 key for YES response and 2 key for NO response.
5
1.5 Transferring Data
Using infrared link
The BHT uses infrared rays to transfer data to IrDA-compliant devices (communication unit CU or other
BHTs).
BHT BHT
• Make sure that there is no obstruction in the light path between the BHT and any target stations. In
infrared communication, you need to keep the BHT and any target stations within the effective
infrared radiation range, usually 15 cm (5.91") or less.
• Shield the IrDA interface from direct sunlight, ambient intense lighting (inverter-driven fluorescent
lighting, in particular), and other potential sources of infrared radiation. Sources to watch out for
include remote control units for television sets and the like.
6
Chapter 2
7
[5] Testing............................................................................................................................................................79
[6] System Information.........................................................................................................................................94
[7] Downloading/Uploading by FTP (in LAN-support software only) ...................................................................96
[8] Deleting Program/Data Files ........................................................................................................................101
[9] Deleting Font Files........................................................................................................................................102
[ 10 ] Downloading/Uploading the BHT System Parameter File............................................................................103
[ 11 ] Setting the Remote Wakeup.........................................................................................................................108
[ 12 ] Downloading/Uploading the System Message File ......................................................................................109
[ 13 ] Updating the Systems ..................................................................................................................................114
2.6 Downloading System Reconfig Files and Updating the Current Systems ................................................................118
2.6.1 Updating the BHT System................................................................................................................................118
2.6.2 Updating the CU-311 System (in LAN-support software only) .........................................................................119
2.7 Starting Up User Programs .......................................................................................................................................120
8
Chapter 2 Getting Started the BHT and System Mode
Direct cable connection between the BHT and host PC is also possible.
Optional software includes the BHT-BASIC 4.0 Development Pack and BHT-BASIC4.0 Transfer Utility.
System Configuration
BHT-BASIC 4.0
Development Pack
(option)
9
The LAN-support BHT can operate as a LAN client in a LAN communications system by connecting to
Ethernet via the LAN-support communication unit CU-311 (option).
CU-311 (option): Exchanges programs and data with the BHT via the IrDA interface and with the
host PC via Ethernet.
For details about FTP and Socket API, refer to the BHT-BASIC Programmer's Manual.
NOTE: LAN configurations are available only with LAN-support BHTs on which LAN-support software is
installed.
10
Chapter 2 Getting Started the BHT and System Mode
Host PC
Models: PC/AT, PS/2
Operating Systems and Optional Application Programs
*This application does not activate any built-in IrDA interface port.
11
BHT-BASIC4.0 Transfer Utility (option)
Running on the host PC, this utility transfers files between the BHT and the host PC, using YMODEM or
BHT-Ir protocol.
Software Structure
System Programs and JIS Level 1 & Level 2 fonts are resident in the system area and user area,
respectively.
To execute user programs, you should download the program files (*.PD4) into the user area.
To use data files (e.g., good master files) required for execution of user programs, you should download
those data files before execution of user programs. Those files will be stored in the user area.
System Programs
The system programs include the following three sets of programs:
Drivers
Drivers is a set of programs that directly controls the BHT hardware. It can be called up by the
BHT-BASIC Interpreter or System Mode.
BHT-BASIC Interpreter
The interpreter interprets and executes instructions in user programs written in BHT-BASIC.
12
Chapter 2 Getting Started the BHT and System Mode
System Mode
System Mode is a system program exclusively designed for the effective use of user programs in the
BHT. It sets up the execution environments for those programs; e.g., it prepares downloading/uploading
conditions, sets the calendar clock, and tests the BHT components including the LCD, beeper, and
keypad. Shown below is the System Mode menu (SYSTEM MENU).
If you do not need to display Kanji characters, you may delete these JIS font files. After deletion, the
memory area which was occupied by these files can be used as a user area. For the deleting procedure,
refer to Section 2.4, "Initializing the BHT System" or Section 2.5.3, "[ 9 ] Deleting Font Files."
The names of the JIS font files are:
FNT16J1.FN3 (JIS Level 1 font, 16-dot)
FNT16J2.FN3 (JIS Level 2 font, 16-dot)
FNT12J1.FN3 (JIS Level 1 font, 12-dot)
FNT12J2.FN3 (JIS Level 2 font, 12-dot)
User Programs
You can develop application programs to meet individual job requirements by using the BHT-BASIC
Compiler. To download those user programs to the BHT, use the BHT-BASIC4.0 Transfer Utility.
13
2.2 Components and Functions
Liquid crystal display (LCD)
Shows the characters and graphic
patterns.
Indication LED
Illuminates in green when the BHT has successfully read a bar code.
Trigger switch
(M3 key)
Press this switch to start
bar-code reading.
Battery cover
Remove this cover to replace the
battery cartridge.
Connector cover
Inside this cover is the
direct-connect interface port.
14
Chapter 2 Getting Started the BHT and System Mode
The functions of the keys can be set by user programs. Shown below is a set of sample functions.
15
2.3 Preparation
2.3.1 Setting-up 1: Loading the Battery Cartridge
Before the first use of the BHT, be sure to load the battery cartridge as shown below. The battery
cartridge is not loaded in the BHT when shipped from the factory.
16
Chapter 2 Getting Started the BHT and System Mode
• The BHT has an integrated rechargeable backup power source which backs up the memory and
calendar clock in the BHT when no battery cartridge is loaded or the voltage level of the battery
cartridge drops below the specified level. The backup power source is automatically charged by the
battery cartridge.
When you first load the battery cartridge after purchase or you load it after leaving the BHT unused
for a long time, do not remove the battery cartridge for 10 minutes or more after that loading. This is
for charging the memory backup source integrated in the BHT.
• If you leave the BHT without a battery cartridge loaded for a long time, the memory contents will
no longer be backed up so that the message "Contact your administrator. Note the error number.
(XXXX)" or "Set the current date and time." may appear on the LCD.
• If you will not be using the BHT for a long time, follow the instructions given in Section 2.3.6,
"Battery Replacement Notes."
• Avoid storing the rechargeable battery cartridge in a hot place. The battery capacity may be
decreased.
• Do not touch the charge terminals of the battery cartridge or stain them. Doing so could result in a
BHT failure or cartridge charging failure. It is recommended that you wipe those battery cartridge
terminals and the BHT's charge terminals with a dry, soft cloth periodically.
17
Low Battery Indication
Low battery warning
If the output voltage (of the battery cartridge) drops below a specified lower level while the BHT is in
operation, the BHT displays the following warning message for approx. 2 seconds and beeps three
times. After that, it will resume the previous regular operation.
The battery cartridge will need to be recharged before long. Recharge it as soon as possible.
18
Chapter 2 Getting Started the BHT and System Mode
• Before battery replacement, be sure to turn the BHT off. Within three minutes from the removal of
the battery cartridge, load the battery cartridge to avoid data loss. After battery replacement, turn
the BHT on and check its operation.
• You may charge the battery cartridge with the optional CU-301/321/311 communication unit or
optional CH-351/CH-201 charger. For the charging procedure using the CU-301/321/311, refer to
Chapter 5. For that using the CH-351/CH-201, refer to the "CH-351 User's Manual"/"CH-201
User's Manual."
• If the "Replace the batteries!" or "Charge the battery!" message appears after the BHT undergoes
any shock or impact, turn the BHT off and on and then check the battery output level. The battery
may not have run out.
19
2.3.2 Setting-up 2: Setting the Calendar Clock
Turn the BHT on by pressing the PW key.
The following message appears.
In the following cases, the above message appears. In such instances, it is necessary to set the
date and time. (The indication "00/01/01 00:00" will differ depending upon the calendar clock
state.)
• The BHT is first turned on from the time of purchase.
• The BHT is turned on after the memory backup power source is completely discharged.
It is recommended that you upload font files beforehand for such cases that you would mistakenly
delete font files or a memory storage error would cause font files to be erased.
(1) While holding down the SF and 1 keys, press the PW key to start
System Mode. The SYSTEM MENU shown at left will appear.
(2) On the SYSTEM MENU, press the 4 key to select the "SET
SYSTEM" and press the ENT key. The screen shown at left will
appear. (To return to the immediately preceding screen during
this setting procedure, press the C key.)
20
Chapter 2 Getting Started the BHT and System Mode
(3) On the SET SYSTEM screen, press the 3 key to select the
"DATE/TIME" and then press the ENT key. The screen shown at
left will appear.
(4) Use the numerical keys to enter the year (only the last two digits),
month, day, hour, and minute in this order. If the data is in a single
digit, add a 0 (zero) preceding the data.
For the year, be sure to enter the last two digits of the year. For the
hour, enter it in the 24-hour format.
If any of the year, month, day, hour, and minute is not entered, the
ENT key will be deactivated.
If you make a wrong entry, press the BS key to delete it and then
enter the correct data.
21
2.3.3 Adjusting the LCD Contrast & Beeper Volume and
Switching the Beeper & Vibrator
While holding down the M1 or M4 key (right-hand trigger switch), press the PW key, and any of the
following screens will appear on the LCD. This screen will disappear if you press the ENT key or no keys
for five seconds.
22
Chapter 2 Getting Started the BHT and System Mode
(1) Use the F5 and F6 keys to select the LCD CONTRAST line.
(2) To decrease the contrast, press the F7 key; to increase it, press the F8 key.
(1) Use the F5 and F6 keys to select the BEEPER VIBRATION line that will be highlighted in any one of
the following three states:
After making the above setting, press the ENT key or no key for five seconds. The new setting will be
fixed and the above screen will disappear.
23
2.3.4 Displaying the Battery Voltage Level and System Status
[ 1 ] Displaying the Battery Voltage Level
On the SYSTEM MENU or during execution of user programs, pressing the ENT key while holding down
the SF key will display the battery voltage level.
As long as you hold down those keys, the following screen is displayed.
• If the BHT is placed in the alphanumeric entry system in user programs, the combination of the SF
and ENT keys cannot be used for displaying the battery voltage level. This is because in the
alphanumeric entry system the SF key is used for switching between the numeric and alphabet entry
modes as described in [ 2 ] below.
• In user programs, you may select the key to be used for displaying the battery voltage level (instead
of the default: combination of SF and ENT keys).
• The displayed battery level shows the terminal voltage of the battery, not how much power is left.
The actual voltage level varies depending upon the operation of the BHT, so the displayed level also
may vary.
You may select whether or not to display the system status in SYSTEM MENU (refer to Section 2.5.3,
[4.2]) or in user programs. The default is to display the system status.
24
Chapter 2 Getting Started the BHT and System Mode
25
2.3.5 Replacing the Battery Cartridge
Battery Cartridge Replacement Method
(1) Press the PW key to turn OFF the BHT power.
The screen on the right displays.
Do not remove the battery cartridge until the power turns OFF and the screen display clears.
(2) Slide the battery cover lock (1) in the direction shown by the arrow, remove the battery cover (2), and
then remove the battery cartridge (3).
(3) Check the terminals on the new battery cartridge and then insert in the direction shown by the arrow.
Terminal
Pull up
Insert the new battery cartridge within 3 minutes of removal to avoid data loss.
26
Chapter 2 Getting Started the BHT and System Mode
(4) Close the battery cartridge cover (1) and return the battery cover lock (2).
Be careful not to
jam the strap.
Ensure that the battery pull strap is not jammed by the cover.
- This product uses a lithium-ion battery that contains scarce, recyclable resources. We kindly ask for
your cooperation in recycling to ensure reuse of these resources.
The crossed-out wheeled bin is applicable
for EU member status only.
27
2.3.6 Battery Replacement Notes
When is battery replacement needed?
If the "Charge the battery!" appears on the LCD, replace the battery cartridge with a fully charged one.
If you leave the BHT without replacing the battery cartridge, the integrated calendar clock or data will no
longer be backed up so that the calendar clock will stop or the message "Contact your administrator.
Note the error number. (XXXX)" will appear on the LCD.
Be sure to turn the BHT off before replacing the battery cartridge.
Replace the battery cartridge quickly. Load a charged battery cartridge within 3 minutes after the
removal in order to avoid data loss.
After replacement, be sure to turn the BHT on and check its operation.
If you will use the BHT more than one time per month:
Keep the battery cartridge loaded in the BHT.
If you will not be using the BHT for more than one month:
Remove the battery cartridge from the BHT and then store the BHT. When doing so, be sure to follow
the procedure given below.
(1) When removing the battery cartridge:
Hold down the PW key for more than 3 seconds to turn the BHT off.
The following message will appear on the LCD and the BHT will start backing up data. After
completion of the backup operation so that the message disappears, remove the battery cartridge.
(The backup operation may take several tens of seconds depending upon the volume of data to be
backed up.)
Shows the current backup state Shows the total volume of data
in progress. to be backed up.
28
Chapter 2 Getting Started the BHT and System Mode
(2) When turning the BHT on after storage without a battery cartridge loaded:
Even after the removal of the battery cartridge, the calendar clock will work with the backup power
source for a while.
If the calendar clock backup has stopped, loading the battery cartridge and turning the BHT on will
display the following message, prompting you to set the current date and time.
Set the calendar clock according to the procedure given in Section 2.3.2.
(The indication "00/01/01 00:00" will vary depending upon the calendar clock state.)
• The rechargeable battery cartridge can be recharged hundreds of times, but it will eventually wear
out. If the operation time of the fully recharged battery cartridge is noticeably shorter than normal,
replace the battery cartridge with a new one.
• Use only DENSO WAVE-authorized battery cartridges and chargers.
• Never dispose of battery cartridges into a fire.
• Battery cartridges should be recycled properly in conformity with local codes and regulations. Do
not throw them in a trash. Cover their terminal pins with vinyl tape to prevent short-circuits.
29
2.3.7 BHT Turning-off Notes
[ 1 ] “Shutdown in progress” message
When the BHT is turned off by pressing the PW key or by the auto power-off feature, it displays the
following message and starts preparation for shutdown.
When the above message is displayed, do not remove the battery cartridge.
If you do so and leave the BHT without a battery cartridge loaded for one hour or more, then the error
message "Contact your administrator. Note the error number. (20XX)" may appear when turning the
BHT on at the next time.
If the above problem has arisen, the following message will appear when you load a charged battery
cartridge and turn the BHT on.
(1) Press the 2 key while holding down the SF key. The screen will switch to the following:
30
Chapter 2 Getting Started the BHT and System Mode
(2) Press the 2 key while holding down the SF key again. The screen will switch to the following:
(3) Choose YES or NO with the numerical keys and press the ENT key.
When Scandisk is in progress, the following message is displayed:
If Scandisk finds an invalid file(s), the following screen will appear. As long as an invalid file exits, the
screen displays every time the BHT System is started up.
(4) Press the 2 key while holding down the SF key. The screen will switch to the following:
31
Scandisk when the resume function is enabled
If Scandisk runs when the resume function is enabled, the screen given below may appear. The screen
may also appear when the calendar clock built in the BHT stops, even without running Scandisk.
The BHT displays the screen for three seconds and then automatically runs the execution program from
the beginning.
[ 3 ] About “$$BRKLST.SYS”
If Scandisk finds an invalid file(s), it will automatically create the “$$BRKLST.SYS” file. To check the
contents of the file, upload the file in System Mode to the host PC. (Refer to Section 2.5.3, "[ 3 ]
Uploading.")
(Example)
SAMPLE1.DAT + 01000-01050 If more than one sequence of records is broken in a same file, they
SAMPLE1.DAT + 01200-01250 will be written into the subsequent records in the
SAMPLE1.DAT + 01600-01650 "$$BRKLST.SYS."
SAMPLE2.DAT * 00250-00275
SAMPLE3.DAT * 00100-00150
(1) (2) (3)
32
Chapter 2 Getting Started the BHT and System Mode
33
2.4 Initializing the BHT System
Initializing the system will lose program files and data files stored in the user area and make system
settings revert to the factory defaults.
You can delete font files by selecting the whole user area to be initialized.
34
Chapter 2 Getting Started the BHT and System Mode
Select a desired item by using the numerical keys, then press the ENT
key.
35
(3) Confirming the memory area selected for initialization
Selecting the "USER AREA EXCEPT FONTS" in step (1) above will
call up the confirmation screen shown at left.
[1] Yes: Starts initialization.
[2] No: Cancels initialization and turns the power off.
Select a desired item by using the numerical keys, then press the ENT
key.
Pressing the C key will switch the screen back to the area selection
screen.
Selecting the "WHOLE USER AREA" in step (1) above will call up the
screen shown at left.
[1] Yes : Starts initialization.
[2] No : Cancels initialization and turns the power off.
Select a desired item by using the numerical keys, then press the ENT
key.
Pressing the C key will switch the screen back to the area selection
screen.
36
Chapter 2 Getting Started the BHT and System Mode
• Do not turn the BHT off until the above initialization completion screen appears. A too-early
turning-off will interrupt initialization, requiring you to initialize the BHT again.
• If the message "Contact your administrator. Note the error number. (2XXX)" appears although the
initialization has been finished, you need to initialize the BHT again.
• If you initialize the BHT after downloading user programs and data, all of those programs and data
stored in the target memory area will be lost. Download them again if necessary.
• Initialization will restore the LCD contrast level (refer to Section 2.3.3), communications
conditions and other settings to the default values, so modify them again if necessary. After
initialization, be sure to set the calendar clock (refer to Section 2.3.2).
37
2.5 Operating in System Mode
System Mode is an operating software exclusively designed for the effective use of the BHT, which
includes various functions as shown on the following pages.
The function selected is highlighted (white-on-black) with the cursor. To select a desired item in System
Mode, press the corresponding numerical key and then press the ENT key.
The keys below are so designed that the function of each key is consistent in every screen.
F7 and F8 keys Pressing the F7 and F8 keys moves the cursor to the left and right,
respectively, to select a desired setting.
The C key is disabled on the SYSTEM MENU. On other screens, pressing the C key returns to the
immediately preceding screen.
The power-on default on the SYSTEM MENU is "EXECUTE PROGRAM" which is highlighted. Once any
other item is selected, the selected item will become highlighted with the cursor when you turn back to
the SYSTEM MENU.
On BHTs with no LAN-support software loaded, selecting LAN-related items (e.g., FTP and TCP/IP
setting) produces nothing.
38
Chapter 2 Getting Started the BHT and System Mode
Program Execution
1 and ENT
keys Allows you to select a desired user
program to be executed immediately.
(Refer to Section 2.5.3, [ 1 ].)
Downloading
2 and ENT
keys Transfers user program files or data
files from the host PC to the memory
integrated in the BHT. Downloading
C key between the BHTs is also possible.
(Refer to Section 2.5.3, [ 2 ].)
Uploading
3 and ENT
keys Transfers user program files and data
files stored in the memory of the BHT to
the host PC.
(Refer to Section 2.5.3, [ 3 ].)
39
Testing
5 and ENT
keys Used for the bar-code reading test,
memory test, beeper test, aging test,
LCD indication test, indicator LED test,
file test, communications test, key-entry
test, vibrator test, and execution of
PING (in LAN-support software only).
(Refer to Section 2.5.3, [ 5 ].)
System Information
C key 6 and ENT
keys Shows the system program version,
ROM and RAM sizes, system message
version, and font type and its version.
(Refer to Section 2.5.3, [ 6 ].)
Downloading/Uploading by FTP
7 and ENT (in LAN-support software only)
keys
Downloads or uploads files by FTP.
(Refer to Section 2.5.3, [ 7 ].)
40
Chapter 2 Getting Started the BHT and System Mode
In addition to the functions given on the preceding pages, System Mode has these six functions:
Deleting program/data files, Deleting font files, Downloading/uploading the BHT system parameter file,
Setting the remote wakeup parameters, Downloading/uploading the system message file, and Updating
the systems.
To call up these functions, press the 0, 2, 3, 4, 6 or, period (.) key, respectively, while holding down the
SF key when the SYSTEM MENU is displayed.
C key
Setting the remote wakeup
4 with SF Sets the remote wakeup parameters.
held down
(Refer to Section 2.5.3, [ 11 ].)
41
Downloading/uploading the system
6 with SF message file
held down
Downloads or uploads the system
message file.
(Refer to Section 2.5.3, [ 12 ].)
C key
Updating the Systems
Period (.)
with SF held Updates the BHT system and CU-311
down
system (in LAN-support software only).
(Refer to Section 2.5.3, [ 13 ].)
42
Chapter 2 Getting Started the BHT and System Mode
ENT key
ENT key
C key
Press 3 or use F5 and F6
to select "3:COM
PORT."
ENT key
C key
43
[ 2 ] Selecting a desired setting
First, select a desired item on the current screen by using the numerical key or the cursor keys (F5 and
F6) so as to highlight the desired item.
Use the F7 and F8 keys to select a desired setting and then press the ENT key. The screen returns to
the previous selection screen.
ENT key
44
Chapter 2 Getting Started the BHT and System Mode
If more than six programs have been downloaded, you may need to
scroll the screen with the F6 key.
In the example shown at left, 23 programs are downloaded.
45
[ 2 ] Downloading
If you download a file having the same name as one already used in the user area of the target memory
in the BHT, then the newly downloaded file replaces the old one.
If no auto-start executable program has been specified (in Section 2.5.3, [4.1]), turning the BHT on
lets the directory manager start the first loaded one out of user programs (.PD4) in the BHT--the
program that appears on the top of the EXECUTE PROGRAM menu shown on the previous page.
Taking this into account, determine the file downloading order. For details, refer to Section 2.7,
"Starting Up User Programs."
46
Chapter 2 Getting Started the BHT and System Mode
47
BHT-5000 screen compatibility mode
YMODEM option
IP address of FTP server
User name of FTP server
Password of FTP server
Default directory for FTP server
FTP option, Line delimiters (CR/LF)
FTP option, Treatment of line delimiters
FTP option, Treatment of trailing spaces in data fields
FTP option, Upload mode
FTP option, Verbose mode
IP address of host PC for ping
Data size of echo request
Echo request intervals
Timeout period for echo request
No. of echo requests to be sent
Echo request send timing
TCP/IP operation device
TCP/IP link layer
Transmission speed between BHT and CU
No. of retries for link establishment command to be sent
Link establishment command intervals
No. of retries for link release command to be sent
Link release command intervals
Link release period
Timeout for getting the IP configuration from the DHCP server
48
Chapter 2 Getting Started the BHT and System Mode
Download screens
With this screen displayed, the BHT waits for a file to be downloaded.
Selecting "2:HT<-->HT COPY" on the DOWNLOAD menu displays
"HT<-->HT" in the center of the 2nd line; selecting "1:FILE" displays
nothing on the 2nd line.
Upon start of BHT-BASIC4.0 Transfer Utility or equivalent program,
the BHT displays the screen shown at left.
(Refer to the "BHT-BASIC4.0 Transfer Utility User's Guide.")
While the downloading operation is in progress, the screen shown at
left is displayed indicating the file name and the number of received
records/the total number of records (the received file size/the total file
size (in kilobytes) in transfer with YMODEM).
To abort the downloading operation, press the C key. The screen
switches back to the DOWNLOAD menu.
Upon completion of downloading, the number of received records (or
the received file size) becomes equal to the total number of records
(or the total file size) and the beeper beeps once. Press the C key to
return to the DOWNLOAD menu.
With this screen displayed on the BHT, downloading another new file
from the host PC lets the BHT start receiving it.
(Refer to the "BHT-BASIC4.0 Transfer Utility User's Guide.")
If you have selected "2: HT<-->HT COPY" on the DOWNLOAD menu,
a sequence of the above screens will be repeated by the number of
files to be downloaded.
49
If an error occurs during downloading
If some error occurs during downloading, the BHT beeps three times and shows one of the following
screens with the prompt "Retry?":
To retry the download, press the 1 and ENT keys; to abort it, press the 2 and ENT keys.
Problem
Solution
Problem
The current download will exceed the maximum of 120 files in the
memory.
Solution
Problem
Solution
50
Chapter 2 Getting Started the BHT and System Mode
Problem
Solution
51
[ 3 ] Uploading
On the SYSTEM MENU, selecting "3: UPLOAD" calls up the screen
shown at left.
[1] ONE FILE: Uploads a user program file or data file stored
in the memory.
[2] ALL FILES: Uploads all files in the memory except font
files.
[3] HT<-->HT COPY: Uploads all files in the memory except font
files to another BHT, together with system
parameters and calendar clock data.
This function enables copying between the
BHTs. At the receiving BHT, select "2:
DOWNLOAD" and "2: HT<-->HT COPY" in
System Mode.
For the preparation to be made preceding the
start of this function, refer to given on
page 46.
Select a desired item by using the numerical keys or F5 and F6 keys,
and the selected item becomes highlighted. Then press the ENT key.
To return to the SYSTEM MENU, press the C key.
Selecting the BHT-protocol or BHT-Ir protocol does not display or
upload files created with BHT-BASIC 4.0*.
(*Applications with extension .PD4, extension libraries with
extension .FN4, and data files that have any of the following
structures: the number of fields is 17 or more, the total of the
number of fields and each field length is 255 or more, and the
number of records is 32768 or more)
If you select "1: ONE FILE" on the UPLOAD menu, the file selection
screen as shown at left appears, listing all of the program files and
data files stored in the memory. Select a file(s) you want to upload and
press the ENT key.
If you select "2: ALL FILES" or "3: HT<-->HT COPY" on the UPLOAD
menu, the "ALL" or "HT<-->HT" will appear in the center of the 2nd
line, respectively.
If you select "1: ONE FILE" or "2: ALL FILES" on the UPLOAD menu
when no files are stored in the memory, the message shown at left
appears.
Pressing the C key returns to the UPLOAD menu.
52
Chapter 2 Getting Started the BHT and System Mode
Upload screens
If you select "1: ONE FILE" and choose a file to be uploaded or if you
select the "2: ALL FILES" or "3:HT<-->HT COPY" on the UPLOAD
menu, then the screen shown at left appears.
Selecting "2: ALL FILES" or "3: HT<-->HT COPY" displays "ALL" or
"HT<-->HT" in the center of the 2nd line, respectively.
Showing this screen, the BHT waits for a file(s) to be uploaded.
Upon start of BHT-BASIC4.0 Transfer Utility or equivalent program,
the BHT displays the screen shown at left.
(Refer to the "BHT-BASIC4.0 Transfer Utility User's Guide.")
While the uploading operation is in progress, the screen shown at left
is displayed indicating the file name and the number of sent
records/the total number of records (the sent file size/the total file size
(in kilobytes) in transfer with YMODEM).
To abort the uploading operation, press the C key. The screen
switches back to the UPLOAD menu.
Upon completion of uploading, the number of sent records (or the
sent file size) becomes equal to the total number of records (or the
total file size) and the beeper beeps once. Press the C key to return to
the UPLOAD menu.
If you have selected "2: ALL FILES" or "3: HT<-->HT COPY" on the
UPLOAD menu, a sequence of the above screens will be repeated by
the number of files to be uploaded.
53
If an error occurs during uploading
If some error occurs during uploading, the BHT beeps three times and shows one of the following
screens:
To retry the uploading operation, press the 1 and ENT keys; to abort it, press the 2 and ENT keys.
Problem
Solution
Problem
Solution
54
Chapter 2 Getting Started the BHT and System Mode
55
[4.1] Setting an auto-start execution program
On the SET SYSTEM menu, selecting "1: EXECUTE PROGRAM"
calls up the screen shown at left.
Highlighted is the current setting.
Use the F5 and F6 keys to move the cursor to a desired execution
program to be run automatically when the power is applied, and then
press the ENT key.
To return to the SET SYSTEM menu, press the C key.
If no program files are stored in the memory, the screen shown at left
will appear.
To return to the SET SYSTEM menu, press the C key.
[4.2] Setting the message version, system status indication, and BHT-5000 screen
compatibility mode
On the SET SYSTEM menu, selecting "2: DISPLAY" calls up the
screen shown at left.
Highlighted is the current setting.
[1] MESSAGE: Switches the message version to English or
Japanese for system error messages and
indications on the LCD contrast, beeper volume,
beeper & vibrator switching, and battery voltage
level screens. (The default is the message version
that you selected in the initializing sequence.)
[2] STATUS: Turns the system status indication on or off. Setting
this to ON displays the shift state of the keys,
alphabet entry mode and communications link with
the CU-311, using the icons shown on the next
page.
[3] BHT-5000: Turns the BHT-5000 screen compatibility mode on
or off. (See the next page.)
56
Chapter 2 Getting Started the BHT and System Mode
Turning on the system status indication displays the following icons in the bottom line of the LCD:
This compatibility mode makes the screen layout and key assignment of the BHT-300 series downward-
compatible with the ones of the BHT-5000. Using this mode can minimize modification in source code
which is required for running application programs written for the BHT-5000 on the BHT-300 series.
In the BHT-5000 screen compatibility mode, the display area is the same as that of the BHT-5000 when
a user program is running, as shown below.
132 dots
2 dots
128 dots
72 dots Display area in the BHT-5000 screen
64 dots compatibility mode
Display area in the BHT-300B native mode
Enabling the BHT-5000 compatibility mode (by switching it ON on the SET DISPLAY screen)
automatically changes the following settings.
57
Shown below are the System menu screens when the BHT-5000 screen compatibility mode is disabled
and enabled.
Downloading menu
Uploading menu
Auto-start execution
program selection
58
Chapter 2 Getting Started the BHT and System Mode
Deletion of file
59
[4.3] Setting the calendar clock
On the SET SYSTEM menu, selecting "3: DATE/TIME" calls up the
screen shown at left.
Use the numerical keys to enter the year (only the last two digits),
month, day, hour, and minute in this order, and then press the ENT
key. If the data is in a single digit, add a 0 (zero) preceding the data.
For the year, be sure to enter the last two digits of the year. For the
hour, enter it in the 24-hour format.
If any of the year, month, day, hour, and minute is not entered, the
ENT key will be deactivated.
If you make a wrong entry, press the BS key to delete it and then enter
the correct data.
To return to the SET SYSTEM menu, press the C key.
[Example] To set 2004, January 19, at 4:00 p.m.
Press 0, 4, 0, 1, 1, 9, 1, 6, 0, and 0.
Press the ENT key to register the above setting.
60
Chapter 2 Getting Started the BHT and System Mode
DECODE LEVEL
You can set the decode level. Decreasing the level value increases the bar-code reading efficiency, but
the BHT might misread low-quality bar codes (split or stained). To the contrary, increasing the level
value decreases the bar-code reading efficiency, but it will diminish the possibility of misreading.
The entry range of the level value is from 1 to 9 and the default is 4.
61
MINIMUM DIGITS (Minimum number of digits to be read for ITF, STF, or Codabar)
You can determine the minimum number of digits to be read for ITF, STF, and Codabar. Setting a small
number of digits increases the frequency of digit-missing reading or misreading depending upon how to
scan bar codes or the quality of bar codes. On the other hand, setting a large number will diminish the
possibility of those errors.
The entry range is from 2 to 20 for ITF, from 1 to 20 for STF, and from 3 to 20 for Codabar. The default
is 4 for ITF and Codabar, and 3 for STF.
62
Chapter 2 Getting Started the BHT and System Mode
Listed below are the default communications parameters for the direct-connect interface.
Communications parameters
Defaults
for the direct-connect interface port
TRANSMIT SPEED 115200 bps
PARITY BIT (Vertical parity) None
DATA BIT (Character length) 8 bits
STOP BIT (Stop bit length) 1 bit
PROTOCOL (Protocol options) SERIAL No.: ON (Adds serial numbers to data
blocks.)
H. PARITY: ON (Adds a horizontal parity.)
LINKUP TIME: 30 seconds
FIELD SPACE: Ignore (Trim)
63
On the SET SYSTEM menu, selecting the "5: COMMUNICATION"
calls up the screen shown at left.
[1] OPTICAL: Switches to the communications parameters
setting screen for the IrDA interface.
[2] CONNECTOR: Switches to the communications parameters
setting screen for the direct-connect
interface.
[3] COM PORT: Switches to the interface port setting screen.
[4] PROTOCOL TYPE: Switches to the communications protocol
type setting screen.
Select a desired screen by using the numerical keys or F5 and F6
keys, and then press the ENT key.
To return to the SET SYSTEM menu, press the C key.
64
Chapter 2 Getting Started the BHT and System Mode
65
Setting the communications parameters for the direct-connect interface
On the SET COMMUNICATION menu, select "2: CONNECTOR" to
call up the screen shown at left.
[1] PARAMETER: Switches to the communications parameters
setting screen.
[2] PROTOCOL: Switches to the communications protocol screen.
66
Chapter 2 Getting Started the BHT and System Mode
67
Setting the interface port
On the SET COMMUNICATION menu, select the "3: COM PORT" to
call up the screen shown at left.
Highlighted is the current setting.
[1] BASIC: Selects the IrDA (Optical) or direct-connect
(Connector) interface port to be used for user
programs written in BHT-BASIC (OPEN
"COM:").
[2] SYSTEM MODE: Selects the IrDA (Optical) or direct-connect
(Connector) interface port to be used for
downloading or uploading files in System
Mode.
68
Chapter 2 Getting Started the BHT and System Mode
69
On the PROTOCOL TYPE screen, select the "3: BHT-Ir Protocol" to
call up the screen shown at left.
Enter the ID number of the BHT by using the numerical keys, and then
press the ENT key. If you do not need to modify the current setting,
press the ENT key only.
If you make a wrong entry, press the BS key to delete it and then enter
the correct data.
To return to the SET COMMUNICATION menu, press the C key.
70
Chapter 2 Getting Started the BHT and System Mode
[4.6] Defining the functions of the shift key and magic keys
On the SET SYSTEM menu, selecting the "6: KEY" calls up the
screen shown at left.
Highlighted is the current setting.
[1] SHIFT KEY: Switches to the SF key definition screen.
[2] M1 KEY: Switches to the M1 key definition screen.
[3] M2 KEY: Switches to the M2 key definition screen.
[4] M3 KEY: Switches to the M3 (left-hand trigger switch) key
definition screen.
[5] M4 KEY: Switches to the M4 (right-hand trigger switch) key
definition screen.
71
Defining the function of M1 , M2 , M3 (left-hand trigger switch), or M4 (right-hand trigger switch)
key
On the SET KEY menu, select "2: M1 KEY," "3: M2 KEY," "4: M3
KEY" or "5: M4 KEY" to call up the screen as shown at left. (This
example appears when the "4: M3 KEY" is selected.)
Highlighted is the current setting.
The M1 , M2 , M3 or M4 key can function as listed below.
[1] None: The key entry will be ignored.
[2] Trigger Switch: As a trigger switch.
[3] Shift Key: As a SF key.
[4] Enter Key: As an ENT key.
[5] Backlight Key: As a backlight function on/off key.
The backlight function on/off key can be assigned only to any one of M1 through M4 keys. The key
defined more recently will act as a backlight function on/off key and one defined earlier will be
ignored.
That is, if you define the M1 and M2 keys as a backlight function on/off key in this order, the M2 key
will work as a backlight function on/off key and the M1 key's entry will be ignored.
72
Chapter 2 Getting Started the BHT and System Mode
73
[4.9] Setting the TCP/IP, FTP and DHCP (in LAN-support software only)
On the SET SYSTEM menu, selecting "9: TCP/IP" calls up the screen
shown at left.
[1] SET TCP/IP: Switches to the TCP/IP setting screen.
[2] SET FTP: Switches to the FTP setting screen.
[3] SET DHCP: Switches to the DHCP setting screen.
74
Chapter 2 Getting Started the BHT and System Mode
75
[4.9-2] Setting the FTP
On the SET TCP/IP, FTP and DHCP menu, select "2: SET FTP" calls
up the screen shown at left.
[1] SERVER: Switches to the FTP server connection environments
screen.
[2] OPTION: Switches to the data transfer parameters screen.
76
Chapter 2 Getting Started the BHT and System Mode
77
[4.9-3] Setting the DHCP
On the SET TCP/IP, FTP and DHCP menu, selecting "3: DHCP" calls
up the screen shown at left. The current setting is displayed.
[1] TIMEOUT: Sets the timeout for getting the IP configuration from
the DHCP server. The entry range is from 00001 to
32767 seconds.
You can enter up to 32767 seconds, but in
actual operation, a maximum of 190 seconds
are available since the number of retries and
retry intervals are determined in your system.
Press the ENT key. The entry box of the selected item becomes ready
to accept entry and shows a cursor.
C key Period (.) key with
SF held down Enter the desired value by using the numerical keys and then press
the ENT key.
In the entry mode, to delete a single character, press the BS key. To
delete the whole entry you made, press the C key.
To return to the SET TCP/IP, FTP and DHCP menu, press the C key
when any item is highlighted.
If you press the period (.) key while holding down the SF key, the
obtained IP configuration appears as shown at left. To return to the
SET DHCP screen shown above, press the C key.
78
Chapter 2 Getting Started the BHT and System Mode
[ 5 ] Testing
On the SYSTEM MENU, selecting "5: TEST" calls up the screen
shown at left.
[1] BARCODE: Selects the bar-code reading test.
[2] MEMORY: Selects the RAM read/write test.
[3] BEEPER: Selects the beeper scale test.
[4] AGING: Selects the aging test.
[5] LCD: Selects the LCD and indicator LED tests.
[6] FILE: Selects the file checksum test.
[7] COMMUNICATION: Selects the communications test.
[8] KEY & VIBRATION: Selects the key entry, beeper and vibrator
tests.
[9] PING: Selects PING (in LAN-support software
only).
If an error occurs in any of the above tests, contact your nearest dealer.
79
[5.1] Bar-code reading test
On the TEST menu, selecting "1: BARCODE" calls up the screen
shown at left.
Actually read bar codes with the BHT and check the read data
displayed on the LCD.
Bar-code type
Data
Listed below is a table showing the relationship between the bar-code types and the identifier letters to
be displayed on the LCD.
* The BHT can read only those ITF bar codes having 4 digits or more in length.
80
Chapter 2 Getting Started the BHT and System Mode
If any error is detected, the BHT beeps three times, shows the
message as shown at left, and terminates the test.
Where,
ZZZZZZZZ: Address where an error has occurred.
AAAAAAAA: Data to write.
BBBBBBBB: Data read out from the RAM.
To return to the TEST menu, press the C key.
Upon normal completion of the RAM test, the BHT beeps once, shows
the message as shown at left, and returns to the TEST menu.
81
[5.3] Beeper scale test
On the TEST menu, selecting "3: BEEPER" calls up the screen shown
at left and makes the beeper sound at three octaves listed below.
Upon completion of this test, the BHT automatically returns to the
TEST menu.
To stop this test while in progress, turn the BHT off.
82
Chapter 2 Getting Started the BHT and System Mode
As shown at left, the entire screen turns black. The indicator LED
lights in green.
Press the ENT key, and the BHT beeps once and returns to the TEST
menu.
83
[5.6] File test
On the TEST menu, selecting "6: FILE" calls up the screen shown at
left.
XXXXXX: Memory space being used
YYYYYY: Free memory space
If any of the files stored in the memory is defective, an asterisk (*) or
plus sign (+) is prefixed to the name of the defective file (s). For details
about the (*) and (+), refer to Section 2.3.7, "[ 3 ] About
"$$BRKLST.SYS."
Selecting a particular file on this screen will show the file size and the
test result.
To select a file, use the F5 and F6 keys to move the cursor to the
desired file. If there are more than four files, the screen will scroll.
Highlighted is the currently selected file.
Press the C key to return to the TEST menu.
The file name, file size, and test result (OK or NG) appear as shown at
left.
If a defective file is found, delete it or overwrite it with the same name file.
Even a defective file can be uploaded on the UPLOAD menu. It is, therefore, recommended that
important files be uploaded before deleted.
84
Chapter 2 Getting Started the BHT and System Mode
85
Testing the IrDA interface port
On the TEST COMMUNICATION menu, selecting "1: OPTICAL" calls
up the screen shown at left.
At the slave BHT to be tested, select the "1: SLAVE" and at the master
BHT, select the "2: MASTER." Then press the ENT key.
If any error occurs, the tested slave BHT beeps three times and
shows the screen at left.
In parentheses are error codes which have the following meanings:
(X X)
1: The received data is different from the sent data.
2: A timeout has occurred during standby for data
reception.
1: 2400 bps
2: 9600 bps
3: 115200 bps
Upon normal completion of the test, the tested slave BHT beeps once
and shows the screen at left.
Press the C key to return to the TEST COMMUNICATION menu.
The master BHT automatically returns to the TEST
COMMUNICATION menu.
86
Chapter 2 Getting Started the BHT and System Mode
If any error occurs, the BHT beeps three times and shows the screen
at left.
In parentheses are error codes which have the following meanings:
(X X)
1: The received data is different from the sent data.
2: A timeout has occurred during standby for data
reception.
1: 300 bps
2: 115200 bps
Upon normal completion of the test, the BHT beeps once and shows
the screen at left.
Press the C key to return to the TEST COMMUNICATION menu.
87
[5.8] Key-entry, beeper and vibrator test
On the TEST menu, selecting "8: KEY & VIBRATION" calls up the
screen shown at left and makes the BHT ready for entry from the
keypad.
Pressing individual keys displays the identifier letters in the positions
pre-assigned to those keys on the LCD as well as sounding the
beeper or running the vibrator. (As long as the individual key is held
down, the BHT continues beeping or vibrating.)
Pressing the same key again erases the displayed letter.
The table below shows the relationship between the keys, the identifier letters to be displayed on the
LCD, and the frequencies (Hz) of the beeper.
Key Letter Beeper (Hz) Key Letter Beeper (Hz) Key Letter Beeper (Hz)
M3 N (Note) 6 6 659 F3 C 1567
M1 L 293 1 1 698 F4 D 1760
M2 M 329 2 2 783 F5 E 1975
M4 O (Note) 3 3 880 F6 F 2093
7 7 391 0 0 987 F7 G 2349
8 8 440 . . 1046 F8 H 2637
9 9 493 ENT = 1174 BS I 2793
4 4 523 F1 A 1318 C J 3135
5 5 587 F2 B 1396 SF K 3520
(Note) Only when the M3 (left-hand trigger switch) or M4 key (right-hand trigger switch) is pressed, the vibrator works.
After all keys are pressed and displayed on the LCD, this test
automatically ends and the screen returns to the TEST menu.
To stop this test, turn the BHT off.
88
Chapter 2 Getting Started the BHT and System Mode
89
PING run-time messages (that will appear in the middle of the LCD)
PING termination messages (that will appear in the bottom of the LCD)
The entry range for each of "2:DATA SIZE" through "5:COUNT" items
is listed on the next page.
Select a desired item by using the numerical keys or F5 and F6 keys.
90
Chapter 2 Getting Started the BHT and System Mode
If you select one of "1: DESTINATION IP" through "5: COUNT" items
and press the ENT key, then the entry box of that item becomes ready
to accept entry and a cursor appears. Enter the desired value by using
the numerical keys and period (.) key, and then press the ENT key.
In the entry mode, to delete a single character, press the BS key. To
delete the whole entry you made, press the C key.
If "6: SEND TYPE" is selected, use the F7 and F8 keys to choose the
desired type.
To return to the TEST PING menu, press the C key when any item is
highlighted.
If you specify a value out of the allowable entry range listed above, the nearest value within the range will
automatically apply.
91
PING Echo Request Send Timing (SEND TYPE)
Two types of echo request send timings are available: TYPE 1 and TYPE 2.
TYPE 1
After sending an echo request, PING waits for the period specified by INTERVAL and then sends an
echo request again. For TYPE 1, the relationship between the INTERVAL and TIMEOUT should be
"INTERVAL TIMEOUT."
TYPE 2
After sending an echo request, PING waits for an echo reply to be received or for timeout to occur. After
that, PING waits for the period specified by INTERVAL and then sends an echo request again. For
TYPE 2, no relationship between the INTERVAL and TIMEOUT is required.
If a timeout occurs:
92
Chapter 2 Getting Started the BHT and System Mode
93
[ 6 ] System Information
[6.1] Displaying the BHT system information
On the SYSTEM MENU, selecting the "6: VERSION" calls up the
screen shown at left, displaying the system program version, ROM
and RAM sizes, system message version, and font types and their
versions.
Press the C key to return to the SYSTEM MENU.
[6.2] Displaying the CU-311 system information (in LAN-support software only)
If placed on the CU-311, the BHT can display the CU-311 system
information.
On the SYSTEM INFORMATION screen (that can be called up by
selecting "6: VERSION" on the SYSTEM MENU), press the M2 key.
The CU INFORMATION screen will appear where the CU-311 system
version and MAC address are displayed.
M1 key M2 key
94
Chapter 2 Getting Started the BHT and System Mode
If the M2 key is pressed when the BHT is not placed on the CU-311
95
[ 7 ] Downloading/Uploading by FTP (in LAN-support software only)
On the SYSTEM MENU, selecting "7: FTP" calls up the screen shown
at left.
[1] DOWNLOAD: Downloads a file by FTP.
[2] UPLOAD: Uploads a file(s) by FTP.
96
Chapter 2 Getting Started the BHT and System Mode
DIR/FILE entry box: The FTP client will interpret a character string entered into this box as a directory
name at first, so it will send a Change Directory request to the FTP server. If the specified directory
exists in the FTP server, the server will change a directory from the default to that specified one; if not,
the FTP client will interpret the entered character string as a file name and send a Download request to
the server.
FIELDS entry box: Only when downloading a data file, you need to enter field information into this box.
Before starting downloading, enter field information by using numerical keys and period (.) key. Pressing
the period (.) key will enter a comma (,). For downloading of program files, nothing is required to enter.
If you select "1: DIR/FILE," its entry box becomes ready to accept
entry and shows a cursor.
Enter the desired value by using the numerical keys and period (.)
key, and then press the ENT key.
Pressing the SF key switches the entry mode between the numeric
mode (without a guidance) and alphabet mode.
In the entry mode, to delete a single character, press the BS key. To
delete the whole entry you made, press the C key.
To return to the FTP MENU, press the C key when any item is
highlighted.
97
If you select "2: SELECT FILE," the screen shown at left will appear.
Choose a file to be uploaded by using the F5 and F6 keys, then press
the ENT key. The screen returns to the previous one where the
selected file appears in the SELECT FILE entry box.
DIR/FILE entry box: The FTP client will interpret a character string entered into this box as a directory
name at first, so it will send a Change Directory request to the FTP server. If the specified directory
exists in the FTP server, the server will change a directory from the default to that specified one; if not,
the FTP client will interpret the entered character string as a file name and send an Upload request to the
server.
If a file name specified here is different from the one that is specified in the SELECT FILE entry box, then
the FTP client will use the file name specified in this entry box for uploading.
If you enter nothing in this entry box and press the ENT key, the FTP client will use the file name
specified in the SELECT FILE entry box for uploading.
SELECT FILE entry box: For uploading, you need to choose a file to be uploaded and display its name in
this entry box beforehand. Without a file name in this entry box, uploading will result in an error.
If the attributes (e.g., PD4, FN4, EX4, PD3, FN3, EX3, and data file extensions) of the selected file are
different from those specified in the DIR/FILE entry box, an error will result.
If no file exists in the BHT when you select uploading by FPT, the
message shown at left will appear.
Press the C key to return to the FTP MENU.
98
Chapter 2 Getting Started the BHT and System Mode
99
Reply codes from the FTP server
The messages that FTP servers send during and after FTP operations vary, but servers all use the same
reply codes as listed below.
Reply codes Description
110 Restart marker reply.
120 Service ready in nnn minutes.
125 Data connection already open; transfer starting.
150 File status okay; about to open data connection.
200 Command okay.
202 Command not implemented, superfluous at this site.
211 System status, or system help reply.
212 Directory status.
213 File status.
214 Help message.
On how to use the server or the meaning of a particular non-standard command.
This reply is useful only to the human user.
215 NAME system type.
Where NAME is an official system name from the list in the Assigned Numbers document.
220 Service ready for new users.
221 Service closing control connection.
Logged out if appropriate.
225 Data connection open; no transfer in progress.
226 Closing data connection.
Requested file action successful (for example, file transfer or file abort).
227 Entering Passive Mode (h1, h2, h3, h4, p1, p2).
230 User logged in, proceed.
250 Requested file action okay, completed.
257 "PATHNAME" created.
331 User name okay, need password.
332 Need account for login.
350 Requested file action pending further information.
421 Service not available, closing control connection.
This may be a reply to any command if the service knows it must shut down.
425 Can't open data connection.
426 Connection closed; transfer aborted.
450 Requested file action not taken.
File unavailable (e.g., file busy).
451 Requested action aborted: local error in processing.
452 Requested action not taken.
Insufficient storage space in system.
500 Syntax error, command unrecognized.
This may include errors such as command line too long.
501 Syntax error in parameters or arguments.
502 Command not implemented.
503 Bad sequence of commands.
504 Command not implemented for that parameter.
530 Not logged in.
532 Need account for storing files.
550 Requested action not taken.
File unavailable (e.g., file not found, no access).
551 Requested action aborted: page type unknown.
552 Requested file action aborted.
Exceeded storage allocation (for current directory or dataset).
553 Requested action not taken.
File name not allowed.
100
Chapter 2 Getting Started the BHT and System Mode
On the SYSTEM MENU, pressing the 0 key with the SF key held
down calls up the screen shown at left.
Use the F5 and F6 keys to move the cursor to the file to be deleted,
then press the ENT key.
Press the C key to return to the SYSTEM MENU.
Select a desired item by using the numerical keys, then press the ENT
key.
101
[ 9 ] Deleting Font Files
You may delete font files stored in the flash ROM if you do not need to display Japanese fonts (16-dot
and/or 12-dot fonts) and the user area is insufficient. Deleting those font files allows the memory area
which was occupied by those files to be used as a user area.
Before deleting font files, be sure to upload them to the host PC and back them up for the future use.
On the SYSTEM MENU, pressing the 2 key with the SF key held
down calls up the screen shown at left.
Use the F5 and F6 keys to move the cursor to the font file to be
deleted, then press the ENT key.
Press the C key to return to the SYSTEM MENU.
Select a desired item by using the numerical keys, then press the ENT
key.
102
Chapter 2 Getting Started the BHT and System Mode
If you select the "2: UPLOAD," the system will set up the BHT system parameter file based on the
current settings and upload it to the host PC. After that, the created file will be deleted.
If you select the "1: DOWNLOAD," the BHT will receive the BHT system parameter file from the host PC
and read in the values stored in the file. After that, the received file will be deleted.
For uploading/downloading, the BHT will use the communications parameters, communications protocol,
and interface port specified in Section 2.5.3, "[4.5] Setting the communications environments."
103
[10.1] Downloading the BHT system parameter file
Selecting "1: DOWNLOAD" on the SYSTEM PARAMETER transfer
menu calls up the screen shown at left. With this screen displayed, the
BHT waits for the BHT system parameter file to be downloaded.
While the downloading operation is in progress, the screen shown at
left is displayed indicating the file name and the number of received
records/the total number of records.
To abort the downloading operation, press the C key. The screen will
switch back to the SYSTEM PARAMETER transfer menu.
Upon completion of downloading, the BHT displays the screen shown
at left and beeps once.
Press the C key to return to the SYSTEM PARAMETER transfer
menu.
104
Chapter 2 Getting Started the BHT and System Mode
Problem
The memory is insufficient for storing the BHT system parameter file
to be downloaded.
Solution
Problem
Solution
Check whether the file you attempted to download is the BHT system
parameter file.
Problem
Solution
Problem
Solution
105
[10.2] Uploading the BHT system parameter file
Selecting "2: UPLOAD" on the SYSTEM PARAMETER transfer menu
calls up the screen shown at left. With this screen displayed, the BHT
waits for the BHT system parameter file to be uploaded.
While the uploading operation is in progress, the screen shown at left
is displayed indicating the file name and the number of sent
records/the total number of records.
To abort the uploading operation, press the C key. The screen will
switch back to the SYSTEM PARAMETER transfer menu.
Upon completion of uploading, the BHT displays the screen shown at
left and beeps once.
Press the C key to return to the SYSTEM PARAMETER transfer
menu.
106
Chapter 2 Getting Started the BHT and System Mode
Problem
Solution
Problem
The memory has already contained 120 files, so the BHT system
parameter file cannot be set up.
Solution
Problem
Solution
107
[ 11 ] Setting the Remote Wakeup
On the SYSTEM MENU, pressing the 4 key with the SF key held
down calls up the screen shown at left.
[1] REMOTE WAKEUP: Activates or deactivates the remote
wakeup function.
[2] TRANSMIT SPEED: Sets the transmission speed for the
remote wakeup.
Select a desired item by using the numerical keys or F5 and F6 keys.
Select a desired setting by using the F7 and F8 keys, and then press
the ENT key.
To return to the SYSTEM MENU, press the C key.
108
Chapter 2 Getting Started the BHT and System Mode
109
[12.1] Downloading the system message file
Selecting "1: DOWNLOAD" on the SYSTEM MESSAGE menu calls
up the screen shown at left. With this screen displayed, the BHT waits
for the system message file to be downloaded.
While the downloading operation is in progress, the screen shown at
left is displayed indicating the file name and the number of received
records/the total number of records.
To abort the downloading operation, press the C key. The screen will
switch back to the SYSTEM MESSAGE transfer menu.
Upon completion of downloading, the BHT displays the screen shown
at left and beeps once.
Press the C key to return to the SYSTEM MESSAGE transfer menu.
110
Chapter 2 Getting Started the BHT and System Mode
Problem
Solution
Problem
You attempted to download a file other than the system message file.
Solution
Problem
Solution
Problem
Solution
111
[12.2] Uploading the system message file
Selecting "2: UPLOAD" on the SYSTEM MESSAGE transfer menu
calls up the screen shown at left. With this screen displayed, the BHT
waits for the system message file to be uploaded.
While the uploading operation is in progress, the screen shown at left
is displayed indicating the file name and the number of sent
records/the total number of records.
To abort the uploading operation, press the C key. The screen will
switch back to the SYSTEM MESSAGE transfer menu.
Upon completion of uploading, the BHT displays the screen shown at
left and beeps once.
Press the C key to return to the SYSTEM MESSAGE transfer menu.
112
Chapter 2 Getting Started the BHT and System Mode
Problem
Solution
Problem
The memory has already contained 120 files, so the BHT system
message file cannot be set up.
Solution
Problem
Solution
113
[ 13 ] Updating the Systems
On the SYSTEM MENU, pressing the period (.) key with the SF key
held down calls up the screen shown at left.
[1] SYSTEM MODIFY: Switches to the BHT system updating menu.
[2] CU-F/W MODIFY: Switches to the CU-311 system updating
menu (in LAN-support software only).
Selecting "1: DO IT" calls up the screen shown at left. With this screen
displayed, the BHT immediately starts updating the current BHT
system.
Upon completion of updating, the BHT will automatically turn itself off.
114
Chapter 2 Getting Started the BHT and System Mode
If the displayed filename is different from the name of the BHT system
reconfig file you want to use, then select "2: FILENAME" and enter the
correct filename.
Selecting "2: FILENAME" makes the entry box ready to accept entry
and displays a cursor. Enter the desired filename by using the
numerical keys and period (.) key, and then press the ENT key.
Pressing the SF key switches the entry mode between the numeric
mode and alphabet mode.
In the entry mode, to delete a single character, press the BS key. To
delete the whole entry you made, press the C key.
To return to the MODIFY MENU, press the C key when any item is
highlighted.
If no BHT system reconfig file exists in the BHT when you select "1:
DO IT," then the message shown at left will appear.
Download a BHT system reconfig file to the BHT and then try updating
again. (Refer to Section 2.6.1.)
Press the C key to return to the MODIFY MENU.
115
[13.2] Updating the CU-311 System via the BHT (in LAN-support software only)
Before proceeding to the updating procedure, you need to download a CU-311 system reconfig file,
referring to Section 2.6.2.
(CU system updating completion screen)
If the CU-311 system updating completes normally, the screen shown
at left will appear.
To return to the CU-F/W MODIFY menu screen, press the C key.
116
Chapter 2 Getting Started the BHT and System Mode
117
2.6 Downloading System Reconfig Files and
Updating the Current Systems
2.6.1 Updating the BHT System
You may update the current BHT system in System Mode in the following two processes.
(1) Download a BHT system reconfig file to the BHT from the host PC
Download a BHT system reconfig file by using the BHT's downloading function—the DOWNLOAD menu
or FTP MENU.
To avoid a low-battery problem during the system updating operation, ensure that the BHT has
sufficient battery power or keep the BHT placed on the CU.
Even if the BHT is shut down during the operation due to a low-battery problem, turning it on
can resume the system updating operation.
During system updating, the PW key is disabled so that the BHT cannot be turned off. Wait for
completion of updating and then press the PW key.
The latest BHT system reconfig file can be downloaded from our Web site.
http://www.qbdirect.net /
118
Chapter 2 Getting Started the BHT and System Mode
(1) Download a CU-311 system reconfig file to the BHT from the host PC
Download a CU-311 system reconfig file as a data file having the field length of 64 bytes, by using the
BHT's downloading function—the DOWNLOAD menu or FTP MENU.
When downloading a CU-311 system reconfig file with BHT-BASIC4.0 Transfer Utility
according to the BHT-protocol, be sure to select the "Binary File Transfer" check box in the
"Options for Communications" dialog box beforehand.
During updating, do not remove the BHT from the CU-311 or turn the BHT off. Doing so will
cause a CU-311 system updating error, making the CU-311 wait for retry.
To recover from such status, carry out the updating procedure again or restart the CU-311.
If the CU-311 has been turned off during updating, restarting it will run either the old CU-311 system
or updated one. You may check which system is running on the CU INFORMATION screen given in
Section 2.5.3, [ 6 ].
The latest CU-311 system reconfig file can be downloaded from our Web site.
http://www.qbdirect.net/
119
2.7 Starting Up User Programs
You may start up user programs (application programs) in the BHT in several ways. This section outlines
those ways.
Starting the auto-start execution program selected in the SET SYSTEM menu in System
Mode, by turning the power on
If you have selected a desired user program as an auto-start execution program on the SET EXECUTE
PROGRAM screen in the SET SYSTEM menu and turned the BHT off, then turning the BHT on will
automatically run the selected program. If the resume function is activated, turning the BHT on will
resume the program at the current point that had been running before the BHT was turned off.
For details, refer to Section 2.5.3, "[4.1] Setting an auto-start execution program."
Starting the first registered execution program, by turning the power on--with Directory
Manager
If no auto-start execution program has been selected on the SET EXECUTE PROGRAM screen in the
SET SYSTEM menu, then turning the BHT on will transfer the control to Directory Manager that starts a
first-registered one out of user programs (.PD4) loaded in the BHT.
If the resume function is activated, turning the BHT on will resume the program at the current point that
had been running before the BHT was turned off.
When downloading more than one user program after system initialization, you should download first a
desired program to be run as an auto-start execution program since downloaded programs will be
registered in the system in the downloading order.
At the time of updating programs, use the same program names in downloading, and the registration
order of programs will not change so that the same execution program will be able to run.
NOTE: Directory Manager in system manages also files other than program files (.PD4). If you delete a
non-program file (e.g., .DAT) registered preceding the first-registered execution program and download
a new user program, then the newly downloaded program will be registered into the position of the
deleted non-program file. To prevent such a problem, it is recommended that after initialization you first
download an execution program to be run first when the BHT is turned on.
On the next page are downloading examples and Directory Manager control. In those samples, the
following file names are used:
MAIN.PD4 Program to be run by pressing the PW key
SUBMAIN.PD4 Program chained from the MAIN.PD4 with the CHAIN statement in BHT-BASIC
USER.PD4 New user program
AAAAAAAA.DAT Data file 1 to be used by user programs
BBBBBBBB.DAT Data file 2 to be used by user programs
120
Chapter 2 Getting Started the BHT and System Mode
MAIN.PD4 MAIN.PD4
DOWNLOAD
SUBMAIN.PD4 SUBMAIN.PD4
. .
. .
. .
AAAAAAAA.DAT AAAAAAAA.DAT
DELETE
BBBBBBBB.DAT USER.PD4
MAIN.PD4 MAIN.PD4
DOWNLOAD
SUBMAIN.PD4 SUBMAIN.PD4
. .
. USER.PD4 .
. .
AAAAAAAA.DAT
Download in BBBBBBBB.DAT
the order of 1),
. 2), 3) and 4). .
. .
. .
121
Starting with the wakeup function
If you specify the wakeup time in user programs, the wakeup function will automatically wake up the
BHT at the specified time and run a user program.
If an auto-start execution program has been selected on the SET EXECUTE PROGRAM screen in the
SET SYSTEM menu, the selected program will run at the time of wakeup. If no auto-start execution
program has been specified, the control will be transferred to Directory Manager that starts a
first-registered one out of user programs (.PD4) loaded in the BHT.
For details about the wakeup function, refer to the BHT-BASIC Programmer's Manual.
122
Chapter 3
123
3.1 Infrared Communication
The BHT has an integrated infrared communications unit which enables wireless transfer of programs
and data between a BHT and host PC and between two BHTs.
The BHT can communicate with other IrDA-compliant equipment just by aligning their IrDA ports with
each other. The effective IR range and IrDA port angle differ depending upon the target equipment, so
observe the instructions given in manuals furnished with such equipment.
If IR transfer fails, bring the BHT closer to the target station or change the IrDA port angle, and try
again.
124
Chapter 3 Communications Operations of BHT
The BHT's IR communications device is IrDA-compliant. IrDA stands for Infrared Data Association,
which has defined hardware (IrDA Serial Infrared Physical Layer Link) and communications protocols for
IR communications.
The BHT's physical layer complies with the IrDA1.2 Low Power, with a maximum transfer distance of
0.15 m and maximum transmission rate of 115.2 kbits per second.
The BHT supports three communications protocols--YMODEM, BHT-Ir protocol and BHT-protocol.
125
3.2 RS-232C Interface Specifications
[ 1 ] Interface Connector and Pin Assignment
The BHT has a direct-connect interface port which is connectable to the 3-pole mini stereo plug (2.5
mm or 0.1") and supports a subset of the RS-232C interface as shown below.
Using a direct-connect interface cable having the mini stereo plugs makes it possible to connect the BHT
to a host PC (or another BHT) directly without any routing through the CU-300.
Signal Input/Output
Signal Name Function
BHT External device
SD Send data
RD Receive data
SG Signal ground -
The input/output voltage threshold for the logical valued signal is listed below.
The direct-connect interface port is not designed to stand frequent connecting/disconnecting. Do not
plug and unplug basically more than one time a day; otherwise, the service life of the plug will
shorten. To connect the BHT to a host PC having no IrDA port (or another BHT) frequently, use the
CU-300.
Allow the specified signals only to enter the direct-connect interface port. Entry of other signals will
result in a failure or malfunction of the BHT.
126
Chapter 3 Communications Operations of BHT
127
3.3 Basic Communications Specifications and
Parameters
3.3.1 Basic Communications Specifications
Listed below are the communications specifications when the BHT exchanges data with a host PC
through the IrDA interface or direct-connect interface.
Synchronization
For accurate data transaction, it is very important to synchronize the transmission between the sender
and receiver. To do this, it is required to previously define the bit order and position, the character length,
and the beginning and end of the character to be transmitted.
The start-stop synchronization is an asynchronous system which synchronizes each character as a unit;
that is, it externally adds start and stop bits to the leading and trailing bit positions of the character to be
transmitted, respectively. A clock starts counting on receiving the start bit and it falls into a
non-communication state on receiving the stop bit. The number of the stop bits is selectable (1 or 2 bits).
Transmission Speed
Maximum number of bits to be transmitted per second. Expressed in bps (bits per second).
128
Chapter 3 Communications Operations of BHT
Vertical Parity
A vertical parity bit is a redundancy bit which is added to every character to be transmitted in order to
check that data has been transmitted accurately. The parity bit should be set to "1" or "0" depending
upon the parity parameter setting, to make the number of set bits in the character even or odd. The
receiver counts the number of set bits in the transmitted character code to make sure that it has the
selected number (even or odd) of set bits.
The vertical parity bit is positioned immediately following the MSB (Most significant bit) as shown below.
129
3.3.2 Communications Parameters
In System Mode and user programs written in BHT-BASIC, you can set the communications parameters
listed below.
In System Mode
Refer to Chapter 2, Section 2.5.3, [4.5], "Setting the communications environments."
In BHT-BASIC
To set the transmission speed, character length, vertical parity, and stop bit length (For the IrDA
interface, set the transmission speed only), use the OPEN "COM:" statement in BHT-BASIC.
OPEN "COM: ... " Opens the interface port selected in System Mode.
OPEN "COM1: ... " Opens the IrDA interface port for data transmission, irrespective of the setting
in System Mode.
OPEN "COM2: ... " Opens the direct-connect interface port for data transmission, irrespective of
the setting in System Mode.
Note that it is impossible to open both the IrDA and direct-connect interface ports concurrently.
Through the interface port opened by the OPEN "COM:" statement, the XFILE statement transmits a
designated file.
130
Chapter 4
Error Messages
This chapter lists the error messages which will appear on the LCD if some error occurs in the BHT.
131
4.1 System Errors
If some error occurs when the power is turned on or during program execution, one of the following error
messages will appear on the LCD.
Solution
Contact your nearest dealer.
Solution
The battery cartridge will need to be recharged before long.
Replace or recharge the battery cartridge. (For the charging
procedure, refer to Chapter 5, Section 5.5.)
132
Chapter 4 Error Messages
Solution
Replace or recharge the battery cartridge. (For the charging
procedure, refer to Chapter 5, Section 5.5.)
Solution
Set the calendar clock (refer to Chapter 2, Section 2.3.2).
133
Abnormal shutdown
Problem
The BHT was shut down abnormally* and has been left without a
battery cartridge loaded or with a discharged battery cartridge loaded,
so unsaved data is lost.
(*"Normally shut down" refers to "the BHT is turned off with the PW
key or by the auto power-off feature.")
Solution
Refer to Chapter 2, Section 2.3.7 "BHT Turning-off Notes."
134
Chapter 4 Error Messages
Solution
Unload and reload the battery cartridge, then turn the BHT on.
If this error occurs frequently, make a note of the displayed message
and codes and contact your nearest dealer.
Problem
During execution of System Program, the System Program has
received an invalid command code.
(xxxxxxxx: Error address)
If this error occurs, the BHT beeps five times (for 0.1 second per
beep).
Solution
Unload and reload the battery cartridge, then turn the BHT on.
If this error occurs frequently, make a note of the displayed message
and codes and contact your nearest dealer.
135
No user programs found
Problem
When the BHT is turned on, no user programs are found.
Solution
You can run the code scanning demo without user programs.
Pressing "1:Yes" runs the code scanning demo. To start the demo,
press the trigger switch. Selecting "2:No" turns the power off.
136
Chapter 4 Error Messages
Solution
Make your settings in System Mode again.
If the window asking whether to run the code scanning demo
appears, activate System Mode and download user programs on the
DOWNLOAD menu.
(For the downloading procedure, refer to Chapter 2, Section 2.5.3,
[ 2 ]. For the start-up way of user programs, refer to Section 2.7.)
Solution
Unload and reload the battery cartridge, then turn the BHT on.
If this error occurs frequently, make a note of the message and codes
on the LCD and contact your nearest dealer.
137
System administrator to be called
Problem
Any of the following errors has occurred:
(1) Hardware error or calendar clock error (1010)
Flash memory error (1020)
(2) Memory storage error (20XX)
(3) Execution program error (3010)
(XXXX: Error code)
If any of the above errors occurs, the BHT beeps five times (for
0.1 second per beep) and then turns itself off.
Solution
Turn the BHT on again.
If error (1) above occurs frequently, contact your nearest dealer.
If error (2) occurs frequently, initialize the BHT System (the whole
user area including the font file area).
If error (3) occurs frequently, delete the execution program file that
causes this error or download the original execution program file to
overwrite the current one.
138
Chapter 4 Error Messages
Solution
Press the C key to return to the SYSTEM MENU screen, then
download user programs. (Refer to Chapter 2, Section 2.5.3,
[ 2 ].)
Problem
In the SET SYSTEM menu, you attempted to select a user program
file as an execution program to be run when the power is applied, but
no user program files had been stored in the memory.
Solution
Press the C key to return to the SYSTEM MENU screen, then
download user programs. (Refer to Chapter 2, Section 2.5.3,
[ 2 ].)
Problem
You attempted to select "ONE FILE" or "ALL FILES" for uploading in
the UPLOAD menu, but no data files had been stored in the memory.
Solution
Press the C key to return to the SYSTEM MENU screen.
139
Problem
You have deleted all of the files stored in the memory in the DELETE
FILE menu.
Solution
Press the C key to return to the SYSTEM MENU screen.
Solution
Press the 2 key to return to the SYSTEM MENU, then delete
unnecessary files in the memory or decrease the size of the file to be
downloaded. (Refer to Chapter 2, Section 2.5.3, [ 8 ], [ 2 ], [ 10 ] and
[ 12 ].)
Problem
In the SYSTEM PARAMETER transfer menu, you attempted to
download a file other than the BHT system parameter file. Or in the
SYSTEM MESSAGE transfer menu, you attempted to download a file
other than the system message file.
Solution
Check the file you attempted to download and then download the file
in the appropriate menu (DOWNLOAD menu, SYSTEM
PARAMETER transfer menu, or SYSTEM MESSAGE transfer menu).
140
Chapter 4 Error Messages
Problem
The current download will exceed the maximum allowable number of
files (120 files) in the memory.
Solution
Press the 2 key to return to the SYSTEM MENU, then delete
unnecessary files in the memory (or decrease the number of files to
be downloaded if you attempted to download more than one file in the
DOWNLOAD menu.)
(Refer to Chapter 2, Section 2.5.3, [ 8 ], [ 2 ], [ 10 ], and [ 12 ].)
Problem
Downloading has failed.
Solution
To retry downloading, press the 1 key.
To return to the SYSTEM MENU, press the 2 key. Check the interface
port, communications parameters, and communications protocol in
the SET SYSTEM menu or perform the communications test in the
TEST menu. (Refer to Chapter 2, Section 2.5.3, [4.5] and [5.7].)
It is also necessary to check the communications parameters setup of
the host PC.
Problem
You attempted to download an invalid program file.
Solution
Check whether the program file you attempted to download is
available to your BHT model. If it is not available, download the
appropriate program.
141
During uploading of a program file, data file, BHT
system parameter file, or system message file
Problem
The file you attempted to upload is damaged.
Solution
To upload the damaged file as is, press the 1 key.
Problem
The memory is insufficient for setting up the BHT system parameter
file or system message file to be uploaded.
Solution
Press the C key to return to the SYSTEM MENU and delete
unnecessary files. (Refer to Chapter 2, Section 2.5.3, [ 8 ].)
Problem
The memory has already contained 120 files, so the BHT system
parameter file or system message file cannot be set up.
Solution
Press the C key to return to the SYSTEM MENU and delete
unnecessary files. (Refer to Chapter 2, Section 2.5.3, [ 8 ].)
Problem
Uploading has failed.
Solution
To retry uploading, press the 1 key.
To return to the SYSTEM MENU, press the 2 key. Check the interface
port, communications parameters, and communications protocol in
the SET SYSTEM menu or perform the communications test in the
TEST menu. (Refer to Chapter 2, Section 2.5.3, [4.5] and [5.7].)
It is also necessary to check the communications parameters setup of
the host PC.
142
This chapter describes the handling procedure of the communication unit CU-300, the interfacing with
the host PC, and the charging of the battery cartridge. It also describes the LAN-support communication
unit CU-311.
Chapter 5
143
5.1 Functions of the CU-300
The optical communication unit CU-300 series is available in three models: CU-301, CU-321 and
CU-311. The CU-300 series has the following functions:
NOTE: Before using the CU-321, you need to install the dedicated USB device driver stored in the
CD-ROM that comes with the CU-321. For the installation/uninstallation procedure, refer to the
guidebook that comes with the CU-321.
144
7.1.1 Handling the CU-300 (Option)
Indicator LED
Shows the charging state.
Status indicators
Interface connector
Used to exchange data with the host PC or
communications station.
The CU-301/321/311 has an RS-232C port,
USB port or Ethernet port (10Base-T),
respectively.
Protection sheet
DIP switch
Used to set the CU's transmission speed.
145
5.3 Applying Power to the CU-300
CU-301:
The CU-301 should be powered from a wall socket via the dedicated AC adapter. Connect the outlet
plug of the AC adapter to the power inlet connector of the CU-301, then plug the other end into a wall
socket. Pressing the | side of the power switch turns the CU-301 on; pressing the side turns it off.
CU-321:
The CU-321 should be powered from a wall socket via the dedicated AC adapter or from the USB host
(PC) or USB hub via the USB interface.
Connecting the AC adapter supplies power to the CU-321. If no AC adapter is connected, turning on the
USB host (PC) and USB hub supplies power to the CU-321.
NOTE: To charge the battery cartridge, use the AC adapter except when the CU-321 is connected to a
self-powered hub capable of supplying power (5V 500 mA) via the USB line.
NOTE: To charge the battery cartridge even when the USB host (PC) is in suspend mode, use the AC
adapter.
CU-311:
The CU-311 should be powered from a wall socket via the dedicated AC adapter. Connect the outlet
plug of the AC adapter to the power inlet connector of the CU-311, then plug the other end into a wall
socket.
AC adapter
146
7.1.1 Handling the CU-300 (Option)
• If you are not using the CU for a long time, be sure to unplug the AC
adapter from the wall socket and disconnect the interface cable from
the CU for safety.
Failure to do so could result in a fire.
• When caring for the CU, unplug the AC adapter from the wall socket
and disconnect the interface cable from the CU for safety.
Failure to do so could result in an electrical shock.
• Never cover or wrap up the CU or AC adapter in a cloth or blanket.
Doing so could cause the unit to heat up inside, deforming its
housing, resulting in a fire.
Always use the CU and AC adapter in a well-ventilated area.
• Keep the power cord away from any heating equipment.
Failure to do so could melt the sheathing, resulting in a fire or
electrical shock.
147
5.4 Communicating with the Host PC
5.4.1 Setting the Transmission Speed of the CU-300
CU-301: Set the transmission speed to the same value as that of the BHT and host PC, by using the
DIP switch.
CU-321: The transmission speed is automatically determined by the host PC.
CU-311: Use the CU with the transmission speed fixed to 115,200 bps (default). (Do not disturb the DIP
switch.)
Set the transmission speed of the CU-301 to the same value as that of the BHT and the host PC, by
using the DIP switch next to the power inlet connector.
(1) Remove the protection sheet of the DIP switch from the CU-301.
(2) Set the selectors of the DIP switch as shown below.
Do not set the DIP switch to any configurations other than one of the five shown above.
When removing the protection sheet, take care not to let any foreign material get into the CU.
148
7.1.1 Handling the CU-300 (Option)
Interface cable
CU-301: RS-232C
CU-321: USB
CU-311: Ethernet (10Base-T)
(4) Connect the other end of the RS-232C/Ethernet/USB interface cable to the corresponding port of
the host PC.
TIP: The CU-321/311 can be connected via a hub to the host PC.
149
5.4.3 Interfacing with the Host PC
[ 1 ] CU-301/321
This section describes how to start communication with the host PC in System Mode. The same can
apply when you use a user program.
CU-301/321
CU-301:RS-232C interface
CU-321:USB interface
AC adapter
(4) Turn the BHT on and run System Mode. Set the communications environments (communications
protocol, interface port, communications parameters, and protocol options). Refer to Chapter 2,
Section 2.5.3, [4.5].
Select the IrDA interface port.
(5) On the host PC, initiate a communications program (e.g., BHT-BASIC4.0 Transfer Utility or
equivalent).
(6) To transfer data stored in the BHT to the host PC, select "UPLOAD" on the SYSTEM MENU. To
transfer data from the host PC to the BHT, select "DOWNLOAD." Refer to Chapter 2, Section 2.5.3,
[ 2 ] and [ 3 ].
The BHT and the host PC start communication with each other via the CU-300. On the CU-301/321,
the DATA LED comes on upon start of communications, and after completion of communications,
the LED goes off.
150
7.1.1 Handling the CU-300 (Option)
[ 2 ] CU-311
This section describes how to start communication with the host PC in System Mode (FTP).
CU-311
Ethernet interface
AC adapter
(4) Turn the BHT on and start System Mode. Set up the TCP/IP (device) or FTP (FTP server IP address,
user ID, etc.). Refer to Chapter 2, Section 2.5.3, [4.9].
(5) On the host PC, initiate an FTP server program.
(6) To exchange data by FTP between the BHT and the host PC, select "FTP" on the SYSTEM MENU.
Refer to Chapter 2, Section 2.5.3, [ 7 ].
The BHT and the host PC start communication with each other via the CU-311. Upon start of
communication, the DATA LED comes on; after completion of communication, it goes off.
151
5.5 Charging the Battery Cartridge
You can charge a rechargeable battery cartridge being loaded in the BHT.
(1) Turn the CU-300 on. The POWER LED comes on.
(2) Place the BHT loaded with a battery cartridge onto the CU-300.
The BHT turns on the indicator LED in red and starts charging. The charging time is approx. 3 hours
(approx. 9 hours*).
(*When the CU-321 is powered from the USB host (PC) or USB hub)
Upon completion of charging, the indicator LED on the CU-300 lights in green.
(3) Take the BHT off the CU-300.
The charging time is approx. 3 hours (approx. 9 hours) if the "Charge the battery!" message is
displayed on the BHT. The battery cartridge not discharged so much will be fully recharged in shorter
time.
152
7.1.1 Handling the CU-300 (Option)
On standby OFF
*When the CU-321 is powered from the USB host (PC) or USB hub.
If the CU-321 is self-powered via the USB interface from the USB host (PC) or USB hub and the host PC
is in suspend mode, then the CU-321 cannot charge the battery cartridge.
If the host PC switches to the suspend mode when the CU-321 is charging the battery cartridge, then the
CU-321 will stop charging. When the host PC recovers from the suspend mode, the CU-321 will start
charging again. To prevent the CU-321 from getting affected by the suspend mode, use the dedicated
AC adapter.
153
5.6 Functions Exclusive to the CU-311
5.6.1 Displaying the CU-311 Status
You can check the machine status of the CU-311 according to the ON/OFF states of the LED indicators
(POWER and DATA) as listed below. For the charging procedure, refer to Chapter 5, Section 5.5,
"Charging the Battery Cartridge."
154
7.1.1 Handling the CU-300 (Option)
155
5.7 Interface Specifications
[ 1 ] Interface Connector and Pin Assignment
CU-301
The CU-301 has an RS-232C interface port (Dsub-9P).
Signal Input/Output
Pin No. Signal Functions
CU-301 External device
2 RD Receive data
3 SD Send data
4 ER Data terminal equipment ready
5 SG Signal ground —
6 DR Data set ready —
7 RS Request to send —
8 CS Ready to send —
The input/output voltage threshold for the logical valued signal is listed below.
CU-321
The CU-321 has a Full-Speed USB 1.1-capable port (Series "B" receptacle).
156
7.1.1 Handling the CU-300 (Option)
CU-311
The CU-311 has an IEEE802.3-compliant Ethernet interface port (10Base-T).
157
[ 2 ] Interface Cable Connection
CU-301
As illustrated below, connect the CU-301 (on which the BHT is placed) to a host PC with a cross-mode
cable. To connect it to a modem, use a straight-mode cable.
CU-301 Host PC
(DTE) (DTE)
CU-301 Modem
(DTE) (DCE)
CU-321
Use a cable that conforms to the USB specification.
CU-311
Use a TIA/EIA Category 3 cable or higher one.
158
Appendix A. Specifications ..............................................................................................................................................160
A.1 BHT-300B .........................................................................................................................................................160
[1] Product Specifications ..................................................................................................................................160
[2] Bar Code Specifications ...............................................................................................................................161
[3] Interface Specifications.................................................................................................................................163
A.2 CU-300 .............................................................................................................................................................164
[1] Product Specifications ..................................................................................................................................164
[2] Charging/Discharging Requirements (CU-301/321/311) ..............................................................................164
[3] Interface Specifications.................................................................................................................................165
Appendix B. A Typical Basic Operation ...........................................................................................................................167
Appendices
159
Appendix A. Specifications
A.1 BHT-300B
[ 1 ] Product Specifications
Power Source Main power Rechargeable lithium-ion battery cartridge (3.7 VDC)
Dimensions (W) x (L) x (H) 70 x 182 x 55 mm (2.8 x 7.2 x 2.2 inches)
Weight Approx. 230 g (Approx. 8.19 oz.) including battery cartridge
Operating Ambient Temperature -5C to 50C (23F to 122F)
Operating Humidity 20% to 80% (with no dew condensation)
Ambient Illuminance 500 to 3000 lux.
(Depth of field: 45 mm, PCS value: 0.9 min., Reflection intensity:
85% min. for white and 5% max. for black, Narrow bar width:
0.125 mm min.)
20 to 10,000 lux.
(Depth of field: 100 mm, ITF: 0.625 magnification, PCS value: 0.9
min., Reflection intensity: 85% min. for white and 5% max. for
black)
Controller CPU: 32-bit RISC
RAM: 1MB
Flash ROM: 4MB (BHT-302B) / 8MB (BHT-303B)
Keypad Magic keys: 4
Function keys: 8
Numerical keys and others: 16
Display Type: Dot-matrix, FSTN liquid crystal display (LCD) with
backlight
Formation: 132 dots wide by 72 dots high
Screen mode Font size Chars x Lines Dots (W x H)
Single-byte Standard-size 22 x 9 6x8
ANK* mode Small-size 22 x 12 6x6
Two-byte 16-dot font Full-width 8x4 16 x 16
Kanji mode
Half-width 16 x 4 8 x 16
16-dot font Full-width 4x4 32 x 16
(Double-width)
Half-width 8x4 16 x 16
12-dot font Full-width 11 x 6 12 x 12
Half-width 22 x 6 6 x 12
12-dot font Full-width 5x6 24 x 12
(Double-width)
Half-width 11 x 6 12 x 12
*ANK: Alphanumerics and Katakana
Calendar Clock Year, month, day, hour, minute, and second
Year: Two digits (with auto-correction on February 29 up to year
2099)
Reading Confirmation LED Colors: Red and green
160
Appendices
161
(3) Bar Code Label Size
Recommended width: 10 mm min. (0.39 inch min.)
Length: Depth of field Length of labels (including margins)
(Distance from bar codes to the
bar-code reading window)
400 mm (15.75 inches) 420 mm max. (16.54 inches max.)
(Minimum narrow bar width: 1.0 mm min.)*4
162
Appendices
[ 3 ] Interface Specifications
IrDA Interface
Synchronization: Start-stop
Input signals: RD
Output signals: SD
Transmission speed: 115,200 bps max.
Direct-connect Interface
Synchronization: Start-stop
Transmission speed: 115,200 bps max.
Signal level: Conforms to the RS-232C interface
Pin assignment: As shown below.
Signal Input/Output
Pin No. Signal Functions
BHT External device
1 SG (GND) Ground for signals
2 SD Send data
3 RD Receive data
163
A.2 CU-300
[ 1 ] Product Specifications
CU-301 CU-321 CU-311
Power Source 100, 120 or 230 VAC 100, 120 or 230 VAC
Powered from the USB
(via the dedicated AC interface* (via the dedicated AC
adapter) adapter)
Power
6.5 VA 5V 500 mA 7 VA
Consumption
Dimensions 114 x 140 x 92 mm 114 x 134 x 92 mm
(W) x (L) x (H) (4.49 x 5.51 x 3.62 inches) (4.49 x 5.28 x 3.62 inches)
Weight Approx. 200 g Approx. 210 g
Operating
Ambient 0C to 40C (32F to 104F)
Temperature
Operating
20% to 80% (with no dew condensation)
Humidity
164
Appendices
[ 3 ] Interface Specifications
CU-301
Signal Input/Output
Pin No. Signal Functions
CU-301 External device
2 RD Receive data
3 SD Send data
4 ER Data terminal equipment ready
5 SG Signal ground
6 DR Data set ready
7 RS Request to send
8 CS Ready to send
CU-301
BHT-300
165
CU-321
The CU-321 has a Full-Speed USB 1.1-capable port (Series "B" receptacle).
CU-311
The CU-311 has an IEEE802.3-compliant Ethernet interface port (10Base-T).
166
Appendices
167
Bar Code Handy Terminal
BHT-300B
User’s Manual
First Edition, July 2004
The purpose of this manual is to provide accurate information in the handling and operating of the
BHT-300B. Please feel free to send your comments regarding any errors or omissions you may have
found, or any suggestions you may have for generally improving the manual.
In no event will DENSO WAVE be liable for any direct or indirect damages resulting from the application
of the information in this manual.