The text of a manual · part 13 of 17
Operating Instructions: CLV 42x Bar Code Scanner, Standard line: 10 Appendix, pages 102 to 110
Pages 102 to 110 of 146, from Operating Instructions: CLV 42x Bar Code Scanner, Standard line
The original document is the PDF (3.7 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 Sick CLV420 and Sick CLV422
Page 102
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
10.4.3
Starting "CLV Setup"
The "CLV Setup" program is launched with the following default settings: Communication
COM 1; 9,600 bd; 8 data bits; 1 stop bit; no parity
Transmit control character
Start: STX, Stop: ETX
Receive control character
Start: STX, Stop: ETX
Unit of measure metric (depending on the selected installation)
Browser user dependent
Language as selected for the installation
Company name as entered for the installation
User name as entered for the installation
Establish connection to CLV at startup: yes on scanner selection: yes automatically when the terminal emulator is started/closed: yes Initial screen yes
Storage confirmation prompt yes
Last type selected
CLV 41x
File storage location
"data" (configuration files for CLV)
Table 10-3: Default settings of CLV Setup (extract)
1.
Switch on your PC and start Windows.
2.
Select CLV SETUP from the Start menu. The SICK logo is then followed by the initial screen.
3.
Confirm the initial screen with "OK". CLV Setup then checks whether a CLV is connected to the COM 1 port on the PC and whether the communication parameters on the PC match those on the CLV. If this is the case, the "Connected" status is displayed with the CLV specification in the bottom right corner of the screen, in the status bar. The detected CLV type is displayed in the toolbar in the DEVICE drop-down list (in this case: CLV 42x).
The software then loads the internal device description of the CLV and the defaults settings of the parameters/parameter values from its database and displays these on the tabs. The software then copies the current parameter set from the memory (RAM) of the CLV. This is displayed on the tabs instead of the default settings. You can edit the current parameter set on the tabs. The default values are displayed when the device is used for the first time. Troubleshooting If CLV Setup cannot establish communication, it displays "No connection" in the status bar on the bottom, right-hand side. There are two possible causes for this. Either the CLV is not connected or the communication parameters on the CLV do not match those on the PC. In this case, CLV Setup enters the CLV type of the device it last communicated with in the DEVICE drop-down list on the toolbar. The default setting is CLV 41x the first time CLV Setup is started. The software then loads the internal device description for this type and the default settings of the parameters/parameter values from its database and displays these on the tabs.
10-10
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 103
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
1.
Connect the PC to the terminal interface (port) of the CLV using a 3-core RS 232 data cable (null modem cable) (CDB 420 or CDM 420: connect the PC to the internal, 9-pin "Aux" plug). See Chapter 5.5.6 Connecting the PC, Page 5-7.
2.
Click (AutoBaud detect) in the toolbar or choose OPTIONS, AUTOBAUD DETECT. CLV Setup scans the serial interface by varying the communication parameters and sends a telegram to the CLV repeatedly. As soon as a reply from the CLV is detected, CLV Setup conveys the values found for the communication parameters. Fig. 10-6 shows an example of the AUTOBAUD DETECT result display. CLV Setup displays "Connected" in the status bar on the bottom, right-hand side.
3.
Confirm the AUTO DETECT dialog window with "OK". CLV Setup displays the detected CLV type in a separate dialog box and asks you whether you want to upload the current parameter set from the CLV.
4.
Confirm the dialog box with "Yes". CLV Setup then uploads the current parameter set from the RAM of the CLV to its database and displays the values on the tabs.
You can edit the current parameter set on the tabs.
Fig. 10-6:
CLV Setup: results of the AutoBaud detect function
– or – 1.
Select OPTIONS, then SERIAL INTERFACE from the menu bar. CLV Setup displays the current communication parameter settings of the PC in the COM PARAMETERS dialog box.
2.
Ensure that the communication parameters of the PC and CLV are identical (connected COM port; 9,600 bd; 8 data bits; 1 stop bit; no parity)
3.
Confirm the dialog box with "OK". CLV Setup attempts to communicate with the CLV again. If it is successful, CLV Setup displays "Connected " in the status bar on the bottom, righthand side.
4.
Click in the toolbar. CLV Setup then copies the current parameter set from the RAM of the CLV to its database and displays the values on the tabs.
You can edit the current parameter set on the tabs.
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-11
Page 104
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
10.4.4
CLV Setup graphical user interface
The graphical user interface (GUI) of CLV Setup is largely self explanatory. The online CLV Setup Help function provides a description of how to use the program under the menu item HELP TO CLV-SETUP in the navigation tree. Fig. 10-7 shows the graphical user interface. The program window of the GUI comprises the following elements:
Fig. 10-7:
10-12
•
Title bar that displays the program name, current configuration file and status (e. g. "No File")
•
Menu bar with pull-down menus
•
Toolbar with buttons for triggering various functions
•
Drop-down list (top right) for selecting the device type
•
On the left side a frame for displaying the navigation tree of the tabs
•
On the right side a frame for displaying the tabs for CLV 42x (Reading Configuration, Device Configuration, etc.). The numbers of displayed tabs depends on the selected items in the navigation tree on the left side. The parameters on the tabs are grouped according to their function. Some of these parameters open further dialog boxes.
•
A status bar (at the bottom of the window) with two display fields for the communication activities between CLV Setup and the CLV, display of interface parameters of the PC, error display field (system errors) of the CLV, device specification field and status display for the connection to the CLV.
User interface of the "CLV Setup" software
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 105
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
10.4.5
Functions
The "CLV Setup" program (from V4.0) features functions to carry out the following: •
Loading the default settings of the parameter set from the database of CLV Setup
•
Automatic communication attempt with the CLV when the program is started
•
Automatic software compatibility check in the CLV
•
Uploading and displaying parameter set stored in the CLV
•
Changing the parameters/parameter values on the tabs
•
CLV Assistant for simplified parameterization
•
Downloading the changes to the parameter set in the CLV
•
Saving the changes to the parameter set as a configuration file "*.scl" in CLV Setup
•
Printing the configuration files
•
Exporting the configuration files in RTF format
•
Exporting the command strings contained in the profile bar codes in ASCII format
•
Printing the parameter set in the form of profile bar codes
•
Online access to the CLV via a terminal emulator (select operating mode, start operating functions, log file for communication between the CLV and CLV Setup, extended terminal mode, e. g. for displaying CLV messages)
•
AutoBaud detect for automatic communication setup with the CLV
•
Selecting the COM port of the PC for adapting the data transfer parameters
•
Monitoring the data communication of the CLV host interface
•
Selecting the display language
•
Selecting the units of measure
•
Displaying the last 10 configuration files that were processed
•
Saving the CLV type that was selected last
•
Automatic storage confirmation prompt when changes are made to the configuration file
•
Wizards for individual functions
•
Deleting the optional CMC 400 parameter storage in the CDB/CDM connection module
•
Setting switches for starting the program in the "CLVmain.ini" file
•
Hot keys [F keys] for essential functions (program operation without a mouse)
•
Starting program with SCL file as argument
•
Macro player for recording and playing a macro file
•
Context-sensitive help via the [F1] key
10.4.6
8 009 981/O078/16-08-2004
Hot keys
[F1]
Start "CLV-Setup Help“ online
[F2]
Open dialog box to execute device functions
[F3]
Upload complete set of parameters from CLV
[F4]
Download complete set of parameters to CLV
[F5]
Open configuration file
[F6]
Save configuration file
[F7]
Load default setting of CLV from CLV-Setup database
[F8]
Start AutoBaud Detect
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-13
Page 106
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
[F9]
Load operating data from CLV to be displayed and reset
[F10] Open Terminal Emulator 10.4.7
Opening and closing tabs
After starting the user interface, CLV Setup displays those tabs in the frame on right-hand side whose names are framed in the navigation tree on left-hand side. The first tab covers the other tabs in the sequence but their marks are still visible on the top of the tabs. If you click some buttons on a tab in the fore-ground, several sub dialogs will also be opened as tabs and added to the first tab. In the frame, all tabs on the right will then be shifted more to the right side. To scroll the tabs, use the sliding control elements at the left corner on top of the frame which are displayed by CLV Setup. You can open and close the tabs in the following way: In the navigation tree: •
Opening: Double-click the desired entry or put the mouse cursor on the entry and select “Show dialog“ in the context menu using the right mouse button. To display several entries under a branch, click the corresponding “+“ symbol. To hide displayed sub entries, click the corresponding “–“ symbol.
•
Closing: Put the mouse cursor on the desired entry and select “Hide dialog“ in the context menu using the right mouse button.
In the frame for displaying tabs: •
Opening: Click on the desired mark on the top of the tab. If neccessary, scroll the tabs.
•
Closing: To close the tab in the fore-ground, click on the red cross at the left corner on the top.
Pressing the left mouse button, the left frame with the navigation tree can be move from the program window to a seperate position on the screen. If the navigation tree has been closed, it can be reopend using the VIEW menu. 10.4.8
Online help – CLV Setup Help
The online help program "CLV Setup Help" assists you in operating the "CLV Setup" program. The help program runs in an HTML browser (e. g. “Microsoft Internet ExplorerTM"). You can call up context-sensitive help on each parameter as well as a description of its function.
10-14
1.
Press the [F1] key. The browser is launched automatically and displays the help topic.
2.
If the program cannot find a browser, CLV Setup asks you to specify the storage location on the hard disk. Enter the name of the executable file and the path in the dialog box.
3.
Use the [Alt]+[Tab] keys to switch between the CLV Setup and CLV Setup Help applications and prevent several browser windows from being opened.
4.
To display an overview of the help function, select HELP, CONTENTS from the CLV Setup menu bar.
5.
In the left frame click on the desired entry in the navigation tree. CLV Setup Help then displays the associated help text in the right-hand frame and jumps to the parameter heading.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 107
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
10.4.9
Transferring parameter sets between CLV Setup and the CLV
See Chapter 6.4.1 Configuring CLV with the user interface of CLV Setup, Page 6-4. 10.4.10 Dealing with unknown parameters Uploading from the CLV If the CLV Setup program does not recognize parameters or parameter values of the CLV transferred during the upload, it outputs a warning message. Unknown parameters/ parameter values can result from the following, for example: The CLV is a special device or the version of CLV Setup is older than the software of the CLV. CLV Setup displays the unknown parameters in the window on the EXTRAS tab. The parameters are displayed in the form of command strings and can be edited using the command string conventions. In this way, upward compatibility with the CLV is ensured. When the parameter set is saved as a configuration file in CLV Setup, these parameters/parameter values are also taken into account as with a download to the CLV. Downloading to the CLV If the CLV does not accept individual parameters or parameter values in the parameter set downloaded with CLV Setup, it outputs a separate warning for each parameter in CLV Setup. This is due to the fact that one of the CLV Setup software versions is newer than the software in the CLV, and it contains new parameters/parameter values arising from the continued development of this CLV type. The affected CLV contains an older software version which does not recognize these parameters/parameter values, however. We recommend that you check the effects of warnings in the CLV as follows: 1.
Check whether the CLV functions correctly after the parameter set is downloaded.
2.
Click in the toolbar. CLV Setup loads the default settings from the database.
3.
Click in the toolbar. CLV Setup copies the problem parameter set from the CLV (upload).
4.
Click in the toolbar. CLV Setup prints out the problem parameter set when you confirm the dialog box.
5.
Open the previous configuration file "*.scl" for the CLV.
6.
Click in the toolbar. CLV Setup prints out the previous parameter set when you confirm the dialog box.
7.
Compare the two parameter sets. To restore the previous status, correct individual parameters in the problem parameter set if necessary and download them to the CLV again.
Opening configuration files "*.scl" Every time it loads configuration files, CLV Setup checks whether it recognizes all the parameters/values. If CLV Setup detects an error, it outputs a warning and enters the problem parameter/ parameter value in the window of the EXTRAS tab. 10.4.11 Writing a log file in terminal emulator The terminal emulator can log the communication between CLV Setup and the CLV. CLV Setup stores the data transmitted in both directions with the following identifiers:
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-15
Page 108
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
CLV -->:
CLV sending to CLV Setup
--> CLV:
CLV receiving from CLV Setup
1.
Click in the toolbar. The TERMINAL EMULATOR window is then displayed.
2.
On the right, activate the empty checkbox in front of the WRITE LOGFILE radio button. The SAVE LOG FILE AS... dialog box is then displayed.
3.
Enter a file name with the extension ".log" and exit the window with SAVE. CLV Setup saves the file in the "data" subdirectory and records communication in the log file.
4.
To terminate logging, deactivate the checkbox in front of the WRITE LOGFILE radio button or close the terminal emulator.
10.4.12 Starting CLV Setup with an INI file as an argument When the program is started, CLV Setup can also be transferred the name of an INI file as a parameter. To do so, enter "/INI" in front of the file. Example: "CLVmain32.exe\data\Set 1_420.scl /INI user.ini" CLV Setup is launched with the initialization data contained in the "user.ini" file and loads the configuration file "Set1_420.scl" from the "data" subdirectory straight away. The "user.ini" file must be stored in the same directory as "CLVmain32.exe". You can use this method to link CLV Setup to several different configurations on your Windows desktop. In this way, for example, you can prevent CLV Setup from attempting to establish a connection when a CLV is not connected. 10.4.13 CLV Assistant CLV Assistant simplifies parameterization and testing of the CLV, among other things. It carries out configuration of the CLV for a user-specific reading situation with one bar code in simple steps. The determined settings are transferred to CLV Setup.
10-16
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 109
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
10.5
Configuring the CLV with profile bar codes
10.5.1
Activating AutoSetup with a profile bar code
Profile programming uses special bar codes to parameterize the CLV via the optical interface (reading window) and to initiate device functions. The profile bar codes contain encoded parameter values or commands. It is not necessary to connect a PC to the CLV in order to carry out profile programming. Profile bar code no. 10 on the card supplied (no. 8 008 085) starts and ends AutoSetup. It can be presented to the CLV either immediately after the power supply has been switched on, during the wait time in the Free Running mode or during a reading pulse in the Reading mode. Preparing AutoSetup 1.
AutoSetup overwrites important values in the current parameter set of the CLV. If the CLV has already been configured for a particular application, it is advisable to save the existing parameter set as a configuration file "*.scl" in CLV Setup. (See Chapter 6.4.1 Configuring CLV with the user interface of CLV Setup, Page 6-4.)
2.
Have card no. 8 008 085 with the 12 preprinted profile bar codes ready or print the bar codes as PDF file from the CD-ROM („Manuals & Software“). To do so, select the “Programming Profile Bar Codes“ folder in the list on the top left of the start page.
Running AutoSetup after switching on the power supply
8 009 981/O078/16-08-2004
1.
Fold the card with the profile bar codes in such a way that only profile bar code no. 10 is visible.
2.
Switch on the power supply of the CDB 420 or CDM 420 connection module (of the CLV). The CLV confirms that the self-test has been completed successfully by outputting a tone via the beeper. The "Device Ready" LED lights up. It then switches to the Free Running mode for 5 seconds. The red scan line appears when the "Laser On" LED lights up.
3.
Present profile bar code no. 10 within 5 seconds. The CLV confirms that AutoSetup has started by outputting a tone via the beeper. It temporarily activates the standard decoder. The "Device Ready" LED is extinguished.
4.
Present the application-specific bar code at the maximum reading distance for the application. Note the limits of the CLV here (see reading field diagrams in Chapter 10.2 Specification diagrams, Page 10-1). To prevent surface reflections, rotate the bar code towards the CLV approximately 15° away from the vertical axis (Fig. 4-7, Page 4-5). Leave the bar code in this position.
5.
The CLV confirms that AutoSetup has been completed successfully by outputting two consecutive tones via the beeper and activating the "Result" LED for 100 ms (default setting). It overwrites the appropriate parameter values in the current parameter set in the RAM and stores these permanently in the EEPROM. The CLV returns to Reading mode. The "Device Ready" LED lights up. The CLV only evaluates the presented code type and length the next time a bar code is read.
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-17
Page 110
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
Running AutoSetup in the Reading mode 1.
Fold the card with the profile bar codes in such a way that only profile bar code no. 10 is visible.
2.
Start the reading pulse: block the light path of the photoelectric switch or close the switch. The "Laser On" LED lights up. The red scan line then appears.
3.
Present profile bar code no. 10. The CLV confirms that AutoSetup has started by outputting a tone via the beeper. It temporarily activates the standard decoder. The "Device Ready" LED is extinguished.
Continue AutoSetup from Step 4 as in Running AutoSetup after switching on the power supply, Page 10-17 AutoSetup canceled by the CLV in the event of a No Read If the CLV was not able to execute AutoSetup successfully, it cancels the search mode by outputting a long tone via the beeper. The current parameter set in the CLV does not change. The CLV returns to Reading mode. The "Device Ready" LED lights up. Running AutoSetup again 1.
Switch the power supply of the connection module (of the CLV) off and on again.
2.
Present profile bar code no. 10 again after the first tone from the beeper. The CLV confirms that AutoSetup has started by outputting a tone via the beeper. It temporarily activates the standard decoder. The "Device Ready" LED is extinguished.
– or – 1.
Start the reading pulse: block the light path of the photoelectric switch or close the switch. The "Laser On" LED lights up. The red scan line then appears.
2.
Present profile bar code no. 10. The CLV confirms that AutoSetup has started by outputting a tone via the beeper. It temporarily activates the standard decoder. The "Device Ready" LED is extinguished.
Continue AutoSetup as described in Step 4 in Running AutoSetup after switching on the power supply, Page 10-17. If AutoSetup is unsuccessful again, check whether the CLV is able to read the bar code correctly (reading distance, tilt, more than one bar code in the reading field). Terminating AutoSetup prematurely Present profile bar code no. 10 again during AutoSetup. The CLV confirms that AutoSetup has been aborted by outputting a long tone via the beeper. The current parameter set in the CLV does not change. The CLV returns to Reading mode. The "Device Ready" LED lights up. Checking the determined read and code configurations Check the CLV settings with a percentage evaluation. A PC with the "CLV Setup" program installed on it has to be connected for this purpose. See also Activating AutoSetup via the user interface of CLV Setup, Page 6-11.
10-18
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004