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

M3000 Portable Bar Code Reader User's Guide, pages 109 to 118

Pages 109 to 118 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 109

M3000 Portable Bar Code Reader User's Guide

Lookup File Definition FORMAT ID+OPTIONS,FILENAME,RECFLDS,CMPFLD,DSPFLD,DSPROW,ERRMSG ID OPTIONS

-

F or f

- Identifier for a Lookup File

-

A or a

- Accepts mismatches (prompts user)

-

C or c

- Exact case matches only

-

O or o

- Lookup File is optional

-

P or p

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

FILE NAME -

LOOKUP FILE NAME 8 (Characters Maximum)

RECFLDS

-

# of fields per Lookup File record (default = 1)

CMPFLD

-

Field # to compare to in the Lookup record (default =1). Entering a '0' OR '1' will compare to field #1.

DSPFLD

-

Field # to display if a match is found. Entering a '0' OR '1' will display field #1.

DSPROW

-

Row to display the display data on (default=1). Valid rows are '0' and '1'.

NOTE: If the Lookup file DSPROW overlaps any portion of the display area allocated for the input, then the Input data will overwrite the Lookup display data. ERRMSG

EXAMPLE

-

Optional custom error message when the item is not found on file (can be lines long- 32 characters). A '?' character is required at the beginning of the custom error message if any of the Lookup Field/Display Parameters are not being used. The error message is not used if option 'A' (accept mismatches) above is enabled.

-

FAC, LOOKUP1,2,1,2,1,INCORRECT ITEM PLEASE RE-ENTER

Lookup File with Display The following lookup file supplies the CMPFLD (compare field) in the first field of each record, and the DSPFLD (display field) in the second field of each record: L LOOKUP2 <Blank Line> 123456 Widget A 789012 Widget B 345678 Widget C 901234 Widget D These settings when used with Lookup file, "LOOKUP2" will display the appropriate lookup display during FUNCTION INPUT: FAC,LOOKUP2,2,1,2,1

8-4

Page 110

8Advanced Operations When used with a data file during FUNCTION INPUT, this lookup will: • • •

Display "Widget A" for a match for input data "123456" Accept mismatches Exact case matches only

Lookup File with a Partial Match In the following example we have intentionally shortened the number of leading characters in the first field to illustrate the partial match option. L LOOKUP3 <Blank Line> 123 789012 345678 901234 567890 The following lookup definition accepts partial matches for a lookup file named "LOOKUP3": FP,LOOKUP3 Since we used the partial match option, the M3000 will accept any input that begins with all the leading characters of a lookup field. In this example, the M3000 will accept 123, 123456 or any other combination of characters beginning with "123", but will reject entries such as 1, 12, or 3.

Creating and Using an ASCII Data File Understanding how to create and import ASCII files is crucial to the utilization of data files. When using an ASCII data file, some of the data fields of an input record contain data; other fields can be left blank and require user input. Program options control whether or not the user can append new data to the file during input, and whether the user can create data files for the program in use.

Typical ASCII Data File Applications Typical data file applications include, but are not limited to: • • • •

Delivery routes Utility meter reader routes Sales order pick lists Inspection check lists

Creating the ASCII Data File In the following example you will create an ASCII data file for built-in program P2. We'll show you how to modify P2 to use "Receive Data Files Only", and then how to import the file into the M3000 from the PC. To create the data file, use a text editor such as the text editor supplied with DOS 5.0 and later DOS releases, to enter and format the data file text. The size of this file is limited only by M3000 memory. Unless your data file has several thousand lines of text, it is unlikely you will ever approach this limit. The first three lines of a data file are reserved for use by the program. These three lines supply M3000 file header information and identify the type of file, the file name and the owner program name. All remaining lines are data. The data structure must conform exactly to the data input structure as defined in the owner program. When a program has header inputs, those header inputs must be placed between the M3000 file header information and the record input data.

8-5

Page 111

M3000 Portable Bar Code Reader User's Guide Let's take a moment to examine the data structure of built-in program P2. After loading P2 and entering the INPUT mode, P2 displays the following screen:

P/N QTY Each record of a P2 data file has one input for P/N (Part Number) and one input for QTY (Quantity). In the example file that we create, the data file will supply the part number data and leave the quantity input blank for user input. Here's how its done. Using an ASCII text editor on your PC, enter the following information: (Be sure to insert the blank line between each series of numbers) D DATA1 P2 123456 <Blank Line> 789012 <Blank Line> 345678 <Blank Line> 901234 <Blank Line> Save this file giving it the file name "DATA1". You now have a data file that can be used by the M3000. ASCII files imported by the M3000 must conform to the following guidelines.

ASCII File Format Definitions File ID

- D or d - Data File

