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 15 of 23

CiMAX 78xx Scanner Technical Reference Manual, pages 127 to 135

Pages 127 to 135 of 201: CHAPTER 7 Communication Modes; CHAPTER 8 Diagnostics

The original document is the PDF (2.8 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 RVSI CiMatrix 7800, Sick 7850 and Siemens 7800

Page 127

7 Communication Modes

CHAPTER 7

This chapter introduces the OPMODE parameter and describes Scale mode, Starnode usage, and RS-422 mode.

OPMODE Parameter Refer to the Scanner Parameters Reference Guide for a complete description OPMODE. The parameter 002 OPMODE has nine modes, as summarized in Table 7–1. TABLE 7–1. 002 OPMODE Modes

Mode

Mode Description

Usage Description

0

NORMAL

Used when the scanner is used by itself, connected to the host computer but with no direct connection to other SICK Auto Ident, Inc. scanners.

1

NOT USED

2

MASTER, SERIAL DAISY CHAIN

Used to connect multiple scanners together to allow multiple coverage areas (top and sides of boxes, for example) to be combined into one transmission to the host computer.

3

SLAVE, SERIAL DAISY CHAIN

Same as MASTER, SERIAL DAISY CHAIN.

4

SERIAL PASS-THROUGH

Used to program a scanner that receives data at its Terminal port to echo the data out of its Host port, without modification.

5

MASTER, MULTIPLE BIN

Use the same serial daisy-chain methods as modes 2 and 3, but support the use of multiple decode format bins.

6

SLAVE, MULTIPLE BIN

Same as MASTER, MULTIPLE BIN

7

MASTER, RS-422 MULTI-DROP

Use the RS-422 MULTI-DROP/Polling Mode D protocol.

8

SLAVE, RS-422 MULTI-DROP

Same as MASTER, RS-422 MULTI-DROP.

9

PC based STARNODE TUNNEL

This mode provides built-in support for PC-based Starnode tunnel.

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

7-1

Communication Modes

7

Page 128

Chapter

7

Communication Modes

Scale Mode The Scale Mode allows serial data from a scale, terminal or another device to be added to the barcode data transmitted at the end of presence. To enable scale data, add a decode format bin with SS=89, MM=02. LL and CC can be set to further qualify the incoming string. The ASC fields are not used - set them to 00 or leave them blank. The scanner must use presence. You must configure the Terminal port to use Block Mode Input. A prefix is optional; a suffix is mandatory. The serial data is read at the end of presence, and fitted into the decode format bin at that time. Only the most recent block of data received is used, and earlier ones are discarded. Scale data may also be inputted to a slave unit in master/slave mode provided the scanners are setup as follows: The master must use Opmode=2, and have a decode format bin "8902". As before, you can also add a specific length to qualify it. The last slave unit in the chain will also have an '8900' decode format bin, and the scale data should be input to its Terminal port. Note the MM field is set to '00' to allow the scale data to transmit on nullscan (i.e. as soon as it is received) if the slaves are using presence. If the slaves are not using presence, then you could set it either to '8900' or '8902', as an MM field of 02 defaults to nullscan presentation if presence is disabled. The slaves in between this last slave unit and the master should not have an '89' bin.

Starnode Usage The scanner may be used on the STARNODE network. Note that you must assign a terminal number and a type to each scanner. Valid terminal numbers range from 1 to 4095. This number must be unique for each scanner. The terminal numbers can be consecutive, for example 1, 2, 3, or spaced apart 100, 200, 300. A single, standard STARNODE stub cable makes connection to the scanner from a SICK Auto Ident, Inc. T-TAP box. The maximum length of a stub cable, from the main cable, is 25 feet.

RS-422 Mode You can configure the Host port of the scanner for RS-422 communications. The Setup port is permanently configured for RS-232 only. To select RS-422 at the Host port, set parameter 495 JUMPER SETTINGS listed in 490-495 Software Jumpers & Miscellaneous in the Scanner Parameters Reference Guide for more information. SICK Auto Ident, Inc. suggests that you connect your host transmit lines to the scanner even though you do not wish to send data to the scanner. This will prevent noise from being received at the scanner.

7-2

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 129

8 Diagnostics

8 Diagnostics

CHAPTER 8

This chapter describes the diagnostic programs that test the scanner's reading capability, inputs, outputs, memory and DSP operation, and the procedures that update the operating system and restore default parameter settings.

Introduction The scanner’s Operating System (OS) contains a series of diagnostic programs, which can test the scanner’s barcode reading capabilities, the inputs and outputs, tachometer calibration, and memory operation. The barcode scanning tests help to determine that parameter values have been entered correctly. The input and output tests help to verify wiring and connections. Other tests can help isolate malfunctions in the scanner if they should occur. Note: If your scanner has been configured for presence detection, a presence signal is still not required to read barcodes or perform diagnostics functions.

Initiating Diagnostics Tests from a Terminal You can switch the scanner to the Diagnostics mode from an ASCII terminal, a PC operating in terminal emulation mode or a CiMAX 1400 Hand-Held terminal connected to the Setup port. Refer to “Non-Intelligent ASCII Terminal” on page 5-7 for more information. The CiMAX 1400 Hand-Held terminal has been factory-programmed to enter the Diagnostics mode when you press Shift, release it and press F2. Refer to “CiMAX 1400 Hand-Held Terminal” on page 5-10 for more information. To enter the Diagnostics mode from an ASCII terminal, type the command ~?D~ where: ~ (tilde) - The default or other message character that you can select using parameter 403 MSGCHAR ? - The command character D - Used to enter the Diagnostics mode and display the Diagnostics menu. Type upper case characters Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8-1

Page 130

Chapter

8

Diagnostics

Send the command to the scanner by pressing Enter or CR. Note: When sending data through the serial ports, you must type all commands from the terminal using UPPER CASE characters. You may want to program various function keys on the terminal to generate and download strings to the scanner. For example, the string ~?S~, when sent to the scanner, causes the Setup menu to be displayed on the terminal. Thus, you might want to configure one of the user-definable keys on your terminal to generate the ~?S~ string when pressed. You could label this key SETUP.

Diagnostics Menu When the scanner first enters the Diagnostics mode, the following line will appear on the terminal display: DIAGNOSTICS (P)REVIOUS, (R)UN, (T)OGGLE, (E)XIT The Diagnostics menu will list all of the diagnostic tests that are available to you as you press Enter. This menu wraps around. If you back up through the menu from READ SPEED, you will see the last test name (SET CLOCK). If SET CLOCK is already displayed when you move forward, you see the first test name (READ SPEED) again. While in the Diagnostics menu, your choices are: •

Enter - Display the NEXT test. To view the test after the test displayed on the last line of the screen, if one is currently shown (or the first test, in none are shown), press Enter. The next test will be displayed on the next line. If the screen is full, it will scroll up and delete the top line to make room for the new line.

•

P - Display the PREVIOUS test. To view the test previous to the test displayed on the last line of the screen, if one is currently shown, press P followed by Enter. The previous test will be displayed on the next line. If the screen is full, it will scroll up and delete the top line to make room for the new line.

•

T - TOGGLE between Diagnostic and Setup menus without changing parameter/test position. When you Toggle to the Setup menu and then Toggle back to the Diagnostic menu, you will return to the same test that you were viewing before you toggled. To toggle, press T - Enter.

•

R - RUN the diagnostic test currently displayed on the last line. With the exception of the “Exhaustive RAM Test” on page 8-15, any test can be stopped by typing Enter.

E - EXIT the Diagnostic/Setup menu and resume operation. To exit, press E - Enter.

8-2

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 131

Introduction

Diagnostics

Diagnostic Tests & Procedures The diagnostic tests are listed in Table 8–1. The remainder of this chapter provides complete descriptions of the tests and procedures. TABLE 8–1. Diagnostic Tests

Test Name

Display

Read Speed

READ SPEED

Read Quality

READ QUALITY

Read Efficiency

READ EFFICIENCY

Min/Max Bar

MIN MAX BAR

Motor Speed

MOTOR SPEED

Input/Output

IOPRTS

Label Position

LABEL POSITION

Tachometer Status

TACH STATUS

Tachometer Calibration

TACH CALIBRATION

Autofocus Diagnostics

AUTOFOCUS DIAGS

Set Digital Potentiometers

SET DIGITAL POTS

Decoder Processor

CIDSP DIAGS

SDS/DeviceNet Diagnostics

CAN DIAGS

Exhaustive RAM

EXHAUSTIVE RAM

FLASH O.S. Download

FLASH UPDATE

Restore Default Settings

RESTORE KEYSHEET

Restore C Program

RESTORE PROGRAM

Set Clock

SET CLOCK

The Diagnostics menu and all diagnostic outputs will only be sent to the Terminal port and not to the Host port, regardless of whether a terminal is attached to the port. The Terminal port will respond as it has been configured by Setup parameters 200-210, except that no prefix character will be sent and the suffix characters CARRIAGE RETURN and LINE FEED will be sent. Refer to parameters 207, 208, and 209 in the Scanner Parameters Reference Guide for more information.

Stopping Diagnostic Tests With the exception of the “Exhaustive RAM Test” on page 8-15, any test can be terminated at any time by pressing Enter.

Read Speed Test During the Read Speed Test, the scanner will continuously scan and decode all barcodes placed in front of it. When a barcode has been scanned the number of times specified by parameter 006 THRHLD, the beeper will sound and the barcode data will be sent to the Terminal port for display on the ASCII terminal, PC or CiMAX 1400.

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8

8-3

Page 132

Chapter

8

Diagnostics

Conducting the Test 1.

Determine the barcodes and X dimensions for which your scanner is configured. Your scanner may have been custom-configured by SICK Auto Ident, Inc. This information can be found on your keysheet.

2.

Select a barcode that will be scanned during normal operation.

3.

Determine the optimum distance between the barcode labels and the scanner during normal operation. For example, if your scanner will be mounted 20 inches from the barcoded objects, hold the selected barcode 20 inches from the scanner to simulate actual operation.

4.

Orient the label such that a laser line sweeps across the barcode from quiet zone to quiet zone.

5.

Select and run the test. Note: The scanner's depth of field affects the read speed. The fastest read speeds occur at the optimum decode positions. As you move the barcode label closer to or farther away from the scanner, it will beep faster (if a beeper is connected) as the label approaches the optimum reading distance.

6.

End the test by typing Enter.

Read Quality Test The Read Quality Test shows how accurately a specific barcode is being decoded. Groups of 100 potentially decodable scans are examined and the number of successful decodes is displayed. Test results are displayed in the following format: LLLLLLLLL QQ NNN where: LLLLLLLLL - The first nine characters of the barcode successfully decoded. QQ - A number from 00 to 99, representing the quality of the barcode in percent, determined by comparing how closely the bar/space width ratios match the ideal case for that symbology. NNN - The number of successful decodes, in percent.

Conducting the Test

8-4

1.

Determine the barcodes and X dimensions for which your scanner is configured. Your scanner may have been custom-configured by SICK Auto Ident, Inc. This information can be found on your keysheet.

2.

Select a barcode typical of one that will be scanned during normal operation.

3.

Determine the distance between the barcode labels and the scanner during normal operations.

4.

Hold the barcode label at that distance to simulate actual operation.

5.

Select and run the test.

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 133

6.

Allow the beam to scan across the barcode and wait for approximately 3 seconds.

7.

Observe the test results on the screen. If, after a few seconds, there is no displayed result, check the distance between the scanner and barcode label and also verify that your scanner can decode the barcode symbology being scanned as it is currently configured.

Example This example is displayed on the screen with the result: 123456789

79 99

This indicates that a single barcode consisting of the digits 123456789 was successfully decoded 99 out of 100 scans, and that its quality score was 79 out of a possible 99. The message NO LABEL will occur as a time-out indication if there are no barcodes found within the last 100 scans. Barcodes with a quality of less than 40 may be poorly printed or be positioned outside the depth of field of the scanner, or both. The lower quality may also mean that the scanner is out of adjustment. The symbologies to be auto-distinguished are automatically set up according to the symbologies specified in the decode format strings.

Read Efficiency Test The Read Efficiency Test shows how efficiently barcodes are being located and decoded. The scanner will continuously decode groups of 100 sequential scans of multiple barcodes and display the number of successful decodes from each group of scans. When you set Parameter 012 NORMMD RPT to 1, the beeper output frequency will increase as Read Efficiency increases. The output displayed on the terminal will be: LLLLLLLLL MM NNN, PPPPPPP NNN where: LLLLLLLLL - The first nine characters of the barcode sample read with the highest efficiency. MM - The number of different barcode samples read. NNN - The Read Efficiency for each barcode, i.e., the number of decodes in 00 scans of the barcode sample read. PPPPPPP - The first nine characters of each of the other barcodes read, repeated as needed to report all of the barcodes read during the 100-scan test.

Conducting the Test 1.

Determine the barcodes and X dimensions for which your scanner is configured. Your scanner may have been custom-configured by SICK Auto Ident, Inc. This information can be found on your keysheet.

2.

Select one or more barcodes, each with different characters in the first nine digits and of the same or differing symbologies, which will be scanned during normal operations. For example, if Code 128 is one of the symbologies your scanner is configured to decode, you can select Code 128 labels.

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8-5

8 Diagnostics

Introduction

Page 134

Chapter

8

Diagnostics

3.

Select and run the test.

4.

Allow a beam to sweep across the one or more barcodes from quiet zones to quiet zones. Wait a few seconds.

5.

Observe the test results displayed on the terminal. If, after a few seconds, there are no results displayed, check the distance between the scanner and barcode labels. Verify that the barcodes chosen have symbologies that can be decoded by your scanner as it is currently configured.

6.

Press Enter to stop the test.

The message NO LABEL will occur as a time-out indication if there were no barcodes found within the last 100 scans. The symbologies to be auto-distinguished are automatically set up according to the symbologies specified in the decode format strings.

Example This example is displayed on one line of the terminal screen with the result: 100000009 03 100, 100000008 097, 100000007 092 The line reports that three different barcode samples were detected and read during a 100-scan test. The most successfully decoded barcode sample contained the first nine characters 100000009 and the Read Efficiency was 100%. The barcode was successfully read 100 out of 100 scans. The first nine characters of the other two barcodes read, and their Read Efficiencies (97% and 92%), were also reported.

Minimum/Maximum Bar Test This test shows the ratio of the narrowest and widest bar widths encountered during cycles of 100 scans. The display format is: Min bar: bbb, Maxbar: BBB, Min space: sss, Max space: SSS, Max Data: DDD, Lbl: aaaaa where: bbb - The Narrowest Bar, in width counts. BBB - The Widest Bar, in width counts. sss - The Narrowest Space, in width counts. SSS - The Widest Space, in width counts. DDD - The Depth Bar Buffer full (non-stitching only) aaaaa - The complete barcode read.

8-6

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 135

Introduction

8

1.

Determine the barcodes and X dimensions for which your scanner is configured. Your scanner may have been custom-configured by SICK Auto Ident, Inc. This information can be found on your keysheet. Select a barcode that will be scanned during normal operations.

Diagnostics

2. 3.

Select and run the test.

4.

Allow the beam to scan across the barcode at the correct distance from the scanner. Wait a few seconds.

5.

Observe the test results on the display. If, after a few seconds, there is no displayed result, check the distance between the scanner and barcode level, and verify that the barcode can be decoded by your scanner as it is currently configured.

Conducting the Test

The results should show approximately equal bar and space ratios, as in the following example.

Example Assume that a barcode is scanned and that the display reports the following: 020

059

019

061 005

1234567890

Observe that the ratios of largest to smallest bars and spaces are both near 3 to 1. Therefore, these results are suitable for barcodes with 3:1 wide-to-narrow ratio. Note: If the Min/Max Bar Test does not indicate a clear ratio between the widest and narrowest bars and spaces, the fault probably does not lie in the scanner. The barcode may be poorly printed or not printed to specification, or positioned outside of the depth of field of the scanner.

Motor Speed Test The scanner uses a motor spinning a multi-sided polygon mirror to generate laser scan lines. The speed of the motor was determined for your application and was entered on your keysheet. This test measures the speed of the motor and can be used to verify that the motor is running at the specified speed. Test results are shown in the following format: SSS SS RRRR RPM where: SSS - The number of scans per second (SS) RRRR - The mirror speed in Revolutions per Minute (RPM)

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8-7