dat400 reference manual - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · revision 7.k,...

96
MOBILE DATA PROCESSING 4P MOBILE DATA PROCESSING Viale Regione Veneto 26 - 35127 PADOVA - ITALY TEL +39 049 8069.811 - FAX +39 049 8069.843 E-mail: [email protected] - Web: www.4p-online.com DAT400 ® The All-In-One Palm Top Computer Reference Manual April 2001

Upload: vuonganh

Post on 06-Apr-2018

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

DAT400®

The All-In-OnePalm Top Computer

Reference Manual

April 2001

Page 2: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Copyright 1994,1996, 1999, 2001 by 4P s.r.l.

4P MOBILE DATA PROCESSINGViale Regione Veneto 2635127 PADOVA - ITALY

Tel. +39 049 8069.811Fax. +39 049 8069.843Videoconference +39 049 760344

E-mail:general information: [email protected] support: [email protected] center: [email protected]

Web: www.4p-online.com

Revision 7.k, April 2001

Trademarks MS-DOS is a trademark of Microsoft Corporation. Z80 is a trademark of Zilog Inc.

Mifare is a trademark of Philips Semiconductors

Every effort has been made to ensure the accuracy of this manual.However due to the continuos technical improvements 4P could change somecharacteristics of the peripherals and software described hereafter and/or add new ones.To have updated information we recommend to contact 4P or your dealer.

The above notwithstanding, 4P is not liable for any errors in this manual and theirconsequences.

All rights reserved. Reproduction of any part of this manual in any form whatsoeverwithout 4P's express written permission is forbidden.

Page 3: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 3/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Table of contents

1 INTRODUCTION............................................................................................................................7

2 DAT400 ALL-IN-ONE PALM COMPUTER................................................................................8

2.1 DAT400 System Architecture ........................................................................................................8

2.2 DAT400 basic unit ......................................................................................................................142.2.1 Display...................................................................................................................................15

2.2.1.1 Programmable Characters ...............................................................................................152.2.2 Keyboard................................................................................................................................16

2.2.2.1 27 key full alphanumerical keyboard ..............................................................................172.2.2.2 18 key numerical/functional keyboard ............................................................................182.2.2.3 Software information.......................................................................................................19

2.2.3 Built-in Miniprinter................................................................................................................192.2.3.1 Paper and inked ribbon ...................................................................................................212.2.3.2 How to load the paper .....................................................................................................22

2.2.4 Input/output and power connectors........................................................................................242.2.4.1 DB9F subminiature “D-type” female connector .............................................................252.2.4.2 Slide connector................................................................................................................252.2.4.3 DAT400 RS485 and RS422 interface .............................................................................27

2.2.5 Buzzer ....................................................................................................................................272.2.6 Backup Battery ......................................................................................................................27

2.3 DAT400 optional built-in peripherals.........................................................................................292.3.1 Laser bar code scanner...........................................................................................................29

2.3.1.1 General characteristics ....................................................................................................292.3.1.2 Decoded Bar Code Standards .........................................................................................302.3.1.3 Laser scanner safety regulations......................................................................................312.3.1.4 Software Information ......................................................................................................31

2.3.2 Magnetic Stripe Reader..........................................................................................................322.3.3 Contactless Mifare® interface (ISO 144443 type A).............................................................34

2.3.3.1 Features of the DAT400 MIFARE® optional interface. .................................................342.3.3.2 Hardware configuration ..................................................................................................352.3.3.3 Software information.......................................................................................................362.3.3.4 Secure transaction management ......................................................................................36

2.4 Removable and Rechargeable Battery Pack...............................................................................362.4.1 General battery pack handling precautions ............................................................................372.4.2 Battery Pack charging procedure ...........................................................................................382.4.3 Battery Pack Self Discharge ..................................................................................................392.4.4 Battery Pack Life Cycle. ........................................................................................................402.4.5 Memory Effect .......................................................................................................................412.4.6 Power Management................................................................................................................422.4.7 Main Battery Status Monitoring.............................................................................................42

2.5 DAT400 CORE ...........................................................................................................................432.5.1 CPU .......................................................................................................................................43

2.5.1.1 Counter Timer Circuit .....................................................................................................442.5.1.2 Serial Input Output..........................................................................................................45

2.5.1.2.1 COM1 Serial Interface ...........................................................................................452.5.1.2.2 Internal Serial Interface (SIOB) .............................................................................47

2.5.1.3 Clock Generator Controller (CGC) ................................................................................48

Page 4: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 4/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5.1.4 Parallel I/O Ports.............................................................................................................482.5.1.5 Watch Dog Timer ...........................................................................................................482.5.1.6 Interrupts.........................................................................................................................49

2.5.2 Internal operating memory.....................................................................................................492.5.2.1 Memory models ..............................................................................................................492.5.2.2 Hardware options ............................................................................................................50

2.5.2.2.1 32kB Flash-EPROM and 32kB SRAM Option ......................................................512.5.2.2.2 32kB Flash-EPROM and 128kB SRAM Option ....................................................532.5.2.2.3 32kB Flash-EPROM and 512kB SRAM Option ....................................................55

2.5.2.3 Banked memory model restrictions.................................................................................562.5.3 Mass Storage..........................................................................................................................572.5.4 Real Time Clock-Calendar.....................................................................................................572.5.5 Analog to Digital Converter...................................................................................................58

3 SOFTWARE CONFIGURATION ...............................................................................................59

3.1 Embedded downloader ...............................................................................................................593.1.1 DAT400 program downloading via RS232 serial connection................................................593.1.2 DAT400 program downloading from a data file contained in DAT400 mass storage ...........593.1.3 Embedded downloader protection .........................................................................................60

3.2 BIOS............................................................................................................................................60

3.3 Application programs .................................................................................................................60

4 COMMUNICATIONS...................................................................................................................61

4.1 Communication examples ...........................................................................................................614.1.1 Local communications ...........................................................................................................61

4.1.1.1 Local file transfer: DAT400 to Host Computer via RS232 cable. ..................................614.1.1.2 Local file transfer: DAT400 to Host Computer via desktop cradles. ..............................634.1.1.3 Local file transfer: many DAT400s to Host Computer via the P153/6-4 Rack. ..............64

4.1.2 Remote communications ........................................................................................................654.1.2.1 Remote file transfer: DAT400 to Host Computer via modem.........................................65

4.1.3 Others.....................................................................................................................................664.1.3.1 Using External printer with either a serial cable, or P160 or P164-DT..........................664.1.3.2 Connection to Orion® GPS+GSM using the P164-VE vehicle cradle............................68

5 STARTING UP AND OPERATING THE DAT400 ...................................................................69

5.1 Starting Up..................................................................................................................................69

5.2 Entering System Menu ................................................................................................................70

5.3 Downloading an application program........................................................................................715.3.1 Connecting DAT400 to the PC ..............................................................................................715.3.2 Starting the download from the PC side.................................................................................71

5.3.2.1 Using WinLoadxx ...........................................................................................................715.3.2.2 Using Pcloadxx (Unix/Linux, MS-DOS) ........................................................................77

5.3.3 Starting download at DAT400 side........................................................................................785.3.3.1 Starting download from Set Up utility ............................................................................795.3.3.2 Starting download at DAT400 power on. .......................................................................79

5.3.4 DAT400 program downloading from a data file contained in DAT400 mass storage ...........79

5.4 Set Up..........................................................................................................................................80

5.5 Data file transfer between PC and DAT400 ...............................................................................83

Page 5: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 5/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6 DAT400 TECHNICAL CHARACTERISTICS...........................................................................84

6.1 General technical characteristics ...............................................................................................846.1.1 LCD Liquid Crystal Display ..................................................................................................85

6.1.1.1 Built-in display character fonts .......................................................................................866.1.2 Keyboard................................................................................................................................876.1.3 Removable and Rechargeable Battery pack...........................................................................876.1.4 Internal back up battery .........................................................................................................87

6.2 INPUT OUTPUT ........................................................................................................................886.2.1 COM 1 connector pin-out ......................................................................................................886.2.2 COM1 Slide Connector..........................................................................................................89

6.3 Built-in Peripherals ....................................................................................................................906.3.1 Miniprinter .............................................................................................................................90

6.3.1.1 Miniprinter software commands......................................................................................916.3.2 Bar code laser scanner ...........................................................................................................92

6.3.2.1 Bar Code Laser Scanner Definitions ...............................................................................926.3.3 Magnetic Stripe Reader..........................................................................................................936.3.4 Contactless Mifare® interface ...............................................................................................93

6.4 Accessories..................................................................................................................................946.4.1 Communication and battery charging ....................................................................................956.4.2 Battery chargers .....................................................................................................................956.4.3 Rechargeable and removable battery packs ...........................................................................956.4.4 Other accessories ...................................................................................................................95

7 Table of figures ................................................................................................................................96

Page 6: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 6/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

ACRONYMS AND ABBREVIATIONS

ITEM DESCRIPTION

ADC Analog to Digital ConverterBIOS Basic Input Output SystemCGC Clock Generator ControllerCOMx where x=1 or 2. It is the communication port of a PC or HHCCPU Central Processing UnitCTC Counter Timer CircuitCTS Clear To SendEPROM Erasable Programmable Read Only MemoryEEPROM Electrically Erasable Programmable Read Only MemoryFlash-EPROM Flash erasable EPROMGND Ground (0V)HHC Hand Held Computer (i.e. the DAT400).IEC International Electrical CommitteeI/O Input-Outputk It is the x 1024 multiplier (i.e. 32kB)LCD Liquid Crystal DisplayLinux the Unix clone first developed by Linus TorvaldmAh milli-Ampere per hour. It is the unit for battery capacity measure.Ms-DOS Microsoft Disk Operating System, the PC operating systemNiCd Nickel Cadmium. It is a rechargeable battery technology.NiMH Nickel Metal Hydride. It is a rechargeable battery technology.OS154 DAT400 Operating SystemPC Personal ComputerP/N Part NumberRS232 Recommended Standard 232: it is an unbalanced, point-to-point, full-

duplex data communication.RS422 Recommended Standard 422: it is a balanced, point-to-point, full-

duplex data communication.RS485 Recommended Standard 485: it is a balanced, multi-point, half-duplex

data communication.RTC Real Time Clock CalendarRTS Request To SendRX ReceptionSIO Serial Input OutputSRAM Static Random Access MemoryTX TransmissionUnix The multi-tasking operating system for PC and workstationsWDT Watch Dog TimerY2K Year 2000

Page 7: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 7/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

1 INTRODUCTION

DAT400 is a rugged ALL-IN-ONE palm computer with integrated peripherals designedfor harsh environments, suited for outdoors, industrial and vehicle operations. It has aPersonal Computer processing power and peripherals enclosed in a pocket calculatorsize.

Here is a brief guide about this reference manual.

Chapter 2 describes DAT400 system configuration including the details about all itscomponents and configurations: basic unit, the rechargeable and removable batterypack, the integrated optional peripherals, microprocessor, operating memory and massstorage.

Chapter 3 is about the DAT400 software.

Chapter 4 deals with the DAT400 communications.

Chapter 5 explains how to start up your DAT400.

Chapter 6 contains all the detailed technical specifications for your convenient quickreference.

Page 8: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 8/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2 DAT400 ALL-IN-ONE PALM COMPUTER

DAT400 ALL-IN-ONE palm computer has two main basic configurations:

• 27 key full alphanumeric keyboard with the LCD on the top• 18 key numerical/functional with alphabetic capability keyboard and the LCD on the

bottom.

The differences between the two above main configuration (shown in FIG. 5 and FIG. 6)consist of:

• keyboard type;• keyboard and display relative position.

The 18 key version has been designed for intensive bar code scanning applicationswhere the central balanced hand grip and the lateral strap, offer a convenient and easyway to operate the unit with one hand only.

The 27 key version has been designed for keyboard input intensive applications wherethe DAT400 is operate with two hands. The hand strap is on the back.

For simplicity in this Reference Manual, all the figures show the 18 key version of theDAT400 equipped with the optional magnetic card reader. However, when notspecifically specified, all the information refers to both configurations.

2.1 DAT400 System Architecture

DAT400 palm computer consists of:

• DAT400 basic unit (refer to 2.2);• DAT400 optional peripherals (refer to 2.3);• Removable and Rechargeable Battery pack (refer to 2.4).

The DAT400 basic unit contains:

• Display• Keyboard• Buzzer• Miniprinter• CPU• Operating memory• Mass Storage memory

Page 9: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 9/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

• Real Time Clock (RTC)• Analog to Digital Converter (ADC)• DB9 EIA RS232 serial port with female connector COM1• Slide connector for battery recharge and data communication• Internal backup battery.

DAT400 optional peripherals are:

• Laser Bar code scanner• Magnetic stripe reader• Mifare interface.

As detailed in 2.3.3.2, the laser bar code scanner and the Mifare® interface are mutuallyexclusive.

FIG. 1 shows the DAT400 basic configuration and FIG. 2 shows the DAT400 fullconfiguration with bar code laser scanner and magnetic card reader.

Page 10: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 10/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

- +

MOBILE DATA PROCESSING

SLIDECONNECTOR

DB9FCONNECTOR

RECHARGEABLEBATTERY PACK

REMOVABLE AND

DISPLAY

KEYBOARD

BOTTOM VIEW

BUZZER

MASSSTORAGE

REAR VIEW

MINIPRINTER

FRONT VIEW

FIG. 1 DAT400 basic configuration (18 key version).

Page 11: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 11/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

BATTERY PACKRECHARGEABLEREMOVABLE AND

+-

MOBILE DATA PROCESSING

SLIDECONNECTOR

DB9FCONNECTOR

DISPLAY

KEYBOARD

BUZZER

MASSSTORAGE

BOTTOM VIEW

LASER

REAR VIEW

STRIPE READERMAGNETIC

MINIPRINTER

FRONT VIEW

