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

CiMAX 78xx Scanner Technical Reference Manual, pages 154 to 162

Pages 154 to 162 of 201

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 154

Chapter

8

Diagnostics

Unsolicited Messages Sent to the Setup Port If gap tracking is disabled (parameters 501 PRESENCE ENABLE and 702 MILS/TIC both zero), you will see the following message after reboot: GAP TRACKING DISABLED If gap tracking is enabled (501 PRESENCE ENABLE and 702 MILS/TIC both non-zero), you will see a message similar to the following after reboot: GAP TRACKING ENABLED: Res:33mils/tic Tolr:3993mils where: Res is the value of parameter 702 MILS/TIC Tolr is the value of parameter 703 OUTZN TOLR. The following three messages are related to the tachometer: If the tachometer signal drops below 5 ft/min: STALLED CONVEYOR SLOW MOVEMENT If there are no recorded tach ticks in 500ms: STALLED CONVEYOR NO MOVEMENT When ticks above 5 ft/min are detected (but after a possible 500ms delay): UNSTALLED CONVEYOR

Host Commands Host Commands request data from the scanner that can help in diagnosing gap-tracking problems. They are not meant to be used to routinely monitor operation. To routinely monitor scanner operation, use a CiMAX 1400 terminal as described in 012 NORMMD RPT in the Scanner Parameters Reference Guide. Note: DSP 0 is installed in all scanners. DSPs 1 through 7 are only used in OMNI scanners. In the examples that follow, information about all possible DSPs is included to maintain software conformity among products.

8-26

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 155

Gap Tracking Diagnostics

8

These are the endpoints for the lines that have been calculated according to the known endpoints at 13" and 60" at all of the possible heights. The heights are in turn calculated from the height parameters:

Diagnostics

~TRACK~

TABLE 8–5. Send Beam Coordinates

Parameter

Description

Value

710

HEIGHT1

030

711

HEIGHT2

090

712

HEIGHT3

150

713

HEIGHT4

210

714

HEIGHT5

000

715

CONV TO SCANNER

180

716

MIN HEIGHT

000

717

MAX HEIGHT

180

725

PIC PHOTOEYES

0

732

PIC SERIAL PORT

1

733

PIC POSITION

1

Example Using the above defaults. ---Tracking Debug Data--Line endpoints at height 0 DSP 0: 0,-21887 to 0,21887, length = 43774,height = 30125 DSP 1: 0,0 to 0,0, length = 0,height = 30125 DSP 2: 0,0 to 0,0, length = 0,height = 30125 DSP 3: 0,0 to 0,0, length = 0,height = 30125 DSP 4: 0,0 to 0,0, length = 0,height = 30125 DSP 5: 0,0 to 0,0, length = 0,height = 30125 DSP 6: 0,0 to 0,0, length = 0,height = 30125 DSP 7: 0,0 to 0,0, length = 0,height = 30125 Line endpoints at height 1 DSP 0: 0,-18617 to 0,18617, length = 37235,height = 25625 DSP 1: 0,0 to 0,0, length = 0,height = 25625 DSP 2: 0,0 to 0,0, length = 0,height = 25625 DSP 3: 0,0 to 0,0, length = 0,height = 25625 DSP 4: 0,0 to 0,0, length = 0,height = 25625 DSP 5: 0,0 to 0,0, length = 0,height = 25625 DSP 6: 0,0 to 0,0, length = 0,height = 25625 DSP 7: 0,0 to 0,0, length = 0,height = 25625 Line endpoints at height 2 DSP 0: 0,-14258 to 0,14258, length = 28516,height = 19625 DSP 1: 0,0 to 0,0, length = 0,height = 19625 DSP 2: 0,0 to 0,0, length = 0,height = 19625 DSP 3: 0,0 to 0,0, length = 0,height = 19625 Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8-27

Page 156

Chapter

8

Diagnostics

