The text of a manual · part 36 of 44
EZ Match Imager User Manual, pages 351 to 360
Pages 351 to 360 of 431
The original document is the PDF (3.5 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 EZ Match
Page 351
Utilities
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.
<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.
<K??> All Descriptor 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.
<Knnn??> Single Descriptor Request This request returns the basic functional description of all fields in the requested K command. EZ Match User Manual
14-21
Page 352
Imager Status Requests
<K?n> All Range 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.
<Knnn?#> Single Range Request This request will return the value range and storage type description of all fields in the requested K command.
14-22
EZ Match User Manual
Page 353
Utilities
Other Operational Serial Commands The following serial utility commands can be entered from ESP’s Terminal or a PLC.
Y-Modem Upload
<uy,path image> Image Type
Image Attributes
_gs
Gray Scale (default)
_c24
24-bit color image (EZ Match Color only)
_q1...100
JPEG Quality (1 = Lowest; 100 = Highest)
Y-Modem Download
<dy,image name> Accepts any file size at or under the standard full-scale image, but transfer must be initiated as a “Filename.bmp” request. The system myst reserve full-scale storage regardless of actual image size. All history will be lost at the time image download is initiated. Only one gray scale image can be downloaded. Gray scale .bmp images from 8 x 3 to 2048 x 832 can be downloaded, and it is not necessary to adjust the aspect ratio. A 2048 x 64 image can be sent. Important: The column values of all images must be divisible by 4, and must be in gray scale (not color). Image Name (.bmp only) 1280x1024.bmp 1280x1024_gs.bmp Any_name.bmp Valid Image Attributes 2048 x 832 (largest image) 8 x 3 (smallest image) Example <dy,Image.bmp> <dy,2048x832_gs.bmp>
Image Library Request
<op,9> Manages files in a selected directory. File Source
Explanation
(Nothing)
All files in “root” directory
/
All files in “root” directory
/saved
All files in “saved” directory
*.*
All files in all directories
/del
Deletes all files in the root director
/saved/del
Deletes all files in the saved directory del*.*
Deletes files in all directories
EZ Match User Manual
14-23
Page 354
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. 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 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.
14-24
EZ Match User Manual
Page 355
Utilities
Tube/Cap Learn The <@LCAP> command activates the Tube/Cap Learn function. When new profiles are found, Tube/Cap Learn stores them in the Tube/Cap Library. When <@LCAP> is sent from Terminal in ESP, one of the following outputs will result: Learning Tube and Cap... Added to library #xx Learning Tube and Cap... Already in library #xx Learning Tube and Cap... Unable to locate a cap Learning Tube and Cap... Unable to locate a tube Learning Tube and Cap... Unable to add (Library full)! Learning Tube and Cap... Please enable a cap detecting operation!
Important: Upon initiation of a Tube/Cap Learn operation, the process searches active operations (Multi-Operations 1 – 3, <K260>) and locates the first operation that has Tube/Cap Detection enabled. This operation is used to “learn” the tube or cap. If no operation has Tube/Cap Detection enabled, the following message will be output: “Please enable a cap detecting operation!”
EZ Match User Manual
14-25
Page 356
Other Operational Serial Commands
White Balance Calibration
<@WB> The EZ Match Imager’s factory 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.
14-26
EZ Match User Manual
Page 357
15 Output Format Contents Output Format Serial Commands............................................................................................... 15-2 Output Format Status ................................................................................................................. 15-3 Format Assign ............................................................................................................................ 15-4 Format Extract............................................................................................................................ 15-5 Format Insert .............................................................................................................................. 15-7 Output Filter Configuration ......................................................................................................... 15-9 Ordered Output Filter .............................................................................................................. 15-13
This section explains how to control the formatting and filtering of decoded symbol data for output.
EZ Match User Manual
15-1
Page 358
Output Format Serial Commands
Output Format Serial Commands Format Extract Format Insert Format Assign Format Status Output Filter Configuration Ordered Output Filter
15-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 type,length,wildcard, placeholder,data,unused,database index> <K745,number of filters>
EZ Match User Manual
Page 359
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.
EZ Match User Manual
15-3
Page 360
Format Assign
Format Assign Symbol Number Definition:
Symbol Number refers to the number of the symbolto 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.
15-4
EZ Match User Manual