FIG. 2 DAT400 full configuration (18 key version basic unit

with magnetic card reader and laser bar code scanner)

Page 12: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 12/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

BOTTOM VIEW

CONNECTOR

-

CONNECTORSLIDE

MOBILE DATA PROCESSING

STORAGE

DB9F

MASS

INTERFACEMIFARE

BUZZER

REMOVABLE AND

+

RECHARGEABLEBATTERY PACK

KEYBOARD

DISPLAY

STRIPE READERMAGNETIC

MINIPRINTER

FIG. 3 DAT400 full configuration (basic unit with magnetic card reader and Mifare interface)

In the following FIG. 4 the block diagram shows the internal DAT400 architecture.

Page 13: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 13/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

FIG. 4 DAT400 internal architecture: basic unit, optional integrated peripherals and battery pack.

OPTIONAL INTEGRATEDPERIPHERALS

Batterypack

Mifare® Interface

Bar Code Laser Scanner

Magnetic Stripe Reader

Integrated printer

RS232DB9F

RS232Slide

connecto

Mass Storage

Flash-EPRO

M

SRAM(32kB

to

Operating

SRAMand/orFlash-

EPROM

(512kB

DAT400 BASIC UNIT

Switch

COM1

COM2

CPU

KeyboardLCDwith

backlight

Real TimeClockBuzze

r

ADC

Page 14: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 14/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2 DAT400 basic unit

DAT400 basic unit consists of the following items (refer to DAT400 picture):

• DAT400 Core (CPU, Memory, RTC, ADC): see at 2.5;• Display: see at 2.2.1• Keyboard: see at 2.2.2• Built-in Miniprinter: see at 2.2.3• DB9 serial link EIA RS232 with female connector COM1: see at 2.2.4.1• Slide connector for battery recharge and data communication: see at 2.2.4.2• Buzzer: see at 2.2.5• Internal backup battery: see at 2.2.6

In the following paragraphs all the above items are described in detail.

On the electronic version of this manual you may skip to each item description just byclicking on the reference numbers.

Page 15: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 15/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2.1 Display

The DAT400 display is a LCD with electro-luminescent backlight. It has alphanumericand graphical capabilities:

• in alphanumeric mode with built-in character patterns, it can be used to display 8rows of 16 characters (8 x 16). Refer to 0 Built-in display character fonts for details.

• in alphanumeric mode, with user-defined characters, it can display 8 rows, with 15,16, 20 or 21 characters per row (software selectable). Characters can also bedisplayed in reverse mode. This feature is also described in 2.2.1.1;

• in the graphic mode, it can display 64 (Vertical) x 128 (Horizontal) dots.

It features:

• Software contrast control to adjust view angle according to operating temperature.• Backlight for poor light conditions (switchable ON/OFF by software commands and

keyboard).• Backlight programmable autopoweroff timeout to save power consumption.• Programmable custom characters supported by either optional hardware or graphic

drivers (refer to Programmable Characters for details).

Contrast and autopoweroff time-out can be adjusted through Set Up procedure andOS1541 functions.Cursor shapes can be changed by OS154 functions.

The functions implemented within the OS154 allow to easily control all the displayfeatures from the application program level.

Refer to 6.1.1 LCD Liquid Crystal Display for complete technical characteristics.

2.2.1.1 Programmable Characters

OS154 system calls allow to program the display with X (X= 15, 16, 20 or 21) columnsand 8 rows, displaying user-defined character fonts. Characters can also be displayed inreverse mode. Refer to Dat400ProgrammerGuide.doc for more details.

1 OS154 is the DAT400 operating system.

Page 16: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 16/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2.2 Keyboard

Two types of keyboards are available (refer to FIG. 5 and FIG. 6):

• 27 key full alphanumerical.• 18 key numerical/functional with alphabetic capability.

Both keyboards have rubber button type keys with epoxy resin protection. The rubberkeypad is completely sealed against water, moisture and dust.

Both keyboards are available with backlight to allow the DAT400 operation in the darkor poor lit environments (i.e. parking fine issuing at night).

Both the rubber keypad and dark gray serigraphy may be easily customized on request.

FIG. 5 DAT400 with alphanumeric keyboard (enlarged on the right)

Page 17: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 17/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

FIG. 6 DAT400 with numeric keyboard with alphabetic capability (enlarged on the right)

2.2.2.1 27 key full alphanumerical keyboard

The 27 keys are 2-position keys, that allow to select two different characters with onestroke.As a default, each key returns the character printed at the center of the key (i.e. thenumbers): the cursor appears as the underline character.

After ALPHA key is pressed (toggle key), the keyboard enters the alphabetic mode,indicated by a block cursor blinking on the display. Depending on where you press thekey, on the left or right side the keyboard returns the character printed on the same sideof the key (if available).

If SHIFT key is pressed, the keyboard enters the shift mode, shown by a small fixedcursor on the display. The returned character is the one printed on the dark grayserigraphy on atop of each key. SHIFT key is active only for the next hit key.

Page 18: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 18/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Example:

Refer to the following key:

By default at power on the key will always return the character “1” (numeric mode).

After pressing ALPHA if you hit the key on the left it will return “G” if you hit it on theright it will return “H” (alphabetical mode).

If you press ALPHA again the key will return “1”.

If you press SHFT and then the above key it will return the “F1” code. The keyboardthen returns immediately to the previous mode.

ALPHA mode may be activated and deactivated also by the application program withouthitting the alpha key.

The use of ALT and CTRL keys is defined by the custom application, if any.

2.2.2.2 18 key numerical/functional keyboard

The meaning of the keys is self explanatory.

The keyboard usage is software programmable:

single-stroke usage Numeric mode.

Only one character code is related to each key.E.g.: pressing the ‘1’ key, the character 1 is returned.

multi-stroke usage Alphabetical mode.

The keyboard can be used for alphabetic input, as in cellularphone. Hitting several times a key, you can have the lettersprinted above.

E.g.: pressing 4 times the ‘2’ key, you obtain:

1st stroke: ‘2’;2nd stroke: ‘A’;3rd stroke: ‘B’4th stroke: ‘C’.

G 1 H

F1

Page 19: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 19/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2.2.3 Software information

The C library of OS154 contains the routines to handle the keyboard.The Operating System returns ASCII codes for each pressed key. The returned ASCIIcodes can be managed by the application program.

2.2.3 Built-in Miniprinter

DAT400 features an impact miniprinter for fanfold multiple copy paper with an internalhousing for the paper stack. The fanfold paper size is 57x152 mm (2 ¼ “ x 6”).

Two models of miniprinter are available:

• Model 1: 24 characters per line with 2.5 lines/s speed.• Model 2: 40 characters per line with 1.5 lines/s speed.

The printing area and the paper size is the same for both models. The model 2 actuallyuses a condensed character font thanks to a higher horizontal resolution.

The main miniprinter characteristics are:

• graphical capabilities;• internal fanfold paper housing for 40 double copy sheets and about 90 single copy

sheets;• 57 x 152 mm (2” x 6”) sheets;• friction feed;• optical automatic alignment of each form

A special soft plastic carrying case (optional accessory) is provided for paper and printerprotection against rain.

The miniprinter full technical characteristics are detailed in 6.3.1.

The miniprinter has two character sets, each containing 244 characters (font 1 and font2), which can be software selected. 8 user defined characters can also be added.

Page 20: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 20/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

FIG. 7 DAT400 Miniprinter fonts.

The main miniprinter software options are:

• Font size selection:• Regular• Double width• Double height• Double width and double height (expanded mode);

• Graphic mode;• 8 software programmable custom characters;• 180 degrees rotated characters;• Internal EEPROM to store miniprinter configuration.

The list of the codes for the miniprinter management is contained in 6.3.1.1.

The miniprinter is connected to the internal COM2 of DAT400 CPU.

In order to use the miniprinter, the COM2 of DAT400 CPU must be programmed asfollows: 9600, N, 8, 1, XON/XOFF software handshake. That COM2 programming is

Page 21: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 21/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

managed directly by OS154 functions. Refer to DAT400-PrinterProgrammingVs11.pdffor details.As COM2 internal port is switched between the miniprinter and the integrated bar codelaser scanner, when the miniprinter is in use, the integrated bar code laser scanner cannot be used and vice versa.OS154 C library contains all the routines to manage the miniprinter. Refer to DAT400-PrinterProgrammingVs11.pdf for details.

2.2.3.1 Paper and inked ribbon

Use only the fan-fold multi-copy paper with the following characteristics:

FIG. 8 Fanfold paper characteristics

Page 22: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 22/96 4P MOBILE DAViale Regione Veneto 26 - 35127

TEL +39 049 8069.811 - FAXE-mail: [email protected] - Web: w

The impact printer requires an inked ribbon cartridge. The ribbon is continuously re-circulated by the printer motor while printing.

2.2.3.2 How to load the paper

In order to load miniprinter paper, it is required to have an application program alreadyinstalled into the DAT400 with a charged battery pack in place.All application programs provide two basic functions to load the paper:• the System Menu option to load the paper anytime• a pop-up function that appears when paper ends while printing

As the procedure is the same as an example in the following you will find how to usethe System Menu function.

• Switch ON the DAT400, select “System” option and than “paper load” (usually allapplication programs have a System Menu option, but you may also find it with adifferent name)

• Remove the printer cover and insert the fan-fold paper stack in the DAT400 paperhousing (FIG. 9 Insertion of fanfold paper stack) paying attention that the black markon the right edge of the first sheet of the paper stack is upward.To correctly open the cover you have to use two hands to pull the two little lockinghooks on the bottom of the printer cover. By using one hand only is quite likely thatyou push the hooks instead, so the cover can not open.

FIG. 9 Insertion of fanfold paper stack

Insert the first sheet in the printer paper feed hole (FIG. 10 Fixing thethe printer friction) and hit up-arrow on the keyboard as requested by

Printer coverlocking hooks

TA PROCESSING PADOVA - ITALY +39 049 8069.843ww.4p-online.com

paper edge intodisplay message.

Page 23: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 23/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Each time you press up arrow the paper is fed a little bit. Hit up-arrow once only just tofix the paper into the printer friction.

FIG. 10 Fixing the paper edge into the printer friction

Push the paper stack down in its housing paying attention that also the first sheet isinserted in the housing so that the paper is well laid down on its track.

FIG. 11 Pushing the paper stack and first sheet inside the printer housing

Page 24: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 24/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Close the printer cover (FIG. 12 Closing the printer cover) and hit ENT/YES asrequested by the display message to autoalign the paper.Please note that to correctly close the cover you have to engage first the two small pinson the top into their correspondent holes on the DAT400 (keeping the cover almostvertical) and then you have to rotate the cover down until you feel the click of thelocking hooks.

Warning: By pressing the printer cover without having engaged the pins you riskdamage to the pins which may result in the replacement of the complete printer cover.

FIG. 12 Closing the printer cover

2.2.4 Input/output and power connectors

DAT400 is equipped with two external connectors:

• 1 subminiature “D-type” female connector (DB9F) for cable connections• 1 slide connector for docking stations

Page 25: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 25/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2.4.1 DB9F subminiature “D-type” female connector

The DB9F connector is at the bottom side of DAT400 (see FIG. 1 DAT400 basicconfiguration). It is not a standard RS232 connector but it is a multifunction one thatfeatures:

• COM1 serial interface (4 EIA RS232 communication signals only: TX, RX, RTS,CTS) supporting communication speed up to 115,200 bit per second (Baud);

• 1 software switchable regulated power supply for external devices;• 1 digital input for open collector devices;• 2 signals to manage Removable Battery Pack charging (battery charge input and

battery temperature sensor output);• 1 special input pin allowing the DAT400 to be turned on by an external device;• Ground signal.

Refer to 6.2.1 COM 1 connector pin-out for complete technical characteristics.

The DB9F connector allows the DAT400 to be connected to:

• Host Computer ! Locally, with RS232 serial interface! Remotely, through a dial-up external

modem• Other peripherals with a RS232

interface and/or a digital outputalso requiring an external powersupply (5V @ 150 mA max)

! I.E.: External RS232/RS485 converter,External Printer, GPS (GlobalPositioning System), ElectronicInstrumentation

• DAT400 accessories such as ! PSC401-L400 wall cube battery charger

Refer to 4 COMMUNICATIONS for more details.

2.2.4.2 Slide connector

The slide connector is at the bottom of the rear side of DAT400 (see DAT400).It is a multifunction connector featuring:

• COM1 serial interface (only 2 EIA RS232 communication signals TX, RX)supporting communication speed up to 115,200 baud;

• Removable Battery Pack charging interface (battery charging input and temperaturesensor output);

• One bi-directional pin working:• as an input: to allow an external device to turn on the DAT400 (i.e. the P153/6-

4 Rack)• as an output signal to be used as an open collector output (internally connected

to the COM1 RTS)

Page 26: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 26/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Refer to 6.2.2 COM1 Slide Connector for complete technical characteristics.

Warning:Do not short circuit the contacts on the slide connectors: this may cause internal faults.Do not clean the slide contacts with metallic brushes: this may cause short circuits andinternal faults. Use a soft wet tissue.

The Slide connector allows the DAT400 to be used with the following docking stationsand cradles.

• P153/6 rack Rack for communication and battery charge of up to 6DAT400.Several Racks may be easily daisy chain cascaded andconnected to a single RS232 Host Computer interface to set-up a multiposition docking station for unattendedcommunications and battery charging.

• P164-VE Vehicle cradle for DAT400.It offers a safe parking place on the vehicle for the DAT400allowing at the same time to re-charge its battery and tocommunicate with other RS232 vehicle devices like theOrion® GPS+GSM (Global Positioning System with GSMdata and voice communication) or a land/satellite wirelessmodem.

• P164-DT DAT400 Desktop cradle for communication and batterycharge.It charges the DAT400’s battery and allows communicationwith a host computer via the RS232 serial interface or anexternal dial up modem.It may be used as a single docking station or for fixeddesktop operation of the DAT400.Each unit requires an independent RS232 Host Computerinterface

• P160 cradle Desktop cradle for communication and battery chargefor one DAT400 and one spare battery.It charges the DAT400’s battery and a spare battery at thesame time. Communication with a host computer areperformed via the RS232 serial interface,Each unit requires an independent RS232 Host Computerinterface

Page 27: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 27/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.2.4.3 DAT400 RS485 and RS422 interface

An external RS485 (or RS422) interface adapter is available on request for multidrop,long distance communications.

2.2.5 Buzzer

Looking at the back of the DAT400 on the top right side, there is a small grid windowfor the buzzer (see FIG. 1).By means of OS154 relevant functions you may activate it and change the beepduration.

See 6.1 for technical specifications.

2.2.6 Backup Battery

Internal backup battery guarantees the SRAM (Static RAM) data retention and the RTC(Real Time Clock) uninterrupted operation when:- battery pack is discharged- battery pack it is not plugged into DAT400- DAT400 power is OFF.

The characteristics of the internal backup battery are the following:

Type : Lithium batteryVoltage : 3.6 VCapacity : 850 mAh

The backup battery in not rechargeable (primary battery).

The backup battery discharge time is about 6.5 years at 25°C ambient temperature andabout 4.9 years at 50°C.

DAT400 keeps SRAM data (both operating memory and mass storage) and RTCoperation until backup battery voltage is greater than 2V.When backup battery voltage is lower that 2V (discharged backup battery), SRAM dataand RTC information may be lost.

The OS154 operating system functions allow to measure the back-up battery voltage, sothat some warning message may be issued to advise that the DAT400 needs back-upbattery replacement.

Page 28: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 28/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Warning: For data safety reason, it is recommended to send the DAT400 to anauthorized service center for Lithium back-up battery replacement, within 5 years ofyour DAT400 purchase date or when the battery voltage is lower than 3.3 V.

Page 29: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 29/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.3 DAT400 optional built-in peripherals

2.3.1 Laser bar code scanner

DAT400 may have a built-in laser scanner to read all the commercial and industrialmono-dimensional bar codes (for bi-dimensional bar codes please contact your 4P’sdealer or 4P directly)A suitable scanning beam inclination and the center handgrip of the 18 key DAT400version with its lateral strap, offer a very comfortable way of working for intensivebarcode scanning application. All the most common keys like Scan, Up, Down, Enterare hit with the thumb allowing a very convenient, single hand operation.

FIG. 13 DAT400 bar code laser scanner

2.3.1.1 General characteristics

The detailed bar code laser scanner characteristics are detailed in 6.3.

Laser beam

35°

FIG. 14 Laser Beam Vertical Angle

Page 30: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 30/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

FIG. 15 Decode zone (depth of field versus bar code density)

2.3.1.2 Decoded Bar Code Standards

• UPC/EAN,• Code 39• Code 93• Interleaved 2 of 5• Discrete 2 of 5• USS-128• Codabar• MSI• UCC/EAN 128• ISBT-128• TriOptic Code 39

The decoded bar code standards and some bar code laser scanner functions, detailed inthe following, may be selected/activated by the application program.

Page 31: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 31/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

PARAMETERS DESCRIPTION

Security This parameter selects UPC/EAN decode security zone and levelType This byte enables or disables decoding various bar code types. The

barcode controller autodiscriminates among several enabled bar codetypes.

Option A When code ID option is selected, the decoder appends a bar code typeidentification byte to the decoded data.

Option B The UPC/EAN supplemental auto-d option selects whether toautodiscriminate between UPC/EAN symbols with or withoutsupplemental.When this option is enabled, the setting of bits one and two of theprevious parameter (Decode 2 and 5 Digit Supplemental) is ignored.

Interleaved length 1 Code Interleaved 2 of 5 can be read if the length has been specified inthis parameters or in the following.

Interleaved length 2 Refer to Interleaved length 1 parameter.Preamble The decoder will append any ASCII code set here to the beginning of a

decoded message(*), provided that it is not the number 0x80.Postamble1 This is one of the postamble bytes that the decoder will append to the

end of a decoded message(*).Postamble2 This is the second postamble byte that the decoder will append to the

end of a decoded message (*).

*) A message is the character string returned by the bar code laser scanner.

Refer to DAT400-LaserProgramming-Vs10.doc for more details.

Warning : It is strongly recommended to always use barcodes with check digit andto enable the “check digit” verify option of the DAT400 bar code scanner. This preventsany decoding errors that could occur for wrong scans due to damaged or poorly printedbar codes, difficult light conditions, etc.

2.3.1.3 Laser scanner safety regulations

DAT400 bar code laser scanner is CDRH Class II certified, equivalent to EN 60825-1(Safety of laser products – Part 1: Equipment classification, requirements and user’sguide) Class II.Bar code laser scanner with Class I certification is also available. If your applicationrequires Class I certification, please contact 4P.

2.3.1.4 Software Information

This integrated bar code laser scanner is internally connected to the COM2 (FIG. 4) ofDAT400 CPU.

Page 32: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 32/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

In order to use the bar code laser scanner, the COM2 of DAT400 CPU must beprogrammed as follows: 9600, E, 7, 1. That COM2 programming is directly managed byOS154 functions. Refer to DAT400-LaserProgramming-Vs10.doc for details.As COM2 internal port is switched between either the integrated bar code laser scanneror the built-in miniprinter, when the integrated bar code laser scanner is in use, theminiprinter can not be used and vice versa.OS154 C library contains the routines to manage the bar code laser scanner (refer toDAT400-LaserProgramming-Vs10.doc).

2.3.2 Magnetic Stripe Reader

DAT400 magnetic stripe reader allows the DAT400 to read any magnetic ISO compliantcards, like the credit cards. DAT400 can not write magnetic cards.The magnetic card can be swiped in both directions, as shown in FIG. 16 DAT400Magnetic Stripe Reader.

FIG. 16 DAT400 Magnetic Stripe Reader

The data are recorded on the magnetic stripe into three tracks as follows:

Track 1 IATA developed by International Air Transportation Association (IATA),contains alphanumerical information for automation of airlineticketing or other transactions where a reservation data base isaccessed.

Track 2 ABA developed by the American Bankers association (ABA), containsnumeric information for automation of financial transactions. Thistrack of information is also used by most systems that require anidentification number and a minimum of other control information.

Track 3 THRIFT developed by Thrift Industry, contains information, some of whichis intended to be updated (re-recorded) with each transaction (e.g.,Cash Dispenser that operate “off-line”).

Page 33: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 33/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

The related reference standards are:

ISO 7810 Physical CharacteristicsISO 7811-1 EmbossingISO 7811-2 Magnetic StripeISO 7811-3 Location of Embossed CharactersISO 7811-4 Location of Tracks 1 and 2ISO 7811-5 Location of Track 3ISO 7813 Financial Transaction Cards

For full official specifications contact:

AMERICAN NATIONAL STANDARDS INSTITUTE(www.ansi.org)

Tracks have different physical positions, recording density (bits per inch), characterconfiguration (number of bits per character, including Parity Bit) and informationcontent (type of characters, that is numeric/alphanumeric, and number of characters pertrack), as summarized in the following:

FIG. 17 ISO 7810 Magnetic card characteristics

According to the above standards, DAT400 can only read stripes encode with F/2Fmodulation. If other encoding modulations are used, please contact 4P technical support.DAT400 is able to decode also the F/2F cards that have a gap; a gap is a non-magnetized zone in the middle of the track. The decoding software recognizes this kindof cards providing there is a minimum number of ‘0’ bits just after the gap (at least 15‘0’ bits).

DAT400 magnetic stripe reader can be supplied in two options:

Option 1 Track 1 and 2 magnetic readerOption 2 Track 2 and 3 magnetic reader

Page 34: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 34/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

DAT400 can read both low energy (300 oersted) and high energy (3600 oersted) tracks.

DAT400 Magnetic Stripe Reader consists of the magnetic head and of the internalrelated circuitry, which is directly connected with the CPU of DAT400 and allows theDAT400 to read the information from a credit card or other magnetic badges.The OS154 C-language library contains the functions to manage Magnetic StripeReader, that is reading the bit recorded in the tracks and decoding those bits, accordingto the above ISO standards. This mode is named DECODED MODE.Additionally, DAT400 Magnetic Stripe Reader can also read cards recorded with aencrypted bit sequence. In that case, DAT400 reads the raw bit sequence and the userapplication program has to decode it. This mode is named UNDECODED MODE.

Using OS154 C-language library functions, magnetic stripe reader can emulate thekeyboard and bar code laser scanner input.Refer also to

• Dat400ProgrammerGuide.doc• DAT400-MagneticCardReaderProgramming-Vs10.doc

for details.

2.3.3 Contactless Mifare® interface (ISO 144443 type A)

DAT400 can be equipped with an optional 13.56 MHz contactless smart card interfaceto read and write MIFARE® smart cards, especially tailored to meet the requirements ofa payment card which can be used for multi-application ticketing systems in publictransport and comparable applications. MIFARE® smart card key benefits are highsecurity level against fraud, reliability, fast access and cost effectiveness.

Mifare® interface is located on the back of the DAT400 close to the buzzer grid.

2.3.3.1 Features of the DAT400 MIFARE® optional interface.

Operating frequency 13.56MHzAnti-collision the ability to access in the field more than one card at the same

timeOperating distance up to 5mm (typical)Communication Half duplexData integrity with anti-collision

16 bit CRC per block16 bit parity per block (one per byte)bit count checking

Multi-card-operationsupported

• anti-collision: allows the handling of more than one card inthe field at the same time;

• inhibits accidental read or write and data corruption due to

Page 35: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 35/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

more than one card in the field• dynamic read + write: during communication with one card

other cards may enter or leave the RF field.• fast anti-collision protocol: an increase of only 1.0ms of the

total transaction time for each additional card.Security • mutual three pass authentication (ISO/IEC DIS9798-2)

• data encryption on RF channel• individual key set per sector (per application) to support

multi-application with key hierarchy• unique card serial number• transport key

Multi-application memory • 1024 byte EEPROM memory, no battery• organized in securely separated 16 Sectors supporting multi-

application use• each sector consists of 4 blocks• a block is the smallest part to be addressed and consists of 16

bytes• each block has its own secret file for a set of keys for system

using key hierarchies• access to memory zones are flexible, user definable by a

variety of access conditions• 10 years data retention o• 100,000 cycles write endurance o

Typical Transaction Times (1) Card identification, anti-collision and block selection: 81ms(2) Block read (16 bytes): 10.4ms(3) Block write (16 bytes): 42.4ms(4) Block read transaction (1) + (2): 91.4ms(5) Block write transaction (1) + (3): 123.4ms(6) Typical transaction (6 block read, 2 block write): 420.2ms

Transaction with movingcard

yes

2.3.3.2 Hardware configuration

In the current available DAT400 version, Mifare® interface is mutually exclusive withbar code laser scanner, as these options use the same internal connector. Therefore,DAT400 with Mifare® interface can not have also the built-in bar code laser scanner.

The Mifare interface is internally connected to the COM2 (FIG. 4) of DAT400 CPU. AsCOM2 internal port is switched between Mifare® interface and the Miniprinter, theycan not be used at the same time.

Page 36: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 36/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.3.3.3 Software information

The software functions to manage the Mifare interface are also available. Refer toDat400ProgrammerGuide.doc for details.

2.3.3.4 Secure transaction management

The event of a power loss in the DAT400 is one of the causes when an unfinishedtransaction may occur. It lies in the nature of contactless smart cards, that there is alwaysa certain probability of faulty or unfinished transactions. Consider the case, when thepassenger puts his/her card out of the operation field of a ticket machine just in themoment when the card internal memory is updated. The WRITE operation can not befinished and the card would contain inconsistent data unless special precautions areundertaken.The decentralized solution (in the DAT400) for that problem is:

• data must be stored twice in data blocks and backup blocks;• inconsistencies between data and backup blocks are intelligently interpreted and the

DAT400 corrects data and backup blocks by itself the next time the card is used.

DAT400 algorithm implements:

• data and backup blocks in the same sector;• the following access conditions for that sector:

" WRITE and INCREMENT with key B" READ, DECREMENT and TRANSFER with key A.

The algorithm checks consistency of current data and, in case of inconsistenciesbetween data and backup blocks, it starts with a correction of current data storage beforebeginning a new transaction.

Contact 4P technical support for more information about Mifare® and RF-IDtechnology.

2.4 Removable and Rechargeable Battery Pack

DAT400 is powered by a Removable and Rechargeable Battery Pack, either NickelCadmium (NiCd) or Nickel Metal Hydride (NiMH) type. The DAT400 Battery packsare plugged into their housing on the rear side of the DAT400 without using any tools asshown in DAT400.The fast snap-in connector allows an immediate and convenient in-field batteryreplacement, so guaranteeing a virtually unlimited DAT400 operation.

Page 37: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 37/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

The Removable and Rechargeable Battery Pack supplies power to all the DAT400 core(2.5) and the integrated peripherals.

DAT400 Removable and Rechargeable Battery Pack contains 5 Nickel Cadmium orNickel Metal Hydride cells with short circuit/over-temperature protection and batterytemperature sensor.

The Removable and Rechargeable Battery Pack service life on the DAT400 is about 20hours (if the miniprinter is not used).

2.4.1 General battery pack handling precautions

Danger: To avoid severe personal injures you must neverdismount, crash or perforate a battery pack, dispose it in a fireor expose it to high temperature.

Danger: the cell electrolyte is a strong alkaline solution and itwill attack the skin or clothes in case of leakage or incidentalcontact. Should the electrolyte contact the skin or clothes, washit off with water. Should the electrolyte get into the eyes, wash itoff with plenty of water, and contact the closest emergencyrescue center.

Warning: An improper battery disposal may cause seriousenvironmental hazards for which you may be prosecuted.Exhausted battery packs must be carefully disposed according toyour country’s regulations. Please contact your local wastemanagement authority.

The following general battery pack information and handling suggestion must beobserved:

• always charge a brand new battery prior its first operation

• do not short circuit the battery pack leads;

• use the battery pack only to power the DAT400;

• recharge them only with specified battery charger (refer to 2.4.2);

• battery packs are subject to self discharge even if not in use. As the self dischargerate depends on temperature, please store them in a dry environment between 10° Cand 30°C (50°F to 86°F). The typical self-discharge rate is 1% per day at 20°C(68°F);

• battery capacity may decrease at low temperatures, but it will then recover to thenormal value when temperature returns to 20°C (68°F);

Page 38: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 38/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

• when storing the DAT400, please care that the DAT400 ON button is not keptpressed to avoid main battery potential discharge;

• if you will not use the DAT400 for a long time, please remove the battery pack andstore it separately;

• for long-term storage, keep the battery in a dry regular ambient temperature location(10°C to +30°C), where no corrosive gas is present;

• performance deterioration or even leakage could occur if a battery pack is stored fora long time outside its storage temperature range (-20°C to +35°C) or where thetemperature quickly and often fluctuates between extreme temperatures;

• batteries which have been kept stored for a long time shall be completely re-chargedbefore usage;

• the battery available capacity might be lower after a long storage or when brandnew, but it will recover to the nominal level after some charge/discharge cycles;

• dust, grease and moisture on the battery contacts may reduce its power efficiency.Please clean the contacts with a soft moisten tissue (not too wet);

2.4.2 Battery Pack charging procedure

The following table lists the different available chargers, with their typical rechargingtime, connector and recharging procedure.

DANGERNever use the PSC401-L400 wall cube charger

to charge NiMH batteries as there is no“end of charge” detection feature.

Using it may cause irreversible battery damage with riskof electrolyte leakage and battery explosion that may

injure people and damage properties.

MODEL CONNECTOR PROCEDURE RECHARGING TIME

PSC401-L400230 Vac or110 Vac Mainswall cubecharger

DB9MPlug PSC401-L400 intoCOM1 DB9F connector anda mains outlet. A green LEDon signals the correctinsertion.

850 mAh NiCd1000 mAh NiCdany NiMH

13 hours15 hoursdo not use

P153/6– 4MultipositionRack for 6DAT400

Slide connector Insert the whole DAT400into any of the 6 P153/6-4pods

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

3 hours3.5 hours4.5 hours6.0 hours

Page 39: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 39/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

MODEL CONNECTOR PROCEDURE RECHARGING TIME

P139/6 – 4Multiple smartcharger for 6battery packs

Slide connector Insert the battery pack aloneinto any of the 6 P139/6-4pods.

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

3 hours3.5 hours4.5 hours6.0 hours

P151/4Stand alonesmart batterycharger

Slide connector Insert the battery pack intothe P151/4 housing.

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

3 hours3.5 hours4.5 hours6.0 hours

P160Desk top cradlefor 1 DAT400and 1 sparebattery.

Slide connector Insert the DAT400 with itsbattery into the P160 podand a second spare batteryinto the battery pod.Both batteries are charged atthe same time.

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

2.6 hours2.6 hours3.7 hours5.0 hours

P164-DTDesktop cradlefor 1 DAT400

Slide connector Insert the DAT400 into theP164-DT.

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

1.4 hours1.6 hours1.9 hours2.5 hours

P164-VEVehicle Cradlefor 1 DAT400

Slide connector Insert the DAT400 into theP164-VE

850 mAh NiCd1000 mAh NiCd1200 mAh NiMH1600 mAh NiMH

1.4 hours1.6 hours1.9 hours2.5 hours

2.4.3 Battery Pack Self Discharge

Both NiMH and NiCd rechargeable battery packs are subject to self-discharge. Thehigher the temperature, the higher the discharge rate.

To be conservative you should consider the following typical self-discharge rates:• 1% per day at 20°C• 2% per day at 45°C.

As an example after a month storage at 20°C, the expected residual stored energy willbe approximately 70% of the initial one; and after a month storage at 45°C, the residualexpected stored energy will be approximately 40% of the initial one.

Warning: Rechargeable Battery packs stored for morethan six months without recharging might irreversiblyloose their original capacity.

After a long storage battery packs should be completely charged before usage.It may need some full charge/discharge cycles to restore the original capacity, but this isnot guaranteed, as the battery pack inactivation process may have occurred if the storageperiod has been too long.

Page 40: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 40/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Suggestion: do not to store battery packs for periodslonger than 3 months.

2.4.4 Battery Pack Life Cycle.

Battery pack life cycle is defined as the number of allowed charge/discharge cycles, atspecified charge/discharge conditions, before reaching a final minimum thresholdbattery capacity. It strongly depends on the battery pack usage (charge/dischargeconditions). This is also called as battery aging effect.

There is no guarantee about the minimum life cycle of a battery pack.

As a reference let us compare the IEC laboratory standard life cycle versus the real in-field application.

In the following tables, all the current values refer to the battery pack capacity.The C value is equal to the battery capacity (mAh)/hours. Therefore, if the battery packcapacity is 1000mAh, 0.1C means 100mA current.

Standard IEC conditions are:

ITEM CONDITION

ambient temperature constant 25°Ccharge 100% at low constant current (0.1C) – long duration (16

hours);discharge 100% at low constant current (0.1C);final minimumthreshold capacity

60% of the nominal one

If IEC conditions are applicable, the DAT400 rechargeable battery pack minimum lifeis 500 cycles.

Actual in-field conditions are very different:

ITEM CONDITION

ambient temperature variable (typically 0 to 40°C)charge often less than 100%, at high current (up to 0.3C) – short

duration (< 4 hours);discharge almost never complete, at high current with very high peaks

due to the printer;minimum customer’sdesired capacity

80% initial

In-field applications show that typical battery pack life is greater than 200 cycles.

Page 41: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 41/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

This implies that for most applications requiring 8 hours autonomy with a single batteryavailable, the battery pack should be conservatively replaced every year for maximumDAT400 performance.

To extend the battery pack life cycle you should use the P164 vehicle charger or thecigar lighter charger when the operator works with a vehicle.

Warning: Rechargeable Battery packs warranty does notinclude:• the aging effect that reduces battery capacity

according to number of charge/discharge cycles• any faults due to the use of chargers not supplied by

4P

2.4.5 Memory Effect

The Nickel Cadmium (NiCd) battery packs might be affected by "Memory Effect".It consists in an apparent service life reduction after many uncompletedcharge/discharge cycles.As an example, let us consider the situation where you discharge battery to 60% of itsnominal capacity and then recharge it to 100% of the capacity for many times. You maysee that the battery capacity is reduced to 60% of its nominal value (it “memorized“ therepeated discharge level).This effect is partially reversible so that the original capacity can be recovered applyingsome complete charge/discharge cycles with deep discharges.

Charging batteries packs by means of P153/6-4, P160, P164-DT, P164-VE and P151/4chargers avoid memory effect.

SuggestionTo reduce Memory Effect when using PSC401-L400 wallcube charger, recharge batteries only when they are fully

discharged and do not keep the battery chargercontinuously connected while operating the DAT400.

Nickel Metal Hydride (NiMH) battery packs are not affected by the memory effect.

Page 42: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 42/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.4.6 Power Management.

The DAT400 hardware and the OS154 operating system offer the following powermanagement features, in order to save battery energy:

Autopoweroff: if a key is not pressed until a certain timeout expires, the DAT400turns off automatically.The timeout period can be set by either the application program orby the Set Up program. The application program can enable ordisable the autopoweroff using the OS154 functions.

Idle-mode: the idle mode is a low power consumption status of DAT400. Whenthe application program is waiting for a key, the DAT400 enters theidle mode, so reducing power consumption.

Backlightautopoweroff:

the LCD backlight is one of the main causes of power consumption.So, if the backlight is on and no key is pressed until a certaintimeout expires, the DAT400 backlight turns off automatically.When a key is pressed, the backlight turns on again.The same applies for the keyboard optional backlight if present.

2.4.7 Main Battery Status Monitoring

It is very important for an application program to identify whether the battery pack isfully charged or almost flat. When the battery pack is going to be fully discharged, theapplication program should warn the user to immediately recharge or to replace thebattery pack. This will prevent wrong operations such as bad printouts and unexpectedshut down.

Battery pack voltage is continually measured by DAT400 and, if it is lower than 5.5Vthreshold, the “battery low” status is signaled.Battery low condition is detected and managed by OS154 operating system to providean acoustic alarm (by default three short beeps) or any other message defined by theapplication programs.

The related OS154 function also returns the battery pack voltage, which should be usedto decide whether to start a print out or not.

Suggestion:If the battery pack voltage is lower than 6.0V, do not print

as it implies a peak current drain from the battery packthat may shut down the DAT400.

All the other DAT400 operations, including laser scanning, can be still performed evenif the battery pack voltage is in the range 5.8V to 6.0V.

Page 43: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 43/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5 DAT400 CORE

This chapter deals with DAT400 core features, including:

• CPU;• Operating memory;• Mass storage memory;• Real Time Clock calendar;• Analog to Digital Converter.

The DAT400 internal structure is shown in FIG. 4 DAT400 internal architecture: basicunit, optional integrated peripherals and battery pack.

2.5.1 CPU

The heart of DAT400 is a high-performance CMOS Z80 8-bit 4MHz clock processorincluding (FIG. 18 CPU Block Diagram):

• 4 Counter Timer Circuits (CTC)

• 2 Serial I/O Ports (SIO)

• 2 Parallel I/O Ports (PIO)

• 1 Clock Generator Controller (CGC)

• 1 Watchdog Timer

• Power management circuits

Page 44: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 44/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

FIG. 18 CPU Block Diagram

2.5.1.1 Counter Timer Circuit

The Counter Timer Circuit has 4 independent 8-bit sections operating in either counteror timer mode

CTC sections configuration is represented in the following table:

CTC SECTIONS NAME CONFIGURATION

Section 0 CTC0 COM 2 cascaded baud rate generatorSection 1 CTC1 COM 1 cascaded baud rate generatorSection 2 CTC2 System clock (OS154 tick routine)Section 3 CTC3 Spare for user application

TABLE 1 CTC section configuration

Sections 2 and 3 are hard wired to the RTC interrupt output pin (refer to 2.5.4 RealTime Clock-Calendar).

Page 45: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 45/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

OS154 library contains the functions to manage CTC operation.

2.5.1.2 Serial Input Output

The DAT400 CPU handles two independent and programmable full-duplexasynchronous serial ports (SIOA and SIOB). These ports are I/O mapped.

The SIOA port is connected to the communication interface COM1 present on DB9F(2.2.4.1) and slide connector 2.2.4.2.

2.5.1.2.1 COM1 Serial Interface

The following communication parameters are user configurable:

• Baud rate : 600 1,200 2,400 4,800 9,600 19,200 115,200

• Parity bit: None Even Odd

• Stop bit: 12

• Bits per character: 6 7 8

Two basic kinds of data communication modes are software selectable, via the relatedOS154 functions:

• Polled mode: communication program is directly managed by application program.• Interrupt mode: communications are interrupt driven.

When interrupt mode is selected via OS154 functions, the communication program mustselect if the XON/XOFF software handshaking is to be enabled.If either XON/XOFF handshaking is disabled or the polling mode is selected, thecommunication program can implement a RTS/CTS hardware handshaking, using therelated OS154 functions.

Page 46: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 46/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5.1.2.1.1 Hardware handshaking

Hardware handshaking is controlled by two RS232 signals Clear To Send (CTS) andRequest To Send (RTS).CTS and RTS are two signals controlled by the processor during serial communicationto synchronize it with the external device.

• CTS senses external device readiness (Clear to Send).• RTS signals to external device a Request to Send.

FIG. 19 details wire connections for RTS/CTS handshaking between a DAT400 and aPersonal Computer.

RS232(9D)

RS232

FIG. 19 RTS/CTS handshaking wire connections

2.5.1.2.1.2 XON/XOFF handshaking

This type of flow control synchronization is especially useful when passing databetween the DAT400 and a host computer or a peripheral device does not have CTS andRTS signals.

• Receiver: as the DAT400 receives characters on serial port, they are buffered untilthey can be processed. When the buffer becomes full, the DAT400 generates theXOFF character <DC3> (Decimal ASCII control character 019 = hexadecimal 13) tosignal to the host or peripheral to stop transmitting. As soon as the characters in thebuffer are processed and the buffer becomes empty, the DAT400 will transmit asequence of XON characters <DC1> (Decimal ASCII control character 017 =hexadecimal 11) to signal to the device to go on with transmission.

Page 47: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 47/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

OS154 receive buffer can hold a maximum of 256 characters.XOFF is generated at 75% of buffer full.XON is generated at 10% of buffer empty.

• Transmitter: the DAT400 will respond to XON/XOFF character generated byanother device. When the XOFF character is received on serial port, the DAT400pauses transmission. Transmission restarts when XON character has been received.

That connection is detailed in FIG. 20 Wire connection for XON/XOFF handshaking.

RS232

(9D)

RS232

FIG. 20 Wire connection for XON/XOFF handshaking

2.5.1.2.2 Internal Serial Interface (SIOB)

The SIOB Serial Interface (COM2) is internally connected to both the miniprinter andthe bar code laser scanner (see FIG. 4). In alternative to the bar code laser scanner, theMifare® interface can be present: therefore, all the following considerations areapplicable to either the bar code laser scanner or the Mifare® contactless interface.Due to the internal switching connection, the bar code laser scanner and the miniprintercan not be used together at the same time, but, when one is in use the other must be off.

When the application program needs to print, it must:

• initialize the SIOB with the following parameters: 9600, N, 8, 1;• turn the miniprinter on;• turn the bar code laser scanner off;• initialize the miniprinter.

Page 48: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 48/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

At the end of the print out, the application should turn the printer off to reducethe power consumption.

If the application program needs to scan a bar code, it must:

• initialize the SIOB with the following parameter: 9600, E, 7, 1;• turn the bar code laser scanner on;• turn the miniprinter off;• initialize the bar code laser scanner.

At the end of the scanning session, the application should turn bar code laser scanner offto reduce the power consumption.

All the above operations for the bar code laser scanner and the miniprinter are managedby the related OS154 library functions.

2.5.1.3 Clock Generator Controller (CGC)

The CGC allows the CPU clock generation in the various DAT400 power managementmodes. Usually, DAT400 is in the RUN mode, that is a normal power consumptionmode. In RUN mode, CGC generates the 4MHz clock frequency for the CPU and otherintegrated peripherals. In addition to that, CGC is used by the OS154 in order to stop theclock operation when not needed (IDLE mode), reducing the DAT400 powerconsumption. Therefore, IDLE mode is a low-power consumption mode. IDLE mode isautomatically entered when DAT400 is waiting for the user pressing a key.Even if it is not suggested, the application program can disable entering low-powerconsumption mode (IDLE mode), using the related OS154 functions.

2.5.1.4 Parallel I/O Ports

The two parallel I/O ports are internally connected and are not available for the userapplication program.

2.5.1.5 Watch Dog Timer

The Watch Dog Timer (WDT) detects an operation error caused by Hardware failures orsevere application programs bugs to avoid uncontrolled CPU activity. The Watch Dogassertion forces a hardware RESET of all circuitry.

OS154 offers functions to:

• Enable Watch Dog timer• Disable Watch Dog timer

Page 49: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 49/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

The WDT could be disabled during the program development to easy softwaredebugging.

2.5.1.6 Interrupts

The CPU is capable of managing the interrupts generated by the following devices:

• PIO• SIO• CTC• RTC

Dedicated OS154 functions serve the interrupt signal to handle keyboard scanning,serial link communications, OS154 basic timings, WDT and integrated peripheralmanagement.

2.5.2 Internal operating memory

Programs run in the main (operating) memory of DAT400. DAT400 main memory mayrange from a minimum of 64kB to a maximum of 544kB.

2.5.2.1 Memory models

This section describes the software memory models implemented in DAT400, usingICC (IAR C-language Compiler) Vs. 3.10. The next section 2.5.2.2 Hardware optionswill detail the related hardware configurations.

After the application program modules (C-language modules and Assembly-languagemodules) are compiled and linked, the linker also locates the object modules into theDAT400 operating memory. ICC has two operating memory models:

MEMORY

MODEL

COMPILING

OPTION

DESCRIPTION

Large -ml (DEFAULT) In the large memory model, logical and physicalmemories have the same dimension (64kB). That areais referred as a linear addressed area.Large memory model is often also referred as “non-banked” memory model.When large memory model is used, the total amountof memory used by OS154 and the applicationprogram must be less than 64kB.The user application modules (both C-language andAssembly-language modules) must be compiled withthe –ml switch and the object modules must be linked

Page 50: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 50/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

using the non-banked OS154 libraries (refer toDat400ProgrammerGuide.doc for details).

Banked -mb In the banked memory model, the physical addressingarea is larger than the logical one (64kB). In fact, a16kB logical bank (located at the address 8000H-BFFFH) can be multiplied in a number of 16kBphysical banks. The actual number of addressablebanks depends on the available hardware option(2.5.2.2). If 160kB option is selected, 7 banks areavailable; if 544kB option is selected, 31 banks areavailable.Therefore, when banked memory model is used, thetotal amount of memory used by OS154 andapplication program can be larger than 64kB; up to160kB or 544kB can be used, respectively. However,some restrictions apply (refer to 2.5.2.3 Bankedmemory model restrictions). Note that, when bankedmemory model is used, not all application program islocated in the banks, but some special applicationprogram sections (such as libraries and main(.)function) are located outside the banks, in a memorynamed “non-banked area”.

Refer to C Cross-Compiler Appendix for Z80 Microprocessor Family for details,chapter 1.4 “Memory Models”.

2.5.2.2 Hardware options

DAT400 operating memory consists of two parts:

Flash EPROM 32kB sizeSRAM (Static Random Access Memory) ranging from 32kB to 512kB size

The Flash EPROM is a non-volatile memory and so its contents do not depend on thebackup battery voltage.

The Flash EPROM contains:

• OS154 operating system;• parts of the application program code.

No application program read/write variable must be located in that area. Otherwise,when the application program accesses that variable in a write-cycle, it will crash andDAT400 will reset. Application program may also be corrupted and it may require to be

Page 51: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 51/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

reloaded. Read-write variables must be located in SRAM area. Instead, read-onlyvariables can be located in the Flash-EPROM.

The SRAM is a volatile memory and so its contents saving depend on the backupbattery voltage. Refer to 2.2.6 Backup Battery for details.

The SRAM contains:

• parts of the application program;• OS154 operating system data;• application program data.

There are 3 hardware options:

OPTION FLASH EPROM SRAM Status1 32kB 32kB Obsolete2 32kB 128kB Available3 32kB 512kB Available (*)

*) Recommended option for new projects.

