any means without permission in writing from the publisher.
Specifications are subject to change without prior notice.
Microsoft
®
, MS-DOS®, and QuickBASIC® are registered trademarks of Microsoft Cor-
poration.
®
IBM
, PC/AT®, and PS/2® are registered trademarks of International Business Ma-
chines Corporation.
Toshiba is a registered trademark of Kabushiki Kaisha Toshiba. T-3100 is a trademark
of Toshiba.
BHT, CU, BHT-protocol, and BHT-BASIC 3.0 are trademarks of DENSO CORPORATION.
Page 3
Preface
Please READ through these operating instructions carefully. It will enable you to
operate your BHT-5000 correctly.
After you have finished reading the instructions, keep this manual handy for speedy
reference.
i
Page 4
How this book is organized
This manual is made up of five chapters and appendices.
Chapter 1. Quick Guide
Describes the basic operating method of the BHT-5000 and the related notes.
Chapter 2. Getting Started the BHT-5000 and System Mode
Summarizes the BHT-5000 system configuration and describes the operation including
preparation and System Mode (which is required for the efficient use of application
programs).
Chapter 3. Communications Operations of BHT-5000
Describes the communications operations of the BHT-5000--the RS-232C interface
specifications, the basic communications specifications, and the BHT-protocol--for
data transmission with the host computer or other devices.
Chapter 4. Error Messages
Lists the error messages which will appear on the LCD if some error occurs in the BHT-
5000.
Chapter 5. Handling the CU-5000
Describes the handling procedure of the CU-5000, the interfacing with the host computer, and the charging of the Ni-MH battery cartridge.
Appendix A: Specifications
Appendix B: A Typical Basic Operation
ii
Page 5
■ Related Publications
BHT-BASIC 3.0 Programmer's Manual
Transfer Utility 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
Page 6
SAFETY PRECAUTIONS
Be sure to observe all these safety precautions.
■ Please READ through this manual carefully. It will enable you to use the BHT-5000
correctly.
■ Always keep this manual nearby for speedy reference.
Strict observance of these warning and caution indications are a MUST for preventing
accidents which could result in bodily injury and substantial property damage. Make
sure you fully understand all definitions of these terms and related symbols given
below, before you proceed on to the text itself.
WARNING
CAUTION
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 (
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 (
do. This example shows that you MUST unplug the power cord.
) with a picture inside alerts you to something you MUST
) alerts you to something you should not
iv
Page 7
WARNING
Handling the battery cartridge
• Never disassemble or heat the battery
cartridge, nor put it into fire or water;
doing so could cause battery-rupture or
leakage of battery fluid, resulting in a
fire or bodily injury.
• 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.
• 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.
Never
put me
into fire!
Do not
shortcircuit
me!
• Only use the dedicated charger (CU-5001
or C-500) for charging the Ni-MH battery cartridge.
Charge only
with the
dedicated
device.
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 Ni-MH battery cartridge where any inflammable
gases may be emitted; doing so could cause fire.
DedicatedUndedicated
v
Page 8
WARNING
Handling the CU
• If smoke, abnormal odors or noises come from the CU, immediately
turn off the power, unplug the AC adapter from the wall outlet, and
contact your nearest dealer.
Failure to do so could cause fire or electrical shock.
• If foreign material or water gets into the CU, immediately turn off the
power, unplug the AC adapter from the wall outlet, 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 turn off
the power, unplug the AC adapter from the wall outlet, 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.
• Use the furnished AC adapter only. Failure to do so could result in
fire.
• 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.
vi
Page 9
Basic handling tips
CAUTION
• Never put the BHT in places where there
are excessively high temperatures, such
as inside closed-up automobiles, or in
I’m
burning
up!
places exposed to direct sunlight.
Doing so could affect the housing or
parts, resulting in a fire.
• 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.
This
humidity
is killing
me!
Refrigeration
Refrigeration
Refrigeration
Hot-
house
I’m
freezing!
• Never disassemble or modify the BHT; doing so could result in an
accident such as break or fire.
Never
disassemble
Handling the Ni-MH battery cartridge
• Never charge a wet or damp Ni-MH battery cartridge.
Doing so could cause the batteries to break, generate heat, rupture,
or burn.
Handling the BHT
• 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.
vii
Keep me
away from
water!
Page 10
CAUTION
• 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.
• For those machines using the dry battery cartridge, do not mistake
the plus and minus marks when loading dry batteries into the cartridge.
Failure to do so could cause battery-rupture or leakage of battery
fluid, resulting in bodily injury, fire, or property damage.
• For those machines using the dry battery cartridge, do not use anything other than the specified type of batteries, nor use new and old
batteries together.
Doing so could cause battery-rupture or leakage of battery fluid,
resulting in bodily injury, fire, or property damage.
• Do not use batteries or power sources other than the specified ones;
doing so could generate heat or cause malfunction.
Do not
drop
me!
Handling the CU
• If you will not be using the CU for a long time, be sure to unplug the
AC adapter from the wall outlet for safety.
Failure to do so could result in a fire.
• When caring for the CU, unplug the AC adapter from the wall outlet
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.
• 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.
viii
Page 11
CAUTION
• Keep the power cord away from any heating equipment.
Failure to do so could melt the sheathing, resulting in a fire or
electrical shock.
• Do not insert or drop foreign materials such as metals or anything
inflammable through the openings (vents or battery cartridge slot)
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.
■ Intellectual Property Precaution
DENSO WAVE INCORPORATED ("DENSO WAVE") takes reasonable precautions to
ensure its products do not infringe upon any patent of other intellectual property
rights of other(s), but DENSO WAVE cannot be responsible for any patent or other
intellectual property right infringement(s) or violation(s) which arise from (i) the
use of DENSO WAVE's product(s) in connection or in combination with other
component(s), product(s), data processing system(s) or equipment or software not
supplied from DENSO WAVE; (ii) the use of DENSO WAVE's products in a manner
for which the same were not intended nor designed; or (iii) any modification of
DENSO WAVE's products by other(s) than DENSO WAVE.
ix
Page 12
■ Proper Care of the BHT and CU
Before starting cleaning, unplug the AC adapter of the CU from the wall outlet for
safety.
BHT:Clean the housing with a dry, soft cloth.
CU and battery cartridge: Clean the housing and the charge terminals with a dry, soft
cloth.
• Never use benzene, alcohol, or other organic solvents. The housing may be
marred or the paint may come off.
Take care of
me with a dry
soft cloth.
NO WAY!!
• Never rub or strike the liquid crystal display (LCD) with anything hard. The LCD
surface will be easily scratched or bro-
BenzineThinner
ken.
• 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.
■ Limited Warranty on Software Products
In no event will DENSO WAVE be liable for direct, indirect, special, incidental, or
consequential damages (including imaginary profits or damages resulting from interruption of operation or loss of business information) resulting from any defect in the
software or its documentation or resulting from inability to apply the software or its
documentation.
Appendix B. A Typical Basic Operation ......................................................................... 124
Page 15
Chapter 1. Quick Guide
Chapter 2. Getting Started the BHT-5000 and System Mode
Chapter 3. Communications Operations of BHT-5000
Chapter 4. Error Messages
Chapter 5. Handling the CU-5000
Appendices
Page 16
Chapter 1. Quick Guide
Chapter 1
Quick Guide
This chapter describes the basic operating method of the BHT-5000 and the related
notes.
1.1Reading Bar Codes ............................................................................................................. 2
1.2Setting and Using the Hand Strap .................................................................................... 3
1.3Setting the Backlight .......................................................................................................... 4
1.4Using the Keypad ............................................................................................................... 5
1
Page 17
1.1Reading Bar Codes
Turn on the BHT power, bring the bar-code reading window up to the bar code to be
scanned, and press the trigger switch. The BHT-5000 lights the illumination LED and
reads the bar code.
When the BHT-5000 has read the bar code successfully, the reading confirmation LED
will illuminate in green.
Reading confirmation LED
(Illuminates in green when the
BHT-5000 has read the bar
code successfully.)
Max. 20 cm
(Max. 7.9")
Trigger switch
PW key
• If the BHT-5000 fails to read, change the reading angle of the bar-code reading
window or the distance from bar codes, and try it again.
• To read bar codes wider than the readable area of the bar-code reading window,
pull the bar-code reading window away from bar codes for long-range scanning
so that the entire bar code comes into the illumination range covered by the
illumination LED. The BHT-5000 can read bar codes at a maximum distance of 20
cm (7.9")* from the bar-code reading window.
* Under the following conditions:
- Ambient illuminance: 500 lux (fluorescent lamp)
- ITF conforming to the UPC Shipping Container Code
- PCS value: 0.9 or more
- Minimum narrow bar width: 1.2 mm min. (47.2 mils min.)
NOTE
NOTE
NOTE
Before reading labels, clean them if stained.
Avoid using the BHT-5000 in direct sunlight. The BHT-5000 might fail to read
correctly.
To read bar codes on curved surfaces, apply the bar-code reading window to the
center of each bar code at a right angle.
The BHT-5000 keypad is
available in two types:
32-key pad and 26-key pad.
Illustrations given in this
manual show the BHT-5000
with the 32-key pad.
2
Page 18
Chapter 1. Quick Guide
1.2Setting and Using the Hand Strap
■ Setting the hand strap
■ Using the hand strap
Put your hand through the hand strap and hold the BHT-5000 as shown below. This
will prevent you from dropping the BHT-5000 accidentally.
Hand strap
3
Page 19
1.3Setting the Backlight
Pressing the trigger switch while holding down SF (Shift) key activates or deactivates the backlight function.
Backlight OFF
(The backlight function
is OFF when you power
on the terminal.)
Press the trigger
switch while holding
down SF key.
Trigger switch
NOTE
SF key
If no key is
pressed for at
least 3 seconds.
(32-key pad)
Backlight ON
Backlight OFF
(The backlight function
is kept ON.)
Press the trigger
switch while holding
down SF key.
Press any key (except for
the simultaneous
depression of the trigger
switch and SF key).
Press the trigger
switch while holding
down SF key.
In user programs, you can select the key to be used for activating or deactivating
the backlight function (instead of the default: combination of the SF key and
trigger switch), as well as modifying the ON-duration of the backlight before the
automatic turning-off.
4
Page 20
Chapter 1. Quick Guide
1.4Using the Keypad
■ Entering Numerical Data
To enter numerical data, e.g., the quantity of goods, use the ten numerical keys and
ENT key.
For example, to enter the number "120," press 1 , 2 and 0 keys and then press ENT
key.
If you key in any wrong value, press C key (or press C key while holding down SF
key) and then enter the correct one.
■ 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 ENT key to execute.
If a YES/NO screen (e.g., 1: YES, 2: NO) appears, press 1 key for YES response and 2
key for NO response.
5
Page 21
6
Page 22
Chapter 2. Getting Started the BHT-5000 and System Mode
Chapter 2
Getting Started the BHT-5000 and System Mode
This chapter summarizes the BHT-5000 system configuration and describes the operation including preparation and System Mode (which is required for the efficient use of
application programs).
2.1BHT-5000 System Configuration ............................................................................................................ 8
2.2Components and Functions ................................................................................................................. 13
[ 9 ] Handling the JIS Font Files ......................................................................................................... 63
7
Page 23
2.1BHT-5000 System Configuration
As shown in the system configuration below, it is necessary to prepare not only the
BHT-5000 Bar Code Handy Terminal (which reads bar codes and accepts keypad entry)
but also the following hardware:
• Host computer:Allows you to edit, manage and download programs
and data, as well as downloading extension programs.
• CU-5000:Exchanges programs and data with the BHT-5000 op-
tically and with the host computer via the RS-232C
interface.
• RS-232C interface cable: Connects the CU-5000 and the host computer.
The basic software required for operating the BHT-5000 is "System Program" which is
resident in the flash ROM.
Optional software includes the BHT-BASIC 3.0 Extension Library, BHT-BASIC 3.0 Compiler, and Transfer Utility. (Each software is provided in a floppy disk.)
System Configuration
BHT-5000
RS-232C
Optical
Communications
CU-5000
Interface
RS-232C
Interface
Host Computer
BHT-BASIC 3.0 Extension Library
(option)
BHT-BASIC 3.0 Compiler
(option)
Transfer Utility
(option)
■ Host Computer
OS:MS-DOS Ver. 3.1 or later
RAM:640 kilobytes. At least 400-kilobyte area should be reserved as a work
area.
Models: IBM PC/AT, PS/2
Toshiba T-3100 series
8
Page 24
Chapter 2. Getting Started the BHT-5000 and System Mode
■ CU-5000 and RS-232C Interface Cable
The CU-5000 is an optical communications unit which exchanges data and programs
with the BHT-5000 optically and with the host computer via the RS-232C interface
cable.
You may directly connect two BHT-5000s with each other by using a commercially
available metal cable having 3-pole mini stereo plugs (as a direct-connect interface
cable). Joining the direct-connect interface cable to an interface cable compatible with
the target host computer or modem makes it possible to directly connect the BHT-5000
with it. (NOTE: The direct-connect interface port of the BHT-5000 is not designed to
stand frequent connecting/disconnecting. You are, therefore, recommended to use
the CU-5000 where you expect to do a lot of connecting and disconnecting of the BHT5000 to a host computer.)
■ BHT-BASIC Extension Library (option)
This Extension Library enables the following functions which cannot be handled by the
ordinary system:
- Displaying ruled lines on the BHT-5000's LCD
- Transmitting files by using the X-MODEM and Y-MODEM protocols.
These extension programs are stored in files named xxxx.FN3, in each file per function. You should download a xxxx.FN3 file containing the necessary function to the
BHT-5000 by using Transfer Utility.
■ BHT-BASIC 3.0 Compiler (option)
This Compiler compiles a source program written in BHT-BASIC 3.0 by an editor of the
host computer running the MS-DOS, into the object program (user program) which
can be used in the BHT-5000. The compiled program file is named "XXX.PD3." (XXX:
File name you can set arbitrarily under the MS-DOS rules) You should download it to
the BHT-5000 by using Transfer Utility.
■ Transfer Utility (option)
This Utility transfers files between the BHT-5000 and the host computer. For details,
refer to the "Transfer Utility Guide" issued separately.
9
Page 25
Flash ROM and RAM
A flash ROM and RAM are mounted on the BHT-5000.
The flash ROM stores factory-written System Program and JIS Level 1 & Level 2 fonts.
You can download extension programs, user programs, and user data to either or both
of the flash ROM and RAM.
■ RAM
Programs and data stored in the RAM are backed up by a lithium battery integrated in
the BHT-5000. If the battery voltage level drops below the specified level, the RAM
cannot retain its contents so that the stored files may be damaged.
User programs can write data onto the RAM only.
In System Mode, the RAM is shown as "DRIVE A" or "A:" on the LCD. The names of
those files stored in the RAM are prefixed by "A:."
■ Flash ROM
Unlike the RAM, the flash ROM retains the stored programs and data irrespective of
the battery voltage level of the lithium battery. The flash ROM is limited in the
frequency of rewriting operations; frequent file rewriting exceeding approx. 10,000
times will no longer allow rewriting. Do not rewrite the flash ROM basically more than
one time a day.
You can write data onto the flash ROM according to any of the following:
•Downloading a file in System Mode
•Copying a file from the RAM in System Mode
•Downloading a file by using
You cannot write data scanned with the BHT, onto the flash ROM.
In System Mode, the flash ROM is shown as "DRIVE B" or "B:" on the LCD. The names
of those files stored in the flash ROM are prefixed by "B:."
XFILE statement in BHT-BASIC 3.0.
10
Page 26
Chapter 2. Getting Started the BHT-5000 and System Mode
Software Structure
System Program and JIS Level 1 & Level 2 fonts are resident in the system area of the
flash ROM.
To use extension programs and user programs, you should download the program
files into the user area (of the flash ROM or RAM).
Prior to executing user programs, it is necessary to prepare a data file. The data files
will be stored in the user area (of the flash ROM or RAM).
(Flash ROM)(RAM)
System
Programs
JIS Level 1 &
Level 2 font files
Extension
programs
User programs
Extension
programs
User programs
System Area
Program
files
Host Computer
⇔
Data filesData files
User Area
Program
files
■ System Programs
The system programs include the following three sets of programs:
Drivers
Drivers is a set of programs that directly controls the BHT-5000 hardware. It may be
called up by the BHT-BASIC 3.0 Interpreter or System Mode.
BHT-BASIC 3.0 Interpreter
The interpreter interprets and executes instructions in user programs written in BHTBASIC 3.0.
System Mode
System Mode is a system program exclusively designed for the effective use of user
programs in the BHT-5000. It sets up the execution environments for those programs;
e.g., it prepares downloading/uploading conditions, sets the calendar clock, and tests
the BHT-5000 components including the LCD, beeper, and keypad. Shown below is the
System Mode menu (SYSTEM MENU).
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
11
Page 27
■ JIS Level 1 and Level 2 Fonts
These are font data required for displaying Kanji characters on the LCD.
The BHT-5000 has no Kanji ROM, so it stores these Kanji fonts in the flash ROM.
■ Extension Programs
These programs extend the system programs by adding new functions which cannot
be handled by the ordinary system.
To download the desired extension program in the BHT-BASIC Extension Library, use
Transfer Utility (option).
■ User Programs
You can develop application programs to meet individual job requirements by using
the BHT-BASIC 3.0 Compiler. To download those user programs to the BHT-5000, use
Transfer Utility (option).
12
Page 28
Chapter 2. Getting Started the BHT-5000 and System Mode
2.2Components and Functions
• Reading confirmation LED
Illuminates in green when the
Bar-code
reading window
• Liquid crystal display
(LCD)
Shows the characters and
graphic patterns.
• Release button
Press this button to remove
the battery cartridge.
BHT has successfully read the
bar codes.
• Trigger switch
Press this switch to start
bar-code reading.
• Connector cover
Inside this cover is the directconnect interface port.
• Hand strap
Be sure to put your hand
through this strap to prevent
you from dropping the BHT
accidentally.
• Optical interface port
Used to exchange data/programs
with the host computer via the
optical communications unit CU-
5000.
• Battery cartridge
Main power source of
the BHT.
13
Page 29
The functions of the keys may be set by user programs. Shown below is a set of
sample functions.
32-key pad
• ALP (Alphabet) key
Switches the keypad to alphabet entry.
•C (Clear) key
Clears the last inputted
data or returns to the
original screen. If
pressed together with
SF key, this C key
works as a backspace
key.
• PW (Power) key
Turns the BHT-5000 on
or off.
• Function keys
Used for choosing
functions.
• SF (Shift) key
Used in combination
with numerical keys for
special input procedures.
• Cursor keys
Used to move up to the
preceding line, down to
the next line, to the
preceding character, and
to the next character.
• M1/M2 (Magic) keys
Used as any of the ENT key,
trigger switch, SF key, and
backlight function on/off key
depending upon definition in
System Mode or in user
programs. These keys can
be also assigned string data.
• Numerical keys
Used for numerical
input.
• ENT (Enter) key
Finalizes the inputted
data or operations, and
starts the corresponding
processing.
14
Page 30
26-key pad
Chapter 2. Getting Started the BHT-5000 and System Mode
• BS (Backspace) key
Moves back one character.
• PW (Power) key
Turns the BHT-5000 on or off.
• M1/M2 (Magic) keys
Used as any of the ENT key,
trigger switch, SF key, and
backlight function on/off key
depending upon definition in
System Mode or in user programs.
These keys can be also assigned
string data.
• F5-F8 Cursor keys
Used to move up to the preceding line, down to the next line,
to the preceding character, and
to the next character.
• C (Clear) key
Clears the last
inputted data or
returns to the
original screen.
• SF (Shift) key
Used in combination with numerical
keys for special
input procedures.
• Numerical keys
Used for numerical
input.
• ENT (Enter) key
Finalizes the
inputted data or
operations, and
starts the corresponding processing.
15
• Function keys
Used for choosing functions.
Page 31
2.3Preparation
2.3.1 Setting-up 1:Loading the Battery Cartridge
Before starting the BHT-5000, be sure to load the battery cartridge (sold separately)
according to the steps below.
(1) For the Ni-MH battery cartridge: Charge the battery cartridge, referring to Section
5.5, "Charging the Ni-MH Battery Cartridge (using the CU-5001)."
For the dry battery cartridge: Load two LR6 batteries into the cartridge, referring
to the "User's Manual of Dry Battery Cartridge" contained in the battery cartridge
package.
(2) Turn the BHT-5000 upside down.
(3) Push the battery cartridge into the BHT-5000 until it clicks into place. (To remove
the battery cartridge, press the release button.)
Battery cartridge
WARNING
CAUTION
Release button
• Never disassemble or heat the battery cartridge,
nor put it into fire or water; doing so could
cause battery-rupture or leakage of battery fluid,
resulting in a fire or bodily injury.
• 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.
• 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.
• Never charge the Ni-MH battery cartridge where
any inflammable gases may be emitted; doing
so could cause fire.
• Do not use batteries or power sources other
than the specified ones; doing so could generate heat or cause malfunction.
16
Page 32
Chapter 2. Getting Started the BHT-5000 and System Mode
NOTE
NOTE
NOTE
NOTE
REFERENCE
When you first load the battery cartridge after purchase or you load it after leaving
the BHT-5000 unused for a long time, do not remove the battery cartridge within 24
hours after that loading.
Do not leave the BHT-5000 with no battery cartridge loaded for a long time. Doing
so may cause loss of memory contents as well as a system error while showing the
message "System error! Contact your administrator. Note the error drive. (DRIVE
X)" on the LCD.
When disposing of the battery cartridge, cover the terminal pins with vinyl tape to
prevent short-circuit.
An early upload of gathered data is recommended, since the data stored in the RAM
might be affected by the so-called "soft error" or other environmental phenomena.
The BHT-5000 integrates a rechargeable lithium battery which backs up the
memory in the BHT-5000 when no battery cartridge is loaded or the voltage
level of the battery cartridge drops below the specified level. The lithium
battery is automatically charged by the battery cartridge.
17
Page 33
■ Checking the Battery Voltage Level
Pressing ENT key while holding down SF key displays the current voltage level of the
battery cartridge as a bar indicator on the LCD. (Releasing those keys will erase the
indication.)
For details, refer to Subsection 2.3.3, "Adjusting the LCD Contrast & Beeper Volume,
and Displaying the Battery Voltage Level."
■ Low Battery Indication
If the battery voltage level drops below the specified level while the BHT-5000 is in
operation, the BHT-5000 displays the following message on the LCD, beeps five times,
and turns itself off automatically.
- For the Ni-MH battery cartridge:Charge the battery cartridge (see ■ Charging the
Ni-MH Battery Cartridge below) or replace the
current battery cartridge with a fully charged
one.
- For the dry battery cartridge:Replace the dry batteries in the cartridge with
new ones.
Replace the batteriesCharge the battery !
(When the Ni-MH battery
cartridge is loaded)
(When the dry battery
cartridge is loaded)
■ Charging the Ni-MH Battery Cartridge
You may charge the Ni-MH battery cartridge with the optical communications unit CU5001 or the quick charger C-500 (option). For the charging procedure with the CU5001, refer to Chapter 5. For the charging procedure with the C-500, refer to the "C-500
User's Manual."
WARNING
CAUTION
Only use the dedicated charger (CU-5001 or
C-500) for charging the Ni-MH battery cartridge.
Never charge a set or damp Ni-MH battery cartridge.
Doing so could cause the batteries to break, generate heat, rupture or burn.
18
Page 34
Chapter 2. Getting Started the BHT-5000 and System Mode
2.3.2Setting-up 2:Initializing the BHT-5000 and
Setting the Calendar Clock
[ 1 ] Initializing the BHT-5000
Power on the BHT-5000 by pressing PW key.
Either of the following messages will appear, either in English or Japanese.
System error !
Contact your
administrator.
Note the error drive.
(DRIVE A)
System error !
Contact your
administrator.
Note the error drive.
(DRIVE B)
In any of the following cases, either of the above messages will appear. Then, it
is necessary to initialize the BHT-5000.
• The BHT-5000 is first powered on from the time of purchase.
• The BHT-5000 is powered on after being discharged completely.
Proceed to the initialization procedure given on the following pages. The initialization
operation does not initialize the system area of the flash ROM.
19
Page 35
(1) Selecting the memory area to be initialized
Press PW key while holding down SF key, trigger
SYSTEM INITIALIZE ?
switch and 0 key together.
1:ALL
2:DRIVE A
3:DRIVE B
The screen shown at left will appear.
1 ALL: Initializes both the flash ROM (ex-
cept for its system area) and RAM.
This should be chosen when you
first power on the BHT-5000 from
the time of purchase.
2 DRIVE A : Initializes the RAM only.
3 DRIVE B : Initializes the flash ROM only (ex-
cept for its system area).
Select a desired item by using the numerical keys,
then press ENT key.
REFERENCE
If the message "System error! Contact
your administrator. Note the error drive.
(DRIVE A)" appears on the LCD, select
"2: DRIVE A" to initialize the RAM.
If the message "System error! .....
(DRIVE B)" appears, select "3: DRIVE
B" to initialize the flash ROM.
(2) Confirming the memory area selected for initialization
Selecting the memory area in step (1) above will
SYSTEM INITIALIZE ?
(ALL)
call up the confirmation screen shown at left where
you check the selected memory area on the 3rd
line.
1:Yes 2:No
1 Yes : Shifts to the message version selection
screen before executing initialization.
2 No : Cancels initialization and turns the power
off.
Select a desired item by using the numerical keys,
then press ENT key.
20
Page 36
Chapter 2. Getting Started the BHT-5000 and System Mode
(3) Selecting the English or Japanese message version
Preceding the execution of initialization, the mes-
SELECT MESSAGE
sage version selection screen will appear as shown
at left.
1:JAPANESE
1 JAPANESE : Switches the message version to
2:ENGLISH
(4) Completion of initialization
SYSTEM INITIALIZE
2 ENGLISH : Switches the message version to
Select a desired item by using the numerical keys,
then press ENT key. The BHT-5000 starts initialization.
Upon completion of the initialization, the BHT-5000
displays the screen shown at left and turns itself
off automatically.
Japanese.
English.
** Completed **
NOTE
Do not power off the BHT-5000 until the above initialization completion screen
appears. A too-early powering-off will interrupt initialization, requiring you to
initialize the BHT-5000 again.
NOTE
If the message "System error! Contact your administrator. Note the error drive.
(DRIVE X)" appears as shown on page 19 although the initialization has completed, initialize the BHT-5000 again.
NOTE
If you initialize the BHT-5000 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.
NOTE
Initialization will restore the LCD contrast level (refer to Subsection 2.3.3), communications conditions and other settings to the default values, so modify them if
necessary. After initialization, be sure to set the calendar clock (refer to [ 2 ]).
21
Page 37
[ 2 ] Setting the Calendar Clock (date and time)
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
SET SYSTEM
1:Execute Program
2:Display
3:Date/Time
4:Barcode
5:Communication
6:Key
7:Others
SET DATE/TIME
00/01/01 00:00
_ / / :
(1) While holding down SF and 1 keys, press
PW key to start System Mode. The SYSTEM
MENU shown at left will appear.
(2) Press 4 key to select the "Set System" on the
SYSTEM MENU and then press ENT key,
and the screen shown at left will appear.
(To return to the immediately preceding
screen during this setting procedure, press
C key.)
(3) Press 3 key on the SET SYSTEM screen to
select the "Date/Time" and then press ENT
key, and 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 one
digit, add a 0 (zero) preceding the data.
NOTE
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
becomes inoperable.
If you make a wrong entry, press C key while
holding down SF key to delete it and then
enter the correct data.
22
Page 38
Chapter 2. Getting Started the BHT-5000 and System Mode
SET DATE/TIME
00/01/01 00:00
96/02/06 15:00_
SET DATE/TIME
96/02/06 15:00
_ / / :
[Example] To set 1996, February 6, at 3:00
p.m.
Press 9 , 6 , 0 , 2 , 0 , 6 , 1 , 5 , 0 , and
0 keys.
(5) Press ENT key to register the above setting.
(6) Press C key to return to the SET SYSTEM
screen.
23
Page 39
[ 3 ] Deleting the JIS Font Files
The JIS Level 1 and Level 2 font files, which are resident in the system area of the flash
ROM, contain font data for displaying Kanji characters on the LCD. If you do not need
to display Kanji characters, you can delete those JIS font files according to the steps
below. After the deletion, the memory area which was occupied by those files can be
used as a user area.
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
JIS 1/JIS 2
1:DELETE
2:DOWNLOAD
3:UPLOAD
DELETE
1:JIS 1
2:JIS 2
(1) While holding down SF and 1 keys, press
PW key to start up System Mode.
The SYSTEM MENU screen shown at left will
appear.
(2) Press 2 key while holding down SF key.
The JIS 1/JIS 2 menu shown at left will appear.
(To return to the previous screen, press C
key.)
(3) If the "1: DELETE" is not selected, press 1
key. Then, press ENT key.
The screen shown at left will appear.
(To return to the previous screen, press C
key.)
(4) Press 1 key to delete the JIS Level 1 font file.
(To delete the JIS Level 2 font file, press 2
key.)
DELETE
JIS 1 DELETE
OK ?
1:YES 2:NO
DELETE
JIS 1 DELETE
** Completed **
The confirmation screen will appear.
(5) Press 1 key and then press ENT key.
The selected font file (the JIS Level 1 font file
in this example) will be deleted and the screen
shown at left will appear.
24
Page 40
Chapter 2. Getting Started the BHT-5000 and System Mode
2.3.3Adjusting the LCD Contrast & Beeper Volume,
and Displaying the Battery Voltage Level
[ 1 ] Adjusting the LCD Contrast & Beeper Volume
While holding down the trigger switch, turn on the PW key, and the following screen
will appear on the LCD. This screen will disappear if no keys are pressed for five
seconds.
LCD CONTRAST
BEEPER VOLUME
(The current selection is reverse-displayed.)
Adjusting the LCD contrast
You can adjust the LCD brightness to eight contrast levels.
1) Use
2) To decrease the contrast, press
* and
* keys to select the LCD Contrast line.
* key; to increase it, press
* key.
Adjusting the beeper volume
You can adjust the beeper volume to four levels from OFF to MAX.
1) Use
2) To turn down the volume, press
After making the above setting, press ENT key or press no keys for five seconds, and
the new setting will be set and the above screen will disappear.
* and
* keys to select the Beeper Volume line.
* key; to turn it up, press
* key.
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
25
,
,
Page 41
[ 2 ] Displaying the Battery Voltage Level
On the SYSTEM MENU or during execution of user programs, press ENT key while
holding down SF key for displaying the battery voltage level.
As long as you hold down those keys, the following screen is displayed.
Battery Voltage
REFERENCE
In user programs, you can 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 cartridge,
not how much power is left.
The battery voltage level varies depending upon the operation of the BHT5000, so the displayed level also may vary by about 1 to 2 levels.
26
Page 42
Chapter 2. Getting Started the BHT-5000 and System Mode
2.4Operating in System Mode
System Mode is an operating software exclusively designed for the effective use of the
BHT-5000, which includes various functions as shown on the next page.
2.4.1Starting System Mode
To start up System Mode, power on the BHT-5000 while holding down SF and 1
keys. This operation calls up the SYSTEM MENU on the LCD as shown below.
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
The function selected is reverse-displayed (white-on-black) with the cursor. To select a
desired item in System Mode, press the corresponding numerical key and then press
ENT key.
The following keys have the same functions as listed below after the screen has shifted
to the selected next screen:
Numerical keysPressing a numerical key corresponding with a desired
menu number selects the desired item displayed on the
screen.
ENT keyPressing this key registers the selected item and executes
the corresponding function.
and keys on
the 32-key pad
( F5 and F6 keys
on the 26-key pad)
and keys on
the 32-key pad
( F7 and F8 keys on
the 26-key pad)
The C key is inoperative on the SYSTEM MENU. On other screens, pressing C key
returns to the immediately preceding screen.
Pressing
cursor up and down, respectively, to select a desired
item.
Pressing
cursor to the left and right, respectively, to select a desired setting.
and
and
keys ( F5 and F6 keys) moves the
keys ( F7 and F8 keys) moves the
The power-on default is "Execute Program" which is reverse-displayed. Once any
other item is selected, the selected item will be reversed with the cursor when you turn
back to the SYSTEM MENU.
27
Page 43
■ Structure of System Mode
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
1 and
ENT keys
2 and
ENT keys
3 and
ENT keys
C key
4 and
ENT keys
SYSTEM MENU
EXECUTE PROGRAM
A:EASYPACK.PD3
A:SAMPLE1.PD3
A:SAMPLE2.PD3
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
DOWNLOAD
1:DRIVE A
2:DRIVE B
3:HT<-->HT COPY
UPLOAD
1:DRIVE A
2:DRIVE B
3:DRIVE A(ALL)
4:DRIVE B(ALL)
5:HT<-->HT COPY
SET SYSTEM
1:Execute Program
2:Display
3:Date/Time
4:Barcode
5:Communication
6:Key
7:Others
⇐ Press PW key while holding down SF and
1 keys.
Program Execution
Allows you to select a desired user
program to be executed immediately.
(Refer to Subsection 2.4.3, [ 1 ].)
Downloading
Transfers user program files or data files
from the host computer to the RAM or
flash ROM integrated in the BHT-5000.
Downloading between the BHTs is also
possible.
(Refer to Subsection 2.4.3, [ 2 ].)
Uploading
Transfers user program files and data
files stored in the RAM or flash ROM of
the BHT-5000 to the host computer.
(Refer to Subsection 2.4.3, [ 3 ].)
Setting
Sets a variety of environmental conditions--an execution program, message
version (English or Japanese), system
status indication (shift-key icon), calendar
clock, special bar-code scanning parameters, communications parameters,
interface port, shift-key & magic-key
functions, resume function, and BHT-2000
compatible mode.
SYSTEM Ver. : X.XX
CGROM JIS1 : Y
JIS2 : Y
RAM SIZE : XXXKB
28
Testing
Used for the bar-code reading test,
memory test, key-entry test, LCD indication test, reading confirmation LED test,
aging test, communications test, beeper
test, and file test.
(Refer to Subsection 2.4.3, [ 5 ].)
System Program Version, Presence of JIS
Level 1 & Level 2 Font Files, and RAM
Size
Displays the version of System Program
resident in the BHT-5000, the presence/
absence of JIS Level 1 & Level 2 font
files, and the RAM size.
(Refer to Subsection 2.4.3, [ 6 ].)
Page 44
Chapter 2. Getting Started the BHT-5000 and System Mode
In addition to the functions given on the previous page, System Mode has these three
functions: Deleting files, Copying files, and Handling the JIS font files.
To call up these functions, press 0 , 1 , or 2 key, respectively, while holding down
SF key when the SYSTEM MENU is displayed.
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
0 key with
SF key held
down
1 key with
SF key held
down
2 key with
SF key held
down
SYSTEM MENU ⇐ Press PW key while holding down SF and
DELETE
1:DRIVE A
2:DRIVE B
COPY
1:DRIVE A-->DRIVE B
2:DRIVE B-->DRIVE A
JIS 1/JIS 2
1:DELETE
2:DOWNLOAD
3:UPLOAD
1 keys.
Deleting Files
Deletes a program file or data file stored
in the RAM or flash ROM.
(Refer to Subsection 2.4.3, [ 7 ].)
Copying Files
Copies a program file or data file between the RAM and flash ROM.
(Refer to Subsection 2.4.3, [ 8 ].)
Handling the JIS Font Files
Deletes, downloads, or uploads the JIS
Level 1 and Level 2 font files.
(Refer to Subsection 2.4.3, [ 9 ].)
29
Page 45
2.4.2 Operating in System Mode
Some functions in System Mode require several screens to be shifted, as shown in the
example below.
[ 1 ] Calling up the desired set screen
First, select a desired item on the current screen by using the numerical key or the
cursor keys (
Press ENT key to establish the selected item and proceed to the subsequent screen.
To return to the preceding screen, press C key.
Press 4 key or use
* and
select "Set System."
* and
* keys to
* keys) so as to reverse-display the desired item.
SYSTEM MENU
1:Execute Program
2:Download
3:Upload
4:Set System
5:Test
6:Version
ENT key
SET SYSTEM
1:Execute Program
2:Display
Press 2 key or use
and
* keys to select
"Display."
*
3:Date/Time
4:Barcode
5:Communication
C key
6:Key
7:Others
ENT key
SET DISPLAY
1:MESSAGEJapanese English
2:STATUS
C key
ON OFF
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
and
keys,
30
Page 46
Chapter 2. Getting Started the BHT-5000 and System Mode
[ 2 ] Selecting a desired setting
First, select a desired item on the current screen by using the numerical key or the
cursor keys (
* and
* keys) so as to reverse-display the desired item.
Use
returns to the original selection screen.
* and
* keys to select a desired setting and then press ENT key. The screen
SET DISPLAY
1:MESSAGEJapanese English
2:STATUS
ON OFF
SET DISPLAY
1:MESSAGE
Japanese English2:STATUSON OFF
Press 2 key or use
select the desired set item.
Use
* and
setting.
* and
* keys to select the desired
* keys to
SET DISPLAY
1:MESSAGE
Japanese English
2:STATUS
ON OFF
ENT key
SET SYSTEM
1:Execute Program
2:Display
3:Date/Time
4:Barcode
5:Communication
6:Key
7:Others
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
31
,
,
Page 47
2.4.3 Detailed Description of the Functions in System
Mode
[ 1 ] Program Execution
EXECUTE PROGRAM
A:EASYPACK.PD3
A:SAMPLE1.PD3
A:SAMPLE2.PD3
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
EXECUTE PROGRAM
A:EASYPACK.PD3
A:SAMPLE1.PD3
A:SAMPLE2.PD3
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
⇓
EXECUTE PROGRAM
A:EASYPACK.PD3
A:SAMPLE1.PD3
A:SAMPLE2.PD3
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
Selecting "1: Execute Program" on the SYSTEM
MENU displays the screen shown at left.
If more than one program has been downloaded
to the user areas of the memories, use
* keys to move the cursor to a desired pro-
gram, and then press ENT key.
Files stored in the RAM are shown as "A: FILE
NAME"; files in the flash ROM are as "B: FILE
NAME."
If more than seven programs have been
downloaded, it will be necessary to scroll the screen
with
* key.
* and
⇓
EXECUTE PROGRAM
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
B:SAMPLE7.PD3
B:SAMPLE8.PD3
B:SAMPLE9.PD3
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
In the sample shown at left, ten programs are
downloaded.
32
and
keys,
Page 48
[ 2 ] Downloading
Chapter 2. Getting Started the BHT-5000 and System Mode
NOTE
If you download a file having the same name as that already used in the user area of
the target memory in the BHT-5000, the newly downloaded file replaces the old
one.
DOWNLOAD
1:DRIVE A
2:DRIVE B
3:HT<-->HT COPY
⇓
Selecting "2: Download" on the SYSTEM MENU
calls up the screen shown at left.
1 DRIVE A: Downloads a user program
2 DRIVE B: Downloads a user program
3 HT<-->HT COPY : Downloads all of the files,
Select a desired item by using the numerical keys
or
* and
comes reverse-displayed. Then press ENT key.
file (object file compiled by
the BHT-BASIC 3.0 Compiler)
or data file
file (object file compiled by
the BHT-BASIC 3.0 Compiler)
or data file
system parameters, and calendar clock data stored in
the connected BHT-5000.
This function enables copying between the BHT-5000s.
For the preparation to be
made preceding the start of
this function, refer to
below.
* keys, and the selected item be-
to the RAM
to the flash ROM
.
NOTE
.
NOTEPreparation for Copying between the BHTs
Before downloading to the BHT-5000 from another BHT-5000, make the following preparation:
Via the direct-connect interface
•At each BHT-5000, run System Mode and select the direct-connect interface
port. (On the SYSTEM MENU, select "4: Set System," "5: Communication," and
"3: Default." Then, on the SET COM DEFAULT screen, select "Connector" of "2:
SYSTEM MODE.")
• Pull out the connector cover on each BHT-5000 so that the direct-connect interface port will be exposed, and then use the direct-connect interface cable
(having 3-pole mini stereo plugs) to connect them directly. (For the details on
the cable, refer to Chapter 3, Subsection 3.1.2.)
• On the uploading BHT-5000, run System Mode and select "3: Upload" and "5:
HT<-->HT COPY."
Via the optical interface
•Connect two CU-5000s with each other by using an RS-232C cross-mode cable.
•At each BHT-5000, run System Mode and make sure that the optical interface
(default) is selected. (If the direct-connect interface is selected, on the SYSTEM
MENU, select "4: Set System," "5: Communication," and "3: Default." Then, on
the SET COM DEFAULT screen, select "Optical" of "2: SYSTEM MODE.")
•On the uploading BHT-5000, select "3: Upload" and "5: HT<-->HT COPY."
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
33
and
keys,
Page 49
DOWNLOAD FILE
(A:)
** Waiting **
⇓
In the center of the 2nd line appears the selected
downloading type--(A:), (B:), or (HT<-->HT) indicating the downloading to the RAM, to the flash ROM,
or copying between the BHTs, respectively. The
screen at left shows that "1: DRIVE A" has been
selected.
The BHT-5000 is waiting for a file to be downloaded.
DOWNLOAD FILE
(A:)
** Loading **
⇓
DOWNLOAD FILE
(A:)
SAMPLE.PD3
** Loading **
XXXXX/YYYYY
⇓
DOWNLOAD FILE
(A:)
SAMPLE.PD3
** Completed **
YYYYY/YYYYY
Upon start of optional Transfer Utility or its equivalent program (upon receipt of an ENQ code from
the host computer), the BHT-5000 displays the
screen shown at left.
(Refer to the "Transfer Utility Guide.")
While the downloading operation is in progress,
the screen shown at left is displayed indicating the
file name (on the 4th line) and the number of
received records/the total number of records (on
the 7th line).
To abort the downloading operation, press C key.
The screen will shift back to the DOWNLOAD menu.
Upon completion of downloading, the number of
received records becomes equal to the total
number of records and the beeper beeps once.
Press C key to return to the DOWNLOAD menu.
If the host computer downloads another new file
(if the BHT-5000 receives an ENQ code) when this
screen is displayed, the BHT-5000 starts receiving
it.
(Refer to the "Transfer Utility Guide.")
If you have selected "3: HT<-->HT COPY" on the
DOWNLOAD menu, a sequence of the above
screens will be repeated by the number of files to
be downloaded.
34
Page 50
Chapter 2. Getting Started the BHT-5000 and System Mode
If an error occurs during downloading
If some error occurs during downloading, one of the following screens will appear
with the prompt "RETRY?" and the beeper beeps three times. For the possible problems and solutions to be taken, refer to Chapter 4, Section 4.2.
To retry the downloading operation, press 1 and ENT keys; to abort it, press 2 and
ENT keys.
DOWNLOAD FILE
(A:)
Out of memory !!
RETRY? 1:Yes 2:No
DOWNLOAD FILE
(A:)
Too many files !!
RETRY? 1:Yes 2:No
DOWNLOAD FILE
(A:)
Communication error!!
RETRY? 1:Yes 2:No
The memory capacity is insufficient.
Forty files are already stored.
A communication error has occurred.
DOWNLOAD FILE
(B:)
Drive A memory short!
RETRY? 1:Yes 2:No
The RAM has no sufficient area for copying files
stored in the flash ROM.
NOTE
To download files to the flash ROM, the
BHT-5000 may copy the files stored in the
flash ROM into the RAM. This requires an
unused user area of maximum of 64 kilobytes in the RAM. If there is no area for
copying in the RAM, the error message shown
at left will appear.
In such a case, delete unnecessary files in the
RAM and download again.
35
Page 51
[ 3 ] Uploading
UPLOAD
1:DRIVE A
2:DRIVE B
3:DRIVE A(ALL)
4:DRIVE B(ALL)
5:HT<-->HT COPY
⇓
Selecting "3: Upload" on the SYSTEM MENU calls
up the screen shown at left.
1 DRIVE A: Uploads a user program file
or data file stored
RAM
.
2 DRIVE B: Uploads a user program file
or data file stored
ROM
.
3 DRIVE A (ALL) : Uploads all of the files stored
in the RAM
4 DRIVE B (ALL) : Uploads all of the files stored
in the flash ROM
5 HT<-->HT COPY : Uploads all of the files, sys-
tem parameters, and calendar clock data stored in the
BHT-5000, to another BHT-
5000.
This function enables copying between the BHT-5000s.
At the receiving BHT-5000,
select "2: Download" and "5:
HT<-->HT COPY" in System
Mode.
.
in the
in the flash
.
For the preparation to be made preceding the start
Select a desired item by using the numerical keys
or
* and
comes reverse-displayed. Then press ENT key.
In the center of the 2nd line appears the selected
uploading type--(A:), (B:), (A:ALL), (B:ALL) or (HT
<-->HT).
If you select "1: DRIVE A" or "2: DRIVE B," the
screen shown at left will appear, showing all of the
program files and data files stored in the selected
memory. If you select any other item, this screen
will be skipped.
* keys, and the selected item be-
NOTE given on page 33.
SAMPLE3.PD3
SAMPLE4.PD3
SAMPLE5.PD3
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
The screen at left shows that "1: DRIVE A" has
been selected.
36
and
keys,
Page 52
Chapter 2. Getting Started the BHT-5000 and System Mode
UPLOAD FILE
(A:)
** Waiting **
⇓
UPLOAD FILE
(A:)
** Loading **
⇓
Use
file to be uploaded, then press ENT key.
If you select any of the "3: DRIVE A (ALL)," "4:
DRIVE B (ALL)," and "5: HT<-->HT COPY," or if you
select the file to be uploaded on the previous
screen, the screen shown at left will appear.
The BHT-5000 is waiting for the file to be uploaded.
Upon start of optional Transfer Utility or its equivalent program (upon receipt of an ACK code from
the host computer), the BHT-5000 displays the
screen shown at left.
(Refer to the "Transfer Utility Guide.")
* and
* keys to move the cursor to the
UPLOAD FILE
(A:)
SAMPLEB.PD3
** Loading **
XXXXX/YYYYY
⇓
UPLOAD FILE
(A:)
SAMPLE3.PD3
** Completed **
YYYYY/YYYYY
While the uploading operation is in progress, the
screen shown at left is displayed indicating the file
name (on the 4th line) and the number of sent
records/the total number of records (on the 7th
line).
To abort the uploading operation, press C key.
The screen will shift back to the UPLOAD menu.
Upon completion of uploading, the number of sent
records becomes equal to the total number of
records and the beeper beeps once. Press C key
to return to the UPLOAD menu.
(Refer to the "Transfer Utility Guide.")
If you have selected "3: DRIVE A (ALL)," "4: DRIVE
B (ALL)," or "5: HT<-->HT COPY" on the UPLOAD
menu, a sequence of the above screens will be
repeated by the number of files to be uploaded.
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
37
and
keys,
Page 53
If an error occurs during uploading
If some error occurs during uploading, one of the following screens will appear with
the prompt "RETRY?" and the beeper beeps three times. For the possible problems
and solutions to be taken, refer to Chapter 4, Section 4.2.
To retry the uploading operation, press 1 and ENT keys; to abort it, press 2 and
ENT keys.
UPLOAD FILE
(A:)
Communication error!!
RETRY? 1:Yes 2:No
A communication error has occurred.
38
Page 54
[ 4 ] Setting
Chapter 2. Getting Started the BHT-5000 and System Mode
SET SYSTEM
1:Execute Program
2:Display
3:Date/Time
4:Barcode
5:Communication
6:Key
7:Others
Selecting "4: Set System" on the SYSTEM MENU
calls up the screen shown at left.
1 Execute Program : Sets an execution program
to be run when the power
is turned on.
2 Display: Sets the message version
(English or Japanese) and
the system status indication (shift-key icon).
3 Date/Time: Sets the calendar clock
(date and time).
4 Barcode: Sets the special bar-code
scanning parameters (the
black-and-white inverted
label reading, the touch
scanning/long-range scanning, and the decoding
level).
5 Communication : Sets the communications
parameters and interface
port.
6 Key: Defines the functions of the
shift key and magic keys.
7 Others: Sets the resume function
and the BHT-2000 compatible mode.
Select a desired item by using the numerical keys
or
* and
comes reverse-displayed. Then press ENT key.
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
39
* keys, and the selected item be-
and
keys,
Page 55
[4.1]Setting an execution program
SET EXECUTE PROGRAM
A:EASYPACK.PD3
A:SAMPLE1.PD3
A:SAMPLE2.PD3
A:SAMPLE3.PD3
B:SAMPLE4.PD3
B:SAMPLE5.PD3
B:SAMPLE6.PD3
Selecting "1: Execute Program" on the SET SYSTEM menu calls up the screen shown at left.
Reversed is the current setting.
Use
desired execution program to be run when the
power is applied, and then press ENT key.
To return to the SET SYSTEM menu, press C key.
Files stored in the RAM are shown as "A: FILE
NAME"; files in the flash ROM are shown as "B:
FILE NAME."
* and
* keys to move the cursor to a
[4.2]Setting the message version and the system status indication
SET DISPLAY
1:MESSAGEJapanese English
2:STATUS
ON OFF
Selecting "2: Display" on the SET SYSTEM menu
calls up the screen shown at left.
Reversed is the current setting.
1 MESSAGE : Switches the message version to
English or Japanese, for the indications and messages on the self
diagnosis, LCD contrast, beeper
volume, and battery voltage level
screens.
2 STATUS: Turns on or off the system status
indication. If it is set to on, the
shift-key icon appears as shown
on the next page.
Select a desired item by using the numerical keys
or
* and
by using
Press ENT key.
To return to the SET SYSTEM menu, press C key.
REFERENCE
* keys, then select a desired setting
* and
* keys.
You may turn on or off the system status
indication also by using the OUT statement in user programs. Refer to the
"BHT-BASIC 3.0 Programmer's
Manual."
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
40
,
,
Page 56
Chapter 2. Getting Started the BHT-5000 and System Mode
System Status Indication
Turning on the system status indication displays the following icon:
IndicationIcon Description
Shift state of the keys on the keypadAppears when the keys on the
keypad are shifted.
[4.3]Setting the calendar clock
SET DATE/TIME
00/01/01 00:00
_ / / :
⇓
SET DATE/TIME
00/01/01 00:00
96/02/06 15:00_
Selecting "3: Date/Time" on the SET SYSTEM menu
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. If the data is in one digit, add a 0 (zero)
preceding the data.
NOTE
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 becomes
inoperable.
If you make a wrong entry, press C key while
holding down SF key to delete it and then enter
the correct data.
[4.4]Setting the special bar-code scanning parameters
SET BARCODE
1:Invert: ON OFF
2:Touch Read:ON OFF
3:Decode Level: 3
Selecting "4: Barcode" on the SET SYSTEM menu
calls up the screen shown at left.
Reversed is the current setting.
1 Invert: Activates or deactivates the
black-and-white inverted label
reading function.
2 Touch Read: Switches to the touch scanning
(ON) or long-range scanning
(OFF).
3 Decode Level : Sets the decode level.
Select a desired item by using the numerical keys
or
* and
setting by using
To increase the decode level, press
decrease it, press
Press the ENT key.
To return to the SET SYSTEM menu, press C key.
* keys, and then select a desired
* and
* key.
* keys.
Black-and-white inverted label reading function (Invert)
This function makes it possible to read white bars on a black background.
* key; to
NOTE
Activating this function might increase the frequency of bar-code reading errors.
This function can usually be set to OFF.
Touch scanning/long-range scanning (Touch Read)
You may select touch scanning or long-range scanning. The touch scanning is a
method in which you bring the bar-code reading window to a bar code to be scanned.
The long-range scanning allows you to read bar codes wider than the readable area of
the bar-code reading window by pulling the bar-code reading window away from bar
codes. (The BHT-5000 can read bar codes at a maximum distance of 20 cm (7.9") from
the bar-code reading window.)
If "Touch Read" is set to ON, the reading speed increases in touch scanning. In longrange scanning, however, this setting may decrease the reading speed and efficiency
when the ambient illuminance is low or too high.
If "Touch Read" is set to OFF, the BHT-5000 can scan bar codes irrespective of the
ambient illuminance. This setting, therefore, is suitable for long-range scanning. Note
that the scanning speed will slightly decrease.
Decode level
You may set the recognition level. Decreasing the level value increases the bar-code
reading efficiency, but the BHT-5000 might misread low-quality bar codes (split or
stained). To the contrary, increasing the level value decreases the bar-code reading
efficiency, but it precludes almost all possibilities of misreading. The default "3" is
recommended.
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
42
,
,
Page 58
Chapter 2. Getting Started the BHT-5000 and System Mode
[4.5]Setting the communications parameters and interface port
After the BHT-5000 is initialized, the communications parameters and the interface
port to be used are set as listed in the default table below. Do not access them unless
necessary.
Communications parameters Defaults
Transmission speed19,200 bps
Character length8 bits
ParityNone
Stop bits1 bit
ProtocolSerial number ON:Adds serial numbers
to data blocks.
Horizontal parity ON:Adds a horizontal
parity.
RS/CS control OFF:Disables the RS/CS
control.
Timeout:30 seconds
Last space:Ignore
Interface portOptical interface port
SET COMMUNICATION
Selecting "5: Communication" on the SET SYSTEM menu calls up the screen shown at left.
1:Optical
2:Connector
3:Default
1 Optical: Shifts to the parameter/protocol
selection screen
terface
2 Connector: Shifts to the parameter/protocol
selection screen
nect interface
3 Default: Shifts to the interface port setting
screen.
Select a desired screen by using the numerical
keys or
key.
To return to the SET SYSTEM menu, press C key.
* and
for the optical in-
. (The CU-5000 is required.)
for the direct-con-
.
* keys, and then press ENT
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
43
and
keys,
Page 59
Setting the parameters and protocol
SET COM OPTICAL
1:Parameter
2:Protocol
Selecting "1: Optical" or "2: Connector" on the SET
COMMUNICATION menu calls up each of the
screens as shown at left. The selected interface
port (OPTICAL or CONNECTOR) is shown on the
1st line of the LCD.
1 Parameter : Shifts to the parameter setting
screen (for selecting the transmission speed, character length, parity, and stop bits).
SET COM CONNECTOR
2 Protocol: Shifts to the protocol setting
1:Parameter
2:Protocol
Reversed is the current setting.
Select a desired screen by using the numerical
keys or
key.
To return to the SET COMMUNICATION menu,
press C key.
screen (for selecting the serial
number, horizontal parity, RS/CS
control, timeout, and last space).
* and
* keys, and then press ENT
On the parameter setting screen ("1: Parameter" has been selected)
SET COM PARAMETER
1:Speed:
1200 2400 4800
9600 19200 38400
2:Data:7bits 8bits
3:Parity:
None Odd Even
4:Stop:1bit 2bits
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
Selecting "1: Parameter" on either of the above
screens (SET COM OPTICAL and SET COM CONNECTOR menus) calls up the screen as shown at
left.
Reversed is the current setting.
1 Speed : Selects the transmission speed: 1200,
2400, 4800, 9600, 19200, or 38400 bps.
2 Data: Selects the character length: 7 bits or
8 bits.
3 Parity : Selects the parity: none, odd, or even.
4 Stop: Selects the stop bit length: 1 bit or 2
bits.
Select a desired item by using the numerical keys
or
* and
setting by using
To return to the SET COM OPTICAL or SET COM
CONNECTOR menu, press C key.
* keys, and then select a desired
* and
* keys.
,
,
44
Page 60
Chapter 2. Getting Started the BHT-5000 and System Mode
On the protocol setting screen ("2: Protocol" has been selected)
SET COM PROTOCOL
1:Serial No:ON OFF
2:H.Parity : ON OFF
3:RS/CS : ON OFF
4:Timeout :
30 60 90 120 NONE
5:Last Space:
Ignore Data
Selecting "2: Protocol" on either of the SET COM
OPTICAL and SET COM CONNECTOR menus calls
up the screen as shown at left.
Reversed is the current setting.
1 Serial No. : Selects whether or not the sys-
tem should add serial numbers
to data blocks.
2 H. Parity: Selects whether or not the sys-
tem should add a horizontal parity.
3 RS/CS: Selects whether or not the sys-
tem should control the RS/CS signal.
4 Timeout: Selects the timeout length (in sec-
onds) to be applied when a link
will be established.
5 Last Space : Selects whether space codes in
the tail of a data field should be
ignored or handled as data.
Select a desired item by using the numerical keys
or
* and
setting by using
* keys, and then select a desired
* and
* keys.
To return to the SET COM OPTICAL or SET COM
CONNECTOR menu, press C key.
REFERENCE
"5: Last Space" allows you to determine
how to handle space codes placed in the
tail of a data field when downloading
data files. If you select "Ignore," those
space codes will be eliminated; if you
select "Data," those will be handled as
data. For details, refer to the "BHTBASIC 3.0 Programmer's Manual," Appendix G.
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
Selecting "3: Default" on the SET COMMUNICATION menu calls up the screen shown at left.
Reversed is the current setting.
1 BASIC: Selects the optical or direct-
connect interface port to be
used
for user programs written in BHT-BASIC 3.0
("COM:" or XFILE statement)
2 SYSTEM MODE : Selects the optical or direct-
connect interface port to be
used
for downloading or
uploading files in System
Mode
.
Select a desired item by using the numerical keys
or
* and
setting by using
To return to the SET COMMUNICATION menu,
press C key.
* keys, and then select a desired
* and
* keys.
.
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
46
,
,
Page 62
Chapter 2. Getting Started the BHT-5000 and System Mode
[4.6]Defining the functions of the shift key and magic keys
SET KEY
1:Shift lockNonlock Onetime
2:M1
No ENT Trig. SFT BL
3:M2
No ENT Trig. SFT BL
Selecting "6: Key" on the SET SYSTEM menu calls
up the screen shown at left.
Reversed is the current setting.
1 Shift lock : Switches the function of SF key.
Nonlock: The keypad will be
shifted only when SF key is held
down.
Onetime: Once SF key is pressed,
the next one key pressed will be
shifted and the following keys will
not be shifted.
2 M1: Defines magic key M1 as listed
below.
3 M2: Defines magic key M2 as listed
below.
NoThe key entry will be
ignored.
ENTActs as ENT key.
Trig.Acts as the trigger
switch.
SFTActs as SF key.
BLActs as the backlight
function on/off key.
Select a desired item by using the numerical keys
or
* and
setting by using
To return to the SET SYSTEM menu, press C key.
* keys, and then select a desired
* and
* keys.
Magic keys M1 and M2
You can make M1 and M2 keys act as ENT key, trigger switch, SF key, or backlight
function on/off key.
If you define M1 key as the backlight function on/off key, pressing M1 key activates
or deactivates the backlight function.
In user programs, a string data also can be assigned to these magic keys.
NOTE
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
If both M1 and M2 keys are defined as the backlight function on/off key, M2
key will act as the backlight function on/off key; M1 key will be ignored.
, and
keys, respectively
47
,
,
Page 63
[4.7]Setting others (resume function and BHT-2000 compatible
mode)
OTHERS
1:RESUME:ON OFF
2:BHT-2000: ON OFF
BHT-2000 compatible mode
Selecting "7: Others" on the SET SYSTEM menu
calls up the screen shown at left.
Reversed is the current setting.
1 Resume : Activates or deactivates the resume
function which resumes whatever
display was shown before the
power was turned off, when the
BHT-5000 is powered up.
2 BHT-2000 : Turns the BHT-2000 compatible
mode on or off.
Select a desired item by using the numerical keys
or
* and
setting by using
To return to the SET SYSTEM menu, press C key.
This compatible mode allows user programs written for the BHT-2000 to run on the BHT-5000.
* keys, and then select a desired
* and
* keys.
When those user programs are running, they use
only the middle section of the LCD for displaying.
(The BHT-5000 is larger than the BHT-2000 in the
numbers of columns and lines.)
NOTE
When the BHT-5000 is placed in the BHT-2000 compatible mode, it cannot run
user programs written for the BHT-5000.
Even in this mode, some functions such as the frequencies of the beeper are not
compatible. For details, refer to the "BHT-BASIC 3.0 Programmer's Manual."
Some user programs written for the BHT-2000 may not work correctly in this
mode.
* For BHT-5000s having a 26-key pad, use F5 , F6 , F7 and F8 keys instead of
, and
keys, respectively
48
,
,
Page 64
[ 5 ] Testing
Chapter 2. Getting Started the BHT-5000 and System Mode
Selecting "5: Test" on the SYSTEM MENU calls up
the screen shown at left.
1 BARCODE : Selects the bar-code reading test.
2 MEMORY : Selects the RAM test.
3 KEY: Selects the key entry & beeper test.
4 LCD: Selects the LCD and reading con-
firmation LED tests.
5 AGING: Selects the aging test.
6 COM: Selects the communications test.
7 BEEPER: Selects the beeper test.
8 FILE: Selects the file test.
Select a desired item by using the numerical keys,
then press ENT key.
Reversed is the current setting.
To return to the SYSTEM MENU, press C key.
NOTE
If an error occurs in any of the above tests, contact your nearest dealer.
49
Page 65
[5.1]Bar-code reading test
TEST BARCODE
Selecting "1: BARCODE" on the TEST menu calls
up the screen shown at left.
Actually read bar codes with the BHT-5000 and
check the read data displayed on the LCD.
⇓
Bar-code type
Number of digits of the bar code
TEST BARCODE
B 08
49400403
Data
Listed below is a table showing the relationship between the bar-code types and the
identifier letters to be displayed on the LCD.
Upon completion of bar-code reading, the BHT5000 beeps, turns on the reading confirmation LED
in green, and displays the read data together with
the bar-code type and the number of data digits.
(CODE39 sample)
TEST BARCODE
M 15
123456789012345
Bar-code TypeID Letters
EAN-13, UPC-AA
EAN-8B
UPC-EC
Standard 2 of 5 (STF)H
Interleaved 2 of 5 (ITF)*I
CODABAR (NW7)N
CODE39M
CODE93L
CODE128K
* The BHT-5000 can read only those ITF bar codes hav-
ing 4 digits or more in length.
To return to the TEST menu, press C key.
50
Page 66
[5.2]Memory test
Chapter 2. Getting Started the BHT-5000 and System Mode
TEST MEMORY
Testing
XXXXX/YYYYY
TEST MEMORY
Test NG
XXXXX/YYYYY
Address:hhmmll
Write :AA
Read :BB
TEST MEMORY
Test OK
YYYYY/YYYYY
Selecting "2: MEMORY" on the TEST menu calls
up the screen shown at left and starts writing and
reading onto/from all areas of the RAM.
xxxxx:Tested RAM capacity (unit: kilobytes)
yyyyy:Total RAM capacity (unit: kilobytes)
If any error is detected, the BHT-5000 beeps, shows
the message as shown at left, and terminates the
test.
Where,
hhmmll: Address where an error has occurred.
AA:Data to write.
BB:Data read out from the RAM.
To return to the TEST menu, press C key.
Upon normal completion of the RAM test, the BHT5000 beeps, shows the message as shown at left,
and returns to the TEST menu.
51
Page 67
[5.3]Key entry & beeper test
TEST KEY
⇓
(32-key pad)
TEST KEY
IJKLMNOPQRS
7894561230.=
ABCDEFGH
(28-key pad)
TEST KEY
IJKLM
7894561230.=
Selecting "3: KEY" on the TEST menu calls up the
screen shown at left and makes the BHT-5000 ready
for entry from the keypad.
Pressing individual keys displays the identifier letters in the positions preassigned to those keys on
the LCD and sounds the beeper. (As long as the
individual key is held down, the beeper continues
beeping.)
Pressing the same key again erases the displayed
letter.
The tables below show the relationship between
the keys, the identifier letters to be displayed on
the LCD, and the frequencies (Hz) of the beeper.
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 in progress, turn the power off
and on.
Chapter 2. Getting Started the BHT-5000 and System Mode
[5.4]LCD and reading confirmation LED tests
Selecting "4: LCD" on the TEST menu calls up the
test pattern shown at left on the LCD and turns on
the reading confirmation LED in green.
Each time ENT key is pressed, the screen shifts to
the next test pattern.
To stop this test in progress, press C key.
ENT key
⇓
The screen shown at left appears and the reading
confirmation LED lights in red.
⇓
⇓
⇓
ENT key
The checker pattern shown at left appears and the
reading confirmation LED goes off.
ENT key
The checker pattern is reversed.
ENT key
53
Page 69
ENT key
⇓
The fine checker pattern shown at left appears.
ENT key
⇓
The fine checker pattern is reversed.
ENT key
⇓
ENT key
⇓
After showing all of the test patterns, the screen
automatically displays symbols, numerals, and alphabets.
Upon completion of this test, the BHT-5000 beeps
once and returns to the TEST menu.
54
Page 70
[5.5]Aging test
Chapter 2. Getting Started the BHT-5000 and System Mode
TEST AGING
DATE 95/08/06
TIME 15:00:00
NOTE
Once this test is selected, the automatic powering-off function becomes disabled.
Be sure to turn the power off or press C key to return to the TEST menu.
Selecting "5: AGING" on the TEST menu proceeds
to the aging test while showing the current date
and time on the LCD. (This test is intended for
personnel which check the BHT-5000 in the factory.)
[5.6]Communications test
Before starting the communications test in System Mode, it is necessary to jump back
the RS-232C interface ports on the CU-5000 and BHT-5000 with the testing connectors
arranged as shown on the next page.
Interface portTesting connectors required
Optical interface port on the CU-500025-pin Dsub connector (DB-25P)
Direct-connect interface port on the BHT-50003-pole mini stereo plug
55
Page 71
Preparation for the communications test
(1) Jump back the optical interface port on the CU-5000
Arrange the Dsub-25P connector as illustrated below and connect it to the RS-232C
interface port on the CU-5000.
Pin No.
SD
RD
RS
CS
2
3
4
5
For CU-5001For CU-5002
SD
RD
CS
DR
SG
Pin No.
2
3
5
6
7
+V
(+5V to +15V DC, 100 mA max.)
-V
(-5V to -15V DC, 100 mA max.)
GND
(2) Jump back the direct-connect interface port on the BHT-5000
Arrange the 3-pole mini stereo plug as illustrated below and connect it to the directconnect interface port on the BHT-5000.
SD
SDRD
RD
56
Page 72
Chapter 2. Getting Started the BHT-5000 and System Mode
TEST COMMUNICATION
1:Optical
2:Connector
TEST COMMUNICATION
< Optical >
** Testing **
TEST COMMUNICATION
< Optical >
Selecting "6: COM" on the TEST menu calls up the
screen shown at left.
1 Optical: Tests the optical interface port.
2 Connector : Tests the direct-connect interface
port.
Select the interface port to be tested by pressing
the numerical keys or using
then press ENT key.
During the test, the screen at left is displayed,
showing the selected interface port (Optical or Connector) in the center of the LCD. (This example is
testing the optical interface port.)
If an error occurs, the beeper beeps three times
and the error message appears as shown at left.
Press C key to return to the TEST menu.
* and
* keys,
** Test NG **
TxD-RxD:OK
RTS-CTS:NG
REFERENCE
This example shows that the interfacing
between TXD (SD) and RXD (RD) is
normal but the interfacing between RTS
(RS) and CTS (CS) is abnormal.
After testing the direct-connect interface
port, no test result will appear for the
RTS-CTS.
TEST COMMUNICATION
< Optical >
Upon normal completion of the test, the BHT-5000
beeps once and displays the screen shown at left.
Press C key to return to the TEST menu.
** Test OK **
TxD-RxD:OK
RTS-CTS:OK
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
and
keys,
57
Page 73
[5.7]Beeper test
TEST BEEPER
[5.8]File test
TEST FILE
*1:DRIVE A
SIZE XXXX
FREE XXXX
2:DRIVE B
SIZE XXXX
FREE XXXX
Selecting "7: BEEPER" on the TEST menu calls up
the screen shown at left and makes the beeper
sound at three octaves. (Refer to [5.3].)
Upon completion of this test, the BHT-5000 automatically returns to the TEST menu.
To stop this test in progress, turn the power off
and on.
Selecting "8: FILE" on the TEST menu calls up the
screen shown at left and tests all files stored in the
RAM and flash ROM.
If the RAM or the flash ROM contains any defective file(s), an asterisk (*) will be prefixed as "*1:
DRIVE A" or "*2: DRIVE B," respectively. (This
example at left shows that the RAM contains a
defective file(s).)
To return to the TEST menu, press C key.
Reversed is the current setting.
1 DRIVE A : Tests all of the files stored in the
RAM.
2 DRIVE B : Tests all of the files stored in the
flash ROM.
SIZE : Shows the size of the user
area used.
FREE: Shows the size of the unused
user area.
To display the detailed test result, select a desired
item by using the numerical keys or
keys, then press ENT key.
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
58
and
* and
*
keys,
Page 74
Chapter 2. Getting Started the BHT-5000 and System Mode
TEST FILE
(A:)
EASYPACK.PD3
*SAMPLE1.PD3
SAMPLE2.DAT
SAMPLE3.PD3
SAMPLE4.PD3
SAMPLE5.PD3
TEST FILE
(A:)
EASYPACK.PD3
00014848 bytes
OK
Pressing ENT key after selecting the desired item
will show the detailed test result of files as shown
at left. Defective files are prefixed by an asterisk
(*).
In the center of the 2nd line appears the selected
item--(A:) or (B:). This example shows that the
"1:DRIVE A" has been selected.
If you select a desired file on this screen by using
* and
also will appear. When there are more than six
files, the screen will scroll.
The file name, file size, and test result will appear
on the 4th, 6th, and 7th lines, respectively. This
file is normal (OK).
To return to the TEST menu, press C key.
* keys, the file size and the test result
NOTE
If a defective file is found, delete it or overwrite it with the same name file.
Even defective, the file can be uploaded on the UPLOAD menu. It is, therefore,
recommended that important files be uploaded before deleted.
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
59
and
keys,
Page 75
[ 6 ] System Program Version, Presence of JIS Level 1 &
Level 2 Font Files, and RAM Size
SYSTEM INFORMATION
SYSTEM Ver. : X.XX
CGROM JIS1 : Y
JIS2 : Y
Selecting "6: Version" on the SYSTEM MENU calls
up the screen shown at left, indicating the System
Program version, the presence (Y) or absence (N)
of JIS Level 1 & Level 2 font files, and the RAM
size.
RAM SIZE : XXXKB
Press C key to return to the SYSTEM MENU.
[ 7 ] Deleting Files
You can delete a program file or data file stored in the RAM or flash ROM.
DELETE
1:DRIVE A
2:DRIVE B
Pressing 0 key while holding down SF key on
the SYSTEM MENU calls up the screen shown at
left.
1 DRIVE A : Selects the files stored in the RAM.
2 DRIVE B : Selects the files stored in the flash
ROM.
Select a desired item by using the numerical keys
or
⇓
DELETE FILE
(A:)
SAMPLE1.PD3
* and
Reversed is the current setting.
Press C key to return to the SYSTEM MENU.
In the center of the 2nd line appears the selected
item--(A:) or (B:). This example shows that the "1:
DRIVE A" has been selected.
* keys, then press ENT key.
SAMPLE2.PD3
SAMPLEA.DAT
SAMPLEB.PD3
SAMPLEC.PD3
Program files and/or data files stored in the user
area of the RAM are displayed as shown at left.
Use
file to be deleted, then press ENT key.
* and
* keys to move the cursor to the
⇓
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
60
and
keys,
Page 76
Chapter 2. Getting Started the BHT-5000 and System Mode
DELETE FILE
(A:)
SAMPLE1.PD3
Delete ?
1:Yes 2:No
⇓
DELETE FILE
(A:)
SAMPLE1.PD3
** Completed **
The screen shown at left will appear.
1 Yes :Deletes the selected file.
2 No :Cancels deletion and returns to the pre-
vious file selection screen.
Select a desired item by using the numerical keys,
then press ENT key.
Upon completion of deletion, the screen shown at
left appears.
Press C key three times to return to the SYSTEM
MENU.
61
Page 77
[ 8 ] Copying Files
You can copy a program file or data file from the RAM to the flash ROM, or vice versa.
Pressing 1 key while holding down SF key on
the SYSTEM MENU calls up the screen shown at
left.
1 DRIVE A-->DRIVE B :Copies a file stored in
the RAM, into the flash
ROM.
2 DRIVE B-->DRIVE A :Copies a file stored in
the flash ROM, into the
RAM.
Select a desired item by using the numerical keys
or
* and
Reversed is the current setting.
Press C key to return to the SYSTEM MENU.
In the center of the 2nd line appears the selected
item--(A->B) or (B->A). This example shows that
the "1: DRIVE A-->DRIVE B" has been selected.
Program files and/or data files stored in the user
area of the RAM are displayed as shown at left.
Use
file to be copied, then press ENT key.
* and
* keys, then press ENT key.
* keys to move the cursor to the
⇓
COPY FILE
(A−>B)
SAMPLE1.PD3
COPY ?
1:Yes 2:No
The screen shown at left will appear.
1 Yes : Copies the selected file.
2 No : Cancels copying and returns to the pre-
vious file selection screen.
Select a desired item by using the numerical keys,
then press ENT key.
⇓
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
62
and
keys,
Page 78
Chapter 2. Getting Started the BHT-5000 and System Mode
COPY FILE
(A->B)
SAMPLE1.PD3
Upon completion of copying, the screen shown at
left appears.
Press C key three times to return to the SYSTEM
MENU.
** Completed **
[ 9 ] Handling the JIS Font Files
You can delete, download, or upload the JIS Level 1 and Level 2 font files.
JIS 1/JIS 2
1:DELETE
2:DOWNLOAD
3:UPLOAD
Pressing 2 key while holding down SF key on
the SYSTEM MENU calls up the screen shown at
left.
1 DELETE: Shifts to the JIS1/JIS2 font de-
letion screen.
2 DOWNLOAD : Shifts to the JIS1/JIS2 font
download screen.
3 UPLOAD: Shifts to the JIS1/JIS2 font
upload screen.
Select a desired item by using the numerical keys
or
* and
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
* keys, then press ENT key.
and
keys,
63
Page 79
[9.1]Deleting the JIS1/JIS2 font file
DELETE
1:JIS 1
2:JIS 2
⇓
DELETE
JIS 2 DELETE
OK ?
1:YES 2:NO
Selecting the "1: DELETE" on the JIS 1/JIS 2 menu
calls up the screen shown at left.
1 JIS 1 :Deletes the JIS Level 1 font file.
2 JIS 2 :Deletes the JIS Level 2 font file.
Select the font file to be deleted by using the numerical keys or
ENT key.
To return to the JIS 1/JIS 2 menu, press C key.
Selecting the font file above will call up the confirmation screen shown at left.
On the 3rd line appears the font to be deleted.
This example shows that the "2: JIS 2" has been
selected.
1 Yes : Deletes the selected font file.
2 No : Cancels deleting and returns to the JIS
1/JIS 2 menu.
* and
* keys, then press
⇓
DELETE
JIS 2 DELETE
Select a desired item by using the numerical keys,
then press ENT key.
Upon completion of deleting, the screen shown at
left appears.
Press C key to return to the JIS 1/JIS 2 menu.
** Completed **
NOTE
Before deleting the JIS Level 1 or Level 2 font file, be sure to upload it to the host
computer to save it for the future use.
If you attempt to display any deleted Kanji font in user programs, " " will appear.
REFERENCE
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
After the JIS Level 1 or Level 2 font is deleted, the memory area which was
occupied by that font in the flash ROM can be used as a user area.
and
keys,
64
Page 80
Chapter 2. Getting Started the BHT-5000 and System Mode
[9.2]Downloading the JIS1/JIS2 font file
DOWNLOAD
1:JIS 1
2:JIS 2
⇓
DOWNLOAD
JIS 1
** Waiting **
⇓
DOWNLOAD
JIS 1
** Loading **
Selecting the "2: DOWNLOAD" on the JIS 1/JIS 2
menu calls up the screen shown at left.
1 JIS 1 :Downloads the JIS Level 1 font file.
2 JIS 2 :Downloads the JIS Level 2 font file.
Select the font file to be downloaded by using the
numerical keys or
ENT key.
To return to the JIS 1/JIS 2 menu, press C key.
On the 3rd line appears the font to be downloaded.
This example shows that the "1: JIS 1" has been
selected.
The BHT-5000 is waiting for the selected file to be
downloaded.
Upon start of optional Transfer Utility or its equivalent program (upon receipt of an ENQ code from
the host computer), the BHT-5000 displays the
screen shown at left.
This example shows that the "1: JIS 1" has been
selected.
* and
* keys, then press
⇓
DOWNLOAD
JIS 1
** Loading **
XXXXX/YYYYY
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 C key.
The screen will shift back to the JIS 1/JIS 2 menu.
⇓
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
65
and
keys,
Page 81
DOWNLOAD
JIS 1
** Completed **
YYYYY/YYYYY
Upon completion of downloading, the number of
received records becomes equal to the total
number of records and the beeper beeps once.
Press C key to return to the JIS 1/JIS 2 menu.
NOTE
The JIS Level 1 and Level 2 font data is to be stored in the fixed-address area of the
flash ROM. Therefore, if that font area has been used as a user area, no font
downloading is possible. In such a case, temporarily upload all of the user files
stored in the flash ROM to the host computer, delete those files in the flash ROM,
and download the JIS Level 1 and/or Level 2 font file to the BHT-5000. After that,
download all of those user files uploaded, to the BHT-5000.
If an error occurs during downloading
If some error occurs during downloading, the same error messages as for downloading
of program/data files will appear. (Refer to [ 2 ] Downloading.) In addition, the
following types of errors might occur.
DOWNLOAD
JIS 1
MEMORY USED
The memory area for the JIS Level 1 or Level 2
font has been occupied by user programs.
(The screen at left shows that the JIS Level 1 font
area has been occupied.)
DOWNLOAD
JIS 1
file mismatch !!
The file type is mismatched.
(Examples)
• Although the JIS Level 1 font file was already
selected on the BHT-5000, the host computer
attempted to download the JIS Level 2 font file.
• The host computer attempted to download user
programs.
66
Page 82
Chapter 2. Getting Started the BHT-5000 and System Mode
[9.3]Uploading the JIS1/JIS2 font file
UPLOAD
1:JIS 1
2:JIS 2
⇓
UPLOAD
JIS 1
** Waiting **
⇓
UPLOAD
JIS 1
** Loading **
Selecting the "3: UPLOAD" on the JIS 1/JIS 2 menu
calls up the screen shown at left.
1 JIS 1 : Uploads the JIS Level 1 font file.
2 JIS 2 : Uploads the JIS Level 2 font file.
Select the font file to be uploaded by using the
numerical keys or
ENT key.
To return to the JIS 1/JIS 2 menu, press C key.
On the 3rd line appears the font to be uploaded.
This example shows that the "1: JIS 1" has been
selected.
The BHT-5000 is ready to upload the selected file.
Upon start of optional Transfer Utility or its equivalent program (upon receipt of an ACK code from
the host computer), the BHT-5000 displays the
screen shown at left.
This example shows that the "1: JIS 1" has been
selected.
* and
* keys, then press
⇓
UPLOAD
JIS 1
** Loading **
XXXXX/YYYYY
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 C key.
The screen will shift back to the JIS 1/JIS 2 menu.
⇓
* For BHT-5000s having a 26-key pad, use F5 and F6 keys instead of
respectively
67
and
keys,
Page 83
UPLOAD
JIS 1
** Completed **
YYYYY/YYYYY
Upon completion of uploading, the number of sent
records becomes equal to the total number of
records and the beeper beeps once. Press C key
to return to the JIS 1/JIS 2 menu.
The uploaded font files are named as follows:
JIS Level 1 font file _JIS1.FN3
JIS Level 2 font file _JIS2.FN3
68
Page 84
Chapter 3. Communications Operations of BHT-5000
Chapter 3
Communications Operations of BHT-5000
This chapter describes the communications operations of the BHT-5000--the RS-232C
interface specifications, the basic communications specifications, and the BHT-protocol--for data transmission with the host computer or other devices.
3.3.2 Control Characters ...................................................................................................... 80
3.3.3 Basic Format of Transmission Messages .................................................................. 82
3.3.4 Transmission Control Sequences .............................................................................. 83
3.3.5 Aborting Data Transmission....................................................................................... 91
3.3.6 BCC for Horizontal Parity Checking ........................................................................... 92
3.3.7 Text Format .................................................................................................................. 93
69
Page 85
3.1RS-232C Interface Specifications
3.1.1 For CU-5000
[ 1 ] Interface Connector and Pin Assignment
The CU-5000 has an RS-232C interface port (Dsub-25S).
13
25
RS-232C interface port (Dsub-25S) on the CU-5000
■ CU-5001
Pin No.SignalFunctionsSignal Input/Output
2SDSend data→
3RDReceive data←
4RSRequest to send→
5CSReady to send←
7SGSignal ground—
20ERData terminal equipment ready→
Pins 1 (FG), 6 (DR), and 8 (CD) are not connected.
■ CU-5002
Pin No.SignalFunctionsSignal Input/Output
1FGFrame ground—
2SDSend data→
3RDReceive data←
4RSRequest to send—
5CSReady to send—
6DRData set ready—
7SGSignal ground—
8CDCarrier detect—
20ERData terminal equipment ready—
1
14
CU-5001 External device
CU-5002 External device
The input/output voltage threshold for the logical valued signal is listed below.
Logical ValueInput Voltage ThresholdOutput Voltage Threshold
03V min.5V min.
1-3V max.-5V max.
70
Page 86
Chapter 3. Communications Operations of BHT-5000
[ 2 ] Interface Cable Connection
As illustrated below, connect the CU-5000 (which is joined with the BHT-5000) to a host
computer with a cross-mode cable. To connect it to a modem, use a straight-mode
cable.
CU-5000
(DTE)
Host Computer
(DTE)
1
2
3
4
5
6
7
8
20
Cable Connection between CU-5000 and Host Computer
CU-5000
(DTE)
1
2
3
4
5
6
7
8
20
FG
SD
RD
RS
CS
DR
SG
CD
ER
FG
SD
RD
RS
CS
DR
SG
CD
ER
Modem
(DCE)
(DCE)
Cable Connection between CU-5000 and Modem
DTE and DCE
In the RS-232C interface specifications, the DTEs (Data Terminal Equipment) shall be
generally connected with each other by a cross-mode cable; the DTE and DCE (Data
Circuit-terminating Equipment) shall be connected with each other by a straight-mode
cable.
The DTE is one piece of equipment connected at both ends of a communications line
as a sender or receiver of data (such as CU-5000 joined with the BHT-5000 and a host
computer).
The DCE is one piece of equipment connected to the intermediate point between the
DTE and the communications line. It terminates communications lines and exchanges
information between those lines without any change in contents (such as modem).
71
Page 87
NOTE
The CU-5002 generates its internally consumed power by way of the signals sent
by the connected host computer, the modem, or other devices.
Shown below is a diagram of the internal connection in the CU-5002.
Host computer,
modem, or
other devices
CU-5002
Signal
Name
FG
SD
RD
RS
CS
DR
ER
CD
SG
Pin No.
1
2
3
4
5
6
20
8
7
Not used.
RS-232C
Interface
Circuitry
Power Supply
Circuitry
Optical Interface
Optical
Communications
Interface
Circuitry
BHT-5000
72
Page 88
Chapter 3. Communications Operations of BHT-5000
3.1.2For BHT-5000
[ 1 ] Interface Connector and Pin Assignment
The BHT-5000 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-5000 to a host computer (or another BHT-5000) directly without
any routing through the CU-5000.
RDSGSD
3-pole Mini Stereo Plug (ø2.5 mm or 0.1")
The poles of the plug are assigned as listed below.
Signal NameFunction Signal Input/Output
BHT-5000 External device
SDSend data→
RDReceive data←
SGSignal ground
The input/output voltage threshold for the logical valued signal is listed below.
Logical ValueInput Voltage ThresholdOutput Voltage Threshold
(RD)(SD)
03V min.5V min.
1-3V max.-5V max.
NOTE
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-5000 to a
host computer (or another BHT-5000) frequently, use the CU-5000.
73
Page 89
[ 2 ] Interface Cable Connection
Connect the BHT-5000 directly to a host computer, a modem, or a printer with a directconnect interface cable as illustrated below.
BHT-5000
Connector I/FHost Computer
FG
SD
RD
SG
Cable Connection between BHT-5000 and Host Computer
BHT-5000
Connector I/F
SD
RD
SG
SD
RD
RS
CS
DR
SG
CD
ER
Modem
FG
SD
RD
RS
CS
DR
SG
CD
ER
Cable Connection between BHT-5000 and Modem
BHT-5000
Connector I/F
busy(RD)
Cable Connection between BHT-5000 and Printer
SD
SG
Printer
FG
RD
busy
SG
74
Page 90
Chapter 3. Communications Operations of BHT-5000
3.2Basic Communications Specifications and Parameters
3.2.1Basic Communications Specifications
Listed below are the communications specifications when the BHT-5000 transacts data
with a host computer through the CU-5000 (optical interface) or direct-connect interface cable.
Transmission Bit OrderLSB (Least significant bit) first
Response MethodACK/NAK response
Vertical ParityEven, odd, or none
TransparencyNon-transparent mode
RS/CS ControlEnabled or disabled
■ 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).
75
Page 91
■ Transmission Code and Bit Order
All characters should be coded to 7- or 8-bit code for data transmission. The
standard data exchange code of the BHT-5000 is JIS 7- or 8-bit code. The transmission bit order is LSB (Least significant bit) first.
What follows is an example for transmitting character A (41h, 01000001b) coded to
JIS 8-level code with an even parity and a single bit each for start and stop bits.
LSBMSB
10 0 000100
Start bit
Stop bit
Parity bit
■ Response Method
When two devices initiate communications, they exchange signals for correct data
transmission. This procedure is called "handshaking." The sender sends a control
code ENQ (05h) to the receiver meaning "Are you ready to receive data?," and the
receiver replies to it with a control code ACK (06h) or NAK (15h) meaning "Positive"
or "Negative" for starting data transmission, respectively. This sequence is also
called "data link establishment phase."
■ 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.
LSBMSB
b0b1b2b3b4b5b6
(For 7-bit data)
LSBMSB
b0b1b2b3b4b5b6
(For 8-bit data)
b7
76
Vertical parity bit
Vertical parity bit
Page 92
Chapter 3. Communications Operations of BHT-5000
■ RS/CS Control
Depending upon whether the RS/CS control is enabled or disabled in System
Mode, the BHT-5000 operation will differ as follows:
RS/CS ControlBHT-5000 Operation
Enabled (ON)If the CS signal is ON when the BHT-5000 is ready to send, the
BHT-5000 will send data. If it is OFF, the BHT-5000 will wait for
the CS signal to go ON until the timeout occurs.
When the BHT-5000 becomes ready to receive data, it will turn
the RS signal ON.
Disabled (OFF)The BHT-5000 does not check the CS signal when starting data
transmission.
The RS signal is always ON.
NOTE
For the RS/CS control in user programs written in BHT-BASIC 3.0, refer to the "BHTBASIC 3.0 Programmer's Manual."
The timeout length is programmable in user programs written in BHT-BASIC
3.0. If not designated in programming, it is three seconds.
77
Page 93
3.2.2 Communications Parameters
In System Mode and user programs written in BHT-BASIC 3.0, you may set the
communications parameters listed below.
Communications PortOptical interface or direct-connect interface
* The 300 bps and 600 bps are not available in System
Mode.
In System Mode
Refer to Chapter 2, Subsection 2.4.3, "Detailed Description of the Functions in System
Mode," [ 4.5 ] Setting the communications parameters and interface port.
In BHT-BASIC 3.0
To set the transmission speed, character length, and the number of stop bits, use the
OPEN "COM:" statement in BHT-BASIC 3.0.
OPEN "COM: ... "Opens the interface port selected in System Mode.
OPEN "COM1: ... "Opens the optical interface port for data transmission
routing through the CU-5000, irrespective of the setting
in System Mode.
OPEN"COM2: ... "Opens the direct-connect interface port for direct data
transmission, irrespective of the setting in System Mode.
Note that it is impossible to open both the optical interface port and the direct-connect
interface port concurrently.
Through the interface port opened by the
statement transmits a designated file.
OPEN"COM:" statement, the XFILE
78
Page 94
Chapter 3. Communications Operations of BHT-5000
3.3BHT-Protocol
3.3.1Overview
The BHT-protocol is the communications procedure used to transmit files between the
BHT-5000 and a host (or between the BHT-5000s). It adopts the response method
using ACK/NAK codes.
The BHT-protocol is composed of a defined set of the control character sequences
including the following three phases:
Phase 1:Establishment of data link
The sending station confirms that the receiving station is ready to
receive data.
Phase 2:Data transmission
The sending station transmits data to the target receiving station.
Phase 3:Release of data link
The sending station confirms whether or not all of the transmitted
data has been correctly received by the receiving station. If yes, the
sending station terminates the data transmission and releases the
data link.
79
Page 95
3.3.2 Control Characters
The control characters are classified into two groups: transmission control characters
and text control characters.
(1)Transmission control characters
The transmission control characters listed below are used to compose transmission
control sequences in phases 1 through 3.
SymbolValueMeaningFunction
EOT04hEnd Of TransmissionReleases a data link (Phase 3).
Requests abort of transmission
(Phase 2).
ENQ05hEnquiryRequests establishment of a data link
(Phase 1).
Prompts the receiver to respond to
the sent text (Phase 2).
Negative acknowledgment response
to text (Phase 2).
■ Transparency
The BHT-5000 uses the non-transparent mode which handles the control characters
and codes (e.g., STX, ETX, and SOH) as starting or ending markers and does not
allow them to be transmitted as normal data in the transmission texts.
80
Page 96
Chapter 3. Communications Operations of BHT-5000
(2)Text control characters
The text control characters are used to format transmission texts. In the BHT-protocol,
they include the following headers and a terminator.
SymbolValueMeaningFunction
SOH01hStart Of HeadingIndicates the start of heading text (Phase
2).
STX02hStart Of TextIndicates the start of data text (Phase 2).
ETX03hEnd Of TextIndicates the end of data text (Phase 2).
You may designate headers and a terminator by the protocol functions in BHT-BASIC
3.0. If you designate none of them in a user program, the BHT-5000 may apply those
as listed above. Refer to the "BHT-BASIC 3.0 Programmer's Manual."
81
Page 97
3.3.3 Basic Format of Transmission Messages
Basically, the BHT-5000 transmits data as a unit of a file. First, it transmits a heading
text which includes the attribute information of a file (e.g., file name and the number of
data texts) to be transmitted. Following the heading text, it transmits the data text in
the file. A heading text and data text comprise a text.
In actual text transmission, the text is divided into several blocks, and a header and
terminator are added to each block. If the serial number management or error
checking by BCC (Block Check Character) is required, the serial number or BCC is also
added to each block, respectively. This procedure forms a transmission block. A set of
transmission blocks makes up one transmission message.
Shown below is an example of a transmission message formed with the BHT-protocol.
Text
Transmission
Message
Heading text
S
O
H
S
Serial
T
number
X
S
Serial
T
number
X
Data text 1
Heading text
Data text 2
Data text 1
Data text n
Data text n
B
E
Transmission block
C
T
C
X
B
E
Transmission block
C
T
C
X
B
E
Transmission block
C
T
C
X
In the above figure, SOH, STX, and ETX are text control characters as described in
Subsection 3.3.2. The serial number is added to every data text in order to identify
those texts. For BCC, refer to Subsection 3.3.6.
82
Page 98
Chapter 3. Communications Operations of BHT-5000
3.3.4 Transmission Control Sequences
Shown below is a typical message transmission sequence supported by the BHTprotocol. This sequence example does not include transmission errors or negative
responses.
Establishment of
Data Link
(Phase 1)
Data Transmission
(Phase 2)
S
O
H
S
T
Serial number
X
S
T
Serial number
X
Sending
Station
ENQ
Heading text
E
T
X
Data text 1
Data text n-1
Receiving
Station
ACK
B
C
C
ACK
E
B
T
C
X
C
ACK
E
B
T
C
X
C
Release of Data
Link
(Phase 3)
S
T
Serial number
X
EOT
83
Data text n
ACK
E
B
T
C
X
C
ACK
ACK
Page 99
Data transmission may accidentally involve various types of errors. The BHT-protocol
is designed to recover from those errors as frequently as possible. What follows is the
BHT-protocol for phases 1 through 3.
Phase 1: Establishment of Data Link
■
Normal phase 1
The sending station transmits an ENQ to the receiving station. Upon receipt of an
ACK from the receiving station, the sending station shifts to phase 2.
Sending station
ENQ
Receiving station
ACK
To phase 2.
■ Phase 1 with no response or invalid response
If the sending station receives no response or any invalid response from the
receiving station in response to an ENQ sent, it iterates sending of an ENQ at threesecond intervals up to 10 times.
If the sending station receives an ACK before sending an ENQ ten times, it shifts to
phase 2.
Sending
station
3 seconds
3 seconds
ENQ
ENQ
ENQ
Receiving
station
To phase 2.
ACK
84
Page 100
Chapter 3. Communications Operations of BHT-5000
■ Abnormal termination of phase 1 (Abort of phase 1)
If the sending station receives no ACK from the receiving station after sending an
ENQ 10 times in succession, it sends an EOT to the receiving station after three
seconds from the 10th ENQ to terminate the message transmission abnormally.
Sending
station
3 seconds
3 seconds
3 seconds
Abnormal
termination
Receiving
station
ENQ(1)
ENQ(2)
ENQ(3)
ENQ(10)
EOT
85
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.