The text of a manual · part 1 of 5
WDT2200 Operation Guide, pages 1 to 9
Pages 1 to 9 of 42
The original document is the PDF (508 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Wasp WDT-2200
Page 1
Page | of 41
Wasfie*
TECHNOLOGIES
WDT2200
Operation Guide
V1.0
© 2003 Wasp Technologies, Inc.
Page 2
Page 2 of 41
______________________________________________________
CHAPTER 1.
INTRODUCTION ........................................................................................................................3
1.1 1.2
PROGRAMMING ................................................................................................................................................3 SUBSYSTEMS ...................................................................................................................................................4 1.2.1 Keypad Subsystem................................................................................................................................4 1.2.2 Display Subsystem ...............................................................................................................................4 1.2.3 Serial Port Subsystem ..........................................................................................................................5 1.2.4 Real Time Clock Subsystem .................................................................................................................5 1.2.5 Bar Code Input Port ............................................................................................................................5 1.3 DIAGNOSTICS AND POWER-ON-TEST ...............................................................................................................5 CHAPTER 2. 2.1 2.2 2.3
SYSTEM SOFTWARE ORGANIZATION ...............................................................................6
APPLICATION MODULE ....................................................................................................................................6 KERNEL MODULE ............................................................................................................................................6 OPERATION FLOW ............................................................................................................................................7
CHAPTER 3.
OPERATING MODES ................................................................................................................9
3.1
KEYBOARD MODES --- USING THE WDT2200’S KEYBOARD..........................................................................9 3.1.1 NORMAL mode..................................................................................................................................10 3.1.2 COMMAND mode..............................................................................................................................10 3.1.3 ALPHA mode .....................................................................................................................................10 3.2 WDT2200 MODES OF OPERATION ................................................................................................................11 3.2.1 Ready Mode .......................................................................................................................................11 3.2.2 User Mode .........................................................................................................................................11 3.2.3 Supervisor Mode ................................................................................................................................17 CHAPTER 4. 4.1 4.2 4.3
INTRODUCTION ........................................................................................................................................28 FEATURES ..................................................................................................................................................29 I/O PORTS ......................................................................................................................................................29 4.2.1 The WDT2200 has three interface ports:...........................................................................................29 4.2.2 Scanner ..............................................................................................................................................29 4.3.3 WDT2200 CHARGING/COMMUNICATION CRADLE ....................................................................30
CHAPTER 5. 5.1 5.2
HARDWARE OVERVIEW ......................................................................................................28
COMMUNICATION .................................................................................................................31
INSTALLATION..........................................................................................................................................31 DOWNLOADING AND UPLOADING ......................................................................................................33 5.2.1 Downloading a AppGen Pro application from Host to WDT2200 ....................................................34 5.2.2 Uploading AppGen Pro files from WDT2200 to HOST.....................................................................34 5.2.3 Downloading a file from Host to WDT2200 using the Kermit Server ...............................................35 5.2.4 Uploading files from WDT2200 to HOST using the Kermit Server ...................................................36
CHAPTER 6.
TROUBLESHOOTING.............................................................................................................37
CHAPTER 7.
POWER SOURCES ...................................................................................................................39
7.1 7.2 7.3 7.4
MAIN/BACKUP BATTERY REPLACEMENT AND INSTALLATION ..................................................40 MAIN POWER BATTERY CHARGING WITH AC/DC ADAPTOR (REGULAR/NORMAL CHARGE) .......41 MAIN BATTERY CHARGING WITH CRADLE ......................................................................................41 MAIN BATTERY STORAGE & SAFETY PRECAUTIONS.....................................................................42
© 2003 Wasp Technologies, Inc.
Page 3
Page 3 of 41
______________________________________________________
Chapter 1.
Introduction
The WDT2200 is a programmable and flexible data collection device that can be utilized in a variety of data acquisition applications. It can be used as a portable data entry device or as a programmable dedicated computer that receives and runs application programs downloaded from a host computer. The WDT2200 is equipped with a 16-bit INTEL 8088 compatible microprocessor, and has 256K of user updateable FLASH ROM that includes a rich set of DOS functions and device drivers for application development, including bar code decoding, display, keypad, communications, and a real time clock/calendar. WDT2200 BLOCK DIAGRAM Lithium Battery
128x64 bit map
Keypad
Graphic LCD Driver
256K Flash ROM
Key Matrix
RS-232 Serial
16-bit CPU
Bar Scan
RAM 512K2.5MB
Real Time Clock
Integrated Laser Diode
The WDT2200 can be purchased with 2.5MB of on-board RAM. The RAM memory is powered by the rechargeable main Li-ion battery pack and a backup Lithium button cell battery, which retains the data stored in RAM and powers the real time calendar/clock when the main battery is drained. The WDT2200 has a 128x64 pixel backlit graphic LCD display, an integral 27-key keypad, a builtin laser or CCD bar code scanner module and an RS-232 serial port for data communication with a host PC. 1.1 Programming The WDT2200 system kernel includes three basic modules: 1. Device driver, 2 File manager and 3.DOS manager. The WDT2200 terminal can be programmed using an E-PROM resident application program called FormCaching, a Windows-based, high-level application generator AppGen, Microsoft C, Borland C, Turbo C, Turbo Pascal and IBM PC macro assembler. The ROM based firmware of the terminal provides emulated MS/DOS function calls. The programmer can design the application programs by calling those functions just like in a DOS environment. The calling and parameter passing conventions are compatible to that of MS/DOS and the programs are in the EXE format. Programming details are included in the WDT2200 programming manual in this binder.
© 2003 Wasp Technologies, Inc.
Page 4
Page 4 of 41
______________________________________________________
The intelligence level of the terminal is determined by the configuration of the FormCaching application or the downloaded program generated by AppGen or supported language compiler. Once the program has been started up, the terminal operates as a stand-alone unit, storing transaction data in the RAM disk area or linked to a host/personal computer. 1.2 Subsystems The following describes several subsystems and related I/O interface functions, the DOS manager and file manager functions. Detailed calling process is explained in the Programming Reference Guide included in this binder. 1.2.1
Keypad Subsystem
The keypad subsystem scans the key matrix, converts the scan code to its associated key value and stores the value in the keyboard input buffer for program utilization. The table below shows hexadecimal values assigned to each key. KEY CLR
ENTER
SP ! # $ % & * + ,
1.2.2
VALUE 08H 0DH 10H 11H 12H 13H 20H 21H 23H 24H 25H 26H 2AH 2BH 2CH
KEY . / 0 1 2 3 4 5 6 7 8 9 : ;
VALUE 2DH 2EH 2FH 30H 31H 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH
KEY = ? @ A B C D E F G H I J K L
VALUE 3DH 3FH 40H 41H 42H 43H 44H 45H 46H 47H 48H 49H 4AH 4BH 4CH
KEY M N O P Q R S T U V W X Y Z [
VALUE 4DH 4EH 4FH 50H 51H 52H 53H 54H 55H 56H 57H 58H 59H 5AH 5BH
KEY Y Z [ \ ] F1 F2 F3 F4 F5 F6 F7 F8 EXIT
VALUE 59H 5AH 5BH 5CH 5DH 86H 87H 88H 89H 8AH 8BH 8CH 8DH 84H
Display Subsystem
The WDT2200 display subsystem supports a character oriented 8-line by 20-character or 4-line by 16-character LCD display. The origin (0,0) is always at the top-left hand corner. This subsystem provides the program interface functions to display characters, set cursor position, get cursor position and clear screen display.
© 2003 Wasp Technologies, Inc.
Page 5
Page 5 of 41
______________________________________________________ 1.2.3
Serial Port Subsystem
The WDT2200 terminal has an RS-232 serial port for data communication. The communication subsystem consists of point-to-point protocol for general processing and multi-point protocol for network processing. The WDT2200 also supports a built-in Kermit server for point-to-point communication. 1.2.4
Real Time Clock Subsystem
This subsystem allows users to set and obtain system date and time from the Real Time Clock Integrated Circuit (IC) in the WDT2200. 1.2.5
Bar Code Input Port
The WDT2200 has a built-in barcode decoder. The terminal reads bar code labels through an integrated laser scanner module, pen type module. 1.3 Diagnostics and Power-On-Test The system diagnostic routines exercise the ROM validity check, test the RAM, system parameters, the keypad, the real time clock, the RS-232 port, LCD and scanner port. The power-on-test is a subset of the system diagnosis that only includes the ROM validity check, system parameter check sum test, and back-up battery level check.
© 2003 Wasp Technologies, Inc.
Page 6
Page 6 of 41
______________________________________________________ Chapter 2. System Software Organization
The WDT2200 system software is organized into two modules: the kernel module and the application module (see diagram below). MODULE ORGANIZATION APPLICATION MODULE
Terminal module Workstation module User-device module
RESIDENT APPLICATIONS KERNEL MODULE
| | | | | | | | | | | | | |
Downloadable Application Downloadable Application Downloadable Application TRANSIENT APPLICATION
SCAN_INT
KEYPAD_INI
EXEC
LOADER
DOS Manager
FILE Manager
COM_INI
COM Manager
2.1 Application Module Although applications run on the WDT2200 are classified into resident and transient categories, the WDT2200 operation can’t decipher the difference between them. The only difference is the location of the executable files. For resident applications, the Job Scheduling EXEC "jumps" to the entry point in the EPROM and begins execution. For transient applications EXEC "loads" the executable file from the RAM file into the RAM memory and then begins execution. 2.2 Kernel Module The WDT2200 kernel provides basic system services. The kernel module includes the DOS Manager, File Manager, COM Manager and several interrupt service routines. DOS Manager
The DOS manager emulates most MS DOS function calls to control WDT2200 peripherals and files.
FILE Manager
The File manager implements a DOS-like file subsystem to support essential file operations.
© 2003 Wasp Technologies, Inc.
Page 7
Page 7 of 41
______________________________________________________ COM Manager
The COM manager controls the communication link between the WDT2200 and the host through a RS232 serial port.
LOADER
The function of the loader is identical to that of the MSDOS loader except for the memory allocation/de-allocation scheme being simplified. The loader's operations are: 1. 2. 3. 4. 5. 6.
read .exe header find enough memory for .exe read binary into RAM relocation based on RAM allocation set up all registers jump to the entry point
LCD Manager
The LCD manager handles the cursor positioning and graphic pattern display. Two character pattern fonts are supported. The WDT2200 can support both 6x8 font (20 column by 8 lines) and 8x16 font(16 column by 4 line).
EXEC
The EXEC is the job scheduler. It manages top-level operation flow of the WDT2200 system. The EXEC program is analogous to the COMMAND.COM program in MS DOS-based machines.
2.3 Operation Flow The EXEC program controls the WDT2200. When the portable terminal is powered up, EXEC performs the power-on-test (POT). EXEC proceeds to verify if the WDT2200 should make a warm or cold booting. A warm boot resets the system without clearing any RAM program or data files. Device configurations preserve the same values as they had before the warm boot. On the other hand, a cold boot will clear the RAM and initialize the WDT2200 to default values. The WDT2200 is always testing its main and backup batteries. The LCD will display a warning message when the test fails. Power on Test
Test failure message
Main battery test Backup battery test
"WARNING MAIN BATTERY LOW" "WARNING LITHIUM BATTERY LOW"
When the main battery is low, a warning message will be displayed on the LCD when THE WDT2200 is power on. For THE WDT2200, it can automatically detect battery status, a warning sign will be display on battery icon on the upper side of LCD. During the start-up process, EXEC also initializes the WDT2200 barcode scanner and RS232 communication port, and creates all dynamic data structures; e.g. keypad queue and COM buffer. © 2003 Wasp Technologies, Inc.
Page 8
Page 8 of 41
______________________________________________________
Once the initialization procedure has been completed, EXEC checks if a supervisor menu has been requested. The supervisor menu can be requested if the operator holds down both [CMD] and [ ] keys while powering up the WDT2200. POWER ON
Press [CMD] & [<] simutaneously while pressing [PWR]
YES
NO
<<START MENU >> 1.SUPERVISOR 2.WARM START 3.COLD START
YES
START FLAG error? NO press [3] press [2]
YES
SAVE NOT OK error? NO press [1] NO
RESUME?
YES
WARM START
Supervisor mode Disabled?
WARNING ! DELETE ALL DATA Are you sure? (YES/NO)
NO
YES AUTOEXEC.exe existed?
System Recover
YES run AUTOEXEC.exe
SUPERVISOR mode press NO] press
Yes]
NO
READY mode
COLD START press [CMD] and hold down for 2 seconds USER mode
NOTE:
1) 2) 3) 4)
Cold start, will clear all data stored in the RAM and reinitialize the portable terminal to system default. There are two system flags, “Start” flag and “Save NOT OK” flag, which will be verified each time the unit is turned on. When the “Start” flag verification fails, it indicates that there is probably a defective RAM chip or that the backup battery power is low. A data back up and hardware diagnostics are recommended in these cases. The “Save NOT OK” flag is used to check if the previous turn-off process was made normally or not. The system will not return to the last turn-off point if the “System Resume” is set to On when this flag verification fails.
A program downloaded to the WDT2200 may be automatically executed each time the portable terminal is turned on. In order for the program to be auto-ran, it must be downloaded to THE WDT2200 with the name AUTOEXEC.EXE. When the WDT2200 is turned on, the system will scan the file directory and execute the program, otherwise it will enter a mode of operation called the READY mode. In this mode, the WDT2200 will standby for keypad-entered commands, or commands from the Host PC. © 2003 Wasp Technologies, Inc.
Page 9
Page 9 of 41
______________________________________________________ Chapter 3. OPERATING MODES 3.1 Keyboard Modes --- Using THE WDT2200’s keyboard
The keypad of THE WDT2200 consists of 27 rubber keys, the power key is used to switch on/off the unit and other 26 keys are used to control the unit and key in data. Use of the keyboard is categorized to three modes: normal mode, command mode, and alpha(betic) mode. All keys except the power key may produce a sound (tone) when pressed. Keys in the upper four rows are larger to facilitate data entry. When the unit is off, pressing the power key will turn on the unit. On the other hand, when the unit is on, it is necessary to press and hold down the power key for about one second in order to turn the unit off. [CMD]
Pressing the [CMD] key sets the keyboard to Command mode. However, pressing and holding down the [CMD] key for two seconds in Ready mode will access the User mode. In User mode, users can invoke system commands by menu selection.
[CMD] then [Alpha] In User mode or Supervisor mode, pressing the [CMD] key and then pressing [ALPHA] key will exit from the current operation to the previous operation. press [CMD] press [CMD]
NORMAL mode press [ALPHA] press [ALPHA] press [CMD]
COMMAND mode press [ALPHA]
ALPHA mode
© 2003 Wasp Technologies, Inc.