The text of a manual · part 33 of 38
MINI Hawk High Performance Imager User Manual, pages 321 to 330
Pages 321 to 330 of 380
The original document is the PDF (5.2 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 Mini Hawk
Page 321
Utilities
Customer Default Parameters Customer default parameters (saved by <Zc>) are the same set of parameters as power-on parameters but are saved in a different, isolated section of NOVRAM. This allows a user essentially to create a backup set of parameters that can be recalled in the event that the current parameters or power-on parameters have been accidentally changed or are no longer desired. It is important to note that a hardware default does not affect customer default parameters. For example, a user that has inadvertently changed communication settings and saved them with a <Z> command, may not know the correct settings or have the capability to communicate within those settings. By first doing an EZ button default or hardware default to restore the known Omron Microscan defaults, the user can then recall the previous customer-saved settings with an <Arc> or <Zrc> command.
Omron Microscan Default Parameters Omron Microscan default parameters are contained in the firmware and cannot be changed.
Software Defaults Omron Microscan default parameters can be recalled (loaded into current settings) with <Ard> command or recalled and saved for power-on with the <Zrd> command.
Hardware Default If a software default and reset is not possible, it may be necessary to reset the reader by shorting (connecting) specific pins. This procedure has the same effect as the <Zrd> software command. Important: For this reset to occur, this command must be executed within 60 seconds of a power-on or a reset. 1. Apply power to the reader. 2. If using an IB-131, locate pins 7 and 11 on the host connector. Caution: Be certain that the correct pins are located. Connecting the wrong pins could cause serious damage to the unit. 3. Momentarily connect these wires (or pins) and listen for a series of short beeps. 4. Within 3 seconds, connect them again. A longer beep should be heard. If not, repeat the process.
Default on Power-On You can also use the EZ button to default the reader by holding it down while applying power to the reader, provided that this feature is enabled.
MINI Hawk High Performance Imager User Manual
13-19
Page 322
Imager Status Requests
Imager Status Requests <?> Status Byte The imager responds to a status request <?> with a two character hex value, such as <?/22>. To determine status: 1. Look up the binary conversion in the table below. For example, the first hex 2 would be 0 0 1 0 in binary, as read from binary digits 3 through 0; the second hex 2 is also 0 0 1 0 as read from binary digits 7 through 4. 2. Next, enter your binary values from the table below in the “Binary” column next to the appropriate bit. Binary Bit 0 1 2 3 4 5
Binary 0 1 0 0 0 1
Imager Status Command error detected Command received Communication error detected Flash sector unprotect failure Host/Aux port buffer overflow Imager is in a read cycle
3. Under “Binary,” interpret 1s as true and 0s as not true. For example, bit 1 has a 1 in the “Binary” column, indicating “Command Received”. Bit 5 is also a 1, indicating that the “Imager is in a read cycle”.
<K?> All Status Request
Hex Value 0 1 2 3 4 5 6 7 8 9 A B C D E F
Bit Digits 7
6
5
4
3
2
1
0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
This is the fastest way to learn the imager’s current configuration. Sending this request will return the current settings of all commands, starting with the lowest K command value and ending with the highest K command value.
<K??> All Descriptor Status Request This request will return all current descriptors for every K command, starting with the lowest K command value and ending with the highest K command value.
<K?#> All Range Status Request This request will return the current settings of all commands within the user-defined range, starting with the lowest user-defined K command value and ending with the highest user-defined K command value.
13-20
MINI Hawk High Performance Imager User Manual
Page 323
Utilities
<Knnn?> Single Status Request This request will return the value of the variables associated with the requested K command. The request of a single entry of a database command cannot exceed the number of database slots for the specific command.
<Knnn??> Single Descriptor Status Request This request returns the basic functional description of all fields in the requested K command.
<Knnn?#> Single Range Status Request This request will return the value range and storage type description of all fields in the requested K command.
<Knnn?*> Display Command Wildcard This request will return the individual K command status, description, and range for each parameter.
MINI Hawk High Performance Imager User Manual
13-21
Page 324
Learn Operations
Learn Operations Learn Sending the <LEARN> command from ESP’s Terminal will put the imager into a mode of operation that will cause it to “learn” the next Data Matrix symbol decoded. This mode of operation will remain active until either a Data Matrix symbol is decoded or the call is made to disable the mode and revert back to normal operation. Upon decoding a Data Matrix symbol, the image processing will save pertinent information regarding the target symbol to allow it to be processed more quickly and consistently. The data collected by the Learn operation can be saved for a Power-On condition by sending the <Z> command.
Unlearn Sending the <UNLEARN> command will cause the imager to discard any information acquired during a Learn operation. The Unlearn state can be saved for a Power-On condition by sending the <Z> command.
Learn Status Sending the <LEARN?> request will return the current status of Learn operations. Responses are sent in this format: <LEARN,0> (Default; symbol has not been learned.) <LEARN,1> (Learn operation in progress.) <LEARN,2> (Symbol has been learned.)
Learn Persistence The learn state and parameters persist in the same way as ordinary parameters. Examples: • A MINI Hawk in a Learned state has not been saved. Cycling power will remove any Learned state information and the imager will power-on in its configured state. • A MINI Hawk is saved in a Learning state. The imager will power-on in the Learning state and will learn the first Data Matrix symbol decoded. • A MINI Hawk is saved in a Learned state. The imager will power-on in the Learned state and will only decode the learned symbol type. • A MINI Hawk in a Learned state is issued a reset default command <Ard>. The unit will return to an Unlearned state but if power is cycled it will return to its saved state.
13-22
MINI Hawk High Performance Imager User Manual
Page 325
Utilities
Other Operational Serial Commands The following serial utility commands can be entered from ESP’s Terminal or a PLC:
Y-Modem Upload Transfer Options <uy,path,filename>
Y-Modem Download Transfer Options See MINI Hawk Image Output for an explanation of how to use this feature. <dy,path,filename>
Image Library Request <op,9> Manages files in a selected directory. File Source (Nothing) / /saved *.* /del /saved/del del*.*
Explanation All files in “root” directory All files in “root” directory All files in “saved” directory All files in all directories Deletes all files in the root director Deletes all files in the saved directory Deletes files in all directories
White Balance Calibration <@WB> The 3 megapixel MINI Hawk’s default values are appropriate for nearly all applications. However, the White Balance calibration command will override the pre-configured values if necessary. White Balance is a processing operation performed to ensure proper color fidelity in a captured digital image. The image sensor does not detect light in exactly the same way as the human eye, which means that some processing or correction of the detected image is necessary to ensure that the final image realistically represents the colors of the original image. White Balance calibration works best if a white object (a piece of paper, for example) is placed in front of the imager. White and black objects can be present in the field of view during White Balance calibration, but no color objects can be present. Important: The White Balance correction adjusts the R, G, and B gain offset values for every possible analog gain (0 to 42) in the system. Any gain values greater than 42 (43 to 48) will use the factory default White Balance settings.
MINI Hawk High Performance Imager User Manual
13-23
Page 326
Other Operational Serial Commands
Bar Code Configuration Mode Definition: Serial Cmd:
Bar Code Configuration Mode is a way of programming the imager by using ECC 200 Data Matrix symbols. <BCCFG>
Bar Code Configuration Mode can be entered three different ways: 1. By forcing the imager into Bar Code Configuration Mode by serial command <BCCFG>. 2. By configuring one of the 4 EZ Button positions to Bar Code Configuration Mode. 3. By reading a Data Matrix symbol with a special code word used by ISO/IEC 16022 to signify imager programming. This can be either in a regular read cycle or during a read rate test. Reading this symbol in the calibration routine will have no effect.1 Once Bar Code Configuration Mode has been entered, the Data Matrix symbols can be thought of as serial data. You can configure the imager by printing labels in Omron Microscan’s serial command format. Commands are processed as if the data were streamed in through the serial port. The imager will acknowledge the symbol with a beep, green flash, and echo the serial data to the host. If the command causes the imager to produce more serial output, such as serial verification or counter requests, the data will be routed to the host port. Bar Code Configuration Mode can be exited by any reset <A> or <Z> command as well as a <J> or a quick press and release of the EZ Button. The command to exit Bar Code Configuration Mode can be included as part of the Data Matrix symbol. For example, try encoding <K200,4><K220,1><J> into a Data Matrix symbol. This configures the imager to enable Serial Trigger Mode, to program a new trigger to end the read cycle, and to exit Bar Code Configuration Mode with <J>. To end all EZ Button functions, press the EZ Button once and quickly release.
1. In normal reading modes, it is required to read a special Data Matrix symbol with a special codeword used by ISO/IEC 16022 to signify imager programming.
13-24
MINI Hawk High Performance Imager User Manual
Page 327
14 Output Format Contents Output Format Serial Commands............................................................................................... 14-2 Output Format Status ................................................................................................................. 14-3 Format Assign ............................................................................................................................ 14-4 Format Extract............................................................................................................................ 14-5 Format Insert .............................................................................................................................. 14-7 Output Filter Configuration ......................................................................................................... 14-9 Ordered Output Filter .............................................................................................................. 14-13
This section explains how to control the formatting and filtering of decoded symbol data for output.
MINI Hawk High Performance Imager User Manual
14-1
Page 328
Output Format Serial Commands
Output Format Serial Commands Format Extract Format Insert Format Assign Format Status Output Filter Configuration Ordered Output Filter
14-2
<K740,output index,start location,length> <K741,output index,length,hex string> <K742,symbol number,status> <K743,output format status> <K744,filter number,symbology,length,wildcard,placeholder data,unused,database index> <K745,number of filters>
MINI Hawk High Performance Imager User Manual
Page 329
Output Format
Output Format Status Definition:
This is a global enable/disable parameter. In order to use formatting you must set up the format using the insert and extract commands, and you must also assign a symbol to format using the Format Assign command.
Serial Cmd:
<K743,output format status>
Default:
Disabled
Options:
0 = Disabled
1 = Enabled
Output Format Status Disabled When Output Format Status is set to Disabled, output formatting is globally disabled.
Output Format Status Enabled When Output Format Status is set to Enabled, output formatting is enabled. However, Format Assign, Format Insert, and Format Extract must be properly set up as well.
Output Format Status by ESP On the Output Format tab, check the Enable Output Format box.
MINI Hawk High Performance Imager User Manual
14-3
Page 330
Format Assign
Format Assign Symbol Number Definition:
Symbol Number refers to the number of the symbol to which output formatting will apply. For example, if you wish to enable user-defined formatting to symbol # 2 in a multisymbol read cycle, you would send the command <K742,2,1>. Note that the number of symbols may exceed the format capabilities.
Serial Cmd: <K742,symbol number,status> Options:
1 to 10 1 = Formatted output status for symbol # 1. 2 = Formatted output status for symbol # 2. ... 10 = Formatted output status for symbol # 10.
Status Definition:
Status refers to the user-defined formatting of a selected symbol position in the read cycle result. Note that there is also a global formatting “enable” command that must be set for the formatting to be applied.
Serial Cmd: <K742,symbol number,status> Default:
Disabled
Options:
0 = Disabled
1 = Enabled (Assign parameters to specified symbol.)
Format Assign by ESP Use the Set Number of Symbols spin box to determine the number of symbols to be included in the output phrase.
Then check the Parse boxes beneath the symbols that you wish to format for user-defined output.
14-4
MINI Hawk High Performance Imager User Manual