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 11 of 16

M3000 Portable Bar Code Reader User's Guide, pages 99 to 108

Pages 99 to 108 of 156

The original document is the PDF (1.5 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 AML M3000

Page 99

7Communications

FUNC + XMIT M3000 Communications Selection Menus Transmit Select > Menu Level 1

> Menu Level 2

Upload Data

All Data Files

↵

Pgm "Name"

> Menu Level 3

All Data Files

"Data File Name"

Receive

Send

↵

↵

> Menu Level 4 ↵

↵

↵

Comments:

Keyboard Wedge Serial Wedge RS232 Serial Modem

↵

Keyboard Wedge Serial Wedge RS232 Serial Modem

↵

Keyboard Wedge Serial Wedge RS232 Serial Modem

↵ ↵ ↵

↵ ↵ ↵ ↵ ↵ ↵ ↵

Select the XMIT mode then, press the ENTER key to transmit All Data Files stored in the M3000.

Select the XMIT mode, then press the ENTER key to transmit All Data Files for the selected program.

Select the XMIT mode, then press the ENTER key to transmit selected data file.

ASCII

RS232 Serial Modem

↵ ↵

Select the XMIT mode and press the ENTER key to receive the selected data file.

System Files

RS232 Serial Modem

↵ ↵

Clone

RS232 Serial Modem

↵ ↵

Programs

All Program Files

↵

RS232 Serial Modem

↵ ↵

"Program File Name"

↵

RS232 Serial Modem

↵

Select the XMIT mode and press the ENTER key to receive the selected system file. Select the Receive mode, and press the ENTER key to receive a clone file of the M3000 settings. Caution: ERASES ALL M3000 memory, then writes all clone file data into memory. Select the XMIT mode, then press the ENTER key to transmit All Program Files stored in the M3000. Use Up/Down Arrow keys to select a program file. Select the XMIT mode and press the ENTER key to transmit the selected program file. Select the XMIT mode, then press the ENTER key to transmit the current M3000 setup options.

↵ Setup

Transmits the current M3000 setup options.

↵

RS232 Serial Modem

↵ ↵

Lookup Files

Clone

All LookupFiles

↵

RS232 Serial Modem

↵ ↵

"Lookup file Name"

↵

RS232 Serial Modem

↵ ↵

All Program Files

↵

RS232 Serial Modem

↵ ↵

Select the XMIT mode, then press the ENTER key to transmit ALL Lookup Files stored in the M3000. Use Up/Down Arrow keys to select a Lookup file. Select the XMIT mode and press the ENTER key to transmit the selected Lookup file. Select the XMIT mode and press the ENTER key to clone the M3000 system files.

7-5

Page 100

M3000 Portable Bar Code Reader User's Guide

PCOM COMMUNICATION SOFTWARE PCOM is a communications program that runs on any MS DOS compatible computer which allows you to transfer files between a PC and your Model 3000 portable bar code reader. PCOM even provides an automated unattended file reception mode (Auto Receive). PCOM has five Menu Options. These are SETUP, SEND FILE, RECEIVE FILE AUTO RECEIVE, and EXIT PROGRAM. Below is a description of each Menu Option. SERIAL PORT SETUP. The Serial Port section of the SETUP menu defines the serial port parameters. This setup procedure is used for both sending and receiving files. SERIAL PORT defines which communication port will be used. PCOM supports two serial ports: NOTE: If you have a serial port board which allows you to set the interrupt and port addresses use the following assignments for COM1 and COM2:

Interrupt Port Address

COM1

COM2

IRQ4 3F8 Hex

IRQ3 2F8 Hex

BAUD RATE. This option defines the speed of the serial port. PCOM supports many data transmission speeds: 300, 600, 1200, 2400, 4800, 9600, 19200, and 38400 bps. NOTE: If you experience loss of data during serial communication, reduce the BAUD Rate. DATA BITS. This option defines the number of data bits used during serial communication. PCOM supports both 7 and 8 data bits. STOP BITS This option defines the number of stop bits used during serial communication. PCOM supports both 1 and 2 stop bits. PARITY This option defines the type of parity used during serial communication. PCOM supports three different parity settings: 1) NONE, 2) ODD, and 3) EVEN.

