Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 1 of 10

TCLOAD Reference Manual, pages 1 to 10

Pages 1 to 10 of 96

The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the VeriFone Tranz 330

Page 1 read from a scan by OCR; it may hold reading errors

TCLOAD

Reference Manual

VeriFone Part Number 10016, Revision E Manual Revision 1.0

5 TCLOAD e © ® :, - f-4 @e c - - Bora \eriFone.

THE TRANSACTION AUTOMATION COMPANY

Page 2 read from a scan by OCR; it may hold reading errors

TCLOAD

Reference Manual

VeriFone Part Number: 10016, Revision E Manual Revision 1.0

Published: May 1995

VeriFone, Inc. Three Lagoon Drive Redwood City, CA 94065

Printed in the United States of America Copyright 1995 VeriFone, Inc.

No part of this publication may be copied, distributed, stored in a retrieval system, translated into any human or computer language, transmitted in any form, or by any means, without the prior written consent of VeriFone, Inc.

Publications are not stocked at the address given above. Requests for VeriFone publications should be made to your VeriFone representative.

VeriFone, XL, and TRANZ are registered trademarks of VeriFone, Inc. ZONTALK 2000 is a trademark of VeriFone, Inc. IBM PC, IBM AT, and IBM AT are registered trademarks of International Business Machines. WordStar is a registered trademark of WordStar International, Inc. Microsoft Word is a registered trademark of Microsoft Corp. All other trademarks and tradenames appearing in this manual are the property of their respective owners.

Page 3 read from a scan by OCR; it may hold reading errors

Table of Contents

1. Introduction

What iS TCLOAD? oo... ecesscessssessscsessssesecsssescsssuasesearesvessacsessssserssacavecasesesescecscevevecs 1-1 Who Should Use TCLOAD? ........ccscssssssscssessssssesssesasscsesesecacscscsvsserssssssvsvaveseceees 1-1 What is the Terminal Control Language? ..........ccscccsessssssssseseseseseseseseseccessesesesvacececes 1-2 Available DOCUMENTS .............cessssscssssceesescessscsescscsssseecsvavscsesecaescatsssacatsscsesesesseaes 1-3

2. Getting Started System Requirements setesteuesecnoanssescsssncveeuseroceseascsesssaseacesecacaosessuasusssserennssaseveresaeaeees 2-1 Installing TCLOAD .........ceesescssssssscsssesesesesesscscscsessssseavaceuessesesacateusaatsesasasacseeneuceaes 2-1 Writing & TOL File 0... eeeecssesesesesesesssscscscscsusssssevscssecsesesacscarsusacacsususcsesenseeeeces 2-2 TCLOAD File Directives..........ccccssssccscsssssscsessssesseesesssessescsesesecseseseesesescscsssescesace 2-2 Terminal Operating System Version NUMbEP..........0.s.c:sscccscsseseseseseseseseseess 2-2 Include File Directive ............ccccccsccssescscsssscscesssesecececsersccesscescsesscacsesansassesenes 2-2 Comments Directive ..........cccccssecssesssesesesesscecscscsssscsesescacecsecesacaceacavaceusesavaces 2-3 Data Declaration Directive ...........ccccsesssesssescsssescscscsesssssesessstsestesseeteracaceeseees 2-3 Command String Declaration Directive ............ccccccscssssssssessssssseveseseresenees 2-4 Partial Download Directive ...........c.cccsescescsssscscsscsesccssecsessssscecsesateasaesacateaeeces 2-4 Memory Image Terminal File format............c:cccscsscccssssesscscsssessscssseceseetacencess 2-5 TRANZ UDL Terminal File Format ............ccccsccssccssessssscscsessssessseseesserereesees 2-5 3. Executing TCLOAD Running the TCLOAD Program......s.scssssssseseseseccsesesessssscscssscsesusesvsnstataracasaracacacacacsens 3-1 Memory Image Options D and Ti .........scsccssscsesescsssssscsssessessscarsssscecassceecavaceuees 3-2 ZONTALK Modem Download Option U ........cccscsessscssssscesssesssesssscessscsessesenesees 3-3 Mark All Option A uu... eccccscsessssssssssscesssecsessessssscsececeesecssecsesetassassucascansaavaucacsess 3-3 Database File Specification Option B <filename> ........cccccceccesceseseceecencceseesecens 3-4 Add Device Driver Option Z..........ccsccscssssssssseesesscsceessssaccceseassarsacsecsucescaecsecenes 3-4 Firmware Version ID Option V <Vers>........cccccesescsscessssesesscesessesseccescestseeesecanes 3-4 File Format Conversion Option R ............ccccsccseccsscsscsssssecceeseseasescsecesesseeseaseeserees 3-4 Error Handling.........sccssscessesessesessceessesessscsesseseeesesssecscsssesssesssssscsasaveraseseecacecsesess 3-5 CAUSES... eesesecscessseseseecscsesesstacsesesesesesesecsesesssssscassusseusuuaveceseaacacacsesavacereaaces 3-7 Corrective ACtiOns to TAK@..........ccccscsscscssescssescscsscsssssscsscevsesernsaeecsersesaesacere 3-8 4. TRANZ UDL Terminal Packet Formats Communication Parameters .........cccscccssesscsessesescescscscscecsecesestacsccaseecessesaraceacsucansecaee 4-1 Download Request Terminal to HOSt.........::cccccccccssesssscsssssssssevacecsessnecesscssstesacenseenees 4-2 Packet TYPOS .........ceccccscsecsseseeessecseseeenesecsecsesaussesecsecsuceesscsscsscsesascassasavaeseneessateeusanes 4-2

