The text of a manual · part 2 of 37
TCL Terminal Control Language Programmer's Manual, pages 11 to 20
Pages 11 to 20 of 362
The original document is the PDF (13 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 11
+D
+T
BABT Certification Information
Attention UK Users:
This special supplement describes commands, memory locations and their associated contents which, if misapplied, may invalidate BABT compliance. Carefully read this BABT Certification Supplement as it contains information that overrides any descriptions contained within the sections of this TCL iProgrammer’s Manual.
The following commands can invalidate BABT approval if set to improper values.
Command: +D Description: DTMF Tone Dial Command Format: +Dt
This command causes the terminal to use DTMF to dial the characters in the destination buffer. Digits 0 thru 9, and characters * and # are permitted.
The parameter "t" specifies the tone duration in multiples of 10 msec. The default is 7, which translates to 70 msec. The duration must not be set to a value of less than 70 msec, doing so will invalidate BABT compliance.
Command: *T Description: Specify Communications Timeouts Command Format: *TH1.t2.13.t4.t5
This command sets the length of various communication timeout periods. The command works with the current transaction. Once the terminal reaches the idle state, the values return to their default conditions.
The parameter "ti" is the carrier detect timeout period; this timeout period begins when the terminal finishes dialling and ends when the terminal detects carrier tone. The default is 25 seconds, but a duration of less than 25 seconds can be specified.
Refer to the *T command in this Programmer’s Manual for a description of the remaining parameters.
BABT Supplement - 1
Page 12
Memory Location
000
Download Phone Number
Memory Location 010 Dial Type Flag
Memory Location
011
Dial Speed
BABT Supplement - 2
Flag
BABT Certification Supplement
The following TRANZ 330 memory locations and their associated contents can invalidate BABT approval if set to improper values.
Terminal Parameters
This parameter is the phone number the terminal dials to connect to the host computer. The download phone number may contain the digits 0 thru 9, the characters * and # (when tone dialling is used) and a dash (-) as a two-second pause. Note that multiple sequential dashes are treated as a single delay. The delay is intended to allow a PABX sufficient time to return secondary proceed indication (second dial tone).
Important: This information applies to all other memory locations requiring telephone numbers. The apparatus user must check that all stored network addresses are correctly programmed.
This parameter indicates the type of dialling the TRANZ 330 terminal uses. The following are valid:
Entry Description 0 Tone Dial 1 Pulse Dial
This location must contain the following:
9, 20, 6, 15, 150
Any alteration to the above invalidates BABT approval.
Page 13
Memory Location 015 Auto Answer Delay
Memory Location 038
Auto Answer Control String
Memory Location 958 Bell/CCITT Mode
Memory Location 966
Auto Answer Processing
Special UK User Information
This memory location sets the delay between incoming phone rings and execution of location 038 (auto answer string).
This location enables the TRANZ 330 terminal to respond to an incoming telephone ring and communicate with another dial-up device.
This memory location is usually empty and needs to be programmed for the auto answer control string to support communication between the TRANZ 330 and the remote dial-up device.
This memory location must be set to 1. Any alteration from this setting will invalidate BABT approval.
This memory location must be set to 0 or 1. Any alteration from either of these settings will invalidate BABT approval.
BABT Supplement - 3
Page 14
BABT Certification Supplement
BABT Supplement - 4
Page 15
TCL Advantages
1. Introduction
TCL, the Terminal Control Language developed by VeriFone, is a powerful programming language that controls the execution of operations for both dial and polled transaction terminals. These compact, electronic TCL terminals include the PNC 330, PNC 340, ZON Jr XL, XL 300, TRANZ 330, TRANZ 340, TRANZ 380, TRANZ 420, and ZON 530, and are capable of gathering and transferring information at high speed. They are ideal for many diverse applications including point-of-sale (POS) transactions, electronic payment and transfer authorization, time and attendance tracking, order entry, inventory and process tracking and other transaction processing. This manual reflects the use of TCL for the PNC 330, PNC 340, ZON Jr XL, XL 300, TRANZ 330, TRANZ 340 and TRANZ 380. Refer to the individual programming manuals for TCL use with the TRANZ 420 and ZON 530.
Both dial and polled TCL terminals feature state-of-the-art hardware components, including the Zilog Z-80A CPU, an ABA track 2 or track 1cardreader for reading magnetic stripe data from credit cards, and a calendar clock chip for time-stamping receipts and reports, and an 8-pin DIN (RS-232) port for printer support. The TRANZ 380 features a Z-180 CPU and integrated ATA and IABA cardreader for reading both Track 1 and Track 2 magnetic stripes, with Track 3 as an option. TRANZ 330, 340 and 380 terminals also have a 6-pin DIN port for Figure 1-1. TCL Terminal Bar Code Wand or PIN (personal identification number) Pad operation. (Note: TRANZ 330 3.60 does not support the Bar Code Wand.)
TCL simplifies and expedites the process of programming transaction terminals. This flexible programming language comprises commands that can be linked together to create control strings for implementing or customizing an operation. With TCL you can write custom prompts or change the sequence in which prompts are displayed in the standard application. Or you can develop a totally new program for any application requiring the ability to collect, process, store and transfer data.
For example, you can write control strings to allow the terminal to operate in an environment other than POS, such as a security or inventory control environment. If other devices, such as a printer, are used with the terminal, the custom application can precisely determine the procedures and formats for entering and printing information with these devices.
Page 16
Dial Terminals
Polled Terminals
Operating System and TCL Interpreter
Operating System Revisions
TCL Programmer’s Manual
The PNC 330, XL, TRANZ 330, and TRANZ 380 are TCL dial terminals with internal modems for accessing hosts and converting electronic data into tones via the public telephone lines. Modems available on the different TCL terminals include: XL, 300 baud with an optional 300 baud CCITT modem; TRANZ 330/380, 300 or 1200 baud with an optional 300 or 1200 baud CCITT modem for intemational telecommunication. The TRANZ 330/380 dial terminals support auto answer which allows host computers to dial the terminal.
PNC 340, TRANZ 330 (202) and TRANZ 340 are TCL polled terminals, which are continually polled, or asked by a host for a transaction, and do not access the public telephone system. TRANZ 330 (202) has a Bell 202 modem for lease line operation. PNC 340 and TRANZ 340 has an RS-485 interface for operation on a LAN (local area network). Polled terminals have the capability of performing off-line transactions when not connected to a communication line; the terminal's local function keys allow off-line transactions.
Complementing each terminal's hardware is the sophisticated proprietary firmware developed by VeriFone. This firmware includes the operating system and TCL interpreter that control the execution of terminal operations, and the standard application program which is optimized for financial transaction processing.
The operating system provides a framework for application operations. Functions such as diagnostics, default communication protocol and key definitions are controlled by the operating system. There are 16 operations that are controlled by the application program and initiated from the terminal's idle state. These 16 customizable operations include nine host transactions (operations requiring communications with a host computer) and seven local functions (operations that do not usually require communications with a host computer; also called local transactions).
The operating systems of VeriFone’s TCL terminals are revised on occasion, resulting in new firmware releases. This manual addresses changes and features incorporated into the firmware version IDs listed below (unless otherwise noted). Note that this manual reflects USA firmware revisions. Differences in the international variations of the firmware may not be addressed in this manual.
VeriFone TCL-based Terminal Firmware Version ID
ZON Jr XL XE2AU310 XL 300 LE2AU125 TRANZ 330 Track | 3F1EV360
Track 2 3F2EV360 TRANZ 340 Track 1 4E1FN280
Track 2 4E2FN280 ZON 5xx Track 2 5E2DU360 PNC 330 Track 1 7E1EU360
Track 2 7E2ZEU360
Page 17
Standard Application Program
1. Introduction
VeriFone TCL-based Terminal Firmware Version ID TRANZ 380 Dual track 9EAEU123 (standard keypad) TRANZ 380 Dual track UEAEU124 (calculator style keypad)
VeriFone ships all TCL terminals with a standard application program that allows you to select from 16 different POS transaction types. These transaction types follow either the VISA first or second generation protocol formats and have different prompting and security requirements to fit generic credit card authorizations or check guarantee applications. Any one of these 16 transaction types can be assigned to any of the nine host transaction keys.
Note: On TRANZ 330 versions 3.0 or greater and TRANZ 380, the terminal's default application allows you to select from four POS transaction types.
The standard application resides in firmware and cannot be modified. However, should you desire, you can write control strings to override the commands and customize your application to meet your company’s specialized needs.
Page 18
TCL Programmer’s Manual
Page 19
Operating System Basics
Power Up Routine
Dial Terminal
Polled Terminal
2. ferminal Basics
The operating system functions as the terminal's brain: it resides in firmware, oversees the execution of terminal operations, recognizes card reads and key presses and executes the appropriate operation. The operating system also manages the use of memory, routes data to and from peri- pheral devices, implements security functions and displays clock data. It interprets TCL commands contained in control strings, then causes the terminal to execute the command.
During different stages of operation, the operating system executes routines which check the terminal’s memory (to ensure the application is okay) and EPROM Test, RAM Test checks for any input (via card reader or keypad).The i" following sections explain the routines automatically Display Idle Prompt erformed by the operatin syetem, ” P 9 v Initialize RAM Upon receiving power, the Reset variables operating system performs an Postdial and EPROM checksum and RAM Multi-trans flags oy Hangup Phone test to ensure the terminal’s nolp memory and application program are okay. If memory location 030/0030* is empty, C tte > the operating system causes the terminal to display the date and time; if location Figure 2-1. Dial Terminal Power Up Routine 030/0030 is not empty, the terminal will display the "idle" prompt stored there.
The TCL dial terminal, PNC 330, XL and TRANZ 330/380, at this point initializes RAM, resets the variables, post-dial, and multi-trans flags and enters the "IDLE” state.
The PNC 340, TRANZ 340 and TRANZ 330 (202) terminals perform the same upon displaying the "idle prompt". The terminal will initialize RAM and reset the variable and multi-trans flags before entering the idle state.
* 4-digit memory locations represent TRANZ 380 terminals.
Page 20
PNC 340/TRANZ 340
TRANZ 330 (202)
The Idle State
TCL Programmer’s Manual
The PNC 340 and TRANZ 340, upon powering up, perform the following steps to check for a valid poll ID and baud rate code before displaying the idle prompt:
1. If the poll ID (location 020) is empty, the terminal prompts the user to enter the valid ID number (between 1-96) and proceeds to check and prompt the user to enter the valid baud rate code.
2. The PNC 340 or TRANZ 340 monitors the LAN for 10 seconds to see if there is another terminal responding to its poll ID. If the terminal does not find a terminal with the same poll ID within ten seconds, the monitoring TRANZ 340 assumes that there is no duplicate and continues.
3. If there is a duplicate, the monitoring TRANZ 340 terminal displays "DUPLICATE POLL ID" for two seconds then prompts the user for a new poll address and monitors the LAN until no duplicate poll ID is found.
4. The terminal then resets the LAN protocol, and sends reset messages to the Controller before displaying the idle prompt.
The TRANZ 330 (202) performs these steps before displaying the idle prompt:
1. If the terminal is not being polled by a host, it displays "NO POLLS RCVD’.
2. Upon powering up, the terminal checks for a valid poll ID in memory location 020. If it is empty or if the poll ID is out of range, the terminal will display "INVALID POLL ID’. (A valid range depends on the protocol being used by the EPROM.)
3. Once a valid poll is found, the terminal continues with power up and displays the date and time or the idle string found in location 030.
From the idle state the terminal senses any card read, key press, or bar code read for the TRANZ 330 version 2.1 and greater or the TRANZ 380, and executes the operation associated with that data entry. An operation can be either a transaction (an operation requiring communications with a host computer) or local function (an operation that does not require communications with a host computer).
As illustrated in Figure 2-2, the "Idle State Routine,” from the idle prompt the operating system can execute:
* Aspecific key press transaction, described in greater detail in Figure 2-3, "Key Press Routine.”
¢ Acardreader transaction. When a card is slid through the terminal's cardreader, the terminal uses the host data associated with key [1], and performs the transaction as if key [1] had been pressed. This type of transaction applies to TRANZ 330 versions less than 2.1, and the XL.