The text of a manual · part 16 of 23
CiMAX 78xx Scanner Technical Reference Manual, pages 136 to 144
Pages 136 to 144 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 136
Chapter
8
Diagnostics
Conducting the Test 1.
Select and run the test.
2.
Wait a few seconds until the test results are displayed on the terminal. For example: 300 SS 1800 RPM
Input/Output (IOPRTS) Test This tests the eight control inputs and outputs. During normal scanner operation, Inputs 1 and 2 accept the inzone and outzone signals. Outputs 1, 2, and 3 output the NO READ, MATCH, and NO MATCH outputs. You can re-map these functions to any input or output under program control by using: • a user C program, or
• parameters 503 INZONE, 504 OUTZONE, 541 NO READ OUTPUTS, 542 MATCH OUTPUTS, and 543 NO MATCH OUTPUTS.
Note: By default, OUTPUT 4 controls the BEEPER. To re-assign this output from a user C program, you must first disable the BEEPER function with an appropriate call to the SYS_PORTS library routine. For complete information about the BEEPER function, refer to the C Programmer's Platform User's Manual.
Conducting the Test 1.
Select and run the test.
2.
When the test is run, the eight inputs will be sampled repeatedly and their states reported as follows: INPUTS=XXXXXXXX where: X - 0 or 1 depending on the input state.
3.
While running the test, you can turn on any output by entering the output number (1 through 8), or all outputs at once by entering A, for All outputs. The selected outputs will turn on for approximately one second. Each output must be observed manually to determine that it is operating. If the Standard Interface Unit is in use, the LED indicators associated with each output relay can be observed to determine if the relays are being energized.
Label Position Test When there is the possibility of more than one box being in the scan zone at a time, the gaptracking program uses the barcode position within the scan zone to determine the box with which the barcode should be associated.
8-8
CiMAX 78xx Technical Reference Manual
Rev H, February 2002
Page 137
This test checks position calculation and the validity of parameters 705 CONV WIDTH, 706 INZONE-CENTER and 707 OUTZONE-CENTER. These define the size of the scan zone. Position is calculated for only one box in the scan zone at a time. The test is normally only useful to SICK Auto Ident, Inc. service personnel.
Conducting the Test 1.
Select and run the test.
2.
Select a barcode that the scanner is configured to read. Orient the label so the beam sweeps across the barcode from quiet zone to quiet zone. Every 100 scans, you should see a result similar to the following: LLLLLLL x=nnnnn y=mmmm t=pppp dsp=q height=r where: LLLLLLL - The first seven characters of the barcode read and nnnnn, mmmmm, pppp, q and r are numbers. x & y - Represent the barcode position actually, the first edge of the barcode detected by the scanning beam in a coordinate system centered under the scanner, in mils (0.001"units). t - The time from the start of the scan when the barcode was first detected. r - The height zone above the conveyor in which the barcode is being read. If your installation includes height-sensing photoeyes, you must block all of the photoeyes, which would be blocked by a box corresponding to the height of the label in order for the label position determination to be accurate. q - The decoding (DSP) processor, which detected the barcode by its associated laser beam. Single line scanners use only one DSP.
Tachometer Status Test If your installation includes a tachometer, this test is useful for troubleshooting and for verifying the accuracy of parameter 702 MILS/TIC.
Conducting the Test Select and run the test. When this test is run, you will see a result similar to the following: nnnn COUNTS mmmm MILS pppp FT/MIN where: nnnn - The number of tachometer pulses received in one second. mmmm - The distance in mils that this corresponds to, as determined by parameter 702 MILS/TIC. The number of digits reported may vary among scanner types. pppp - The calculated conveyor speed in feet per minute.
Rev H, February 2002
CiMAX 78xx Technical Reference Manual
8 Diagnostics
Introduction
8-9
Page 138
Chapter
8
Diagnostics
If parameter 702 MILS/TIC is set to zero, gap tracking will be disabled. If the value is not accurate, the distance and speed calculations will be incorrect.
Tachometer Calibration Procedure If your installation includes a tachometer, this procedure may be used to set parameter 702 MILS/TIC. This will be useful when the parameter cannot be derived from other known values, such as the number of pulses/revolution and the gearing ratio between the driven shaft and actual conveyor movement.
To Run Calibration 1.
Select a box or article with a barcode that the scanner is configured to read.
2.
Make sure that the conveyor is running at normal speed and that the tachometer is functioning and connected correctly.
3.
Make sure that the following parameters are set to appropriate values. Parameter 702 MILS/TIC must have a preliminary value entered. A best guess or a value of 50 is appropriate. Parameters 510-517 INPUT1-8 TIME and parameter 518 INPUT DBNC TYPES must be set to the appropriate presence and tachometer input debouncing times and types. Parameters 706 INZONE-CENTER and 707 OUTZONE-CENTER, the distances between the inzone and the outzone photoeyes and the centerline of the scan zone, must have accurate values entered.
4.
Select and run the test.
5.
When the test is started, the scan zone between the inzone and outzone photoeyes should be empty. The message Waiting for inzone... will be displayed on the terminal. If there are boxes in the zone when the test is started, you may see the message Waiting for zone to clear... until the boxes exit from the scan zone.
6.
Pass several boxes through the scan zone on the conveyor, one box at a time. As each box blocks the inzone photoeye, the message Inzone will be displayed. When the leading edge of the box blocks the outzone photoeye, a message similar to the following will be displayed: Box x: nnn counts mmm mils/tic ppp ft/min ht zone: q where: x - The number of the box passed through the zone nnn - The number of encoder pulses recorded mmm - The calculated distance traveled per pulse ppp - The resulting conveyor speed
8-10
CiMAX 78xx Technical Reference Manual
Rev H, February 2002
Page 139
q - The height zone indicated by the height-sensing photoeye tree, if your application requires this. As subsequent boxes are passed through the zone, the mils/tic values will be averaged. Ending the test will cause this average to be entered into parameter 702 MILS/TIC.
Autofocus Diags This diagnostic test moves the focus mechanism through its range. The procedure is used to calibrate the telescope at the factory, and may be useful while setting up the scanner in the field. When you run this entry, you will see the following: Calibrating... Type 'I' or 'O' to single step in or out Type 'Gnnn' to go to absolute position Type 'Fnnn' to go to absolute focal distance Type ‘+’ or ‘-’ to move focus table calibration up or down Type ‘D’ to disable dynamic optical receiver threshold/gain pot (default) Type ‘T’ to enable dynamic optical receiver threshold pot Type ‘N’ to enable dynamic optical receiver gain pot E to run Read Efficiency, X to stop Step position is: 50 The autofocus mechanism will perform a calibration movement, move to the end-stop and then back to the default 36" focus point. For each focus point, there is an internally calculated number of steps from the end-stop. The step points range from 0 to 127. The useful focal range of 20" to 71" actually corresponds to a very small number of steps: from step = 20 for 71" focus, to step = 88 for 20" focus. As indicated by the prompt, you may type I or O to single step the motor in or out, where I means move the lens in, which moves the focal point out. Type Gnnn to step the motor to an absolute step position, where nnn is a number between 0 and 127. Type Fnnn to step the motor to a focal distance (in 0.1" increments) where nnn is a number between 200 and 710. Parameter 491 FOCUS TABLE CALIB can be incremented or decremented from this diagnostic by pressing the + or - keys. The message Focus table calibration: xx will be outputted where xx is the new value of the parameter. If parameter 737 FOCUS OFFSET is a non-zero value, it will be added to any distance entered with the Fnnn command. For example, if a focus distance of 35.0 inches is entered (F350) and parameter 737 is 2.0 inches (value = 20), the scanner will focus to 37.0 inches and display the following message: Moved to 370 tenth-inches Includes 20 tenth-inches user offset The effect of the dynamic optical receiver threshold/gain pot feature can now be tested in this diagnostic. By default, the feature is disabled upon entering the autofocus diagnostics but it can be enabled at any time by pressing T or N. If it is subsequently desired to disable the dynamic thresholding, D may be pressed. If thresholding has not been enabled yet (i.e. parameter 736 RCVR THRESH STEPS is 0), the message Dynamic optical receiver threshold not setup will be displayed. Otherwise, the message Dynamic optical receiver threshold enabled will be shown
Rev H, February 2002
CiMAX 78xx Technical Reference Manual
8-11
8 Diagnostics
Introduction
Page 140
Chapter
8
Diagnostics to indicate the operation was successful. Both cannot be enabled simultaneously. Dynamic Gain has priority over Dynamic Threshold. As the focus is changed with the I,O, Gnnn, or Fnnn commands, the threshold pot will be automatically changed to the appropriate value for the new focus distance and the message Threshold pot setting is: XX will displayed where xx is the threshold pot setting. Type E to run the Read Efficiency diagnostic test within the Autofocus Calibration test. This is a way to fine-tune the focus while receiving feedback on how well a barcode is being read. While the Read Efficiency numbers are scrolling on the display, all of the other keys will remain active. Type X to stop the Read Efficiency diagnostic test. When you exit the AF Calibration diagnostic test, the focal point will remain at its last position until the scanner is rebooted or the next presence cycle occurs. AUTOFOCUS DIAGS may be used to experiment with decoding performance using READ EFFICIENCY at different ranges in the Depth of Field.
Set Digital Potentiometers The scanner has 11 digital pots. The pots are 100-position digital potentiometers with non-volatile memory. Refer to parameters 444-459 in the Scanner Parameters Reference Guide for more information. The pots cannot be set to an absolute position using the Diagnostics menu. They must be incremented or decremented to their top or bottom end by incrementing or decrementing 100 times, if you don't know where they are positioned initially, increment or decrement them to the desired position. The pots can also be set by entering numerical positions using the Setup menu as described in “Non-Intelligent ASCII Terminal” on page 5-7. You can observe pot settings and also adjust them, with the exceptions noted below, through the Diagnostics menu. This will allow you to increment or decrement pot settings while watching the results on a scope, or while running a diagnostics test such as Read Efficiency. •
To protect the laser diode, the scanner has a jumper, which must be re-positioned before their LSR PWR LIMIT pots can be adjusted. The jumper should be returned to their Safe positions after adjustment.
When you access the Set Digital Potentiometers test, you will see the following (your parameter values may be different): Current settings: (select # to change) When you select a digital pot, the following is displayed: U to increment, D to decrement, T for max, B for min E to run Read Efficiency, X to stop Read Efficiency 1 MOTOR SPEED = 50 2 LSR PWR (FINE) = 0 3 LSR PWR (COARSE) = 0 4 LSR PWR LIMIT = 0 5 LSR MOD SLOPE = 99 6 RASTER FREQUENCY = 0
8-12
CiMAX 78xx Technical Reference Manual
Rev H, February 2002
Page 141
7 RASTER AMPLITUDE = 0 8 OPT RCVR LIMIT = 99 9 OPT RCVR THRESH = 72 10 OPT RCVR SHIFT = 20 11 OPT RCVR GAIN = 0 Note: Potentiometers #6 and #7 are used only for programmable raster scanners. Default values may cause old hardware to exhibit a loss of laser power. To avoid this, set pots #6 and #7 to 99 in all CiMAX 7800 and 7850 scanners. Once you have selected a pot by entering its number followed by Enter. The following will then be displayed. To change the pot settings, Press the keys listed below. U - Moves the pot up one increment. D - Moves the pot down one increment. T - Moves the pot to its maximum position B - Moves the pot to its minimum position Pressing E while a pot is selected will run the Read Efficiency test. Refer to “Control Commands from the Host” on page 6-1 for more information. Pressing X will stop the test. It can be useful to monitor read efficiency while adjusting certain pots by pressing U and D to increment or decrement them.
Decoder Processor Test (CIDSP DIAGS) Test Decoder Processor Test displays the current software version and program being used by the decoding processor, also referred to as the DSP. The processor decodes the bars and spaces of barcodes into ASCII data that is presented to the host.
Conducting the Test 1.
Select and run the test. If CIX (stitching) is not enabled, the two lines below will be sent to the terminal when the test is run: CIDSP-Non-Stitching Auto-distinguish (5 symbologies) for Scanner: Ver X.X CONFIRM If CIX (stitching) is enabled, the two lines below will be sent to the terminal when the test is run: CIDSP- Stitching Auto-distinguish (C128, I25, C39, UPC, C93) for Scanner: Ver X.X CONFIRM The first line reports the program type (Stitching or Non-Stitching), the version of the scanner software in use and, if CIX is enabled, the five symbologies that can be read, but have not necessarily been selected to be read.
Rev H, February 2002
CiMAX 78xx Technical Reference Manual
8 Diagnostics
Introduction
8-13
Page 142
Chapter
8
Diagnostics
The second line asks if you want to run an extensive decoding processor (DSP) communication and RAM test. 2.
When you enter Y, the test will cause the scanner to reboot. This test is no longer available with version 2.0 or later. Earlier versions will display the @ character at regular intervals on the terminal. Each @ indicates that a group of tests have been successfully run. If you see the message DSP FAIL while running the test, there may be a problem with the scanner. Contact SICK Auto Ident, Inc. Customer Service for assistance. Press any key to end the test.
Can Diagnostics CAN DIAGS allows some limited diagnostics for the DeviceNet/SDS board. When this diagnostic is run, you may see: Can Device is Offline This indicates that the network cable is not connected, or the DeviceNet or SDS master is not running, and the diagnostic will return to the menu. Otherwise, you will see the following prompt: Network Type: DeviceNet, Software Version: X.X, Device State: Online Enter 8 digits (hex format) to drive outputs Input = 00000000 00000000 00000000 00000000 You will see 'SDS' in place of DeviceNet if an SDS board is installed. For 'Device State', you may see other messages besides 'Online'. Initialize No Can Power Autobaud Can Bus Off Online Offline The last line will be repeated every one second, reflecting the current state of the expansion inputs according to any DeviceNet or SDS messages that are received. You will see either a '1' or a '0' in each of the 32 bits. You can force outputs from the diagnostic by typing in an 8-digit hex format number. For example, typing in '80000001' will cause outputs 1 and 32 to be forced on. In this example, the message: Output= 10000000 00000000 00000000 00000001 will then be displayed. Reading the inputs and setting the outputs from within this diagnostic can be very helpful in testing PLC ladder logic or PC flowchart logic in the field.
8-14
CiMAX 78xx Technical Reference Manual
Rev H, February 2002
Page 143
Introduction
8
The Exhaustive RAM Test completely tests the microprocessor and non-volatile memory. When this test is performed, all downloaded C programs and parameter values stored in memory will be permanently erased.
Diagnostics
Exhaustive RAM Test
Once started, the test cannot be aborted except by turning the scanner off, which causes it to reset to its default (factory-set) parameter values.
Conducting the Test 1.
Select EXHAUSTIVE RAM test by typing R - Enter while EXHAUSTIVE RAM is shown. The following confirmation message will be displayed: WARNING! ALL PARAMETER SETTINGS WILL BE ERASED. WARNING! DO YOU WISH TO PROCEED? (Y/N)
2.
Type Y - Enter. Entering any other response will abort the test. A second confirmation message will be displayed: YOU ANSWERED "Y". TO PROCEED WITH RAM TEST/CLEAR, NOW TYPE 'CLEAR'
3.
To perform the test, type CLEAR or clear as a security check. Any other response will abort the test. Observe the display. If there is a memory failure, the terminal will display the message: MEM FAILED AAAA where: AAAA - The failed memory address.
4.
Allow the test to run through several displays of @ before terminating it.
Exiting the Test To end the test, turn the scanner off. Failures in the scanner's memory mean that it must be serviced. Contact your SICK Auto Ident, Inc. representative immediately.
Flash Operating System Download This procedure should only be used by SICK Auto Ident, Inc. Service Personnel. Note: All parameters will be reset to defaults after this procedure. Parameters should be uploaded to a file for future reference. All setup parameters will be set to default following new OS download. Verify that you have all group setup strings to a file allowing you to properly restore setup parameters.
Rev H, February 2002
CiMAX 78xx Technical Reference Manual
8-15
Page 144
Chapter
8
Diagnostics
The scanner Operating System (O.S.) software is stored in FLASH read-only-memory (ROM). This technology allows the scanner to be reprogrammed in the field. The scanner may be upgraded with new releases of the operating system using this procedure.
Performing the Download 1.
Select FLASH O.S. Download by typing R - Enter. The following message will be displayed: WARNING! OPERATING SYSTEM WILL BE ERASED. NEW OPERATING SYSTEM CODE MUST THEN BE DOWNLOADED, USING TERMINAL PORT SET 9600,N,8,1, XON/XOFF WARNING! DO YOU WISH TO PROCEED? (Y/N)
Note: Since the operating system will be erased, you must be absolutely sure you have the necessary new release from SICK Auto Ident, Inc. You also must be sure that you are connected to a computer with a terminal emulation program that can perform either a straight ASCII download without any outgoing character translations, or an Xmodem file transfer. 2.
Press Y or y - Enter to proceed. Press any other key(s) to cancel the procedure. The following will be displayed: YOU ANSWERED 'Y' TO PROCEED WITH ERASING OPERATING SYSTEM, NOW TYPE 'FLASH'
3.
Type FLASH or flash - Enter to start the procedure. The following message will be displayed: Please Cycle power (turn OFF, then ON) To Start FLASH Download Procedure
4.
Cycle power to the scanner. The following will be displayed. RVSI CiMatrix FLASH programming monitor BOOT MONITOR V X.X Operating System must be reprogrammed. Code checksum: XXXXXXXX Actual checksum: XXXXXXXX Erasing main block 1... erase OK Erasing main block 2... erase OK Erasing main block 3 erase OK Erasing main block 4 erase OK Waiting for download of new system code.... or start of Xmodem/Xmodem1K transfer.......
5.
8-16
At the PC, load and run a terminal emulation program such as ProComm for Windows or DOS, or Windows Terminal.
CiMAX 78xx Technical Reference Manual
Rev H, February 2002