DSP 4: 0,0 to 0,0, length = 0,height = 19625 DSP 5: 0,0 to 0,0, length = 0,height = 19625 DSP 6: 0,0 to 0,0, length = 0,height = 19625 DSP 7: 0,0 to 0,0, length = 0,height = 19625 Line endpoints at height 3 DSP 0: 0,-9899 to 0,9899, length = 19798,height = 13625 DSP 1: 0,0 to 0,0, length = 0,height = 13625 DSP 2: 0,0 to 0,0, length = 0,height = 13625 DSP 3: 0,0 to 0,0, length = 0,height = 13625 DSP 4: 0,0 to 0,0, length = 0,height = 13625 DSP 5: 0,0 to 0,0, length = 0,height = 13625 DSP 6: 0,0 to 0,0, length = 0,height = 13625 DSP 7: 0,0 to 0,0, length = 0,height = 13625 Line endpoints at height 4 DSP 0: 0,-4450 to 0,4450, length = 8900,height = 6125 DSP 1: 0,0 to 0,0, length = 0,height = 6125 DSP 2: 0,0 to 0,0, length = 0,height = 6125 DSP 3: 0,0 to 0,0, length = 0,height = 6125 DSP 4: 0,0 to 0,0, length = 0,height = 6125 DSP 5: 0,0 to 0,0, length = 0,height = 6125 DSP 6: 0,0 to 0,0, length = 0,height = 6125 DSP 7: 0,0 to 0,0, length = 0,height = 6125 The coordinate system illustrated in the diagram below shows the orientation of the x-y axis. The points recorded in the Cartesian system are with respect to the direction of travel along the Y-axis, as shown in Figure 8–1. FIGURE 8–1. Orientation of X-Y Axis

Outzone

Inzone

Scanner viewed from above Conveyor Width

+ Y axis

Bottom of Scanner direction of travel on conveyor +X axis

Scanning Beam The height listed is actually the range from the scanner, and includes the internal optical path length. The heights are calculated as the midpoint between each height parameter according to Figure 8–2.

8-28

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 157

FIGURE 8–2. Calculated Heights

SCANNER |______________________________________max height z5| |______________________________________range sensor[4]z4 |______________________________________range sensor[3]z3 |______________________________________range sensor[2]z2 |______________________________________range sensor[1]z1 |______________________________________range sensor[0]z0 |______________________________________min height Parameter 709 ROTATION ANGLE affects the line endpoints. ROTATION ANGLE allows the scanner to be rotated with respect to the conveyor. This is done internally by converting the end point table in use to new coordinates according to this angle. Note: The next three commands can only be used when parameter 012 NORMMD RPT is set to 4.

~TRAKS~ This command gathers data about barcode positions. The TRAKS data describes the encoder count, the x-y position of the barcode, and the position of the box in the zone at the time the bar code was read. Only bar codes that were found to belong to a box because their y-axis value is within the bounds of the box leading edge and trailing edge (plus the BOX TOLR value) are saved in this array. The data is cleared at the next inzone signal. Example ---Tracking Debug Data--Dsp:0 Enc:43234 X:-316 Y:-8295 Lead:3394 Trail:-17000 IZ:42612 Label:25 Dsp:0 Enc:47908 X:2589 Y:-11712 Lead:-12776 Trail:-17000 IZ:47776 Label:76 Dsp:0 Enc:48532 X:-2785 Y:-5423 Lead:-6110 Trail:-10928 IZ:48198 Label:B0B Dsp:0 Enc:56454 X:688 Y:-9432 Lead:-7034 Trail:-17000 IZ:56146 Label:91 Dsp:0 Enc:61484 X:137 Y:-8940 Lead:-9938 Trail:-14162 IZ:61266 Label:570324 Dsp:0 Enc:62048 X:-2860 Y:-5338 Lead:-5054 Trail:-9938 IZ:61686 Label:09 Dsp:0 Enc:34458 X:-235 Y:-8520 Lead:-9608 Trail:-13898 IZ:34232 Label:88

~TRAKN~ This command is just like ~TRAKS~, except that the data describes barcodes that did not fit onto any box.

~TRUNC~ Available but not applicable.

~TIMES~ Available but not applicable.

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8-29

8 Diagnostics

Gap Tracking Diagnostics

Page 158

Chapter

8

Diagnostics

~TOLER~ This command is useful to check the accuracy of the MILS/TIC, INZONE-CENTER and OUTZONE-CENTER parameters. It displays the outzone deviation, in number of tachometer ticks, of when the box actually reached the outzone photoeye, compared to its position calculated from the number of tach ticks recorded multiplied by the dist/tick value. If a box is early or late by more than the OUTZN TOLR parameter, it is considered a phantom box. Example ---Tracking Debug Data--OUTZONE Tolerance =121 tics (3993 mils) * = last object Object 0 outzone deviation = 12 Object 1 outzone deviation = 10 Object 2 outzone deviation = -30 Object 3 outzone deviation = 10 Object 4 outzone deviation = 6 Object 5 outzone deviation = 0 * Object 6 outzone deviation = 10 Object 7 outzone deviation = -30 OUTZONES: Delayed=5 Early=4 Unexpected=0 Missing=4 On time=0