Page 4 read from a scan by OCR; it may hold reading errors

Table of Contents

4. TRANZ UDL Terminal Packet Formats (continued)

Memory Location Record (Packet type L) ............escseesseereseeeseeeeeseeeeeeeeteneeenenes Data Capture Header ............ccccecccceseceececececneeneseeeeceeeeceaeseeaeeseceeeessecaneseeeceesananes Data Capture RECOrd .0.....ccssssseceseesesssnseeeeeeessssneneeesecsesseuseecececesensnenaeeeeneess Host to Terminal Upload Format ............::ccccccessssseeeceeeessecneceeeceeeeseneeeeeeeeeeeeessseaeeees Specific LOCATION ........e eee ccssssecessssccessssececseeeceeseeeecsseesecsensececseteseesearesecseanesensnes All Non-empty Locations 20.0... ce cecceecscsseceecsseesseesneesnecsseeneessseesseecseeeseeessesseees All Data Capture Data .........ccsccscssssssecsesssesssesseesseessecseeeseeeseeesaeecseesstessuessueens Host to Terminal Download Formats. ...........cccccssccssscssssecsssccssesecsscecssecesssersensecseeseees Display M@SSaGe .......... ec eesecsccsscesseesneesseesscensecssessecsesssaecesecaeeceeesseesuessneeentesates Set the PaSSword .........cc:cccssssscsssssecssssecseseeecesseceseesecesecsuseceesseeseeseutesecseeresenseutes Set the Date and Time ............ccccsecsscsssccsseessseeeseeceseeecsneccsneseceuesssacessersescesennes Dialog Examples ...........:ccccccccsssssscceccssesssceeceeesessneseceesscssneeececeessssuerenesesecseneeaarenatenees Download Dialog ..........eseseeeesecceseseaeesscnceecsseeeeessneeecsnesecsenseecsseuesesssenseessnenasens Upload Dialog... ccessneccessnecessesecssseeecssseeecssneeecsssesesssaeseessaaseceseeeeesesneaens

Appendix A. XL Memory Map Appendix B. TRANZ 330 Memory Map Appendix C. TRANZ 380 Memory Map Appendix D. TRANZ 420 Memory Map Appendix E. TRANZ 460 Memory Map Appendix F. TRANZ 470 Memory Map Appendix G. Link File Examples Appendix H. Sample TCL File Appendix I. Error Messages