2.5.2.2.1 32kB Flash-EPROM and 32kB SRAM Option

In this configuration, the memory map is the following:

FIG. 21 32kB Flash-EPROM and 32kB SRAM Option Memory Map

64kB

32 kB

0 kB

OS DATA

OS CODE

APCODE

andDATA

Logical memory map

3000H

F000HAP UDATA

FA00H

0000H

FFFFH

Physical memory map

SRAM

Flash-EPROM

64kB

32 kB

0 kB

Page 52: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 52/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

The figure above describes how the physical memory 32kB Flash-EPROM and 32kBSRAM is logically mapped with large memory model. The 64kB area is divided intoseveral areas:

START ADDRESS END ADDRESS NAME DESCRIPTION

0000H 2FFFH OS CODE reserved for the OS154 code3000H EFFFH AP CODE

and DATAcontains the application programcode and (both initialized and un-initialized) data (stack included)

F000H F9FFH APUDATA

may contain the applicationprogram un-initialized data (stackincluded)

FA00H FFFFH OS DATA reserved for the OS154 data

Page 53: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 53/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5.2.2.2 32kB Flash-EPROM and 128kB SRAM Option

In this configuration, the memory map is the following.

FIG. 22 32kB Flash-EPROM and 128kB SRAM Option Memory Map