Selecting a Protocol The Protocol Section of the SETUP contains options specific to the protocol used for file transfer. PROTOCOL This option defines the protocol being used during file transfer. PCOM supports three different protocols 1) NONE, 2) XON/XOFF, and 3) XMODEM. NOTE: When using the XMODEM protocol, PCOM will support both XMODEM Checksum, and XMODEM CRC. XON/XOFF BEEP. This option is only applicable when the XON/XOFF protocol is being used. This option indicates whether a beep will occur whenever a XOFF state occurs. This may occur when the sender receives an XOFF from the receiver. XMODEM RETRIES. This option is only applicable when the XMODEM protocol is being used. This option defines how many times that the same block will be resent when an error occurs before PCOM will abort the file transfer.

Auto Receive Mode INTERFACE. This option defines the type of interface PCOM will be using for file transfers. PCOM supports both a DIRECT connect, and Hayes compatible modem communications. FILE MODE. This option defines how the files will be collected during the auto receive mode. APPEND. In this mode, PCOM appends all received files to the same filename. The user specifies the filename before entering the auto receive function. 7-6

Page 101

7Communications INCREMENT. In this mode, PCOM will create a new file for each received file. The user specifies the filename, and a three digit starting extension. Each file will have the same filename, but the extension will be incremented after each received file. When sending or receiving files from the M3000, the interface must be directly connected by a NULL Modem cable, or if the user wants to receive files from the M3000 via a modem, then the AUTO RECEIVE function must be used. The user is prompted for the filename to be sent or received. After the filename is entered, the file transmission begins. During the file transfer, the user may abort the transfer by pressing the Escape key at any time. NOTE: Before sending or receiving files, make sure that all setup options are set correctly to match the options of the M3000. AUTO RECEIVE. The Auto Receive function provides the capability to receive files from the M3000 in an unattended mode. The Auto Receive function will receive multiple files from the M3000 without user intervention. PCOM will create a log file (LOG.TXT) that will provide statistics of the file transfers. The auto receive function supports a DIRECT connection to the M3000 by a NULL Modem cable, and also supports a HAYES compatible MODEM. When using a modem, PCOM will automatically: 1.

Answer each incoming phone call automatically and switch to the connection speed of the incoming call.

2.

Initiate a file transfer when using XMODEM, or wait for data in the other protocols.

3.

After the transfer is completed, Make an entry in the log file and go back to Step 1.

The File Mode option in the SETUP function determines how each file will be processed by PCOM. While in APPEND mode, PCOM will append each incoming file to the same filename. While in INCREMENT mode, each file will be received in a separate filename. The user specifies the filename, a three digit starting extension. Each file will have the same filename with a different extension. After each file is received, the extension is incremented. NOTE: Because three digits are incremented for a unique filename in the INCREMENT mode, the user must process the files before 999 files have been received. Before using the AUTO RECEIVE function, make sure that all setup options are set correctly to match the options of the M3000. Also make sure that the Auto Receive Section options are set to your preference.

SOFTCOM Keyboard Emulation Software SOFTCOM is a memory resident PC program which allows data received from the serial port to appear as direct keyboard input. SOFTCOM may be used with a bar code reader, or any serial output device. Once SOFTCOM receives data from a serial port, it will make the data appear as keyboard input. SOFTCOM should work with most well behaved programs, but may not work with programs which modify the COM port settings, or programs that intercept keyboard input. SOFTCOM supports a wide range of serial port options and also supports flow control via the XON/XOFF protocol.

SOFTCOM Kill Program The SOFTCOM kill program will unload SOFTCOM from memory. This same function may be performed from the Configuration program, but is also included as a standalone program, so that it

7-7

Page 102

M3000 Portable Bar Code Reader User's Guide may be called from batch files or other programs. To remove SOFTCOM from resident memory, type SKILL from the DOS prompt, and press the ENTER key.

Using SOFTCOM Following is a list of the steps needed to run SOFTCOM: 1.

Run the SOFTCOM Configuration Program by typing SCONFIG from the DOS prompt, and press the ENTER key. For Example: C:\> SCONFIG <ENTER>

2.

Set up the serial port parameters to match your bar code reader or other serial output device being used.

3.

Exit the SOFTCOM Configuration program, saving your changes.

4.

Load the SOFTCOM memory resident program by typing SOFTCOM from the DOS prompt, and press the ENTER key. For Example: C:\> SOFTCOM <ENTER>