Index

Page 5 read from a scan by OCR; it may hold reading errors

1. Introduction

What is TCLOAD?

Who Should Use TCLOAD?

TCLOAD is a development tool that simplifies the process of assembling and downloading application programs written for the XL, the TRANZ® 330, the TRANZ 420, and TRANZ "UDL" terminals (TRANZ 380, TRANZ 460, TRANZ 470 and above). TCLOAD, the Terminal Control Language (TCL™) assembler, quickly assembles and compresses your ASCII TCL files into terminal executable control strings that can be directly downloaded to an XL® or TRANZ terminal or stored in the PC as a downloadable application file.

As a development tool, TCLOAD provides speed and modularity to the application developer. For non-TRANZ 380 terminals, TCLOAD compresses data before downloading it, greatly reducing the download time. TCLOAD features an "include" file directive that allows you to write various terminal functions in separate TCL files or modules, then link the modules together into one file. This one file can then be directly downloaded to the target XL, TRANZ 330, TRANZ 380, or TRANZ 4xx terminal, or stored on the PC as a downloadable application file. ZONTALK, a VeriFone download program, would use the application file to perform either a direct download, or download a terminal via modem.

TCLOAD is a software tool for TCL application developers. Using TCLOAD, you can create a documented TCL file on any PC word-processor capable of generating an ASCII formatted file, delimited with a carriage return and line feed.

TCLOAD can produce a memory image (for a direct download) and two types of output files: DXL/DTZ and UDL. The file you use to download the terminal may vary, depending on where you are in the development cycle.

During the application development stages, you use the direct download option to download the application from your PC to the terminal. You usually perform this type of download to inject the application program into an XL or TRANZ terminal for testing purposes. When you use the direct download feature, TCLOAD prepares a memory image of the application program,

1-1

Page 6 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual and transfers the image, via the XL/TRANZ direct download cable, Part Number 00446-04 (to IBM AT) or 00446-05 (to IBM PC).

Note: TRANZ UDL terminal download protocol does not support the memory image download format used with other VeriFone terminals. See Section 4, TRANZ UDL Terminal Packet Formats.

When you have completed the application program testing and are ready to download the released application, use either the DXL/DTZ file or UDL file. Both the DXL/DTZ file and the UDL file are used by ZONTALK. Copy the .DXL/.DTZ and .UDL files from the TCLOAD application program to the ZONTALK program diskette. ZONTALK uses the .DXL/.DTZ file to perform a direct download, via the XL/TRANZ download cable, at 2400/19,200 baud. ZONTALK uses the .UDL file to download the application program via modem at 300/1200 baud. This last download method is the normal method used to download XL/TRANZ terminals already in the field. See the ZONTALK 2000 Reference Manual, Part Number 10361, for more information on ZONTALK direct downloads and auto downloads.

What is the Terminal Control Language?

The Terminal Control Language (TCL) is the application language of the XL and the TRANZ terminals. Originally designed to reduce the development time of custom Point-Of-Sale (POS) applications for XL and TRANZ terminals, the flexibility of the TCL and the terminal have enabled the XL and TRANZ terminals to penetrate other markets, including the original equipment manufacturer (OEM) market.

The TCL includes commands for memory storage, printing, dialing, transmitting data packets, and a variety of other operations. By combining TCL commands into control strings (a series of commands), you can determine how the terminal performs various transactions and functions.

A control string is a series of TCL commands terminated with a carriage return and line feed. Control strings and their associated data are stored in “memory locations" in the terminal’s virtual memory space. Each memory location has a 3- or 4-digit address, and can accommodate up to 120 characters (60

Page 7 read from a scan by OCR; it may hold reading errors

Available Documents

1. Introduction characters in earlier EPROM releases). Following is a sample control string to be stored in Memory Location 021.

021B4.4GA200U210 The actual control string is "B4.4GA200U210".

The size of each memory location is predetermined by the XL and TRANZ operating system. See Appendices A through F for complete XL and TRANZ memory maps.