+ <CR> [LF] or - L or l - Lookup File

+ <CR> [LF]

File Name

- 8 Characters Maximum

+ <CR> [LF]

Program Name

- 8 Characters Maximum

+ <CR> [LF]

NOTE: If the file is a data file, the program name is required, and the program must exist in the M3000 or an error will occur while importing the file.

Data Fields

+ <CR> [LF] + <CR> [LF]

. .

+

<CR>

[LF]

NOTE: If the file is a data file, a data field must be supplied for each header input defined in the program or a "File Format" error will occur. The last record of a data file must contain all fields or blank lines in place of fields for each allocated field. If data for the last record is incomplete, the entire last record will be deleted by the program.

8-6

Page 112

8Advanced Operations Maximum data field length is 250 characters The following data file illustrates how the M3000 can be used to show a delivery route. An easy way to create a program that displays this data file, is to modify built-in program P2. By changing Record 1 and Record 2 prompts of P2 to:

CO: ST: and saving the program with the name "ROUTE1", you can then import and use this data file, which is also named, "Route1". Be sure to add a space after both colons. D ROUTE1 P2 AJAX MFG 101 MAIN FRANKLIN HWD 246 MAIN WE BRAKE 502 W. 5TH IC OPTICS 900 W. 7TH LABELWORKS 2190 REGAL PKWY When you view the first record of data file "ROUTE1", the display shows:

CO: AJAX MFG ST: 101 MAIN

Controlling How an ASCII Data File Is Used by the M3000 A new screen has been added to the program options in the PROG mode, immediately after the EOF Delay screen. When you cursor down to this screen the display shows:

Use Receive Data Files Only? N Leaving this option set to 'N' or 'NO' allows the user to create new files during FUNCTION INPUT. The 'NO' setting, however, does not prohibit the use of imported ASCII data files. When this option is changed to 'Y' or 'YES', the M3000 will accept only imported ASCII data files, and does not allow the user to create new data files for the program during FUNCTION INPUT. After responding 'Yes' to the "Use Receive Data Files Only" screen, another screen appears. This new screen asks?

Allow Append To End of File? Y If you do not allow append, user input is restricted to the existing contents of the data file in use and the user may not add additional records. CAUTION: Selecting "Allow Append To End of File? Y", can cause LOSS OF DATA when the user EXITs a data file without satisfying the input requirements of ALL REQUIRED INPUT FIELDS in the last record. When the user violates this precaution the M3000 deletes the LAST RECORD in the data file. This condition continues to occur each time the user fails to complete ALL REQUIRED INPUT FIELDS and EXITs DATA ENTRY.

8-7

Page 113

M3000 Portable Bar Code Reader User's Guide You can avoid this problem by using either of these options in each USER SUPPLIED input field: 1. Setting Input Size, Min=0 or 2. Require Input=N

Importing an ASCII Data File The FUNCTION XMIT mode screens have been changed to accommodate the new features of Version 2.0. Before attempting to use the XMIT mode, make sure the options selected under FUNC SETUP, >Transmit Setup, match the setup parameters of the communications program that you are using on the PC. Also, make sure that you have connected the M3000 RS232 serial cable, or Modem cable. If you're using a modem we recommend you use XMODEM protocol. To import the data file "DATA1", do the following: 1. Press the XMIT key. The display shows:

Transmit Select >Upload Data press the Down Arrow, followed by the ENTER key. The display shows:

Receive Select >ASCII Files 2. Use the Up/Down arrow keys to select either RS232 Serial or Modem, and press the ENTER key. The M3000 displays a "Receive Waiting" message or if you are using XMODEM protocol, "Waiting for XMODEM Connect". 3. From your PC communications program select either Send File, or Upload and enter the file name "DATA1". Press the ENTER key on the PC keyboard. Do not touch the M3000 keyboard until after the M3000 displays:

Receive complete Press the ENTER key. The display shows:

Files Received Data=1 LkUp=0 You can now exit the XMIT mode and use the data file from within the FUNCTION INPUT mode. If the file transfer failed, the M3000 displays an appropriate error message. Correct your communication settings and try again.

8-8

Page 114

8Advanced Operations

Other Advanced Options The following information describes other advanced options in FUNCTION PROGRAM. Related information is located in Creating and Using a Lookup Table, Creating and Using an ASCII Lookup File, and Creating and Using an ASCII Data File.

Restricting Input to Downloaded ASCII Data Files Only Use Receive Data Files Only? N When this program option is set to 'No', the M3000 allows the user to create data files at the beginning of FUNCTION INPUT. When this input is set to 'Yes', user input is restricted to the use of downloaded ASCII data files. For more information on ASCII data files, see Creating and Using an ASCII Data File. After selecting Yes to this option, the display shows:

Allow Append To End of File? N We do not recommend the use of the file append option unless it is absolutely necessary. CAUTION: Selecting "Allow Append To End of File? Y", can cause LOSS OF DATA when the user EXITs a data file without satisfying the input requirements of ALL REQUIRED INPUT FIELDS in the last record. When the user violates this precaution , the M3000 deletes the LAST RECORD in the data file. This condition continues to occur each time the user fails to complete ALL REQUIRED INPUT FIELDS and EXITs DATA ENTRY. For more information on "Allow Append To End of File? Y", see Creating and Using an ASCII Data File.

Creating Un-Editable Input Fields A new Data Input Type has been added to the M3000 Program Options that prevents a user from changing the input data.

Input Type D,S,Y,E or N: D The new data type is 'N'. An 'N' Input Type has the same general parameters of a 'D' Input Type with these exceptions: 1. Data can be entered into the field ONE time only. 2. Once entered, the data cannot be edited. No editing is allowed. If "Input Type" is set to 'N', "Use Receive Data Files Only" is set to 'Y', and "Auto Advance" is set to 'Y' then the cursor automatically advances past any imported data and stops in the next input that requires user input.

New Input Source Type- RS-232 Serial A new Input Source Type has been added to the M3000 Program Options that allows the unit to receive serial data during FUNCTION INPUT. Some devices such as scanners, and automatic weight scales output serial data. This option is controlled from the following display:

Input Source K,B,S or X: B When this option is set to 'S', only serial and keyboard inputs are allowed. When set to 'X', the M3000 accepts ALL input source types.

8-9

Page 115

M3000 Portable Bar Code Reader User's Guide Serial Input requires additional setup and connection procedures. To prepare the M3000 for serial input: 1.

Verify that FUNCTION SETUP, >Serial Port, setup parameters match the parameters of the serial device you intend to use.

2.

Set the FUNCTION PROGRAM option for the input field that requires serial input, as shown:

Input Source K,B,S or X: S 3.

Make sure power is OFF on both the M3000, and the serial device.

4.

Connect the M3000 RS232 Serial Cable to the serial device.

5.

Power ON the serial device and the M3000.

6.

Create a data file and enter some sample data using the serial input device. If the M3000 fails to accept the serial data, check FUNCTION SETUP, >Serial Port parameters, serial device parameters, and cable connections.

NOTE: Enabling RS-232 serial input reduces battery life. To achieve maximum battery performance, select RS-232 serial input only when actually needed.

Embedding the Data File Name in the Output When you want to embed the 'Data File Name' in the prefix or suffix of any input field, enter /A0.

Embedding Header Information in Record Input Fields When you want to embed the contents of a Header Input into the prefix or suffix of any record input field, enter /A followed by the number of the header. For example: /A1 is the reserved variable for 'Header Input 1'. You can have from 1 to 9 header variables. The contents of one header cannot be transmitted from within a different header using embedded header information commands.

Pause During FUNCTION TRANSMIT You can now embed a 'Transmit Pause' that causes the M3000 to stop file transmission during FUNCTION TRANSMIT and display:

Transmit Paused Press Any Key During this pause, the user can manually enter data into data base fields, or do other operations. To resume file transmission, press any key on the M3000 keyboard. To embed a 'Transmit Pause' enter a /FA at any of the following M3000 inputs: Prefix

Suffix

SOF Text

EOF Text

SOT Text

EOT Text

A program can have multiple pauses embedded at varied locations throughout program. NOTE: Transmit pauses will not pause if using a modem or if using XMODEM protocol, instead, you will get stray 0FAH characters.

8-10

Page 116

9Troubleshooting Introduction The M3000 detects and informs you of many of the errors that can occur during operation. The following table lists these messages and explains their meaning. A Troubleshooting Guide follows the table of error messages.

Transmit Error Messages Message

Definition

Solution

Aborting...

Displayed whenever the M3000 is going to abort communications.

Retry Communications.

Connect Error

Modem connected, but did not indicate at what speed. M3000 received more data than it could fit into memory. The host/receiving computer aborted an XMODEM transmission from the M3000. 'CARRIER DETECT' was lost. 'CLEAR TO SEND' was lost. 'DATA SET READY' was lost. Modem is not ready, or cannot be found. No 'CTS' from modem was detected. No carrier detect was found.

Modem must be Hayes compatiible. Retry communications. Erase un-wanted data files and programs.

Data Overrun Host Abort

Lost Carrier Lost CTS Lost DSR Modem Not Ready No Carrier No Connect No Data Files Found No Program Files Found No Response No Valid Receive Data Found Power Failed Receive Error Retries Exceeded

