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 75xxA/76xx Scanner Technical Reference Manual, pages 153 to 162

Pages 153 to 162 of 206

The original document is the PDF (3.4 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 7500, RVSI CiMatrix 7555A, Sick 7555A, RVSI CiMatrix 7600, RVSI CiMatrix 7655, Siemens 7500, Siemens 7555A, Sick 7600, and 2 more models

Page 153

Saving a User Program The user program to be saved in memory must have a code and constant segment size of less than 8Kbytes. Refer to the following paragraphs to determine the size of your program. The method used to save a program is hidden from a user in that there is no prompt telling you how to do it. To save a program to FLASH memory, run the RESTORE PROGRAM procedure by typing R in the Diagnostic menu, and then typing PROGRAM in response to the prompt: Do you wish to proceed? (Y/N). You will be prompted with: Enter comment block for new user program: Type your desired comment block to be saved with the program. You may type any number of characters, ending it with a CR. The number of characters you enter is included in the size of the program when the test is made to see if it will fit in the available 8Kbytes of space. After the comment block is entered, a final prompt will appear: User program saved, press any key to reboot. Pressing any key will reboot the scanner. The user program to be saved in memory must have a code and constant segment size of less than 8Kbytes. 8Kbytes may seem small, but most programs will fit in this size. As an example, the Crisplant program is just under 8K. This is CODE size only, including constants and initialized data. It does not include the dynamic data usage by the program, global, local or local static. You may find the size of your program by one of two methods. The direct method is to load the program into the scanner and then try to save it to FLASH memory. If the program is too large, the following message will appear: User Program is too large to fit in Flash memory The quantitative method is to look at the map file generated after the linking phase of the program build. You must add the following line to your make file or batch file (e.g. c68k.bat) to generate this map file: ..\..\bin\GSMAP %1.rmp -n -o or: c:\cisoft\c68k\bin\GSMAP %1.rmp -n -o depending on the paths to the C Programming Platform executable files. At the bottom of the .map file generated by the GSMAP.EXE program, there will be a list of all the segment sizes. Scroll up from the bottom of the file, until you find the notation end_constant. Subtract the address of this segment from the address of the S__main segment. The difference will be the size of the code and constant segments. For example, you will see something like the following:

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

8-19

8 Diagnostics

Introduction

Page 154

Chapter

8

Diagnostics

... TABLE 8–4.

Segment

Address

Length

Class

Align

Com bine

S__main

00130000 (1245184)

000028 (40)

code hword private

S_main

00130028 (1245224)

000ed4 (3796)

code hword private

_S_data

00130efc (1249020)

0005da (1498)

constant hword private sdata

001314d6 (1250518)

0000d9 (217)

constant hword private end_constan t

001315b0 (1250736)

000001 (1)

separate hword private

.. In this example, the end_constant address minus the S__main address is 1315B0 - 130000 = 15B0(hex) or 1250736 - 1245184 = 5552(decimal). This program is less than 8Kbytes, since 8K = 2000 (hex) or 8*1024 = 8192 (decimal). The data segments of the user program, i.e. the local, global or static variables are not saved with the program. The program variables may also be corrupted by the action of saving a program in FLASH memory. This is consistent with normal operation of the user program in that the RAM is battery backed and is not cleared after each power-up. Un-initialized data will therefore not be automatically cleared to zero. Any program that depends on this technique to save data as static variables instead of using the ANSI-compatible file system, must check the integrity of the data with a checksum scheme, or other technique. Any files in use by a program using the ANSI-compatible file system will be lost when a program is restored.

Set Clock Procedure This diagnostic allows you to set the time and date of the on-board battery-backed real-time clock. The clock may be read and used by a user C program. When you run this entry by pressing R, the following example message will be displayed: Present time/date is: 12:00:00 08-04-95 Enter new time (hh:mm:ss): The clock will continue to keep time and date while you are observing the display. Press Enter to exit the routine without making any changes to the clock. To change the time, type a new time, in 24-hour notation, followed by Enter. The clock will be reset at the instant that Enter is pressed, so you must compensate for the delay between typing the time and pressing Enter. 8-20

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 155

Introduction

8

No line editing is allowed, so you must enter the time correctly. If you enter an incorrectly formatted time string, but not an incorrect time, the message, Incorrect format, will be displayed, and you will be prompted to re-enter the time.

Diagnostics

You will be prompted to enter the date by the message: Enter new date (mm-dd-yy): Type the date in the correct format, followed by Enter, to enter the new date and end the procedure. You can run Set Clock again by pressing R to ensure the correct values were entered. The time displayed will be the time at which you press R. Press Enter to exit the procedure without changing the clock.

7555A/7655 Frequency Adjustment This adjustment refers only to scanners with the programmable sweep option. Although parameters 454 RASTER FREQUENCY and 455 RASTER AMPLITUDE are listed on all scanners, they are only used with the programmable sweep function. To prevent the loss of laser power in earlier models of all scanners, set these two parameters to 99. The parameters range is 000 (default) to 099. These parameters may be set from the Setup menu by entering in values directly, or through the SET DIGITAL POTS diagnostic. New features have been added to the diagnostic to allow displaying the sweep frequency while you set the pots. This is valuable when setting up the proper sweep height and frequency in the field, since without this feature you would have to open up a unit and measure the frequency with a meter. When running the SET DIGITAL POTS diagnostic, the menu of choices is now: Current settings: (select # to change) 1 MOTOR SPEED = 50 2 LSR PWR (FINE) = 0 3 LSR PWR (COARSE) = 0 4 LSR PWR LIMIT = 0 5 PHASE = 99 6 RASTER FREQUENCY = 0 7 RASTER AMPLITUDE = 0 8 OPT RCVR LIMIT = 99 9 OPT RCVR THRESH = 72 10 OPT RCVR SHIFT = 20 11 OPT RCVR GAIN = 0 Selecting 6 to adjust the raster frequency will bring up the following prompt. A similar prompt is given if 7 is selected. Mode will reliably work if reading efficiency is 100! U to increment, D to decrement T for max, B for min, F to display Frequency 6 RASTER FREQUENCY = 00 The current sweep frequency measurement is displayed by typing 'F'. You will then get either the message:

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

8-21

Page 156

Chapter

8

Diagnostics

No measurements made Or a message like: Frequency: 9 Hz It is important to understand how the measurement is made to understand the cases where you get the message "No measurement made". The diagnostic assumes a label is placed in the middle of the sweep height and that the sweep height relative to the bar height is such that the raster pattern extends beyond the label on both sides. The diagnostic times how long it takes to move off of the label, then return to the same point. This is then converted to the sweep frequency. If there is no label being scanned, or the sweep height is not big enough to move off of the label (so a label is always being scanned), then the message "No measurements made" will be displayed. The proper method to use this feature is to first set the sweep frequency and amplitude to zero (making a single line), and then place a label with small bar height relative to the desired sweep height in the middle of the scan line. Run the Read Efficiency diagnostic and position the label so it reads 100% or as close as you can get it to 100%. Then, increase the amplitude and frequency to approximate the desired sweep height. The actual starting frequency is not important except to get some oscillation so you can measure the frequency. The combination of sweep height and bar height should result in a raster pattern that extends beyond the label on both sides. At this point you can type 'F' to make a frequency measurement. Adjust the frequency setting to the desired value. Note that there is an interaction between the frequency and amplitude settings. As you change the frequency, the sweep height (amplitude) will also change as you drive the oscillation relative to the resonance of the motor/mirror assembly. You will have to iterate between setting the amplitude pot then the frequency pot to arrive at your desired sweep height and frequency.

Gap Tracking Diagnostics Adjusting Gap Tracking parameters and diagnosing problems during the installation of your scanner can be made easier by using the following built-in diagnostic features.

Scanner Model Notification Parameters are included that are not used in all scanner models, or that may be used only when certain options are installed.

Gap Tracking Parameters The gap tracking-related parameters, with their default values are shown in Table 8–5. TABLE 8–5. Gap Tracking Parameters

8-22

Parameter

Description

Default Value

700

TRACKING

0 (disabled)

701

ENC UPDATE RATE

4 ms

702

MILS/TIC

000 (disabled)

703

OUTZN TOLR

040 (4.0")

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 157

TABLE 8–5. Gap Tracking Parameters (Continued)

Parameter

Description

Default Value

704

BOX TOLR

020 (2.0")

705

CONV WIDTH

240 (24.0")

706

INZONE-CENTER

0170 (17.0")

707

OUTZONE-CENTER

0170 (17.0")

708

ENDPOINT TBL

0

709

ROTATION ANGLE

000 (degrees)

710

HEIGHT1

030 (3.0")

711

HEIGHT2

090 (9.0")

712

HEIGHT3

150 (15.0")

713

HEIGHT4

210 (21.0")

714

HEIGHT5

000 (not installed)

715

CONV TO SCANNER

180 (18.0")

716

MIN HEIGHT

000 (000")

717

MAX HEIGHT

180 (18.0")

718

FIXED BOX LEN

000 (off)

719

FIXED CONV SPD

000 (off)

725

PIC PHOTO EYES

0

726

SCAN DELAY COMP

0 (disabled)

727

TUNNEL MTG ANGLE

45

728

BOX FACES

0

729

LABEL TOLR

020

730

SCAN ZONE IZ-CTR

0170

731

SCAN ZONE OZ-CTR

0170

732

PIC SERIAL PORT

1

733

PIC POSITION

1

743

NUM HT ARRAY SENSORS

096

744

BOX TOLR SIGN

+

Setting Up for Gap Tracking Diagnostics To set up for diagnostic testing: 1.

Connect a PC running terminal emulation software (not a CiMAX 1400) to the scanner's Setup port.

2.

Be sure that the scanner is running in the Normal mode.

3.

Set parameter 012 NORMMD RPT only as indicated in the following paragraphs.

Unsolicited Messages Sent to the Setup Port If gap tracking is disabled (parameters 501 PRESENCE ENABLE and 702 MILS/TICK both zero), you will see the following message after reboot:

Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

8 Diagnostics

Gap Tracking Diagnostics

8-23

Page 158

Chapter

8

Diagnostics

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 TOLER 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 500 ms: STALLED CONVEYOR NO MOVEMENT When ticks above 5 ft/min are detected (but after a possible 500 ms 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 which follow, information about all possible DSPs are included to maintain software conformity among products.

~TRACK~ 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: TABLE 8–6. Send Beam Coordinates

8-24

Parameter

Description

Value

710

HEIGHT1

030

711

HEIGHT2

090

712

HEIGHT3

150

713

HEIGHT4

210

714

HEIGHT5

000

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 159

TABLE 8–6. Send Beam Coordinates

Parameter

Description

Value

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,-12986 to 0,12986, length = 25973,height = 17875 DSP 1: 0,0 to 0,0, length = 0,height = 17875 DSP 2: 0,0 to 0,0, length = 0,height = 17875 DSP 3: 0,0 to 0,0, length = 0,height = 17875 DSP 4: 0,0 to 0,0, length = 0,height = 17875 DSP 5: 0,0 to 0,0, length = 0,height = 17875 DSP 6: 0,0 to 0,0, length = 0,height = 17875 DSP 7: 0,0 to 0,0, length = 0,height = 17875 Line endpoints at height 1 DSP 0: 0,-9717 to 0,9717, length = 19435,height = 13375 DSP 1: 0,0 to 0,0, length = 0,height = 13375 DSP 2: 0,0 to 0,0, length = 0,height = 13375 DSP 3: 0,0 to 0,0, length = 0,height = 13375 DSP 4: 0,0 to 0,0, length = 0,height = 13375 DSP 5: 0,0 to 0,0, length = 0,height = 13375 DSP 6: 0,0 to 0,0, length = 0,height = 13375 DSP 7: 0,0 to 0,0, length = 0,height = 13375 Line endpoints at height 2 DSP 0: 0,-5358 to 0,5358, length = 10716,height = 7375 DSP 1: 0,0 to 0,0, length = 0,height = 7375 DSP 2: 0,0 to 0,0, length = 0,height = 7375 DSP 3: 0,0 to 0,0, length = 0,height = 7375 DSP 4: 0,0 to 0,0, length = 0,height = 7375 DSP 5: 0,0 to 0,0, length = 0,height = 7375 DSP 6: 0,0 to 0,0, length = 0,height = 7375 DSP 7: 0,0 to 0,0, length = 0,height = 7375 Line endpoints at height 3 DSP 0: 0,-998 to 0,998, length = 1997,height = 1375 DSP 1: 0,0 to 0,0, length = 0,height = 1375 DSP 2: 0,0 to 0,0, length = 0,height = 1375 DSP 3: 0,0 to 0,0, length = 0,height = 1375 DSP 4: 0,0 to 0,0, length = 0,height = 1375 DSP 5: 0,0 to 0,0, length = 0,height = 1375 Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

8 Diagnostics

Gap Tracking Diagnostics

8-25

Page 160

Chapter

8

Diagnostics

DSP 6: 0,0 to 0,0, length = 0,height = 1375 DSP 7: 0,0 to 0,0, length = 0,height = 1375 Line endpoints at height 4 DSP 0: 0,90 to 0,-90, length = -181,height = -125 DSP 1: 0,0 to 0,0, length = 0,height = -125 DSP 2: 0,0 to 0,0, length = 0,height = -125 DSP 3: 0,0 to 0,0, length = 0,height = -125 DSP 4: 0,0 to 0,0, length = 0,height = -125 DSP 5: 0,0 to 0,0, length = 0,height = -125 DSP 6: 0,0 to 0,0, length = 0,height = -125 DSP 7: 0,0 to 0,0, length = 0,height = -125 The coordinate system illustrated in Figure 8–1 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. 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

8-26

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002

Page 161

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.

~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 Rev F, February 2002

CiMAX 75xxA/76xx Scanner Technical Reference Manual

8-27

8 Diagnostics

Gap Tracking Diagnostics

Page 162

Chapter

8

Diagnostics

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 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.

8-28

CiMAX 75xxA/76xx Scanner Technical Reference Manual

Rev F, February 2002