The text of a manual · part 24 of 31
MS-890 Industrial Automation Scanner User's Manual, pages 231 to 240
Pages 231 to 240 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 231
Utilities
Enter Master Symbol Data Definition:
Allows you to enter master symbol data for a specific master symbol index number (1 to 10), provided the index number is not larger than the number of symbols enabled by the Master Symbol Database Size. For example, if Master Symbol Database Size is set to 2, you will not be able to enter data for symbols 3 through 10.
ESP:
Double-click on the index row.
Serial Cmd:
<K231,master symbol number,master symbol data>
Default:
1, (blank)
Options:
1 to 10, any combination of ASCII text up to the maximum indicated in the Maximum Characters for Master Symbol Database table below. For example, to enter data for master symbol 9, after making certain that master symbol database size is enabled for 9 or more symbols (see Master Symbol Database Size on page 12-12), send <K231,9,data>. Caution: Since the total number of characters available for the master symbol database is 2710 changes to the Master Symbol Database Size will re-allocate the number of characters available for each master symbol and could cause existing master symbols to be deleted (except master symbol #1 unless it also exceeds the size limitation). The table below specifies the maximum number of characters available to each symbol according to the number of master symbols defined, from 1 through 10. See Master Symbol Database Size on page 12-12. Maximum Characters for Master Symbol Database Number of Master Symbols #1 #2 #3 #4 #5
Maximum Characters 20452710 1022 681 510 408
MS-890 Industrial Automation Scanner User’s Manual
Number of Master Symbols #6 #7 #8 #9 #10
Maximum Characters 340 291 254 226 203
12-13
Page 232
Master Database
Request Master Symbol Data Definition:
Returns master symbol data for any enabled master symbols from 1 to 10. For example, to request master symbol # 5, enter <K231?,5>. The scanner transmits the following format: <K231,5,data>. If no master symbol data available, the output will be: <M5/?>.
Serial Cmd:
Send <K231?,master symbol number,master symbol data> to request the current master symbol for a specific master symbol. Returns all master symbols if no number is added before the question mark.
Options:
1 to 10
Delete Master Symbol Data Definition:
This command will delete the current master symbol data.
ESP:
You can delete master symbol data for any master symbol by erasing the data in the Master Database popup dialog (under Output Format) and clicking OK.
Serial Cmd:
<K231,master symbol number,>To delete a master symbol, enter the database number and a comma, but leave the data field empty. For example, to delete master symbol #5, send the following <K231,5,>. The command is entered with a blank master symbol data field which tells the scanner to delete the selected master symbol from the database.
12-14
MS-890 Industrial Automation Scanner User’s Manual
Page 233
Utilities
Read Next Symbol as Master Symbol Definition:
After you’ve set the size in the database, you can order the scanner to read the next symbol as the master symbol.
ESP:
In the Master Database tab, under the Output Format menu: 1. Select the master symbol index number in which you want to store the symbol data. 2. Click Read Symbol into Selected Index.
Serial Cmd:
<Gmaster symbol number> To store the next symbol scanned as master symbol #1 send: <G> or <G1>. For all symbols numbers except 1, the number must be included.
Options:
1 to 10
Note: Utility commands are not accessible by embedded menus.
MS-890 Industrial Automation Scanner User’s Manual
12-15
Page 234
Digital Bar Code
Digital Bar Code When you click the Digital Bar Code tab and the Start button, a digitized representation of the candidate symbol will appear.
This routine is useful for conveying a sense of the symbol’s readability and graphically indicating bad or unreadable portions of symbols or extraneous “noise”. A green waveform indicates a decoded symbol; a red waveform indicates an undecoded symbol or other object. The red triangles represent the width of the scan beam relative to the symbol. The upward pointing arrows indicated the symbol’s margin.
Zoom In, Zoom Out You can zoom in by sliding the Zoom lever to the right. You may have to scroll right or left to locate your symbol, but the results will be striking.
12-16
MS-890 Industrial Automation Scanner User’s Manual
Page 235
Utilities
Firmware Firmware Update
Firmware Update is used to download application code to the scanner. Application code versions are specific to your scanner. Consult with your sales representative before downloading application code. If needed, an application code will be sent to you in the form of a *.mot file. To download application code: 1. First make sure the host is connected to your scanner. 2. Apply power to the scanner. 3. Before updating, verify the current firmware (see Firmware Verification (Part Number) below.) 4. Click in the Firmware Update text box and select the file type you want to download. This will open a file locator box. 5. Navigate to the appropriate file (a *.mot file) and open the file. As application code begins to download to the scanner, the scanner will go silent, the scanner’s RDY and GD/RD LEDs will flash intermittently, and a progress indicator at the bottom of the ESP window will let you know when the download is complete. Caution: Do not interrupt power or disconnect the host cable while download is in progress.
MS-890 Industrial Automation Scanner User’s Manual
12-17
Page 236
Firmware
Firmware Verification (Part Number) You can send a request for the scanner’s current firmware part numbers using this dialog: 1. From the Utilities menu you can access Firmware Verification from the Firmware tab. 2. Select the firmware code you want to check and click Request Part No. to see the associated part number.
Part Number by Serial Command Upon sending <#> the scanner returns software part numbers for application code <#a/ __________> and boot code <#b/_________>. Individual part numbers for Application Code and Boot Code are returned when their respective commands <#a> and <#b> are sent.
Firmware Verification (Checksum) A checksum verifies a scanner’s flash memory. 1. From the Utilities menu you can access Firmware Verification from the Firmware tab. 2. Select the firmware code you want to check and click Request Checksum to see the associated part number.
Checksum by Serial Command Upon sending <!> the scanner returns two 4-digit hex numbers that are the check sums for boot code and the application code. Individual checksums for Boot Code and Application Code are returned when their respective commands <!b> and <!a> and <!r> are sent.
12-18
MS-890 Industrial Automation Scanner User’s Manual
Page 237
Utilities
Autodiscriminate You can enable most or specific symbol types by the following operational commands. Default:
Code 39 (only)
Options:
<P> Enables most symbol types. <Q> Enable Code 39 only <R> Enable Codabar only <S> Enable I 2/5 only
MS-890 Industrial Automation Scanner User’s Manual
12-19
Page 238
Scanner Status Requests
Scanner Status Requests <?> Status Byte The scanner responds to a status request <?> with a two character hex value, for example <?/22>. To determine the status: 1. Look up the binary conversion in the hex-to-binary table. For example, the first 2 in binary would be 0 0 1 0 as read from binary digits 3 through 0; the second 2 the binary digits 7 through 4 which is also 0 0 1 0. 2. Next, enter your binary values in the “Scanner Status” table, in the “Binary” column next to the appropriate bit. Bit 0 1 2 3 4 5 6 7
Binary 0 1 0 0 0 1 0 0
Scanner Status Command error detected Command received Communication error detected Flash sector unprotect failure Host/Aux port buffer overflow Scanner is in a read cycle Software Watchdog reset Hardware Watchdog reset
3. Under “Binary,” interpret 1s as true and the 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 “Scanner is in a read cycle.”
Hex Value 0 1 2 3 4 5 6 7 8 9 A B C D E F
Binary Bit Digits 7
6
5
3
2
1
4 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
<?1 > Extended Status The scanner responds to an extended status request <?1> with several fields, for example: <?1/20><35-558002-10,35-55800112,F6D4,20C5,02D3,02D3>. These represent, in order: the status byte discussed above, the boot part number (35-558002-10), the application part number (35-558001-12), boot checksum (5F6D4), app checksum (02D3), RAM parameter checksum (02D3), and flash parameter checksum (02D3).
<K?> All Commands Status This is the fastest way to learn the scanner’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 Command Status 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.
12-20
MS-890 Industrial Automation Scanner User’s Manual
Page 239
Utilities
<K??> All Command Descriptions This request will return all current descriptions of every K command, starting with the lowest K command value and ending with the highest K command value.
<Knnn??> Single Command Description This request returns the basic functional description of all fields in the requested K command.
<K?#> All Command Ranges 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 Command Range This request will return the value range and storage type description of all fields in the requested K command.
<Knnn?*> Single Command Wildcard This request will return the requested K command’s status, description, and range for all parameters.
<Knnnd> Single Command Default This request will default a single K command for the user, provided that the requested K command has user-defined parameters (rather than factory-defined parameters).
MS-890 Industrial Automation Scanner User’s Manual
12-21
Page 240
Scanner Status Requests
12-22
MS-890 Industrial Automation Scanner User’s Manual