Modem was unable to connect with another modem. There are no data files in the M3000 to transmit. There Are No Programs In The M3000 To Transmit. M3000 stopped receiving responses when using XMODEM protocol. The M3000 received unrecognizable data. Power failure occurred during communications. Indicates that the receive communications aborted with an error. XMODEM retry count exceeded.

Retry Communications.

Retry Communications. Retry Communications. Retry Communications. Check modem cable and modem switch settings Retry communications & check modem cable. Verify that a modem is at the number being dialed. Enter data files before selecting FUNC + XMIT. Create programs using FUNC + PROG Decrease baud rate. Retry communications. Verify transmit settings. Retry communications. Replace battery. Check power supply. Retry communications. Decrease baud rate.

9-1

Page 117

M3000 Portable Bar Code Reader User's Guide Message

Cause

Solution

Transmit Error

Indicates that the transmit communications aborted with an error.

Retry communications.

User Abort

A key was pressed on the M3000, causing an abort. The keyboard wedge cable is not connected when trying to do a keyboard wedge upload. Unable to connect using XMODEM protocol.

Decrease baud rate.

Wedge Cable Is Not Connected Xmodem Error

Check cables and check transmit setup parameters. Check cables and check transmit setup parameters.

Bar Code Data Errors Bar Code Is Too Long For Input Bar Code Is Too Short For Input Invalid Bar Code Data For Input Invalid Bar Code Type

Bar code has more characters than allowed by maximum input size specification. Bar code has fewer characters than allowed by minimum input size specification. Bar code data does not match the current input's data specifications

Scan correct size bar codes or midify input size in the program.

Scanned bar code does not match acceptable bar code types specified for the current input.

Scan correct bar codes or modify bar code types in the program.

Scan correct size bar codes or midify input size in the program. Scan correct bar codes or modify input data specifications in the program.

Function Recall Errors Recall Buffer Is Empty Recall Data Not Valid For Input

No information has been stored using FUNC + STORE. RECALL data does not match the current input's data specifications.

Modify recall data or change input data specifications in the program.

Recall Data Too Large For Input

Contents of RECALL buffer exceed maximum input size specification.

Modify recall data or change input size in the program.

Enter data and save for FUNC + RECALL

Miscellaneous Errors *END OF FILE* No More Inputs Battery Low Press Any Key Clock Error No Response External Ram Error FATAL FILE ERROR FILE ERROR Input Is Full Cannot Insert

9-2

End of defined program inputs has been reached. Battery low detected.

None.

Real Time Clock is not responding.

Call for service.

M3000 has detected an external RAM error. M3000 has detected an un-recoverable file error. M3000 has detected a file error and will attempt to repair file contents Maximum input size specification has been reached, and will not allow additional characters.

Call for service.

Replace 9V Alkaline battery.

None None Press INS key to exit out of the insert mode.

Page 118

9Troubleshooting

Message

Definition

Solution

Record Requires 1 Operator Input Inserted Record Must Be Complete Insufficient Memory Memory Near Full ___ Bytes Free

Each record loop requires at least 1 operator input. An inserted record is not complete.

Create and interactive input in the record loop. Continue entering data until inserted record is complete. Erase unwanted programs and data files.

No Edit Allowed No Programs Loaded In Memory Not Enough Memory Program Already Loaded In Ram Program Has Data No Edit Allowed Program Has Data No New Inputs Program Input Limit Reached Program Requires 1 Operator Input Program Requires At Least 1 Input Shutdown Failure Remove Power Unit Was Shutoff By Power Fail

Not Enough Memory for a built-in program to load into RAM. When current memory is less that 255 bytes, M3000 displays amount of memory remaining. Attempt to change to mask using FUNC + HELP is not allowed. No built-in programs have been copied into RAM, and no new programs have been created. M3000 does not have sufficient memory available to accept input. M3000 can have only one program of the same name. Duplicate program names not allowed. Program cannot be changed until data file has been ERASED. Cannot add new records to program because the program has an associated data file. M3000 limits the number of input definitions to 250. Each program requires at least 1 operator input You cannot save a program file having less than one input definition. M3000 is unable to power down. A power failure caused the M3000 to shut off.

Erase unwanted programs and data files.

None. Create programs using FUNC + PROG.

Erase unwanted programs and data files. Change program name.

Erase any data files created by this program. Erase any data files created by this program. None. Create an input definition. Create an input definition. Remove the 9V Alkaline battery and any power source. Replace 9V Alkaline battery.

Allow Duplicates Error Messages Input Already On File, Go There?

Input Is Already On File

A duplicate input has been detected when No Duplicates Allowed is enabled, and the record has more than one input. A duplicate input has been detected when No Duplicates Allowed is enabled.

Enter Y or Yes to proceed to the duplicate input. Enter N or No and enter other, non duplicate data. Enter other, non duplicate data.

9-3