SOFTCOM is now loaded and making serial input appear as if it were keyboard input.

SOFTCOM Configuration Program. The SOFTCOM configuration program allows the user to configure the many options of SOFTCOM. All of these options are explained in detail in the SOFTCOM Configuration Program.

Communication Options Serial Port This option defines which serial port SOFTCOM will be using. SOFTCOM supports both COM1 and COM2. NOTE: If you have a serial port board which allows you to set the interrupt and port addresses use the following assignments for COM1 and COM2:

Interrupt Port Address

COM1

COM2

IRQ4 3F8 Hex

IRQ3 2F8 Hex

BAUD Rate This option defines the serial port transmission speed. SOFTCOM supports the following transmission speeds: 300 600 1200 2400 4800 9600 19200 38400 NOTE: If you experience loss of data from the serial port, your BAUD rate may need to be decreased. Data Bits This option defines the number of data bits used during serial communication. SOFTCOM supports both 7 and 8 data bits. This option defines the number of stop bits used during serial communication. SOFTCOM supports both 1 and 2 stop bits. Use XON/XOFF This option indicates whether XON/XOFF will be used for flow control during serial communication. XON/XOFF is a protocol used by the receiver to control the flow of data. The receiver sends an XOFF to the sender when the receiver buffer is full. When the sender receives an XOFF, the sender will not send any more data until the sender receives an XON. If your serial device uses the XON/XOFF protocol, enable this parameter. 7-8

Page 103

7Communications Speed This option defines how many times that SOFTCOM will check the keyboard buffer per second. SOFTCOM supports three different settings: Slow Medium Fast

- 36.4 checks per second - 72.8 checks per second - 145.6 checks per second

NOTE: If you experience loss of data from the serial port, your Speed may need to be decreased. Function Keys This option provides a mechanism for SOFTCOM to represent Function Keys even though Function Keys are not part of the ASCII character set. Please refer to Appendix A and L for a complete list of all available Function Keys. There are three options: •

No Function Keys - No Function Keys may be represented with this option.

•

Use DC1 - SUB (11H-1AH) - Function keys F1 through F10 are represented by the ASCII characters 17 - 26. NOTE: With this option on, it is not possible to represent the normal ASCII characters 17 - 26.

•

Use 81H - 8AH - Function keys F1 through F10 are represented by the Extended ASCII characters 129 - 138. NOTE: With this option on, it is not possible to represent the Function keys in a bar code. This is because all bar code symbologies only support the ASCII character set from 0 - 127.

•

Use Both - With this option enabled, Function keys may be represented using both ranges: Use DC1 - SUB and Use 81H - 8AH.

Special Keys This option provides a mechanism for many non-ASCII special keys to be represented using SOFTCOM. Please refer to Appendix A and L for a complete list of all available special keys. Following is a list of the three options: •

No Special Keys - No Special keys are represented using this option.

•

Use 01H - 1FH - Special keys will be represented within this range of numbers. Please refer to Appendix A and L for a complete list of all available special keys. NOTE: With this option on, it is not possible to represent the normal ASCII characters 17 - 26.

•

Use 8CH - 9BH - Special keys will be represented within this range of numbers. NOTE: With this option on, it is not possible to represent the special characters in a bar code. This is because all bar code symbologies only support the ASCII character set from 0 - 127.

•

Use Both - With this option enabled, special keys may be represented using both ranges: Use 01H - 1FH and Use 8CH - 9BH.

MONITOR Communication Diagnostics Program Getting Started MONITOR is a diagnostic PC program which allows keyboard data and data received from the serial port to appear in a readable form. MONITOR may be used with a bar code reader, or any serial output device to receive data.

7-9

Page 104

M3000 Portable Bar Code Reader User's Guide Once MONITOR receives data from the keyboard or a serial port, it will make the data appear in a readable format (i.e. {F1} to represent the Function 1 key). MONITOR supports a wide range of serial port options and also supports flow control via the XON/XOFF protocol. Using MONITOR Perform the following steps to run MONITOR: 1.

Run the MONITOR Program by typing MONITOR from the DOS prompt and press the ENTER key. For Example: C:\> MONITOR <ENTER>

2.

Set up the serial port parameters to match your bar code reader or other serial output device being used or select none to serial port option if no serial device is being used.