The figure above describes how the physical memory 32kB Flash-EPROM and 128kBSRAM are logically mapped with banked memory model.

The 64kB logical area is divided into several areas:

16kB bankedmemory window

Logical memory map

0000H

32kB Flash-EPROM

128kB SRAM

Bank 1

Bank 7

0kB

64kB

32kB

48kB

Physical memory map

3000H

8000H

C000H

F000H

FA00H

FFFFH

OS CODE

AP NON-BANKED

CODE

APBANKED

CODE

AP DATA

AP UDATA

OS DATA

Page 54: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 54/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

START ADDRESS END ADDRESS NAME DESCRIPTION

0000H 2FFFH OS CODE reserved for the OS154 code3000H 7FFFH AP NON-

BANKEDCODE

contains the application programnon-banked code

8000H BFFFH APBANKEDCODE

contains the application programbanked code. This 16kB logicalarea is physically mapped into 7 x16kB banks (total 112kB)

C000H EFFFH AP DATA contains the application program(both initialized and un-initialized) data (stack included)

F000H F9FFH APUDATA

may contain the applicationprogram un-initialized data (stackincluded)

FA00H FFFFH OS DATA reserved for the OS154 data

Page 55: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 55/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5.2.2.3 32kB Flash-EPROM and 512kB SRAM Option

