The text of a manual · part 34 of 37
TCL Terminal Control Language Programmer's Manual, pages 331 to 340
Pages 331 to 340 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 331
The +U Command for Bar Code Initialization
Appendix J. Industrial EPROM Bar Code Differences
V.2.6 ; View the selected buffer for 3 seconds
P41 ; Display "TRY AGAIN"
L ; Repeat current memory location, which ; is 120
; End of program
The +U command sets DIN 6 communication parameters and bar code initialization parameters.
The format is +Ux,y,a,b,c,d,e where:
a = bar code symbology type, etc.
For code 39: <empty> or 0
For interleaved 2 of 5
For EPROMs in which only one symbology is valid, <empty> or 0 will allow that one symbology, and the specific designated number will allow that symbology. Any other value (excluding the exceptions below) will cause the +U logic to ignore all parameters after "x" and "y".
80 enable bar code reading (normal default state without this commana). This cancels the +U..81 command. If 80 is entered, parameters beyond "a" are illegal and are not examined by the +U logic.
81 disable bar code reading (power-up or +U..80 cancels this). If 81 is entered, parameters beyond "a" are illegal and are not examined by the +U logic.
Values between 82 and 99 inclusive are reserved for special use (some-times experimental), and no particular response is claimed if such values are used.
If there is nothing beyond the symbology type parameter in the +U command, the remaining +U parameters will maintain their previous settings or return to default settings.
b = minimum number of data characters allowed
For code 39: 1 = b = 32. Default is 1 For Interleaved 2 of 5:
for Loose: 4 = b = 40. Default 4 for non-Loose (standard): 2 = b = 40. Default 2 If the slot bar code scanner in the ZON 531/541 is to be used, it is desirable to specify this minimum parameter (in fact, the highest number consistent with the application). This achieves the goal of allowing a 1/4 inch quiet zone on the bar coded cards to be used in the slot.
c = maximum number of data characters allowed For code 39: 1 = c = 32. Default is 32 whether empty, 0, or from 33 to 255 inclusive).
For Interleaved 2 of 5:
for Loose: 4 = c = 40. Default is 40 whether <empty>, 0, or from 41 to 255 inclusive.
for non-Loose: 2 = c = 40. Default is 40 whether <empty>, 0, or from 41 to 255 inclusive.
d = independent options that are unique to certain bar code symbologies. Default zero. Any value will be accepted.
Page 332
TCL Programmer’s Manual
For code 39, sum the values of bits 0, 1, 2, 3, 4, 5, 6 which are defined as follows:
Bit 0 is set to perform mod 43 check digit verification.
Bit 1 is set to delete the mod 43 check digit from the *U command’s input buffer and the diagnostics mode display.
Bit 2 is set to perform extended code 39 decoding, which allows all 128 ASCII characters to be represented.
Bit 3 is set if the intercharacter gap (ICG) software test is to be omitted. This test should be omitted if a daisywheel type printer is being used to print the bar codes.
Bit 4 is set if the four valid code 39 characters $/+% are declared “not permissable" (declared a no-read if found) until this declaration is voided by a future +U command or a power-up occurs. This prevents the possibility of a substitution error due to severe wearing away of a bar code.
Bit 5 is set in order to disable omission of spot/voids as well as to omit tests for error codes ML PQR SS. (This is safe against substitution errors with tolerance parameter 72, and is moderately safe with tolerance parameter 74, but this bit set is even risky with the default of no tolerance parameter.)
Bit 6 is set to enable omission of spots in the quiet zone up to 40 percent of the narrow bar width. For quite narrow bars and high speed scanning, this may omit a first true narrow bar, so this should only be done when needed.
For 12 of 5, sum the values of bits 0, 1, 2, 5, 6 which are defined as follows: Bit 0 is set to perform check digit verification.
Bit 1 is set to delete the bit 0 check digit from the *U command’s input buffer and the diagnostics mode display.
Bit 2 is only available if Loose. Bit 2 is set to enable the two digit checksum.
Bit 0 and bit 2 should not both be set because the logic can not handle both checksums at once. The two digit checksum requires a unique addend that depends on the particular user’s design. Since Loose I2 of 5 does not allow the tolerance parameter “e", that parameter is used to specify the unique two digit checksum addend if it is used. The maximum addend is 99, and the value 100 prevents the two digit checksum calculation.
Bit 5 is NOT available if Loose 12 of 5.
Bit 5 is set in order to disable omission of spot/voids as well as to omit tests for error codes ML PQ R.. (This is safe against substitution errors with tolerance parameter 72, and is moderately safe with tolerance parameter 74, but this bit set is even risky with the default of no tolerance parameter.)
Bit 6 is NOT available if Loose.
Bit 6 is set to enable omission of spots in the quiet zone up to 40 percent of the narrow bar width. For quite narrow bars and high speed scanning,
Page 333
Diagnostics Mode Bar Code Input for Industrial EPROMs
Appendix J. Industrial EPROM Bar Code Differences this may omit a first true narrow bar, so this should only be done when needed.
e = two digit checksum addend if Loose, or tolerance parameter if not Loo If Loose, the default is 0 or <empty>. The maximum value is 99, and a value greater than 100 is ignored.
The following parameter should be used with caution, especially in any application in which serious consequences may result if a substitution error occurs. If it is possible at reasonable cost, it is better to improve the quality of the bar codes than to resort to using this parameter.
se, e = tolerance parameter. Permissible values are 0, 72, 74, 76, 78, 80 and
82 The default is 0 which requires good quality bar codes and affords the greatest protection against substitution errors among all tolerance parameters.
Code 39 and non-Loose [2 of 5 allow 0, 72, 74, 76, 78, and 80. However, values between 1 and 71 inclusive produce the default, and values between 82 and 255 inclusive produce the default.
73 is treated as 72 (but rejected in diagnostics mode). 75 is treated as 74 (but rejected in diagnostics mode). 77 is treated as 76 (but rejected in diagnostics mode). 79 is treated as 78 (but rejected in diagnostics mode). 81 is treated as 80 (but rejected in diagnostics mode).
72 requires a nominal wide to nominal narrow element width ratio of at least 3 to 1, but otherwise allows a greater variation than the default for each of the 4 element types. This affords reasonably good protection against substitution errors.
74 requires a nominal wide to nominal narrow element width ratio of at least 2.5 to 1, but otherwise allows a greater variation than the default for each of the 4 element types. This affords fair protection against substitution errors.
76 allows fair quality bar codes with slight risk of substitution errors.
78 allows poor quality bar codes with high risk of substitution errors. This is the most tolerant parameter if spots and voids exist.
80 allows poor quality bar codes with high risk of substitution errors. This is the most tolerant parameter if NO spots/voids exist.
When in the idle loop, simultaneously pressing the [*] and [3] keys causes the display "DIAGNOSTICS". Then, pressing [BACKSPACE] causes the display "BAR CODE TEST" for one second, after which "BARCODE +U PARAM" is displayed, indicating that the user may now set any of the four +U parameters. The user is now at STATE 1.
When a display ends in " OK", the input parameter was accepted. When an input parameter is expected and at least one but fewer than four digits are entered whose value is zero, the default is automatically accepted and "DEFAULT Ok" is appended to the display. When an input parameter is expected and four or more digits are entered, "PLEASE TRY AGAIN" is displayed and then the user is at STATE 1. When an input parameter is ex-
Page 334
STATE 1
STATE 2
TCL Programmer’s Manual pected and a digit value is entered that is out of the allowable range, "PLEASE TRY AGAIN" is displayed, and then the user is at STATE 1.
Keypad input when any of the following three are displayed:
"BARCODE +U PARAM" “PLEASE TRY AGAIN" "xxx OK".
("xxx" represents variable display of variable length)
Keypad Input Result any digit Display "PLEASE TRY AGAIN" and go to STATE 1 [CLEAR] Go to abort and then idle loop [ENTER] Display "BAR CODE TEST" and go to STATE 6 [BACKSPACE] Display "MIN=" and go tp STATE 2 [ALPHA] Display "MAX=" and go to STATE 3 *] Display "OPT=" and go to STATE 4 [#] Display "TOL=" and go to STATE 5 or for the Loose |2 of 5 EPROM: Display "CHK=" and go to STATE 5
Keypad input when the display is "MIN=" which awaits input for the minimum number of bar code characters required for acceptance of the bar code. If less bar code data is received than is required for the minimum number of characters, the scan is ignored so that not even an error code is produced. For code 39 the allowable range is 1 to 32 inclusive. For standard 2 of 5 the allowable range is 2 to 40 inclusive. For loose !2 of 5 the allowable range is 4 to 40 inclusive. The minimum allowed in the range is the DEFAULT in this state.
Keypad Input Result
[ENTER] Append "DEFAULT OK" to display and go to STATE 1 [CLEAR] Display "PLEASE TRY AGAIN" and go to STATE 1 [BACKSPACE] Display "PLEASE TRY AGAIN" and go to STATE 1 [ALPHA] Display “PLEASE TRY AGAIN" and go to STATE 1 {*] Display "PLEASE TRY AGAIN" and go to STATE 1 [#] Display "PLEASE TRY AGAIN” and go to STATE 1 no. in range Append "OK" to display and go to STATE 1 [ENTER] bad value Display "PLEASE TRY AGAIN" and go to STATE 1 [ENTER]
Page 335
STATE 3
STATE 4
STATE 5
STATE 6
Industrial Commands
Appendix J. Industrial EPROM Bar Code Differences
Keypad input when the display is "MAX=" which awaits input for the maximum number of bar code characters allowed for a good read of the bar code. If more bar code data is received than is allowed for the maximum number of characters, the error code "V" is produced.
For code 39 the allowable range is 1 to 32 inclusive.
For standard [2 of 5 the allowable range is 2 to 40 inclusive. For loose I2 of 5 the allowable range is 4 to 40 inclusive. The maximum allowed in the range is the DEFAULT in this state.
Description of keypad input is the same as in STATE 2.
Keypad input when the display is "OPT=" which awaits input for the options value. The allowable range is 0 to 127 inclusive, but only those bits that are meaningful for the utilized bar code symbology are activated.
Zero is the DEFAULT in this state. Description of keypad input is the same as in STATE 2.
For loose 12 of 5, this is for keypad input when the display is "CHK=" which awaits input for the two digit checksum addend parameter. Otherwise this is for keypad input when the display is "TOL=" which awaits input for the tolerance parameter.
For code 39 and standard I2 of 5 the allowable tolerance values are 0, 72, 74, 76, 78, 80.
For loose I2 of 5 any value from 0 to 100 inclusive is allowed. Zero is the DEFAULT in this state.
Description of keypad input is the same as in STATE 2.
The display "BAR CODE TEST" remains until a bar code is scanned or [CLEAR] is pressed (see below). During bar code scanning, if a bar code consisting of more than 16 characters is displayed, the scroll forward key ( [#] ) and the scroll backward key ( [*] ) are functional.
Keypad Input (Result
[CLEAR] Go to abort and then the idle loop.
Following are unique parameters of two commands you will use when programming the ZON 5XX terminals. See the appropriate commands in section 5 of this manual for parameters common to all terminal types.
Page 336
Description:
Category:
Buffer Status:
Terminals Supported:
Command Format: (ZON 530/531)
Parameters:
TCL Programmer’s Manual
This command description is intended for use by ZON 5XX programmers when programming industrial terminals and does not provide a full listing of all the E command parameters. Refer to page 5-37 for a full description of the E command and the first 5 parameters s1, a1, j, S2 and i used for the - 5XX series. Listed below are command formats for industrial terminals ZON 530/531 and ZON 540/541 as well as descriptions of the two parameters, "s3" and "t", that are unique to these terminals.
Data Entry
Source Buffer Destination Buffer
No change Buffer updated
Terminal Special Conditions
ZON 530/531 parameters a2, c, and s3 not used ZON 540/541 parameters a2 and c not used
Default Parameter Value Description
(Note: See pages 5-38 and 5-39 for parameters s1, a1, j, S2 and i.)
t 0 Optional; timeout in seconds (0 - 255, 0 = no timeout). After a "bad" mag card read and the message ’PLEASE TRY AGAIN’ appears on the display, the timeout begins. When the timeout expires the requirement to obtain a good card read is canceled and the idle string is entered (simulated *KO)
Page 337
Appendix J. Industrial EPROM Bar Code Differences
Command Format: (ZON 540/541)
Parameters: Default Parameter Value Description
(Note: See page 5-34 for parameters s1, a1, j, s2 and i.)
$3 0 Number of commands to skip of three bad card reads (ZON 540/541 only) t 0 Optional; timeout in seconds (0 - 255,
0 = no timeout). After a "bad" mag card read and the message ’PLEASE TRY AGAIN’ appears on the display, the timeout begins. When the timeout expires the requirement to obtain a good card read is canceled and the idle string is entered (simulated *KO)
Page 338
TCL Programmer’s Manual
Description: | Causes the terminal to accept input from the cardreader only to place a field separator after the data entry and append the data to the destination buffer. When this command is used, there is no input type or data length restriction. If the user presses a key, the terminal beeps, displays CARD ENTRY ONLY for three seconds and returns to the idle prompt.
Category: Data Entry
Buffer Status: Source Buffer Destination Buffer
No change Buffer updated
Terminals Supported: Terminal Special Conditions XL Parameters "s", "a", "c" not available TRANZ 330/340 Parameters “s", "a", "c" not available TRANZ 380 None ZON 530/531 Parameters “a", “c", "s" not available ZON 540/541 Parameters "a", "c" not available
Note: See page 5-91 for descriptions of "a" and "c" parameters.
Command Format:
(ZON 530/531) Parameters: Default Parameter Value Description t 0 Optional; timeout in seconds (0 - 255,
0 = no timeout). After a "bad" mag card read and the message PLEASE TRY AGAIN’ appears on the display, the timeout begins. When the timeout expires, the requirement to obtain a good card read is canceled, and the idle string is entered (simulated *KO).
Page 339
Appendix J. Industrial EPROM Bar Code Differences
Command Format: (ZON 540/541)
Parameters: Default Parameter Value Description s 0 Number of commands to skip if three bad card reads.
WARNING: If you wish to enter a value other than "0", omit the second parameter in order for the command to function.
t 0 Optional; timeout in seconds (0 - 255, 0 = no timeout). After a "bad" mag card read and the message PLEASE TRY AGAIN’ appears on the display, the timeout begins. When the timeout expires, the requirement to obtain a good card read is canceled, and the idle string is entered (simulated *KO).
WARNING: If this parameter is a value other than "0", the first parameter will be deactivated.
J- 13
Page 340
TCL Programmer’s Manual