3.

Press the ESC key to return to the main menu and select RECEIVE DATA and begin transmission of data from device being diagnosed. Each key or serial data will be displayed on the screen in a readable format. (i.e. {F1} to represent the Function 1 key).

4.

Once transmission is complete, type key combination Ctrl + PrtSc to return to the main menu where you may view, print, or save to a disk file, the data uploaded to MONITOR.

MONITOR Configuration Communication Options Serial Port This option defines which serial port MONITOR will be using. MONITOR supports both COM1 and COM2, or may be disabled by selecting none if no serial device is to be used. NOTE:

If you have a serial port board which allows you to set the interrupt and port addresses use the following assignments for COM1 and COM2: COM1 COM2 Interrupt IRQ4 IRQ3 Port Address 3F8 Hex 2F8 Hex

BAUD Rate This option defines the serial port transmission speed. MONITOR supports the following transmission speeds: 300 1200 4800 19200

600 2400 9600 38400

NOTE: If you experience loss of data from the serial port, your BAUD rate may need to be decreased. Data Bits This option defines the number of data bits used during serial communication. MONITOR supports both 7 and 8 data bits. Stop Bits This option defines the number of stop bits used during serial communication. MONITOR supports both 1 and 2 stop bits.

7-10

Page 105

7Communications Use XON/XOFF This option indicates whether XON/XOFF will be used for flow control during serial communication. XON/XOFF is a protocol used by the receiver to control the flow of data. The receiver sends an XOFF to the sender when the receiver buffer is full. When the sender receives an XOFF, the sender will not send any more data until the sender receives an XON. If your serial device uses the XON/XOFF protocol, enable this parameter. Function Keys This option provides a mechanism for MONITOR to represent Function Keys even though Function Keys are not part of the ASCII character set. Please refer to Appendix A and L for a complete list of all available Function Keys. There are three options: •

No Function Keys - No Function Keys may be represented with this option.

•

Use DC1 - SUB (11H-1AH) - Function keys F1 through F10 are represented by the ASCII characters 17 - 26. NOTE: With this option on, it is not possible to represent the normal ASCII characters 17 - 26.

•

Use 81H - 8AH - Function keys F1 through F10 are represented by the Extended ASCII characters 129 - 138. NOTE: With this option on, it is not possible to represent the Function keys in a bar code. This is because all bar code symbologies only support the ASCII character set from 0 - 127.

•

Use Both - With this option enabled, Function keys may be represented using both ranges: Use DC1 - SUB and Use 81H - 8AH.

Special Keys This option provides a mechanism for many non-ASCII special keys to be represented using MONITOR. Please refer to Appendix A and L for a complete list of all available special keys. Following is a list of the three options: •

No Special Keys - No Special keys are represented using this option.

•

Use 01H - 1FH - Special keys will be represented within this range of numbers. Please refer to Appendix A and L for a complete list of all available special keys. NOTE: With this option on, it is not possible to represent the normal ASCII characters 17 - 26.

•

Use 8CH - 9BH - Special keys will be represented within this range of numbers. NOTE: With this option on, it is not possible to represent the special characters in a bar code. This is because all bar code symbologies only support the ASCII character set from 0 - 127.

•

Use Both - With this option enabled, special keys may be represented using both ranges: Use 01H - 1FH and Use 8CH - 9BH.

7-11

Page 106

8Advanced Operations Creating and Using a Lookup Table A lookup table allows the programmer of an M3000 program to define lookup data within the structure of the program. Lookup table data serves to restrict the contents of the input during data entry. Unless allowed by a lookup option, only data listed in the lookup table will be accepted by the program during input. To illustrate the operation of a lookup table let's modify built-in program P4 so that the UOM (Unit of Measure) input will accept only specific types of measurements. For example: 1.

Copy built-in program P4 into memory. For additional information on using the Programming mode, refer to the M3000 User's Guide, Chapter 5 Programming.

2.

Press FUNC + Right Arrow three times to advance to input record #3.

3.

Use the Down Arrow to scroll down the program options list until the display shows:

Lookup Tbl/File

4.

Enter the following: TA,EA,DOZ,CTN,LBS,OZ In this example the lookup table settings do the following: T

- Instructs the M3000 that the type of lookup is a "table" as opposed to a "file".

