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 24 of 26

TriCoder Users Manual, pages 231 to 239

Pages 231 to 239 of 246

The original document is the PDF (4.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.

Filed in the catalog under the Worth Tricoder T61, Worth Tricoder T62, Worth Tricoder T63, Worth TriCoder LT63, Worth Tricoder T50, Worth TriCoder T52 and Worth TriCoder T53

Page 231

• The dialing string is typically ATDTnnnnnnnn, where n is any other modem commands and the phone number you are dialing. One command you may find useful is a “pause” in the dialing string. A ½ second pause can be inserted by putting a “~” in the dialing string. Any Hayes-compatible commands can be programmed, but the length of the entire string must be limited to 24 characters. • Automatically, the TriCoder resets the modem before the first dialing attempt and between dialing attempts. You can vary the length of the delay between dialing attempts (Retry Delay) from the standard default of 30 seconds to anything from 01-99 seconds. You cannot make this change by scanning the bar coded TriCoder setup menu; it can only be made through the keyboard setup on the TriCoder.

Dialing the host… After setting the TriCoder to the correct protocol (Polled with ACK/NAK or XMODEM), and specifying the Dialing String, return to the Mode Menu and answer NO to the prompts until you see: DATA UPLOAD? KEY [Y/N]?

•

Press the TriCoders “F2” key (not the “Yes” key) to start the transmission of the Dialing String to the Modem.

•

The TriCoder first transmits the dialing string, then waits for the modem to answer. If the modem answers, it responds by transmitting a CONNECT message which the TriCoder displays on its screen. Because the CONNECT message comes so fast, some of the characters in the word CONNECT may be missing on the TriCoder display.

•

If the TriCoder is unable to make a connection on the first try, it attempts to connect by redialing two more times. The TriCoder uses the Retry Delay setup in the TriCoder to determine how long to wait before it tries to dial again. If you do not want the TriCoder to redial, simply turn the TriCoder OFF. If the TriCoder is still unable to connect after three attempts, it displays the following message : FAILED TO CONNECT HIT ANY KEY

XMODEM Upload XMODEM is by far the modem protocol of choice. It is available in most communications software packages, many of which do not require extensive programming by the user. You can also use XMODEM to upload by cable without a modem attached, simply by not specifying a dialing string in the setup. The TriCoder does not try to dial; it just waits to be S-2

Page 232

polled by the host computer. The following information describes what happens during an XMODEM upload:

•

After the TriCoder has received the CONNECT message from the modem, the TriCoder sends out the following message to the host computer : PREPARE TO RECEIVE TRICODER DATA BY XMODEM

•

Once the host begins the file transfer, the TriCoder transmits its data in accordance with XMODEM protocol.

•

At the end of the data transmission, the TriCoder waits 2 seconds then sends out its EOF String (if you have one programmed), signaling to the host that the TriCoder is ready to continue. XMODEM does not use the TriCoder's EOF String as an actual End-Of-File marker; instead, XMODEM uses the Hex 1A character at the end of the file.

•

The TriCoder now waits 10 seconds to receive either an ACK (hex 06) or an EOT (hex 04). An ACK (hex 06) tells the TriCoder to retain the data file just transmitted, an EOT (hex 04) tells it to delete the data file. If the TriCoder receives either character within the 10 seconds, the TriCoder displays the appropriate message: ACK, FILE SAVED (If ACK is received) Or EOT, FILE ERASED (If EOT is received) After displaying either message, the TriCoder hangs up the line by sending +++ATH0.

•

If neither an ACK nor an EOT is received by the end of the 10 seconds, the TriCoder disconnects the line and displays the following prompt, waiting for action by the operator: DELETE DATA FILE? KEY [YES/NO]?

S-3

Page 233

Xmodem Procomm Script File The following Procomm script file is an example of an automated Xmodem file upload from the Tricoder to the host. TRANSMIT “+++ATSO=1^M” WAITFOR “CONNECT” 86400 PAUSE 15 GETFILE XMODEM “FLE0.DAT” PAUSE 3 TRANSMIT “CHR$(04)” *insert ASCII character 04 to delete the file from the TriCoder PAUSE 3 HANGUP PAUSE 3 EXIT

Unattended Dial-up by Host to TriCoder The TriCoder can also upload its data by waiting for a host computer to initiate the upload. Dialing up a TriCoder from a remote host computer requires the following procedures:

•

Use the 5 volt power supply to conserve batteries.

•

Set the modem to “Auto-Answer”.

•

Set the TriCoder to use “Polled with ACK/NAK” or “XMODEM” Protocol. XMODEM is the most commonly used and easiest to set up.

•

If desired, you can initialize the modem by scanning a bar code "ATS0=1" while in Non-Portable mode.

•

Start the TriCoder’s upload by responding with YES to the DATA UPLOAD? prompt. The TriCoder then waits to be polled.

See the previous sections on XMODEM Upload for details on what happens after the connection is made.

S-4

Page 234

Appendix T

Buffered Terminal Mode Buffered Terminal Mode is a serial on-line mode, not a portable mode. Using the data prompts in Program #1, the TriCoder prompts the operator for input, writes the data to the TriCoder RAM, and transmits the data upon request from the Host computer using a Polled with ACK/NAK protocol. Buffered Terminal Mode is designed for the user who has several multi-dropped 422 T53 TriCoders and wants to collect data all day with periodic requests from the host to transmit the data. This mode uses Program #1, Data File #1, and Table #1 only.

Configuring the TriCoder for Buffered Terminal Mode… Before setting the Tricoder in Buffered Terminal Mode, you must complete the following: 1. Upload any data file currently in the TriCoder. 2. Select RS-422 as the Computer Interface on the TriCoder setup. 3. Specify ID Characters for each TriCoder in the string. ID characters must be ASCII 96-127. 4. Set the Baud Rate, Parity, Data Bits, Stop Bits, and EOF String to match what the host computer program expects. 5. Enter the program you intend to use as prompts in Program #1. 6. The 5Vpower supply must be plugged into the TriCoder.

Getting into Buffered Terminal Mode… Once you have met all of the requirements, put the TriCoder in Buffered Terminal Mode by scanning Operation Mode, then 6 on the TriCoder Setup Menu. This automatically sets the TriCoder to prompt the operator using Program #1 and use a variation of the Polling with ACK/NAK communication protocol. Upon entering Buffered Terminal Mode, if Program #1 does not exist, or if there is a data file still in the TriCoder, the TriCoder displays an error message then resets itself. It will display the opening screen as though it was turned off then back on.

Operating in Buffered Terminal Mode These are the steps the TriCoder goes through when operating in Buffered Terminal Mode:

•

The TriCoder begins prompting the user according to the prompts stored in Program #1. When the host polls the TriCoder with its ID Character, the TriCoder suspends prompting the operator and transmits the first stored data field in the format of:

ID+ Prefix + Data + CheckSumHigh + CheckSumLow + Suffix + Terminator

T-1

Page 235

•

After transmission of each field of data, the TriCoder waits for its ID character followed by an ACK or NAK from the host. If the TriCoder receives a NAK from the Host, it re-transmits the data. If the TriCoder receives an ACK from the host, it goes ahead and sends the next data field without waiting for another poll; the poll is only necessary to begin the entire transmission. As long as the TriCoder continues to receive ACKs from the host, it continues to transmit data until all of the data fields are sent to the host.

•

After all of the fields are transmitted, the TriCoder sends the EOF String then waits for an ACK or NAK. If the TriCoder receives an ACK, it deletes the data file and returns to prompting the operator using the data prompts in Program #1.

•

If the TriCoder receives a poll and its data file is empty, the TriCoder sends back the following string of data: ID Character + ETX (03) + Terminator The TriCoder does not expect an ACK or NAK from the host after transmission of this string.

•

If the TriCoder times out waiting for an ACK, (maybe it missed it while doing something else), it will transmit the following: ID Character + EOT (04) + Terminator This is a signal to the host to discard all of the data just received from that TriCoder. The TriCoder will include all of the same data in the next transmission. The TriCoder does not delete the data when it misses an ACK, it simply goes back to collecting data from the operator. After the host program is finished getting rid of that TriCoder's last transmitted data, it should then poll the TriCoder again to re-initiate the data transfer.

See the TriCoder Utilities disk for a program called BUFFPOLL for an example of a program to use with Buffered Terminal Mode. A BASIC program as well as an executable program is included.

T-2

Page 236

Appendix U

Using the TriCoder as a Time Clock Time clock applications are a popular use for the Tricoder. The most common ways to use the TriCoder as a time clock utilize either Buffered Terminal Mode or Data Collection Mode. In either case, you will want to display the time on the screen of the TriCoder. This is done while creating a program by specifying "DIS" (for DISplay date and time) in the DATA ID field of a: • T (Time Stamp) • Y (Date Stamp) • S (Date and Time Stamp) or • D (Data) programming "Statement Entry Type". The time and/or date is displayed above the next Data prompt.

If you have a power failure… If you are plugged into wall power and there is a power failure, the TriCoder batteries do not take over until you press the ON/OFF key. If you are running in Buffered Terminal Mode and this happens, once you go to battery power the TriCoder will display the opening message and go right back to where it was when the power was interrupted.

Setting the time on the TriCoders To use the time clock function efficiently, you will want the host to be able to set the time on the attached TriCoders. Setting all of the TriCoders from the host ensures that they are all set the same. The TriCoder uses the following protocol to set the time: 1.

The host sends ID+SOH

2.

The TriCoder responds with ID+<CR>

3.

The host sends ID+mmddyyhhmmss + 2 chksum bytes + <CR>

4.

If the TriCoder computed checksums match the received checksums, then the TriCoder responds with ID+ACK. If the checksums don't match, then the TriCoder responds with ID+NAK

5.

If the host gets a NAK, then start the whole sequence over again by going back to step 1.

See the TriCoder Utilities diskette for a program called TIMESET for an example of a program written to set the time on multiple TriCoders. A BASIC program as well as an executable program is included.

U-1

Page 237

Index 1

B

1 second voice messages........................................13-2 1/2 second voice messages.....................................13-2

B10 Rubber Laser Boot ...........................................E-4 Bar Code Slot Badge Scanner..................................E-2 Bar Code Trimming with Xtra Statement ........................................... 8-8 Bar Code Type identification................................. 6-12 Bar Codes - using to program TriCoder ................ 8-21 Battery Life indicator.............................................. A-3 Battery Power ......................................................... A-1 Battery recharge warning........................................ A-2 Battery recharging circuitry.................................... A-2 Battery Status indicator.......................................... 6-19 Baud Rate - TriCoder Setup Parameter ................. 6-28 Beep Tone - setting up............................................. 6-8 beeper volume.......................................................... 6-8 BEGIN key - using in Data Review Mode .............. 2-3 BEGIN OF FILE.................................................... 14-1 Belden 1227AI........................................................ Q-1 Black square cursor................................................... 6-8 Branch - Programming Statement Type .................. 8-4 Branch Statement example of.......................................................... 8-5 how to create ...................................................... 8-5 restrictions on use............................................... 8-4 Branching logic........................................................ 8-5 Breaking out of loops in program using END key 8-17 Buffered Terminal Mode .........................................T-1 setting in Operation Mode ............................... 6-21 using Host Response Delay............................... 6-30 Button Bar Menu in Virtual TriCoder Utility.......... 8-2

2 2 of 5 Code default length setting ........................................6-11 enabling check digit .........................................6-11 TriCoder Setup Parameter................................6-11 2 of 5 Length TriCoder Setup Parameter................................6-11 2 second voice messages........................................13-2

3 301 Keyboard error ................................................14-9

4 422 Cable pin-outs ..................................................D-3

A ACCESS DENIED.................................................14-1 Accessing Voice Message Operations ...................13-3 Accumulate Mode ...................................................H-7 numeric barpad table .........................................H-7 ACK / NAK without polling Protocol setting.................................................6-26 Adapter using if you have the wrong serial cable............5-4 Adding key sequences for uploading into an application uses for Upload Prefix/Suffix...........................8-17 Advanced Features/Functions.................................H-2 Advantages of USB Interface .................................... iv AIAG.......................................................................H-1 Aiming Dot Duration .....................................6-19, C-4 Alkaline rechargeables............................................A-2 Allocating memory for multiple data files.............11-1 Allocating memory for tables ...................... 11-1, 12-1 Allocating memory to a data file or table ..............6-24 Alpha shifted entry starting keypad shifted in program...................8-14 Alt key support........................................................H-4 Alternative Date Format using with Date Stamp Statement type ..............8-7 Alternative Date and Time formats TriCoder Setup Parameter................................6-23 Alternative date formats............................See Protocol APPEND DATA FILE ..........................................14-1 Appending data to another field use of Upload Prefix/Suffix .............................8-18 using Upload Suffix .........................................8-21 Application interface upload delays.......................8-18 ASCII Code Equivalent Table ................................O-1 ASCII codes 000 to 255 ..........................................H-5 Auto-incrementing of displayed data.....................8-10 automatic modem redialing......................................S-2 Automatic pick list download ..............................12-10 Automatically entering a "quantity" of 1 .................8-7 Avoiding incorrect setup with laser ........................... 6-8

C Cable Pin-outs......................................................... D-1 Cables choosing the correct cables for a PC serial port 5-3 needed for cloning or transmitting/receiving programs..............................................6-4, 10-1 needed for voice message cloning ..................... 13-7 for Hayes compatible modems...........................S-1 F32A 25 pin modem cable.................................E-2 F34 DB25 Null Modem serial cable ..................E-1 F36 DB9 straight serial cable.............................E-1 F46B 9 pin modem cable ...................................E-2 PC 422................................................................E-3 Can't edit program................................................ 14-12 Can't read your bar codes....................................... 14-7 Caps Lock ON - Code 39 setup parameter .............. 6-9 Carriage Return Separated Files .............................. 4-6 Causing the reader to beep..................................... 6-27 Caution on direct updating of data on upload ......... 4-1 CCD Continous On................................................. C-4 CCD pin-outs .......................................................... D-4 CCD Scanners......................................................... C-3 CHANGE BATTERIES ........................................ 14-1 CHANGE LITHIUM BATTERY .................14-1, A-5 Changing character output................................................ 6-25 from serial to wedge.......................................... B-3 from wedge to serial.......................................... B-3 memory allotments........................................... 6-24 more than one setup parameter at a time using the bar coded setup menu ......................... 6-8 more than one Setup parameter at a time using the keypad................................................. 6-9 1

Page 238

setup parameters using the keypad .................... 6-2 the adapter on an F30 PC Keyboard Splitter cable .............................................. 5-6 the default voice messages .............................. 13-6 the TriCoders automatic shut-off time ............ 6-24 the voice message partitions ............................ 13-2 voice message time allotments ........................ 13-2 Character codes - reassigning................................ 6-25 Characters - TriCoder Setup Parameter ................ 6-25 Check Character ......................................................H-2 CHECK LITHIUM BATTERY message ...............A-5 Checking keyed UPC code data....................................... 8-12 to see how many times you have scanned an item number ............................................................... 2-2 Choosing USB Interface .................................................... 3-3 a COM port in the Windows TriCoder Utilities 4-4 CLEAR key - using to edit an entire data record .... 2-4 Clock using to date and time stamp data...................... 8-6 using TriCoder as a time clock ..........................U-1 using TriCoder to display date and time ......... 8-13 Cloning cable pin-outs.....................................................D-3 the entire TriCoder.................................... 6-5, 10-2 to or from older TriCoders............................... 10-2 voice messages................................................. 13-6 cables for ...........................................................13-7 voice ONLY..................................................... 13-7 requirements for............................................... 13-6 using the TriCoder Utilities for Windows ....... 7-10 Voice Messages from TriCoder to TriCoder ........ 13-6 CLSI format for Codabar ...................................... 6-10 Codabar.................................................................... L-1 CLSI format ..................................................... 6-10 Start/Stop transmission ...................................... L-1 transmitting start and stop characters .............. 6-10 TriCoder Setup Parameters.............................. 6-10 Code 128 TriCoder Setup Parameter ............................... 6-12 Specifications...................................................... I-1 subsets................................................................. I-1 Code 3 of 9 or Code 39 setting up............................................................ 6-8 about Accumulate mode ....................................H-7 enabling the Mod 43 check character.....................6-9 Function/Control key support............................H-4 transmitting start and stop characters ................ 6-8 TriOptic Code 39 or StorageTEK codes ......... 6-12 turning Accumulate mode on/off....................... 6-8 using Caps Lock ON.......................................... 6-9 Advanced Features/Functions ...........................H-2 Code 93 TriCoder Setup Parameters.............................. 6-13 Specifications.....................................................N-1 Collecting Data in Program #0 .................................................... 1-2 in Program #1 .................................................... 2-1 Comma Separated Files........................................... 4-7 setting the Terminator Character ....................... 4-7 Command key for Macintosh how to emulate using Code 39 barcode.............H-4 Completed pick list.............................................. 12-10 Computer Interface - Learning Mode.................... 6-17 Computer/TriCoder Interface for Pick Lists ....... 12-10 Configuring the TriCoder after hardware is connected ............................... 5-7 in serial mode..................................................... 5-4 for RS422......................................................... 6-17

Connecting the Hardware Keyboard wedge interface..................................5-6 serial interface ....................................................5-3 Conserving data memory .......................................8-14 Continual beeping on RS-232 Terminal ................6-27 Continuous On setting for lasers/CCD's ................. C-4 Control key support................................................... H-4 Converting from serial to wedge or wedge to serial .............................................. B-3 Creating a custom program ......................................8-1 getting into PROGRAMMING MODE .............8-1 in Virtual TriCoder Utility .................................8-5 Creating mulitple data files ....................................11-2 Creating TriCoder Programs on your PC.................8-1 Ctrl Z as End Of File marker .................................6-23 Cursor keys - moving around in Data Review mode......................................................2-3 Cursor size - shifted alpha vs. numeric entry...........6-8

D Data - Programming Statement Type ......................8-4 Data Bits 7 bits or 8 bits ...................................................6-28 TriCoder Setup Parameter ................................6-28 Data Collection Mode getting into from NON PORTABLE mode .......1-1 Program #0 tutorial.............................................1-1 setting in Operation Mode................................6-21 Data entry prompts...................................................8-4 data file deletion...................................................14-15 DATA FILE EXISTS.............................................14-1 prompt when entering Data Review Mode ........2-3 Data file formats.......................................................4-6 Data format for portable transmission .....................4-6 Data ID specifying Pick List operation..........................8-13 specifying Table Maintenance .........................8-13 TriCoder Programming Prompt .......................8-11 use to prevent duplicate data entry...................8-14 use to specify tables and pick lists ...................8-12 using to prevent duplicate entry in tables........12-3 using for Data Identifiers..................................8-11 using for Pick Lists...........................................12-7 using to check UPC/EAN check digits for keyed data..............................................................8-12 using to display Date and Time........................8-13 using to specify Table Maintenance.................12-5 Data Identifiers example of use of .............................................8-12 use of Data ID field ..........................................8-11 Data Maintenance using tables ..............................12-4 DATA NOT FOUND.............................................14-1 Data Review Mode...................................................2-3 editing individual characters in a data record ....2-4 restrictions on using with Pick list .................12-13 scrolling through the data record by record .......2-4 using the BEGIN key to go to start of file .........2-3 using the Clear key to edit..................................2-4 using the END key to go to the end of file.........2-4 using the F1 key to collect data..........................2-5 using the LEFT ARROW key to scroll backwards through data ..................................................2-4 using the UP ARROW key to enter Data Review Mode .............................................................2-3 Data Security - exiting by using keypad ................6-28 Data Security Features.............................................................6-25 OFF/ON Protocol setting .................................6-28 Data Statement - example of....................................8-4 2

Page 239

DATA TOO LONG ...............................................14-1 DATA TOO SHORT .............................................14-2 Data transmission format for portable mode ...............................................4-6 Non Portable mode...........................................6-29 Data Type Alphabetic only ................................................8-14 digits only .........................................................8-14 numeric only.....................................................8-14 starting data "shifted" .......................................8-14 TriCoder Programming Prompt .......................8-14 DATA TYPE ERROR ...........................................14-2 Data Upload and USB..............................................4-2 Data Upload Mode - setting in Operation Mode ...6-21 Data Validation example for.......................................................12-1 table file format ................................................12-2 using Tables......................................................12-1 DATA XMIT ERROR ...........................................14-2 Date and Time Formats..See Alternative Date Formats Protocol setting.................................................6-28 Date and Time Stamp Programming statement type..............................8-6 example of ..........................................................8-6 Date set ................................................................... 6-22 Date Stamp Programming statement type..............................8-7 example of, how to use.......................................8-7 Decode light on lasers ..............................................F-2 Default data displayed..............................................8-9 Default data incremented using Prompt text statement .............................8-10 Default programs - tutorials ........................................ii Default serial interface settings using them if you can .........................................5-5 Default Serial Parameters - diagram ........................5-6 Default voice message partitions ...........................13-2 Default Voice Messages ........................................13-6 Delay for modem re-dialing ............................ 6-30, S-2 Delays example of delay in Upload Prefix/Suffix .......8-18 using Upload Prefix/Suffix ..............................8-18 Delays on transmission ..........................................6-18 DELETE key using to delete individual characters in a data record ............................................................2-4 Deleting a data file ........................................................14-15 a program........................................................14-15 program from the TriCoder ................................8-2 program statements ..........................................8-16 Determining interface from opening screen .. 6-20, B-1 Determining the correct Computer Interface for Keyboard Wedge Mode................................5-9 Dialing String - TriCoder Setup Parameter ... 6-29, S-1 Dial-up by TriCoder to Host ....................................S-1 Difficult code - using special settings to read......... C-4 Direct sunlight scanning ........................................6-19 Direct uploading into an application using upload prefix and suffix..........................8-17 DIS - use as Data ID to display date and time ......8-13 Disabling F1 key in Data Collection see also Data Security ......................................6-28 Disconnecting from the PC Keyboard splitter cable.... 5-7 Display and Error Messages ..................................14-1 Display Date and Time - use for Data ID field.....8-13 Displaying host messages ...................................................6-27 last data collected for prompt as default ............8-9 messages in another language ..........................6-20 unprintable characters in Upload Prefix/Suffix................................................ 8-20 Double decode for lasers ........................................ C-4 Double quotes used in Comma separated files........ 4-7 Down Arrow - during keypad setup ........................ 6-3 Downloading a Pick List ......................................................... 12-7 a table to the TriCoder .............................7-12,12-7 DUPLICATE ACCESS ......................................... 14-2

E EAN ........................................................................ K-1 Editing a program ......................................................... 8-23 individual characters in a data record ................ 2-4 or deleting program statements........................ 8-16 Upload Prefix/Suffix with data present ........... 8-20 Emulating keyboard entry.................................................. 8-17 keystrokes on Mac USB.................................... H-5 keystrokes using the Upload Prefix/Suffix ...... 8-17 Enabling 2 of 5 check digit.............................................. 6-11 transmission of NSC character......................... 6-10 UPC/EAN check digits .................................... 6-10 END key in Data Review Mode ........................................ 2-4 use in No/End Statement.................................. 8-16 using to end Data Collection.............................. 2-3 End of File for uploaded data.............................................. 6-23 in Programming mode........................................ 2-4 End of File marker for tables ................................. 12-2 END OF PGM. RECV........................................... 10-3 END OF TRANSMIT.............................................. 4-5 End Setup - scanning to exit Setup mode ................ 6-8 Ending Data Collection Mode in Program #1 ......... 2-3 ENTER key in Data Review Mode ......................... 2-4 Entering a program using bar codes only .............. 8-21 Entering data from a serial device .......................................... 8-15 using a scanner only......................................... 8-15 using the keypad only ...................................... 8-15 ENTRY TYPE ERROR......................................... 14-2 Entry types ............................................................... 8-3 EOF - how to set .................................................... 6-23 EOF String - TriCoder Setup Parameter................ 6-23 EOT, FILE ERASED............................................. 14-2 EOT, FILE SAVED............................................... 14-2 Equivalent bar codes for emulating keystrokes in programming.................................................... 8-21 Error Messages ...................................................... 14-1 Establishing communication in Non Portable Mode ........................................ 3-1 for Keyboard Interface ....................................... 3-2 European date format - dd/mm/yy......................... 6-23 Excel uploading into .................................................... 4-1 spreadsheet........................................................ 4-10 Exiting Data Collection .................................................. 1-2 Non Portable mode....................................3-1, 6-10 Extended Coupon Code ...................................6-9, K-2 External wedge ........................................................ 5-6

F F1 key using in Data Review Mode............................... 2-5

3