TCLOAD Reference Manual, VeriFone Part Number 10016 (this manual)

TCL Programmer’s Manual, VeriFone Part Number 00368 TRANZ 330 Reference Manual, VeriFone Part Number 00483 TRANZ 380 Reference Manual, VeriFone Part Number 11452 TRANZ 420 Reference Manual, Verifone Part Number 10663 TRANZ 460 Reference Manual, VeriFone Part Number 12412 TRANZ 470 Reference Manual, VeriFone Part Number 25492 XL 300 Reference Manual, VeriFone Part Number 10996 ZON Jr XL Reference Manual, VeriFone Part Number 00369 ZONTALK Reference Manual, VeriFone Part Number 00363

ZONTALK 2000 Reference Manual, VeriFone Part Number 10361

Page 8 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

Page 9 read from a scan by OCR; it may hold reading errors

2. Getting Started

System Requirements

TCLOAD is an easy-to-operate software development tool designed to run on the IBMPC®, IBM XT®, IBM AT® and compatibles having at least 256K of RAM. TCLOAD requires:

e An IBM compatible serial port to transfer its output to the target XL/TRANZ terminal; COM PORT 1 is the standard default serial port, however, it is possible to select COM PORT 2 e The direct download cable (to connect the XL or TRANZ terminal to the IBM-PC), available from VeriFone, Part Numbers:

00446-04 TRANZ/XL to IBM PC/AT (DB-9) 00446-05 TRANZ/XL to IBM PC or XT (DB-25)

Installing TCLOAD

General-purpose support for all versions of TCL firmware is done through a data file that is external to the .EXE file. This .DBS file will be maintained and updated whenever a new firmware release occurs and can be downloaded from VeriFone.

The files you need are TCLOAD.EXE and TCLOAD.DBS located in VFI07:[TOOLS.TCL_TOOLS.RELEASE].

You may install your database file, TCLOAD.DBS, in any of the following locations:

e The directory you are currently working in e Adirectory specified by an environment variable TCLPATH, for example, if you added the following line to your AUTOEXEC.BAT file:

set TCLPATH=C:\TCLOAD\DBMS

TCLOAD tries to find the file C:\TCLOAD\DBMS\TCLOAD.DBS e Any directory in your search path (environment variable "PATH")

Page 10 read from a scan by OCR; it may hold reading errors

Writing a TCL File

TCLOAD File

Directives

Terminal Operating System Version Number

Include File

Directive

TCLOAD Reference Manual

You can still override all of the above locations using the -B command, as explained in Section 3, Executing TCLOAD, however, you must supply the complete path and file name.

You can write the TCL file using any PC word processor capable of producing an ASCII text file. (WordStar® and Microsoft Word® are among the more popular word processor programs.) When writing the TCL file, use the word processor’s non-document mode, and include the TCLOAD file directives. TCLOAD file directives control the processing of the TCL commands while running the TCLOAD program.

File directives allow you to link files, define data storage locations, set the EPROM operating system version number, initialize command strings, and document each TCL command. The following section describes each file directive option.

During a direct download, TCLOAD verifies the version of the operating system resident in the target XL or TRANZ terminal. Therefore, you must identify the EPROM version in your TCL file using the version directive, a percent (%) sign followed by the most accurate EPROM version number available. This version directive must be the first non-comment line in the file and must begin in column 1.

If an incorrect EPROM version is entered, the system reverts to the default XL version and prompts you to "CONTINUE? [Y/N]".

The EPROM OPSYS software version displays on the front panel of the terminal when it is first powered up. This value should be used with the version directive "%".

The following example shows how to set the EPROM version for OPSYS software version 3.00 of the TRANZ 330.

%3E2CU300 ;version 3.00

TCLOAD supports modularity by allowing you to create separate TCL files for various terminal functions. For example, you could create one TCL file for transaction keys and another for the VOID function. You could then use the include file directive @ ("at" sign) to link all of the TCL files during a TCLOAD execution. The "@" directive begins in column one, and is followed by the file path name.