A

- Is an option that allows mismatches, and will cause the M3000 to ask the user if the data is acceptable anyway.

Abbreviations EA,DOZ,CTN,LBS,OZ are the only data inputs accepted by the program without displaying an error message. In this case, since mismatches are allowed, the M3000 displays the following message when a user enters anything other than the allowable inputs:

Input Not Found Accept Anyway? Press the ENTER key.

8-1

Page 107

M3000 Portable Bar Code Reader User's Guide 5.

Press the EXIT key, followed by Y or YES to exit the program. Press EXIT again to leave the program mode.

6.

To experiment with the new table settings, select program P4 in the Input mode, create a new data file and observe the results of entering allowed and un-allowed inputs. For additional information on using the Input mode, refer to the M3000 User's Guide, Chapter 4 Quick Start-Basic Operations.

Lookup Table Definition FORMAT

-

ID+OPTIONS,ITEM,...,?ERRMSG

ID

-

T or t

- Identifier for a Lookup Table

OPTIONS -

A or a

- Accept Mismatches (Prompts User)

-

C or c

- Exact Case Matches Only

-

P or p

- Partial Matches (Accepts all inputs beginning with the "ITEM" text characters)

-

The Text to Match

ITEM

ERRMSG -

EXAMPLES

-

Optional Custom Error Message when the item is not found in the LOOKUP TABLE (can be 2 lines Long - 32 Chars). A '?' character is required at the beginning of the ERROR MESSAGE in order to differentiate it from any of the TABLE ITEMS. This in turn means that LOOKUP ITEMs cannot begin with a '?' character. The ERROR MESSAGE is ignored if OPTION 'A' (Accept Mismatches) is ENABLED. T,EA,DZ,BX,CS,?INVALID UNIT OF MEASURE! TP,ABC1 (Accepts ABC1, ABC1234, but rejects A, B, C, etc.)

Creating and Using a Lookup File A lookup file allows the programmer of an M3000 program to specify a Lookup File which the M3000 uses for data verification. Lookup file data serves to restrict the contents of the specified input during data input. Unless allowed by a lookup option, only data listed in the lookup data file will be accepted by the program during input. In operation, lookup files are similar to lookup tables. They differ in several respects, however. Whereas lookup table data resides within the program, lookup file data resides in an external file that is referred to in the lookup specifications of the program. The structure of a lookup file is critical to proper operation. Details of lookup file structure will be shown in the Lookup File Definition chart that follows later in this explanation.

Simple Lookup File To illustrate the operation of a lookup file let's modify built-in program P4 so that the P/N input will only accept part numbers included in a lookup file.

8-2

Page 108

8Advanced Operations For example: 1.

Copy built-in program P4 into memory if you haven't done so already. For additional information on using the Programming mode, refer to the M3000 User's Guide, Chapter 5 Programming.

2.

Press FUNC + Right Arrow one time to advance to input record #1.

3.

Use the Down Arrow to scroll down the program options list until the display shows:

Lookup Tbl/File 4.

Enter the following: F,LOOKUP1

In this example the lookup file settings do the following: F

- Instructs the M3000 that the type of lookup is a "file" as opposed to a "table".

LOOKUP1 - Name of the ASCII lookup file that contains the allowable part numbers for the "P/N" input. Press the ENTER key. 5.

Press the EXIT key, followed by Y or YES to exit the program. Press EXIT again to leave the program mode.

6.

Next, to create the lookup file, use a text editor such as the editor supplied with DOS 5.0 and later DOS releases, to enter and format the lookup text. The size of this file is limited only by M3000 memory. Unless your lookup file has several thousand lines of text, it is unlikely you will ever approach this limit.

File Example: L LOOKUP1 <Blank Line> 123456 789012 345678 901234 567890 7.

Save the file.

8.

After matching the communications setup between FUNCTION SETUP, Transmit Setup with the setup parameters of a communications program such as PCOM, use the FUNCTION XMIT, Receive ASCII menu on the M3000 to receive the ASCII lookup file you created.

9.

To experiment with the lookup file, select program P4 from within the Input Mode and begin entering part numbers. Notice that only numbers listed in the lookup file are allowed. For additional information on using the Input mode, refer to the M3000 User's Guide, Chapter 4 Quick Start-Basic Operations.

8-3