In this configuration, the memory map is the following.

FIG. 23 32kB Flash-EPROM and 512kB SRAM Option Memory Map

The figure above describes how the physical memory 32kB Flash-EPROM and 512kBSRAM is logically mapped with banked memory model.

The 64kB logical area is divided into several areas:

Logical memory map

16kB bankedmemory window

32kB Flash-EPROM

512kB SRAM

Bank 1

Bank 31

0kB

64kB

32kB

48kB

Physical memory map

0000H

3000H

8000H

C000H

F000H

FA00H

FFFFH

OS CODE

AP NON-BANKED

CODE

APBANKED

CODE

AP DATA

AP UDATA

OS DATA

Page 56: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 56/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

START ADDRESS END ADDRESS NAME DESCRIPTION

0000H 2FFFH OS CODE reserved for the OS154 code3000H 7FFFH AP NON-

BANKEDCODE

contains the application programnon-banked code

8000H BFFFH APBANKEDCODE

contains the application programbanked code. This 16kB logicalarea is physically mapped into 31x 16kB banks (total 496kB)

C000H EFFFH AP DATA contains the application program(both initialized and uninitialized)data (stack included)

F000H F9FFH APUDATA

may contain the applicationprogram uninitialized data (stackincluded)

FA00H FFFFH OS DATA reserved for the OS154 data

2.5.2.3 Banked memory model restrictions

Banked memory model allow using more than 64kB (when hardware is available) inDAT400 programs. But some restriction apply:

• main(.) function must be contained in the AP NON-BANKED AREA;• each object module must be less than 16kB (split your code in several modules if

required). Recall that small modules allow less memory fragmentation;• the banks can only contain code (not data);• application program read-write and initialized variables must be contained in

C000H-EFFFH area (12kB).

Usually, those restrictions are not an issue for DAT400 application program developing.

Page 57: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 57/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2.5.3 Mass Storage

The DAT400 Mass Storage is an internal memory area where application program datafiles are stored. It consists of SRAM memory backed-up by Lithium batterywith size ranging from 512kB to 4MB. It may optionally be also Flash-EPROM.

At physical level, the Mass Storage is considered as an I/O device: a byte array withaddress starting from 0 up to the maximum value depending on its size.At logical level, the Mass Storage memory is divided into data files.

Mass storage is managed using the related OS154 and file system functions (refer toFileSystemV10.doc for details).

The available mass storage memory configurations are:

CONFIGURATION SRAM FLASH-EPROM (*)

STATUS

SRAM-only options1 512kB - Available (**)

2 1024kB - Available

3 2048kB - Available

4 4096kB - Available

Flash-EPROM-only options5 - 1024kB Available (min. q.ty 100pcs.)

6 - 2048kB Available (min. q.ty 100pcs.)

7 - 4096kB Available (min. q.ty 100pcs.)

Mixed SRAM and Flash-EPROM option: contact 4P technical support foravailability

*) Available as customized product only.**) Not suggested for new applications.

2.5.4 Real Time Clock-Calendar

DAT400 is equipped with a Real Time Clock-Calendar (RTC).

User can read and set:

• Year, month, day, week day• Hour, minute, second

User application software can also set

• Wake-up capability• Programmable time interrupts

Page 58: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 58/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

using the relevant OS154 functions.

OS154 guarantees Y2K compliant functionality and leap year automatic management.Daylight saving time has to be implemented in the application program.

The wake-up function allows to automatically power-on the DAT400 at a pre-set dateand time.Programmable time interrupts can decrease an internal 8-bit counter, generating aninterrupt (refer to 2.5.1.1 Counter Timer Circuit for details).

A programmable timer interrupt can be also generated. It is hard wired to the triggerinput of the Counter Timer Control (CTC) sections 2 (CTC2) and 3 (CTC3) (refer to2.5.1.1 Counter Timer Circuit for details), decreasing the related 8-bit counter. Interruptrate can be chosen among :

• 1/64 second• second• minute• hour

Set Up chapter explains how to set the RTC.

The internal backup battery (refer to 2.2.6) backs up RTC when :

• removable battery pack is discharged.• removable battery pack is not plugged into DAT400.• during DAT400 power OFF.

2.5.5 Analog to Digital Converter

The Analog to Digital Converter (ADC) measures:

• the voltage of the internal Lithium backup battery;• the voltage of the Removable and Rechargeable Battery Pack;• the temperature of the Removable Battery Pack. That temperature, if the DAT400 is

not in charge, is approximately equal to the DAT400 and ambient temperature.

DAT400 ADC has 8-bit resolution. OS154 related functions allow ADC reading.

Page 59: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 59/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

3 SOFTWARE CONFIGURATION

The software configuration of DAT400 consists of:

• OS154 it is the DAT400 operating system, consisting of two parts:• EMBEDDED

DOWNLOADERit allows the user to download a newprograms into DAT400;

• BIOS it allows an easy management of allthe DAT400 resources;

• APPLICATIONPROGRAM

it is the user application program.

3.1 Embedded downloader

It is a DAT400 built-in program, permitting to load any other program into DAT400.There are 2 ways of loading a program into DAT400:

• via RS232 serial connection;• from a data file contained in DAT400 mass storage.

The program to be loaded must be formatted in a convenient way as described below.

3.1.1 DAT400 program downloading via RS232 serial connection

The executable code of the program to be downloaded into DAT400 must be in theMotorola format (that is named “executable and downloadable file”). At the hostcomputer side, WinLoadxx.exe (Windows operating system) and Pcloadxx.exe (Ms-DOS and Unix/Linux operating systems) programs must be used, where xx are therespective versions.

The embedded downloader receives the Motorola format strings and loads them intoDAT400 operating memory.

3.1.2 DAT400 program downloading from a data file contained in DAT400 massstorage

The executable code of the program to be downloaded into DAT400 operating memorymust be contained into a data file in DAT400 mass storage. That data file is downloadedinto operating memory via either the related OS154 function or the Set Up menu (referto 5.3.4 for details).The procedure is detailed in the document “Application program upgrade via P153/6rack”.

Page 60: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 60/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

3.1.3 Embedded downloader protection

The embedded downloader is contained in a Flash-EPROM software protected area.

