The text of a manual · part 19 of 34
HawkEye 1500 Series User Manual, pages 181 to 190
Pages 181 to 190 of 338
The original document is the PDF (3.4 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 HE1510, RVSI CiMatrix HE1510 and Siemens HE1510
Page 181
Using ReadRunner
0x0E) or the Set_Attribute_Single service (ID 0x10) for attribute ID 3. When the Set_Attribute_Single service is called, the command is executed. The command is executed asynchronously and there is no specific command handshake. A detailed technote (HawkEye™ 1500 Tech Note - EIP Communicating with ControlLogix PLC.pdf) can be found on the Release CD. This document provides information on how to set up the ControlLogix PLC to communicate with the Camera via Ethernet/IP.
Output Format Strings
1.
Press Ctrl+G, or select Output Settings from the Settings menu.
2.
Click Yes when asked if you wish to control camera X. ReadRunner displays the Communications Configuration window, as shown in Figure 4–48.
FIGURE 4–48. Output Format Strings Window (Standard)
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4 ReadRunner
The output format string specifies the text that the camera sends out the serial port and over TCP for various conditions (Pass, Fail, Error), and whether or not the camera beeps with each condition. To display the Output Format String window:
4-71
Page 182
Chapter
4
ReadRunner
•
Standard (Camera Serial Port), By default, this port is programmed as shown in Figure 4–49.
•
TCP1, By default, this port is programmed as shown in Figure 4–49.
FIGURE 4–49. Output Format Strings Window (TCP1 - Port 49098)
•
4-72
TCP2, By default, this port is programmed to send the raw image data (CD25), as shown in Figure 4–50.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 183
Using ReadRunner
FIGURE 4–50. Output Format Strings Window (TCP2 - Port 49099)
•
TCP3, By default, this port is programmed to send the image data as a bmp binary stream (ID01) (32 bit length/data), as shown in Figure 4–51. Note: The keyword is programmed in the Header so that it can be entered only once for all programmable output strings.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-73
ReadRunner
4
Page 184
Chapter
4
ReadRunner
FIGURE 4–51. Output Format Strings Window (TCP3 - Port 49100)
•
4-74
TCP4, By default, this port is not programmed, as shown in Figure 4–52.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 185
Using ReadRunner
FIGURE 4–52. Output Format Strings Window (TCP4 - Port 49101)
•
Fixed Buffer Length for S7 PLC, The fixed length data string output can be enabled from the ReadRunner UI or through a command. To enable it from the UI, set the Fixed Buffer Length parameter in the Configure Formatted Output dialog to a value greater than 1 but no more than 254. To disable the mode, set the Fixed Buffer Length to 0 or 1. Alternatively, use the following command to enable/disable the fixed length output: OUTPUT {port} FIXED {count} where:
– v2.4.1, Nov 2008 port is one of the following: •
STANDARD
•
TCP1
•
TCP2
•
TCP3
•
TCP4
HawkEye™ 1500 Series User Manual
4-75
ReadRunner
4
Page 186
Chapter
4
ReadRunner
– count = 0 - 254
The fixed length output is enabled when the count is between 2 and 254 (inclusive) and disabled when the count is 0 or 1. All five ports (STANDARD for serial and four TCP ports) can be configured individually to output data in a different fixed length or to not enable the fixed length mode at all. When the fixed length string output mode is enabled, the formatted output data (up to 252 characters) will be prepended with two characters as follows: char1 char2 “formatted output data” The first character in the string (char1) has the “type” information which contains the ASCII value of the following characters:
–
O, Indicates that the formatted output data is the result of Decode Pass event 'O'KDEC
–
D, Indicates that the formatted output data is the result of Decode Fail event 'D'ECFL
–
L, Indicates that the formatted output data is the result of Locate Fail event 'L'OCFL
–
M, Indicates that the formatted output data is the result of Match Pass event OK'M'ATCH
–
N, Indicates that the formatted output data is the result of Match Fail event MATCHFL ('N'o Match)
–
R, Indicates that the formatted output data is the result of RT Error event 'R'TE
The second character in the string (char2) contains the length value of the formatted output data. If the length of the formatted output data is less than (count - 2), then the characters after the last character of the formatted output will be replaced by '@'. If the length of the formatted output data is more than (count - 2), then the formatted output data will be truncated such that only the first (count-2) characters will be outputted with the char2 containing the length value of (count - 2).
4-76
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 187
Using ReadRunner
Each channel can be setup individually, each with their own Header and Trailer strings. A detailed list of all keywords can be found in the next section.
Format String Keywords (ANGLE), This keyword expands to the orientation in degrees (0 to 359) of the code that was read.
•
(CHECKSUM), This keyword expands to the Checksum of the characters in the appropriate Output Format String where the (CHECKSUM) keyword is inserted. The two character ASCII value representation of the Hexadecimal checksum (for example, 2E) is substituted in the Output string. The checksum is calculated as the Exclusive OR (XOR) of all the characters up to the (CHECKSUM) keyword, including the Header and the Trailer characters if (CHECKSUM) is placed at the end of the trailer string.
•
(DATA), This keyword will be substituted with the actual decoded string. For example, if “4567321” were decoded, and the event were set as “OKDEC: This is the decoded data: (DATA)\0d\0a”, then the one line of output will be followed by carriage return and line feed.
•
(DATAHEX), This keyword converts the decode data to a hex character string, similar to the previous “OUTPUT FORMAT HEX” functionality.
•
(DETAILED), This keyword returns a detailed failure string.
•
(PID#), This keyword returns the PID number of the PID that successfully decoded the symbol.
•
(TIMESTAMP), This keyword return the time stamp of the trigger. This expands to a date/time string in GMT (e.g., “THU APR 03 15:42:52 2003”).
•
(VERI_1_IAQG), This keyword provides a DMx AutoID compatibility mode for the IAQG Verification 1 report. This allows the HawkEye™ 1500 to be used as a “drop in” replacement for a DMX AutoID. Verification 1 reporting in DMxAutoID+ v1.5.2: 0236514397793412001;F;65;24;B;19;0;A;0,9;1,00 0236514397793412001; is the decoded string F;65;24; are Dot Size Grade, Dot Size Count1, and Dot Size Count2 v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-77
4 ReadRunner
•
Page 188
Chapter
4
ReadRunner
B;19;0; are Dot Center Grade, DC Count1, and DC Count2 A;0,9; are Angle of Distortion Grade and angle (note representation of 0.9) 1,00 is the Average cell fill (note representation of 1.00)
•
(VERI_DETAIL), This keyword return the detailed verification data, separated by semicolons (“;”), but only when Verification is enabled. This data includes the overall grade, grade contrast, contrast, grade axial number, AIM axial non-uniformity value, grade print growth, AIM print growth X, AIM print growth Y, grade error correction, number of error bits, and the UEC value.
•
(VERI_FORMATTED), This keyword returns the formatted verification data. This is similar to VERI_DETAIL, but each value is identified by an acronym title and is separated by spaces.
•
(VERI_GRADE), This keyword returns the overall verification grade as a number, but only when Verification is enabled.
•
(VERI_STATUS), This keyword returns the verification status available when Verification is enabled. The possible values are: –
3 - Good
–
2 - Fair
–
1 - Poor
–
0 - No Verification Enabled
–
4700 - Verification Process Error, The decode was successful but possibly, because the code was seen too close to the edge of the image, all of the verification calculations could not be completed. The value is also displayed in the upper left corner of the Verification Report when it occurs, as shown in Figure 4–53.
4-78
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 189
Using ReadRunner
FIGURE 4–53. Value Displayed in Verification Report
• v2.4.1, Nov 2008
–
4701 - Verification Unsupported, The decode was successful but verification is not supported for the type of barcode seen.
–
4702 - Verification Timeout, The decode was successful but the verification calculations could not be completed before a new decode request was received.
(UII_ONLY), UII/CPN only can be enabled with the keyword UII_ONLY for formatted output. When this option is enabled, the UII/CPN data will be added to the formatted output based on the position of the keyword. The UII/CPN output has the following format: UII/CPN.
HawkEye™ 1500 Series User Manual
4-79
ReadRunner
4
Page 190
Chapter
4
ReadRunner
TABLE 4–9. UII/CPN
Content of Decoded Data Matrix
UII/CPN
Valid UII
UII:UII_data Example: UII:12345678
Valid CPN
CPN:CPN_data Example: CPN:87654321
Valid LBN
LBN:LBN_data Example: LBN:87654321
Valid UII & CPN
UII:UII_data CPN:CPN_data Example: UII:12345678 CPN:87654321
Valid UII & LBN
UII:UII_data LBN:LBN_data Example: UII:12345678 LBN:87654321
Valid UII & invalid CPN
UII:UII_data (CPN ERROR) Example: UII:12345678 (CPN ERROR)
Valid UII & invalid LBN
UII:UII_data (LBN ERROR) Example: UII:12345678 (LBN ERROR)
Invalid UII & valid CPN
(UII ERROR) CPN:CPN_data Example: (UII ERROR) CPN:87654321
Invalid UII & valid LBN
(UII ERROR) LBN:LBN_data Example: (UII ERROR) LBN:87654321
None of the above
No output data
(Invalid UII; Invalid CPN; Invalid LBN; Invalid UII & Invalid CPN; Invalid UII & Invalid LBN)
•
4-80
(UII_WITH_INFO), UII/CPN with Data Fields can be enabled with the keyword UII_WITH_INFO for formatted output. When this option is enabled, the output data corresponding to this keyword will have the following format: UII/CPN; DF0; DF1; DF2; DF3; DF4; DF5; DF6; DF7.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008