The text of a manual · part 19 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 181 to 190
Pages 181 to 190 of 308
The original document is the PDF (3.0 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 Microscan MS-890
Page 181
9 Calibration Contents Calibration Serial Commands ....................................................................................................... 9-2 Calibration Steps........................................................................................................................... 9-3 Calibration Routine ....................................................................................................................... 9-4 Calibration Results........................................................................................................................ 9-5 Configuration Database ................................................................................................................ 9-6 Optoelectric Control ...................................................................................................................... 9-8 Advanced Calibration Features................................................................................................... 9-14 Calibration by Embedded Menu.................................................................................................. 9-17
The purpose of calibration is to optimize the scanner’s optical settings (focus, gain, and tracking) and scan speed to obtain the highest read rates in one or several symbol positions as required by the user’s application. This section includes the overall steps in calibration and specific steps for calibration by ESP, serial command, and embedded menus. For most applications calibration is the only optical setup required. Changes to motor speed, focus, speed, gain, tracking, and AGC can also be made individually by manual command.
Calibration Methods There are three ways to initiate calibration: • ESP Calibration menu • Serial command <@CAL> • Embedded menu <@> Note: Calibration does not function with PDF417 symbols. However, you can substitute a Code 128 symbol with the same mil size as your PDF417. When you do this, enable Code 128 and disable Raster scanning. After calibration, switch back to PDF417 and Raster scanning.
MS-890 Industrial Automation Scanner User’s Manual
9-1
Page 182
Calibration Serial Commands
Calibration Serial Commands Command Title Optoelectric Control Configuration Database Save Configuration Database Load Configuration Database Request Configuration Database Autocalibration
9-2
Command Format <K226,mode,# active database settings,latch on trigger, timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles> <K227,database index,focus position,gain,tracking,AGC mode,raster top,raster bottom,raster speed,laser framing status,laser on position, laser off position,laser power, background color> <K227+,database index> <K227-,database index> <K227?,database index> or <K227?> for entire database. <K510,auto range,starting focus position,focus step size>
MS-890 Industrial Automation Scanner User’s Manual
Page 183
Calibration
Calibration Steps Follow this procedure for all three methods of calibration: 1. Position your symbol at the distance used in your application and confirm that it is at a distance within the specifications for that symbol size (see Position Scanner and Symbol on page 1-5). 2. If you are not certain of the code type, enable all code types by sending a <P> command from the terminal window, or clicking on the Autodiscrimination button in Calibration/ Advanced in ESP. 3. Start the calibration procedure. Note: Once a successful calibration is completed, you may want to save the setting to the calibration database (see Configuration Database on page 9-6). 4. Repeat calibration at other ranges and/or symbol types you might be scanning in your application. 5. Check your readings at each end of the scan width required for your application, keeping in mind that the scan width testing may not produce results that are entirely symmetrical. Note: If you are setting up for laser framing, be sure that you only test for calibration in the active areas of the scan beam. 6. To save the new settings (including focus, gain, and tracking) for power-on, use the Send/Recv button or send a <Zp> command. See Configuration Database on page 9-6 to learn how to setup a database using calibration or manually specified values. See Advanced Calibration Features on page 9-14 for ways to speed up and improve your calibration process. Note: To silence the beeper, send <K702,0> or remove or block the test symbol.
MS-890 Industrial Automation Scanner User’s Manual
9-3
Page 184
Calibration Routine
Calibration Routine To calibrate gain, tracking, focus position, and scan speed automatically: 1. Click the Calibration button near the top of the screen.
2. Click the Calibrate button to start calibration.
A “Calibration in Progress...” message will be displayed on your monitor along with the pass number and information on the focus position, gain, tracking and read rate. Allow some time for the scanner to cycle through the settings. Do not move or disturb the scanner or symbol while calibration is in progress. (It might take 2 to 3 minutes to complete.) 3. When completed, the settings that provided the highest read rate will be selected. You will see one of the following messages: “Calibration Passed” or “Calibration Failed”. If calibration passed, you will continue to see the read rate percentage and symbol data in the open pane below the data.
Calibration by Serial Command To start the calibration process by serial command, send <@CAL> from ESP’s Terminal.
9-4
MS-890 Industrial Automation Scanner User’s Manual
Page 185
Calibration
Calibration Results When a calibration command is sent, the scanner first steps through a coarse grid of focus settings, looking for readable symbols, and recording the highest read rates it encounters. This is Pass 1. During Pass 2, the scanner returns to the focus position where it found the best read rate and steps through a finer grid of focus, gain and tracking settings. The software evaluates the results and selects the best data. If calibration passes, a “Calibration Passed” message is displayed at the top of the window. To load the settings obtained from calibration into the Configuration Database: 1. Perform the calibration routine described in Calibration Routine on page 9-4. 2. Click on the Configuration Database tab. 3. Set Number of Active Database Settings and make your selection in Optoelectric Control in the menu tree to the left of the Database tab. 4. Click on an index to load standard settings. 5. Click Load Standard Settings to Database button. This will put Focus, Gain, and Tracking settings that resulted from calibration into the database index. 6. Repeat this procedure for other indexes. You can also enter individual values in any of the seven indexes by double-clicking anywhere on the index row and making changes in the popup text box.
MS-890 Industrial Automation Scanner User’s Manual
9-5
Page 186
Configuration Database
Configuration Database Configuration Database by Serial Command Note: You can also set Focus, Gain Settings, Tracking Adjustment, Scan Speed, Laser Framing, and Background Color individually. Definition:
The Configuration Database allows the user to save multiple scanner configuration settings. The database can be used to save the most commonly used configurations, making the scanner easily adaptable to changing applications, or it can be used in conjunction with Optoelectric Control, to change configurations dynamically. When Optoelectric Control is set to Control Trigger (Optoelectric Control Mode), the first seven indexes can be switched by external inputs. Each database configuration setting is assigned to a control trigger sequence. The table below illustrates the relationship between control trigger sequence and database indexes.
Index 1 2 3 4 5 6 7
Active Trigger(s) = 1, 2, 3 Control Triggers 3 2 1 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
Active Trigger(s) = 1, 2 Control Triggers 3 2 1 0 0 0 1 1 0 1 Disabled 1 N/A N/A N/A N/A N/A N/A
Active Trigger(s) = 1 Control Triggers 3 2 1 0 1 N/A Disabled Disabled N/A N/A N/A N/A
0 = Inactive Input State 1 = Active Input State Serial Cmd:
<K227,database index,focus position,gain,tracking,AGC mode,raster top,raster bottom,raster speed,laser framing status,laser on position,laser off position,laser power, background color> Important: Control Trigger 3 uses the External Trigger input. When this input is active, there is no external trigger available to the scanner. Therefore, when Control Trigger 3 is active and External Trigger Mode is selected, a read cycle will be triggered by an active input from any of the control trigger inputs. Since an active state on one of the control inputs is required to trigger a read cycle, sequence “000” would not be valid. When Control Trigger 3 is active, the sequence starts at “001”. This allows a maximum of 7 accessible database settings. When Control Trigger 3 is not active, the sequence starts with all active inputs disabled.
9-6
MS-890 Industrial Automation Scanner User’s Manual
Page 187
Calibration
Configuration Database by ESP Click this button to bring up the Calibration view. Then select the Configuration Database tab to display the view shown below.
All the database settings in the <K227> command can be configured in this graphic interface.
Save Settings to Configuration Database To save index values by serial command, use the following:<K227+,database index>
Load Settings from Configuration Database To load index values by serial command, use the following:<K227-,database index>
Request Configuration Database Settings To request index values, use the following:<K227?,database index> or <K227?> for entire database.
MS-890 Industrial Automation Scanner User’s Manual
9-7
Page 188
Optoelectric Control
Optoelectric Control Note: Optoelectic Control requires the assembly of a Configuration Database.
Optoelectric Control Mode Usage:
Useful where different symbol types, sizes, qualities or distances require more that one optical setup (focus, gain, and tracking) for dynamic optical changes.
Definition:
A database index of up to seven pre-defined optical indexes of settings defining focus, gain, and tracking can be accessed and applied in the following modes: • A timer in which all settings cycle throughout the time duration. • An automatic search for the best database index. • A combination of up to three control trigger inputs to dynamically select the optimum database index. The index settings can also be saved and recalled selectively, or reviewed with a Request Database Settings command.
Serial Cmd:
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles>
Default:
Disabled
Options:
0 = Disabled 1 = Control Trigger 2 = Automatic/Static Mode 3 = Timer 4 = Number of Raster Sweeps
Disabled Definition:
When disabled, the scanner uses the standard configuration settings that are set in the Calibration tree and shown to the right of Standard in the Database Index.
Serial Cmd:
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles>
9-8
MS-890 Industrial Automation Scanner User’s Manual
Page 189
Calibration
Control Trigger (Optoelectric Control Mode) Usage:
Useful where different symbol types, sizes, and/or distances benefit from pre-defined optical setups (focus, gain, and tracking) that can be accessed ‘on the fly’ according to the combination of input states.
Definition:
When Optoelectric Control mode is set to Control Trigger, input 1, new master pin, and the trigger input pins are de-activated and re-assigned as control triggers. When activated, a read cycle will be triggered and - in accordance with their respective states - selected from a database of up to seven pre-defined optical settings of Focus, Gain, and Tracking. (See Configuration Database on page 9-6)
Serial Cmd:
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles>
Using Control Trigger Set up your application’s symbols by symbology type/size in the various positions and/or code type/size at which they will likely appear. Set up your sensors or other controls. For example, the three object sensors, 1, 2 and 3, are connected to input 1, new master pin, and trigger input respectively. The bar-coded packages on the left are numbered here according to their database index numbers. Package # 7 will cross all three of the sensors and thus activate the settings for index # 7. In this scenario only four index settings are possible. However, up to seven combinations are possible with other input devices such as PLCs. You can also enable/disable any combination controls by clicking on the Control Trigger Status buttons on the bottom of the Control Trigger Map. The red buttons indicate active states on the three control triggers. The combination of active/inactive triggers determines the focus, gain, and tracking settings that will be applied during a read cycle. For example, if only Control Trigger 1 is active, the focus, gain, and tracking values that appear in the top row will be applied.
MS-890 Industrial Automation Scanner User’s Manual
9-9
Page 190
Optoelectric Control
Automatic/Static (Optoelectric Control Mode) Usage:
Useful in a static application in which the symbol is in front of the scanner when the read cycle begins.
Definition:
Selects the optimum setting from the Configuration Database. When selected, the scanner cycles once through all the Configuration Database settings from the closest to the furthermost focal position, testing first for optimal signal, then for a successful decode. Note: Since focus positions are tested in ascending order, the closer the symbols are to the scanner, the quicker the best focus position will be found. Important: The maximum time to move from the most inside focus position to the most outside focus position is 400 ms. One focus position change takes 10 ms.
Serial Cmd:
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles>
Timer Mode (Optoelectric Control Mode) Usage:
Useful in applications in which there is enough time to cycle through the database index.
Definition:
When this mode is selected, the scanner cycles through database settings at a time interval determined in Timer Value setting. (See Timer/Switch Value on page 9-11.) Important Note: The maximum time to move from the most inside focus position to the most outside focus position is 400 ms. One focus position change takes 10 ms.
Serial Cmd:
<K226,mode,# active database settings,latch on trigger,timer/switch value,control trigger 1 status,control trigger 2 status,control trigger 3 status, database cycles>
Note for Multisymbol: With Multisymbol enabled for more than one symbol, and either Timer or Automatic/Static mode enabled, the scanner may not locate symbols that are scanned at various ranges. The reason for this is that once a symbol is located from the optical database index, the scanner will continue to search for symbols that meet that index of focus, tracking and gain settings.
9-10
MS-890 Industrial Automation Scanner User’s Manual