Thanks to the protected area in no way it is possible to overwrite or damage this crucialpart of software by incident.It is anyway possible to unlock the protection to overwrite the embedded downloader by• following a special procedure to write the Flash-EPROM (contact 4P technical

support for details);• using either a password (to be typed by the user) or an appropriate string to be

included in the executable and downloadable file.

Refer to 5.3 Downloading an application program for details.

Warning:If the Embedded downloader is corrupted the DAT400

must be returned to the factory to restore it.

3.2 BIOS

Refer to “OS154 DAT400 Operating System, Developer’s Guide” for details.

3.3 Application programs

Application programs for DAT400 may be written in C language and developed on aPersonal Computer. Also Assembly language may be used for special functions.Anyway, the use of assembly language requires a careful and deep knowledge of theDAT400 hardware.

Many DAT400 application programs, easily customizable, are available from 4P and4P’s valuable system integrators partners. The most popular DAT400 programs regardthe following applications :

Sales and Marketing Door to door salesVan sales and route accountingIn flight duty free salesOrder entry

Services Gas, water, electricity meter readingParking fine issuingMobile fare collectionField serviceSecurity parcel dispatching (Cash In Transit)

Ask 4P technical support directly or your dealer to get more information about them.

Page 61: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 61/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

4 COMMUNICATIONS

DAT400 palm computer allows full connectivity to any device with a RS232 serialinterface in order to:

• locally transfer files from the DAT400 to the host computer and vice versa;• remotely transfer files from the DAT400 to a host computer via modem;• update the DAT400 user application program and operating system (download

procedure, refer to 3.1 Embedded download for details);• print on external printers with RS232 interface;• transfer data via RS232 to/from other external devices, such as the Orion® GPS +

GSM vehicular system.

Refer to 4.1 Communication examples, to have some examples about the hardware andsoftware details for DAT400 connectivity.

4.1 Communication examples

This section describes a number of communication examples, among the DAT400, ahost computer, the DAT400 accessories and other devices. However, otherconfigurations are possible. Please, contact 4P technical support for any special need.

Communication programs (listed in TABLE 2, case 2) together with DAT400accessories allow “unattended communications”, that is the whole file transferprocedure does not require any user activity, improving system reliability and easiness.

4.1.1 Local communications

Local communications apply when the devices are in a short range (few meters)connected without the use of any wired or wireless modem.

4.1.1.1 Local file transfer: DAT400 to Host Computer via RS232 cable.

The following figure shows the connection between DAT400 and the host computer(e.g. the user’s Personal Computer) via RS232 serial cable. The serial cable P/NJ1130/A must be connected to the PC serial port (COM1 or COM2) and to DAT400COM1.

Page 62: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 62/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

(J1130/A)

SERIAL CABLE

(COM1 OR COM2)

PC COM PORT

DAT400

FIG. 24 Local file transfer between DAT400 and the host computer via RS232 cable

This connection is used both to download a new application program into the DAT400(case 1) and to transfer data files between the DAT400 and the host computers (case 2).In order to perform communications, it is required that specific programs (detailed in thefollowing table) are running on the PC and DAT400.

CASE PURPOSE RUNNING PROGRAM

HOST COMPUTER SIDE DAT400 SIDE

1 DAT400applicationprogramdownloading

• Pcloadxx.exe (Ms-DOS)• Pcload54 (Unix/Linux)• WinLoadxx.exe (Windows)

Embedded downloader(part of OS154)

2 Data filetransfer

• Commxx.exe (Ms-DOS)• Scommxx (Unix/Linux)• WinCommxx.exe

(Windows)

User application program, using4P’s library program modules

Note: xx refers to the version of the program.

TABLE 2 Programs used in local file transfer between DAT400 and the host computer via RS232 cable

Refer to Dat400ProgrammerGuide.doc and to CommUserGuide.doc for softwaredetails.

Page 63: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 63/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

As the connection is RS232, it is advisable only if the distance between DAT400 andthe host computer is less than 15m. For longer distances, use RS485 connections (e.g.,refer to FIG. 27).

RS232 cable connection requires very simple hardware, but it is not suggested when:

• several DAT400s have to be connected to the host computer at the same time andcommunication process must be unattended (refer to FIG. 27 for the alternativeconfiguration);

• DAT400 has to be connected and disconnected very often (several times per hour)(refer to FIG. 25 and to FIG. 26 for the alternative configurations);

• battery charging is also required, because, when the RS232 cable is used, the batterycharger can not be plugged into DAT400 (refer to FIG. 25, FIG. 26 and FIG. 27 forthe alternative configurations).

4.1.1.2 Local file transfer: DAT400 to Host Computer via desktop cradles.

The following figure shows the connection between the DAT400 and the host computer(e.g. the user’s Personal Computer) via P160 desktop cradle. The serial cable (P/NJ1124/A) must be connected to the PC serial port (COM1 or COM2) and to the P160COM1. The P160 charges the DAT400 battery pack and one spare battery at the sametime; it connects the DAT400’s COM1 serial port to the P160’s COM1 one (replica).Therefore, all the considerations about local file transfer between the DAT400 and thehost computer via RS232 cable are applicable.

P160

COM1

(J1124/A)

SERIAL CABLE

PC COM PORT

(COM1 OR COM2)

FIG. 25 Local file transfer between DAT400 and the host computer via P160

The following figure shows the connection between the DAT400 and the host computer(e.g. the user’s Personal Computer) via P164-DT desktop cradle. The serial cable P/N

Page 64: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 64/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

0516404000 must be connected to the PC serial port (COM1 or COM2) and to the P164COM1. The AC adapter must be plugged into a mains outlet. The P164 charges theDAT400 battery pack and connects the DAT400’s COM1 serial port to P164’s COM1one (replica). Therefore, all the considerations about local file transfer between DAT400and the host computer via RS232 cable are applicable.

SERIAL CABLE

(0516404000)

(COM1 OR COM2)

PC COM PORT

P164-DT

BEAMLASER

FIG. 26 Local file transfer between DAT400 and the host computer via P164-DT

Note that P160 and P164-DT allow a very reliable and durable mechanical connection tothe DAT400 slide connector.

4.1.1.3 Local file transfer: many DAT400s to Host Computer via the P153/6-4 Rack.

The following figure shows the connection between the host computer and manyDAT400s via the P153/6-4 Rack. The serial cable P/N J1124/A must be connected tothe PC serial port (COM1 or COM2) and to master rack COM1. The serial cable P/NJ1124/A must be connected to the master rack RS485 serial port and to the slave rackRS485 serial port. In the same way each subsequent slave P153/6-4 will be daisy chainconnected to the next one through the RS485 serial ports

RS485RS485

RS485

J1124/A

RS485

J1124/A

COM1

SERIAL CABLE (J1124/A)

SLAVE RACKS MASTER RACK

PC COM PORT

(COM1 OR COM2)

FIG. 27 Local file transfer between the host computer and many DAT400s via P153-6

Page 65: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 65/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

The P153/6-4 Rack allows data file transfer with the same host computer programs usedin the above configurations (Commxx.exe, Scommxx, and WinCommxx.exe, where xx isthe program version). The P153/6-4 does not allow DAT400 application programdownloading using Pcloadxx or WinLoadxx. However, it is possible to update theDAT400 application program via P153/6-4 using a specific unattended procedure.

This configuration has the following benefits:

• completely unattended communication and battery charge process;• several DAT400s may be connected to one host computer RS232 port;• longer distances can be covered (only the master rack distance is required to be less

than 15m due to its RS232 connection; the slave racks distance can range up to1,200m (4000 ft) thanks to the RS485 serial port)

• P153/6-4 Racks perform smart battery charge at the same time of communications;battery efficiency data can also be gathered and stored in the host computer

• very reliable and durable mechanical connection with DAT400 slide connector.

4.1.2 Remote communications

Remote communications apply when the devices are connected with a dial-up phoneline and modems.

4.1.2.1 Remote file transfer: DAT400 to Host Computer via modem.

The following figure shows the connection between a host computer and a DAT400 viathe dial-up phone line and modems. The modem cable (P/N 0515403000) connects theDAT400 COM1 to the modem, which is also connected to the dial-up phone line. At theremote side, the host computer serial port (COM1 or COM2) is also connected to themodem, which is connected to the dial-up phone line.

Page 66: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 66/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Modem

(0515403000)MODEM CABLE

DAT400

LINE

DIAL-UP

(COM1, COM2)

Modem

PC COM PORT

FIG. 28 Remote file transfer between DAT400 and the host computer via modem and a dial-up phone line

This connection is used to transfer data files between DAT400 and the host computers,with the same host computer programs used in the above configurations (Commxx.exe,Scommxx, and WinCommxx.exe). Remote connection via modem does not allowDAT400 application program downloading using Pcloadxx or WinLoadxx. However, itis possible to update DAT400 application program using the same procedure that is alsoapplicable to rack P153/6-4.

4.1.3 Others

4.1.3.1 Using External printer with either a serial cable, or P160 or P164-DT.

The following figures show the connection between a DAT400 and a desktop printerequipped with a RS232 serial port (i.e. Epson LX300+). It is possible to use just a serialcable, or the P160 and P164 desktop cradles.

Page 67: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 67/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

SERIAL CABLE

DAT400

SERIAL PRINTER

FIG. 29 External printer connection, using RS232 serial cable

P160

COM1

SERIAL CABLE

SERIAL PRINTER

FIG. 30 External printer connection, using the P160 desktop cradle.

P164-DT

(0516408000)

SERIAL CABLE

SERIAL PRINTER LASER

BEAM

FIG. 31 External printer connection, using the P164-DT desktop cradle.

Page 68: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 68/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

4.1.3.2 Connection to Orion® GPS+GSM using the P164-VE vehicle cradle.

The following figure shows the connection between a DAT400 and the Orion® GPS bymeans of the P164-VE vehicle cradle.

DASHBOARD

POWER CABLE

P164-VE

ORION

(COM1)

SERIAL CABLE(0517401000)

CABLEPOWER

LASER

BEAM

FIG. 32 Connection to Orion® GPS+GSM using P164-VE

This configuration allows:

• data file transfer between DAT400 and the Orion® GPS+GSM;• remote data file transfer between the DAT400 and a remote Host Computer by GSM

cellular network (data file and SMS communications)• reliable and durable connection in vehicle applications (due to the use of P164-VE).

Page 69: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 69/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

5 STARTING UP AND OPERATING THE DAT400

Before operating, your DAT400 requires the following operations:

• starting up (refer to 5.1);• setting up configuration parameters (refer to 5.4);• downloading your application program (refer to 5.3);• data file transfer between the PC and the DAT400 (refer to 5.5).

The above operations are described in the following sections.

5.1 Starting Up

The following figure represents the first screen you see when turning your DAT400 on(using ON key in 18 key-type keyboard and ON/OFF key in 27 key-type keyboard).

FIG. 33 Starting up mask

You can read the major version of OS154 (e.g. V6.0, if OS154 Vs.60.200 is present)and the name of the previously loaded application program (e.g. Filename.dt6). After awhile, the application program starts and its first screen appears.In the case of either no program is present or OS154 has just been downloaded, thefollowing mask will appear:

FIG. 34 Application program download request.

4P srl ITALYDAT400

OS154 Vx.x >>Filename.dt6Date : dd/mm/yyyyHour: hh:mm

Run downloadHit any key

Page 70: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 70/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

informing that you should download the application program. When you hit any key,DAT400 will switch off.

5.2 Entering System Menu

This chapter deals with the OS154 procedure that allows to:

• download the applicationprogram;

• view and set • Date• Time• Autopoweroff timeout of DAT400• Auto-power off timeout of backlight of the

display and keyboard

Switch on the DAT400 keeping the ‘0’ key pressed: you will enter the followingSystem Menu:

OS154Vxx.yyy zzz1 = DOWNLOAD2 = SETUP3 = EXIT

FIG. 35 System Menu (selecting download and set up)

where:

xx is the major OS154 version (e.g. 60, if OS154 Vs.60.200 is present)yyy is the minor OS154 version (e.g. 200, if OS154 Vs.60.200 is present)zzz is the embedded downloader version (e.g. 063, if embedded downloader Vs.

063 is present)

Now, you can choose:

DOWNLOAD to download the application program from the PC into theDAT400.

SETUP to view and set the DAT400 system parameters (date, time,autopoweroff timeouts).

EXIT to exit Set Up, and return to the downloaded application program (ifpresent) or to the mask requiring to “Run the download”.

Page 71: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 71/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

5.3 Downloading an application program

To download an application program into the DAT400 via RS232 serial port, followthese three steps:

1. connect the DAT400 to the PC (refer to 5.3.1);2. start the download from the PC side (refer to 5.3.2);3. run the download at the DAT400 side (refer to 5.3.3).

As described in 3.1.2, an application program can also be downloaded from a data filecontained in mass storage. Refer to 5.3.4 for details.

5.3.1 Connecting DAT400 to the PC

Downloading an application program requires a PC with RS232 serial port andWindows, Unix/Linux or MS-DOS operating system. You can use both COM1 andCOM2 of your PC.

Connect your DAT400 COM1 to the PC COMx (where x=1,2) with the serial cable P/NJ1130/A, as shown in FIG. 24.

Optionally, you can use other configurations such as FIG. 25 and FIG. 26.

5.3.2 Starting the download from the PC side

Downloading an application program requires one of the related communicationprograms running on the PC side. Three communication programs are available for thePC side:

WinLoadxx.exe for Windowsbased PCs

where xx is the WinLoadversion (e.g. xx=42, forWinLoad42.exe)

refer to 5.3.2.1

Pcloadxx.exe for Ms-DOSbased PCs

where xx is the Pcloadversion (e.g. xx=60, forPcload60.exe)

refer to 5.3.2.2

Pcload54 for Unix/Linux - refer to 5.3.2.2

5.3.2.1 Using WinLoadxx

Start up

Run “WinLoadxx.exe”, (e.g. WinLoad42.exe, if you are using Vs. 4.2); after thewelcome screen. This window will appear:

Page 72: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 72/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Selecting Device

On the Device menu, select Z80.A check will indicate the current device.

Page 73: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 73/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Selecting the File to be loaded

Point the menu File then select Open... , a common “Open File” dialog box will appear:locate the file on your hard disk (or network) then press “Open”.Instead of using the dialog box you can write in the box Download File the completepath of the file (with extension).

Selecting serial port parameters

If two serial ports are present on your PC, point to menu COM then select COM1 orCOM2.Point to menu Baud Rate then select the desired baud rate. A check will indicate thecurrent baud rate.

WARNING: The higher the baud rate, the faster the load procedure; use lower baudrate only if you experience any communication errors.

Page 74: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 74/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Loading in protected area

File loading may be password-protected (refer to 3.1 for details).

To ENABLE the password protected mode point Protection menu then select SetProtection (a check will appear).

To DISABLE the password protected mode click again on Set Protection (the checkwill disappear).

Quit

Press “EXIT” button.

Page 75: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 75/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

File Loading

Set up all desired parameters as explained in the previous chapter, and then follow theseinstructions.

• Press “GO!” button, the following window will appear.• Insert password if it applies.• Start download at DAT400 side (refer to 5.3.3)

and the following mask will appear.

When downloading is finished the message “Download completed” will appear;otherwise a message error is displayed.

Page 76: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 76/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Loading in protected area

If the password-protected mode is enabled (refer to 3.1), when you press “GO!” button,this window appears:

Fill in the password and press “OK” (e-mail 4P technical support to get the password [email protected]).

DANGER

Loading a file into the protected area is a critical operation. If communication fails forany reason, the product has to be returned to 4P for factory re-programming of theinternal Flash-EPROM.

Normally you never need to download files into the protected area.

In the unlikely event that you need to do the download a file in the protected area paythe maximum attention to the following issues:

• Check that the serial connection is OK before starting the downloading procedure.• DO NOT disconnect the serial connection.• DO NOT ABORT the downloading.• Check that the battery is fully charged.• DO NOT remove battery.• DO NOT turn the DAT400 off incidentally or by purpose.

Refer to “WinLoad4.2, File Loading Utility, User Guide” for details.

Page 77: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 77/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

5.3.2.2 Using Pcloadxx (Unix/Linux, MS-DOS)

Note: all the information below apply to both Ms-DOS and Unix/Linux versions.

• Start Pcloadxx program on your PC typing:

pcloadxx <Filename> [A] [B] [C]

and then press < Enter>,

where :

xx is the Pcloadxx version.E.g.: if you want to use Pcloadxx Vs. 6.0, type 60.

Filename is the name of chosen program.E.g.: if you have to download the executable and downloadable filemydemo.dt6, type mydemo.dt6.

A is baud rate.It may be any of the following values:

1 1,200 Baud2 4,800 Baud3 9,600 Baud4 19,200 Baud5 38,400 Baud6 115,200 Baud

E.g.: if you want to perform the download at 115200 baud, type 6.B is the PC RS232 serial port where you have connected yourDAT400

(Optional parameter).

It may be one of the following values:

1 COM1 [DEFAULT]2 COM2

E.g.: if you want to perform the download using COM1 of your PC,type 1.

C this parameter is required only if you have to download in theprotected area (refer to 3.1 for details).If NOT required, it must be left blank.If required, type “PROTECTION”.

E.g.: if you want to download a new embedded downloader (which is

Page 78: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 78/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

contained in the protected area), type PROTECTION.

Examples

Example 1 if you have to download the executable and downloadable filemydemo.dt6 at 115,200baud, using COM1 of your PC and Pcload60.exe(Pcloadxx Vs 60),

type

pcload60 mydemo.dt6 6 1

and then press < Enter>.Example 2 if you have to download a new embedded downloader (file down.dt6) at

115,200baud, using COM1 of your PC and Pcload60.exe (Pcloadxx Vs60),

type

pcload60 down.dt6 6 1 PROTECTION

and then press < Enter>.

Then, you will be required to type the password.(E-mail 4P technical support to get the passwordat [email protected]).

Note At the prompt, typing

PCLOADXX.EXE

and then pressing < Enter>

the help screen will appear and the command line syntax will be shown.

5.3.3 Starting download at DAT400 side

There are 2 options to start download at DAT400 side:

• from the Set Up utility;• at DAT400 power on.

Page 79: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 79/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

5.3.3.1 Starting download from Set Up utility