~TOTAL~ When sent over STARNODE or TCP/IP, this command must be prefixed with / . The ~TOTAL~ command is used to display a report such as: 0 boxes, 0 no reads where: boxes - Total box count no-reads - No-read count You can view a running display of boxes and no reads in the status line by setting parameter 012 NORMMD RPT = 2, 3, 4 or 5. The totals in the first line will not be cleared (even if the power is cycled Off and On) until ~TOT00~ is sent.

~DATA~ 3 bad checksums, 3 restored defaults, 0 last bad param Max Scan Delay 55374, Min Scan Delay 0, Unassigned Label 0, Overlapping 0 DSP Buffer Overflows [0-7] 0, 0, 0, 0, 0, 0, 0, 0 where: bad checksums - Number of bad checksums detected restored defaults - Number of restored default parameters last bad param - Number (in the Setup menu) of the last parameter that was found to be outside its range 8-30

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 159

Max Scan Delay - Number of scans barcode data processing is lagging Min Scan Delay - Number of scans barcode data processing is lagging Unassigned Label - Number of unassigned labels to no box Overlapping - Number of overlapping labels to more than one box DSP Buffer Overflows - Number of buffer overflows per DSP Refer to “Memory Error Detection, Response & Reporting” on page 5-4 for bad checksums, restored defaults and bad last parameter. When parameter 002 OPMODE is set to 7, Polling Mode D information will also be reported, as shown below: Polling Mode D Communication Stats Slave Request Response Consecutive No Responses 1 3 3 0 2 3 3 0 3 3 0 3 0 bad checksums, 0 restored defaults, 0 last bad param Max Scan Delay 65116, Min Scan Delay 0, Unassigned Label 0, Overlapping 0 DSP Buffer Overflows [0-7] 0,0,0,0,0,0,0,0 •

Slave - Polling Mode D slave number

•

Request - Number of times that data was solicited from a slave

•

Response - Number of times that the slave responded

•

Consecutive No Responses - Current number of times that the slave did not respond

The Polling Mode D totals can be cleared by sending ~TOT00~ and will also be cleared when the power is cycled Off and On.

~TOT00~ Clear totals of boxes and no-reads Example Clearing Box Count

NORMMD_RPT Data Reports & Formats When a PC running terminal emulation software is connected to the scanner’s Setup port with the scanner in Normal mode, gap-tracking information will be sent to the Setup port with the bar code at the end of presence. The information sent, and the format, depends on the value of parameter 012 NORMMD RPT, as illustrated below.

NORMMD_RPT = 0 Bar code data will be sent just as it is from the Host port.

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8 Diagnostics

Gap Tracking Diagnostics

8-31

Page 160

Chapter

8

Diagnostics

NORMMD_RPT = 1 When set to 1, and if the hand-held terminal is selected via the TERM DEVICE parameter, then cursor positioning is used to place the label on the first line, nothing on the second line, current inputs and outputs on the third line, and the status flags, equivalent to the status decimal points in the 242i, on the fourth line. This aids the hand-held unit become the display for the CiMAX 78xx.

NORMMD_RPT = 2 With presence and gap tracking enabled, the barcode will be sent on line 1, the total box count and no read count will be sent on line 2 and the length and height will be sent on line 3. Example

151F0286706E 9 BOXES, 4 NO READS, 1 IN ZONE LEN 694,HT 2

NORMMD_RPT = 3 With gap tracking enabled, gap tracking-related data will be sent on the two lines following the barcode. where: pcnt - Number of objects in zone phead - Pointer to a look-up table (SICK Auto Ident, Inc. use) ptail - Pointer to a look-up table (SICK Auto Ident, Inc. use) dsp - Number of the DSP that read bar code rel - Release coordinate (SICK Auto Ident, Inc. use) len - Length of the box (x 0.001") ht - Number of height sensors blocked delta iz - Time in zone, in mils/tic gap - Distance between this box and the last (x 0.001"). Example 151F0286706E pcnt:1,phead:3,ptail:3,dsp:0,rel:3796749 len:22770,ht:2,delta iz:176814,gap:176814 151F0286708Q pcnt:2,phead:5,ptail:4,dsp:0,rel:3974817 len:4290,ht:0,delta iz:196548,gap:173778