From Set Up main menu (refer to FIG. 35 System Menu (selecting download and setup),

• press 1 = DOWNLOAD

and the following mask will appear

FIG. 36 Selecting download type

• press 1=CABLE

The downloader procedure will start. Please note that no mask will change on theDAT400.The PC will show the downloader progress by either the status bar (WinLoadxx) or thenumber of transmitted bytes (Pcloadxx, in Ms-DOS operating systems) or ‘*’ (Pcload54in Unix/Linux).

When the downloader procedure is properly completed, your DAT400 applicationprogram will immediately start.

5.3.3.2 Starting download at DAT400 power on.

This method is very simple and it requires that the DAT400 is initially turned off. Youhave just to:

• power on the DAT400. The download will immediately start providing the PC sidehas already been started.

5.3.4 DAT400 program downloading from a data file contained in DAT400 massstorage

The following procedure applies if the executable and downloadable file is contained inthe mass memory. Therefore, in this case, it is not necessary to connect the DAT400with PC.Two mass storage zones may contain that file: they are named “A Zone” or in “BZone”.From FIG. 36 Selecting download type, select:

DOWNLOAD DAT4001= CABLE2= * A * ZONE3= * B * ZONE

Page 80: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 80/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

2 start download from A Zone3 start download from B Zone

DAT400 will ask you for the relevant Password that is factory set (E-mail 4P technicalsupport to get the password at [email protected]).

FIG. 37 Inserting password

This menu is automatically exited when you type the last Password character and thedownload from the data file contained in the related mass storage zone will start.When downloader procedure has completed properly, your DAT400 applicationprogram will immediately start.

5.4 Set Up

Choosing 2 SETUP from the Main Menu, your DAT400 allows you to modify thecontrast of LCD, with the following mask

FIG. 38 Selecting LCD contrast

where:

OPTION KEY DESCRIPTION

UP <#> increases the LCD contrastDOWN <$> decreases the LCD contrastESC <ESC/NO> selects the default LCD contrastENT <ENT/YES> stores the current LCD contrast value

PASSWORD

******

ContrastUP : increaseDOWN: decreaseESC : standardENT : exit

Page 81: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 81/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Then, the following mask will appear, requesting you to modify the system parameters.

FIG. 39 Requesting system parameter change

YES If you choose 1=YES, you can set all system parameters of DAT400. Inorder to protect this operation, DAT400 asks you the Password that isfactory set (E-mail 4P technical support to get the password [email protected]).

Warning : Do not forget the password and do not discloseto third parties.

NO If you choose 2=NO, you can not change the system parameters.

Notice : All the DAT400 parameters are factory pre-set :in the following they are indicated as DEFAULT or inbold type.

In both cases Time and Date menu is the first menu you will enter.

FIG. 40 Time and Date viewing and setting

SYSTEM MODIFY?1=YES 2=NO

Hour Date12:11 26/03/1999

Thursday

Page 82: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 82/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Hour The Time is displayed in 24 hours (hh:mm) format and can be set bytyping a new time.

Date The Date is in dd/mm/yyyy format and can be changed in the same way.The week day can be chosen from a list by using Up ↑ key (to modify theweek day only you have to re-write time and date too).Hit ENT/YES key to confirm Time/Date and exit to the next menu.

In case you have entered Set Up without Password, you can not set time and date as wellas the following autopoweroff timeouts.This menu will now appear, to set the DAT400 autopoweroff timeout:

FIG. 41 Autopoweroff setting

You can choose an interval of :

• 1 minute (1)• 5 minutes (2) [DEFAULT]• 10 minutes (3)• Disable this function (4) (The DAT400 will never auto power off)

The current set value is shown by the cursor on the relative number.

• Hit a number to choose the desired interval and to pass to the next menu (no ENT isrequired);

• Hit ENT/YES key to exit to the next menu without modify anything.

The following menu screen allows to set the LCD and keyboard (if present) backlightautopoweroff timeout.

FIG. 42 LCD backlight autopoweroff setting

AUTOPOWEROFF1 = 1 minute2 = 5 minutes3 = 10 minutes4 = disabled

POWER OFF LCD1= 5 seconds2= 15 seconds3= 30 seconds4= 60 seconds

Page 83: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 83/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

You can choose an interval of :

• 5 seconds (1) [DEFAULT]• 15 seconds (2)• 30 seconds (3)• 60 seconds (4)

• Hit a number to choose the desired interval and to pass to the next menu (no ENT isrequired);

• Hit ENT/YES key to exit to the next menu without modify anything.

The set current value is shown by the cursor on the relative number.

Warning : DAT400 autopoweroff timeout and LCD andkeyboard backlight autopoweroff timeout stronglyinfluence the DAT400 battery pack autonomy. It issuggested to keep them as short as possible to reducepower consumption and to optimize the battery packusage.

Exiting this menu will return you to the execution of loaded program.

Warning : Set Up operation must be carefully executed,because some important operational parameters could bemodified in the wrong way affecting the DAT400 correctoperation. It is important that password is kept strictlyconfidential, available only to the system administrator.

5.5 Data file transfer between PC and DAT400

After setting up DAT400 system parameters and downloading the application program,it is often required to load the related data files. Refer to 4.1 to have the description ofmost of the hardware and software applicable configurations.

Sometimes. it may be required by the application program to manually reset (delete) theprevious data files, before starting communications. Please, refer to the documentationof your application program.

Page 84: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 84/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6 DAT400 TECHNICAL CHARACTERISTICS

6.1 General technical characteristics

CPU Z80 C-MOS CPU

Clock 4 MHz ± 8%

Operating Memory Flash-EPROM: 32KbSRAM: 32kB, 128kB, 512kB

Mass Storage Memory SRAM: 512kB, 1MB, 2MB, 4MBFlash Eprom: on request

DISPLAY Refer to 6.1.1 LCD Liquid Crystal DisplayBUZZER 3.6±0.5 kHz

90 dB (VDC 10 cm)SERIAL INTERFACE one EIA RS232 (COM1): TX, RX, RTS, CTS only

KEYBOARD • 18 numerical/functional with alphabetic capability• 27 full alphanumeric• Membrane type, two contacts per key• Rubber button type keys with epoxy protection

POWER SUPPLY NiCd or NiMH Rechargeable and Removable Battery Pack.

DIMENSIONS 295x106x82 mm (11.6"x4.2"x3.2") (LxWxD)WEIGHT • Base unit 760 to 850g (26.8 to 30 ounces)

• Battery pack 155 g (5.46 ounces)ENVIRONMENTALCONDITIONS

• Operating Temperature

• Storage Temperature

• 0°C÷50°C(32°F÷122°F)

• -30°C÷70°C (-22°F÷158°F)

RELATIVEHUMIDITY

0 ÷80% non condensing

SHOCKRESISTANCE

1 m (3.3 ft) drop on concrete

MTBF Exceeds 5 years

SAFETY Low voltagedirective73/23/EEC

EN60950

EMC EMC Directive89/336/EEC

EmissionImmunity

EN50081-1EN50082-1

(EN55022 class B)(IEC 801-2,-3,-4)

The DAT400 is CE compliant.

Page 85: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 85/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.1.1 LCD Liquid Crystal Display

Type Black and white graphical transflective with built-in charactergenerator

View area 62x44 mm (WxH) mmActive area 57.28x38.36 mm(WxH)Number of dots 64 vertical x 128 horizontalOrganization 8 rows of 16 characters (DEFAULT)Character font 5x8 dotsCharacter size 2x4.48 mm (WxH)Character font map built-in 192 character generator ROM

(See Built-in display character )Dot size 0.40x0.56 (WxH mm)

Dot pitch 0.44x0.6 (WxH mm)

Contrast Software adjustableBacklight type Electro-luminescentBackligth Color WhiteBrightness 40 cd/sqm

Page 86: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 86/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Built-in display character fonts

The character code of the blank (space) character on top left hand side of the FIG. 43 below isthe hexadecimal 20 (decimal 32). To get the code of the other characters increment by 1 foreach row (from top to down) and by 16 for each column (from left to right).

FIG. 43 Built-in display character fonts

Page 87: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 87/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.1.2 Keyboard

Type Rubber push button with epoxy protective coatingAvailablemodels

" 18 keys, function/numeric with multi-stroke alpha capability" 27 keys, full alphanumeric with two contact keys" 18 and 27 key transparent with backlight

Switching life 5 106× operation

6.1.3 Removable and Rechargeable Battery pack2

Type Nickel Cadmium (NiCd)Nickel Metal Hydride (NiMH)

Voltage 6 VDCCapacity 850 mAh NiCd

1000 mAh NiCd

1200 mAh NiMH1600 mAh NiMH

6.1.4 Internal back up battery

Type Lithium (primary)Voltage 3.6 VDCCapacity 850 mAh

2 Ask 4P technical support or your dealer for update availability.

Page 88: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 88/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.2 INPUT OUTPUT

6.2.1 COM 1 connector pin-out

FIG. 44 DB9 subminiature “D-type” female connector, DB9F (external, connection side view)

Pin No. Signal symbol Description of Signal Signal DirectionfromDAT400and max-min rating

AbsoluteMaximumRating

1 CAR_BATT++ Battery Charger Input.Direct connection toDAT400 battery pack leadsused by wall cube charger.Protected by a 3A fuse.

Power Input.5.5V to 15Vdc

Protected againstpolarity reversal.MAX VOLTAGE :18Vdc

2 RX Receive data InVILmax = 0.8 VdcVIHmin = 2.4 Vdc

V=±15 V with 300Ω min seriesresistance;5A 8/20 µs PulseCurrent/Waveform

3 TX Transmit data OutVOLmin = -9 VdcVOLmax = -8 VdcVOHmin = 8VdcVOHmax = 9 Vdc(Open circuit)

-8.3Vdc to+ 8.3Vdc

4 V_LASER Power supply to externaldevices (i.e. laser gun)

OutRegulated 5Vdc with150 mA maxresistive load

5.6 Vdc

5 GND Ground - -6 SENSE Battery pack Temperature

sensor.Out0Vdc to 3Vdc

3Vdc

7 RTS Request to send OutSee TX (pin 3)

See TX (pin 3)

8 CTS Clear to send InSee RX (pin 2)

See RX (pin 2)

9 ON_ External input to turn theDAT400 Onand to read a digitalexternal signal

Input for an opencollector driver and5V CMOS logicallevels

- 0.5 Vdc to+ 5.5 Vdc

Warning : Stresses above the 'Absolute Maximum Ratings' may cause permanentdamage to the DAT400.

Page 89: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 89/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.2.2 COM1 Slide Connector

Signal symbol Description of Signal Signal DirectionfromDAT400and max-minrating

Absolute MaximumRating

TX Transmit data OutVOLmin = -9 VdcVOLmax = -8 VdcVOHmin = 8VdcVOHmax = 9 Vdc(Open circuit)

-8.3Vdc to+ 8.3Vdc

GND Ground - -RX Receive data In

VILmax = 0.8 VdcVIHmin = 2.4 Vdc

V=±15 V with 300Ωmin series resistance;5A 8/20 µs PulseCurrent/Waveform

SENSE Battery temperature BidirectionalVmin=0 VdcVmax=3 Vdc

±15Vdc

ON_RACK Bi-directional pin- input to turn the DAT400

on from an external device- output: open collector

output driven by RTS ofCOM1.

As open-collectorinput:VIL=0Vdc to0.5Vdc

As open-collectoroutput:IOL, max = 3mA @VOL, max=0.5Vdc

V=±15 V with 300Ωmin series resistance;

5A 8/20µs PulseCurrent/Waveform

CAR_BATT++ Battery Charger Input.Direct connection to theDAT400 battery pack leadsused by P153/6-4 Rack.Protected by a 3A fuse

Power Input.5.5Vdc to 15Vdc

Protected againstpolarity reversal.

MAX VOLTAGE :18Vdc

Warning : Stresses above those listed under 'Absolute Maximum Ratings' may cause permanent damage to the DAT400.

Page 90: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 90/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.3 Built-in Peripherals

6.3.1 Miniprinter

CHARACTERISTIC MODEL 1(24

CHARACTERS

PER LINE)

MODEL 2(40

CHARACTERS

PER LINE)

Units

Max. printing speed (character mode) 2.5 1.6 line/sPaper feed speed 6 3.6 lines/sResolution 144 240 dots/lineDot pitch (horizontal) 0.33 0.19 mmDot pitch (vertical) 0.38 0.38 mm

Graphic point 0.33 x 0.38 0.19 x 0.38 mmLine buffer 24 40 charactersPrinting buffer 150 bytesPrinting method impact or dot matrix -Character matrix 6 x 10 points

Character size:Normal (5 x 7) dot matrix (horizontal) 1.7 1.1 mm

dot matrix (vertical) 2.6 2.6 mmDouble height dot matrix (horizontal) 1.7 1.1 mm

dot matrix (vertical) 5.2 5.2 mmDouble width dot matrix (horizontal) 3.4 2.2 mm

dot matrix (vertical) 2.6 2.6 mmExpanded dot matrix (horizontal) 3.4 2.2 mm

dot matrix (vertical) 5.2 5.2 mm

Page 91: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 91/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.3.1.1 Miniprinter software commands

The list of the codes for the miniprinter management is the following:

ASCII COMMAND HEX COMMAND DESCRIPTION

0x00 Small characters0x01 Double width characters0x02 Double height characters0x03 Double width & height characters0x04 Returns to small characters0x0A Line feed(n) 0x0B n line feeds0x0D Prints the line buffer0x0F Sets CR-LF mode0x11 Sets graphic mode0x17 Prints the programmable character #10x18 Prints the programmable character #20x19 Prints the programmable character #30x1A Prints the programmable character #40x1C Prints the programmable character #50x1D Prints the programmable character #60x1E Prints the programmable character #70x1F Prints the programmable character #8

ESC 'R' 0x1B 0x52 Select standard character orientationESC 'N' 0x1B 0x4E Select 180 degree character orientationESC '@' 0x1B 0x40 Resets the printerESC 'B' 0x1B 0x42 Selects font #1ESC 'b' 0x1B 0x62 Selects font #2(aa) ESC 'r (aa) 0x1B 0x72 Reads a datum from the (aa) address(aadd) ESC 'w' (aadd) 0x1B 0x77 Writes the datum (dd) to the address (aa)(dd) ESC 'G' (dd) 0x1B 0x47 Writes the value (dd) to the option register(dd) ESC 'M' (dd) 0x1B 0x4D Writes the value (dd) to the printing modeESC 'p' 0x1B 0x70 Transmits the option register in the serial

interfaceESC 'm' 0x1B 0x6D Transmits the printing mode in the serial

interfaceESC 's' 0x1B 0x73 Transmits the next character in the serial

interfaceESC 'J' (n) 0x1B 0x4A Stores the programmable character (n)

Page 92: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 92/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.3.2 Bar code laser scanner

Light Source Visible Laser Diode operating at 670 ± 10 nmScan Rate 36 ± 3 scans/second (bi-directional)Laser Power 0.8mW ± 10%Horizontal Scan Angle 43o nominalLaser beam vertical angle -10° (refer to FIG. 14 Laser Beam Vertical Angle)Skew Tolerance ± 65° from nominal (refer to FIG. 45 Pitch, skew and

roll)Pitch Angle ± 55° from nominal (refer to FIG. 45 Pitch, skew and

roll)Roll ± 20° from vertical (refer to FIG. 45 Pitch, skew and

roll)Decode Depth of Field Refer to FIG. 15 Decode zoneAmbient Light Immunity

SunlightArtificial Light

8000 ft candles 86,112 lux450 ft candles 4,844 lux

Laser class CDRH/IEC Class IIOptional Class I available (contact 4P)

6.3.2.1 Bar Code Laser Scanner Definitions

FIG. 45 Pitch, skew and roll

Page 93: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 93/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.3.3 Magnetic Stripe Reader

Reference Standard " ISO 7810" F2F encoding with and without gap" Other special encoding available on request

Readable Tracks " 1 and 2" 2 and 3 (Optional)

Readable Stripes(Magnetization level)

• Low energy (300 oersted)• High energy (3600 oersted)

6.3.4 Contactless Mifare® interface

Reference Standard ISO 144443 - type AFrequency 13.56 MHzOperating distanceMifare® card from DAT400interface

up to 5mm (typical)

Communication • Half duplex• Multi-card operation• Transaction with moving card

Data integrity • anti-collision• 16 bit CRC per block• 16 bit parity per block (one per byte)• bit count checking

Security • mutual three pass authentication (ISO/IECDIS9798-2)

• data encryption on RF channel• individual key set per sector (per application) to

support multi-application with key hierarchy• unique card serial number• transport key

Typical Transaction Times • Card identification, anti-collision and blockselection: 81ms

• Block read (16 bytes): 10.4ms• Block write (16 bytes): 42.4ms• Block read transaction (1) + (2): 91.4ms• Block write transaction (1) + (3): 123.4ms• Typical transaction (6 block read, 2 block write):

420.2ms

Page 94: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 94/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

6.4 Accessories

WCH-4

230V 50Hz

P153/6-4

P151/4

P164-DT

CLCH-4

SFTC-4

P139/6-4

12/24 V

P164-DT/CM

P160

SPMIF-P164

P164-VE P164-SB

Page 95: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

4P MOBILE DATA PROCESSING Pag. 95/96Viale Regione Veneto 26 - 35127 PADOVA - ITALYTEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

Most of the accessories in following list are shown in the previous drawing.

Other accessories may be available at the time you read this manual, or may me be custommade to fit your system needs. Please refer to www.4p-online.com or contact your dealer.

6.4.1 Communication and battery charging

ITEM DESCRIPTIONP153/6 Rack for communication and battery charge for 6 DAT400; daisy chain

cascadable to other units into the same Host Computer RS232 port.(Communication program for Windows, Unix, Linux and MS-DOS)

P160 Desk-top cradle for 1 DAT400 and 1 spare battery (Each and everycradle needs one RS232 serial port available on the Host Computer)

P164-DT Desk top cradle for DAT400-PC communication and AC battery chargerP164-DT/CM Desk top cradle for communication only, without battery charger, power

supplier, RS232 cablesSPMIF-P164 Mifare® card plastic support for P164-DTP164-VE Vehicle cradle for DAT400 with smart battery charger 12/24 VDCP164-SB Supporting swivel bracket for P164-VE vehicle cradle

6.4.2 Battery chargers

ITEM DESCRIPTIONP139/6 Multiple Smart battery charger for 6 DAT400 battery packs with Host

Computer data communication option for battery status monitoring andbattery charge control.

P151-4 Stand alone smart battery charger for DAT400 battery packWCH-4 Wall cube charger (only for NiCd battery)CLCH-4 12/24 VDC cigar lighter charger

6.4.3 Rechargeable and removable battery packs

ITEM DESCRIPTIONPB4/850 850 mAh NiCd BatteryPB4/1000 1000 mAh NiCd BatteryPB4/1200 1200 mAh NiMH BatteryPB4/1600 1600 mAh NiMH Battery

6.4.4 Other accessories

ITEM DESCRIPTIONCV232-4 RS232 cable for direct data communication with the Host ComputerCV232-P164 RS232 cable for P164-DT (DB9F to RJ11)SFTC-4 DAT400 soft plastic carrying case (Red and Blue color available)

Page 96: DAT400 REFERENCE MANUAL - kestronics.netkestronics.net/pdf-files/dat400-manual.pdf · Revision 7.k, April 2001 Trademarks MS-DOS is a trademark of Microsoft Corporation. ... Ms-DOS

M O B I L E D A T A P R O C E S S I N G

Pag. 96/96 4P MOBILE DATA PROCESSINGViale Regione Veneto 26 - 35127 PADOVA - ITALY

TEL +39 049 8069.811 - FAX +39 049 8069.843E-mail: [email protected] - Web: www.4p-online.com

7 Table of figures

FIG. 1 DAT400 basic configuration (18 key version). ...............................................................................10FIG. 2 DAT400 full configuration (18 key version basic unit ....................................................................11FIG. 3 DAT400 full configuration (basic unit with magnetic card reader and Mifare interface) .............12FIG. 4 DAT400 internal architecture: basic unit, optional integrated peripherals and battery pack. ......13FIG. 5 DAT400 with alphanumeric keyboard (enlarged on the right)......................................................16FIG. 6 DAT400 with numeric keyboard with alphabetic capability (enlarged on the right) .....................17FIG. 7 DAT400 Miniprinter fonts. .............................................................................................................20FIG. 8 Fanfold paper characteristics.........................................................................................................21FIG. 9 Insertion of fanfold paper stack ......................................................................................................22FIG. 10 Fixing the paper edge into the printer friction .............................................................................23FIG. 11 Pushing the paper stack and first sheet inside the printer housing ..............................................23FIG. 12 Closing the printer cover ..............................................................................................................24FIG. 13 DAT400 bar code laser scanner ...................................................................................................29FIG. 14 Laser Beam Vertical Angle ...........................................................................................................29FIG. 15 Decode zone (depth of field versus bar code density)...................................................................30FIG. 16 DAT400 Magnetic Stripe Reader..................................................................................................32FIG. 17 ISO 7810 Magnetic card characteristics ......................................................................................33FIG. 18 CPU Block Diagram.....................................................................................................................44FIG. 19 RTS/CTS handshaking wire connections ......................................................................................46FIG. 20 Wire connection for XON/XOFF handshaking.............................................................................47FIG. 21 32kB Flash-EPROM and 32kB SRAM Option Memory Map .......................................................51FIG. 22 32kB Flash-EPROM and 128kB SRAM Option Memory Map .....................................................53FIG. 23 32kB Flash-EPROM and 512kB SRAM Option Memory Map .....................................................55FIG. 24 Local file transfer between DAT400 and the host computer via RS232 cable..............................62FIG. 25 Local file transfer between DAT400 and the host computer via P160 .........................................63FIG. 26 Local file transfer between DAT400 and the host computer via P164-DT...................................64FIG. 27 Local file transfer between the host computer and many DAT400s via P153-6...........................64FIG. 28 Remote file transfer between DAT400 and the host computer via modem and a dial-up phone line....................................................................................................................................................................66FIG. 29 External printer connection, using RS232 serial cable ................................................................67FIG. 30 External printer connection, using the P160 desktop cradle........................................................67FIG. 31 External printer connection, using the P164-DT desktop cradle. ................................................67FIG. 32 Connection to Orion® GPS+GSM using P164-VE.......................................................................68FIG. 33 Starting up mask ...........................................................................................................................69FIG. 34 Application program download request. .....................................................................................69FIG. 35 System Menu (selecting download and set up) .............................................................................70FIG. 36 Selecting download type ...............................................................................................................79FIG. 37 Inserting password........................................................................................................................80FIG. 38 Selecting LCD contrast .................................................................................................................80FIG. 39 Requesting system parameter change...........................................................................................81FIG. 40 Time and Date viewing and setting...............................................................................................81FIG. 41 Autopoweroff setting .....................................................................................................................82FIG. 42 LCD backlight autopoweroff setting.............................................................................................82FIG. 43 Built-in display character fonts ....................................................................................................86FIG. 44 DB9 subminiature “D-type” female connector, DB9F (external, connection side view)..............88FIG. 45 Pitch, skew and roll ......................................................................................................................92