8-32

CiMAX 78xx Technical Reference Manual

Rev H, February 2002

Page 161

Missing Outzone pcnt:1,phead:5,ptail:5,dsp:0,rel:3989205 len:4752,ht:3,delta iz:13926,gap:9636 You may also see the message: MISSING OUTZONE This message reports that a phantom box has been detected. A missing outzone message will be generated when there is an inzone signal without a corresponding outzone signal. The message is sent after enough tachometer ticks have occurred for the box to have moved 1 ½ time the length of the zone. This is a time-out length for each box. An unexpected outzone transition message will be sent as soon as an outzone signal occurs without a corresponding inzone, as: UNEXPECTED OUTZONE TRANSITION

NORMMD_RPT = 4 If gap tracking is enabled, gap tracking/barcode reading data will be sent and will include the following: •

Object - Cumulative number of objects detected

•

Trakcnt - Number of barcodes that fit onto this box

•

No Tracks - Number of barcodes that were off of this box but might still be on another box

•

Truncations - Number of barcodes that were outside of the scan zone.

Example

151F0286706E Object: 0 Trakcnt:27 NoTracks:15 Truncations :1 151F0286708Q Object: 1 Trakcnt:11 NoTracks:33 Truncations :29 151F0286706E Object: 3 Trakcnt:34 NoTracks:13 Truncations :4 151F0286708Q Object: 4 Trakcnt:12 NoTracks:24 Truncations :29

Sources of Error in Gap Tracking Under control of application engineer/installer/owner: 1.

Large mils/tic settings.

2.

Inadequate resolution of box height (number of height sensors).

Rev H, February 2002

CiMAX 78xx Technical Reference Manual

8 Diagnostics

Gap Tracking Diagnostics

8-33

Page 162

Chapter

8

Diagnostics

3.

Accuracy of all user-entered parameters.

Normal Mode Reporting 7 With Normal Mode Reporting set to 7 (and TRACKING set to 2 through 7), the 7800 reports each time a label is read and attempted to be put on a box. There are several uses for this test. The first thing that it does is provide a way of knowing when a label is read, but determined to not belong on a box (an indication that the box is not where the 7800 thinks it is). Some sample reports are shown below. OMNI Box 0, X -4443, Y -3640, Z1 -4067, Age 0 1 32453, Label 777779 Box -8, X -6447, Y 1779, Z1 -4067, Age 0 1 35591, Label 2222224444440000 The box index is shown first. A negative box value indicates the label does not fit on a box (a value of -8 is used to reflect -0). The X and Y coordinates are shown next. The zone 1 value indicates the leading edge distance from the center of the scan zone. The age of the label, DSP (mask) and DSP timestamp are shown next. Finally, the label is shown. 7800 Box 1 1, Face 20000, Z1 4910, Z2 870, Foc 650, Th 81, Lbl 1Z0123456789123456 There are two values shown for Box. Normally they are the same, as in the example above. These indicate the box index. If the box value is negative, this indicates that the label did not fit on any box. The second number in this case would be either a -1 or -2. A value of -2 indicates that the label overlapped two boxes, unable to determine which box the label belongs on. A value of -1 indicates the label does not fit on any box. The next field reports the box face (10,000 = front, 20,000 = top, 30,000 = back, 40,000 = near side, 50,000 = far side). The zone 1 and zone 2 values are given next. These are the leading and trailing edge distance from the center of the zone when the label was read (this gives the relative box position). The focus distance and threshold setting are given next. Finally the label in question is shown. Using NMR 7 with a fixed focus setting and then again with a dynamic focus setting provides an indication of how well the CiMAX 7800 is tracking boxes. Note: Do not use NMR 7 when statically reading a box. The I/O system will be swamped with report entries. When box is -1 (label does not fit on a box) the face and zone2 values have no meaning.

Position Accuracy Factors There are several factors that influence the accurate tracking of position of a box. These are explained below.

Inzone Debounce Time The distance that the box travels in the debounce time skews the location of the box accordingly. This becomes a greater factor at higher conveyor speeds. For example a 20-millisecond debounce time on a conveyor moving at 500 feet per second results in a 2-inch lag before recognizing the input. This error alone would affect the ability of the CiMAX 7800 to properly focus when 8-34

CiMAX 78xx Technical Reference Manual

Rev H, February 2002