The text of a manual · part 18 of 34
HawkEye 1500 Series User Manual, pages 171 to 180
Pages 171 to 180 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 171
Using ReadRunner
READ_B, This keyword configures the line as an input to trigger a read with a specified PID, trigger edge, latch, and delay values.
•
READ_C, This keyword configures the line as an input to trigger a read with a specified PID, trigger edge, latch, and delay values.
•
READ_D, This keyword configures the line as an input to trigger a read with a specified PID, trigger edge, latch, and delay values.
•
RETRY, This keyword configures an input line that is used with the retry mode “RETRY input Duration.” The level of the line is tested to determine when to stop retrying.
•
LEARN, This keyword allows an external input to trigger an acquisition with a decoder and photometry learn.
•
MATCH_SET, Triggers a “LEARN” of just the Match String; it does not affect the decoder or photometry settings.
Supported Behaviors The supported behaviors for a given keyword name are:
v2.4.1, Nov 2008
•
BOOL, A Boolean that is either ON or OFF. This is the default behavior for PASS, FAIL, DV, RTE, GOOD, FAIR, POOR, and DECODE_FAILURE keyword names.
•
MASK, A bit mask is AND’ed to the keyword name’s value. If the result is 0, then the line is turned OFF. Otherwise, the line is turned ON. This is the default behavior for the LOCATE_FAILURE.
•
NOMINAL_DEV, If the keyword name’s value is within the range of a nominal value, plus or minus a deviation value, the line is turned OFF. Otherwise, the line is turned ON. This is the default behavior for ANGLE_FAILURE.
HawkEye™ 1500 Series User Manual
4-61
4 ReadRunner
•
Page 172
Chapter
4
ReadRunner
FIGURE 4–45. I/O Assignment Window - NOMINAL_DEV Behavior
When used with the ANGLE_FAILURE keyword name, the NOMINAL_DEV behavior understands that angles are in the range of 0° through 359°. The example in Figure 4–45 will consider that there is an ANGLE_FAILURE if the measured angle is less than 345° and greater than 15°. The deviation value may be 0°.
•
4-62
MAX_MIN, If the keyword name’s value is within the range of a maximum value to a minimum value, the line is turned OFF. Otherwise, the line is turned ON. This is an alternate behavior for ANGLE_FAILURE.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 173
Using ReadRunner
FIGURE 4–46. I/O Assignment Window, MAX_MIN Behavior
ReadRunner
4
When used with the ANGLE_FAILURE keyword name, the MAX_MIN behavior understands that angles are in the range of 0° through 359°. The example in Figure 4–46 will consider that there is an ANGLE_FAILURE if the measured angle is less than 350° and greater than 15°. MAX value equals MIN value, if no range is desired, and the measured angle must be equal to a single value. Otherwise, the ANGLE_FAILURE line will be ON.
v2.4.1, Nov 2008
•
INPUT_POS, This behavior determines the trigger direction of an input; triggering is on a rising edge.
•
INPUT_NEG, This behavior determines the trigger direction of an input; triggering is on a falling edge.
HawkEye™ 1500 Series User Manual
4-63
Page 174
Chapter
4
ReadRunner
•
INPUT_BOTH, This behavior determines the trigger direction of an input; triggering is on both edges.
For additional information about IO Behavior Modes, see “Outputs” on page 3-19.
Serial/TCP Settings The HawkEye™ 1500 camera can communicate using either RS-232 serial communications or TCP/IP. When using TCP/IP, the HawkEye™ 1500 camera can utilize Dynamic Host Configuration Protocol (DHCP) for dynamic IP addressing. You can also configure the camera to use a “static” IP address. If you do not have a network connection available, you must use RS-232 communications to configure and control the camera. If you do have a network connection available, please contact your MIS administrator to determine if your network uses DHCP addressing, or to obtain a unique static IP address. To display the Communications Configuration window:
4-64
1.
Press Ctrl+J, or select Serial/TCP 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–47.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 175
Using ReadRunner
FIGURE 4–47. Communications Configuration Window
3.
Specify the type of IP addressing that you will be using, either DHCP or static IP addressing. Note: If you select Use DHCP, you only have to specify Camera Name and Domain. If you select Use Static IP Addressing, you also have to specify IP Address, Subnet Mask, and Gateway. –
TCP/IP •
Camera Name, The name of the camera, which cannot exceed 15 characters. At boot time, if a camera’s network name is “HawkEye,” the camera automatically changes “HawkEye” to “HawkEyexxyyzz” where xxyyzz is the last three fields of the camera’s MAC address. For example:
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-65
ReadRunner
4
Page 176
Chapter
4
ReadRunner
TABLE 4–6. Unique Camera Names
Camera Name at Boot Time
MAC Address
Unique Camera Name
HawkEye
00:60:33:e0:00:11
HawkEyeE00011
HawkEye
00:60:33:e0:00:12
HawkEyeE00012
HawkEye
00:60:33:e0:00:13
HawkEyeE00013
HawkEye
00:60:33:e0:00:14
HawkEyeE00014
HawkEye
00:60:33:e0:00:15
HawkEyeE00015
•
MAC Address, The burned in address of the camera’s network adapter. This is set in the factory; you cannot change it.
Note: Each camera’s unique mac address is labeled on the bottom of the unit. •
Domain, The domain. For example, acut.com
•
Use DHCP, Use dynamic IP addressing (DHCP) instead of static addressing. Contact your MIS administrator for information about DHCP.
•
Use Static IP Addressing, Use static IP addressing instead of dynamic addressing (DHCP). Contact your MIS administrator for information about obtaining a static IP address. You must specify the following: IP Address, The IP address of the HawkEye™ 1500 camera. Subnet Mask, The subnet mask for the HawkEye™ 1500 camera. Gateway, The gateway address.
–
Camera Serial Port •
Baud Rate, Specifies the speed at which the camera will operate. Range: 600 to 115200
•
4-66
Parity, Is None, Odd, or Even.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 177
Using ReadRunner
–
•
Data Bits, Is 7 or 8.
•
Stop Bits, 1 or 2.
•
Flow Control, Is None, Xon/Xoff, or Hardware.
PC Serial Ports, Select a COM port before setting the following: •
Baud Rate, Specifies the speed at which the selected COM port will operate. Range: 600 to 115200 Parity, Is None, Odd, or Even.
•
Data Bits, Is 7 or 8.
•
Stop Bits, 1 or 2.
•
Flow Control, Is None, Xon/Xoff, or Hardware.
4
Ethernet/IP Connectivity Note: Enabling Ethernet/IP directly impacts the network and should not be enabled casually on a non-manufacturing network. Contact your manufacturing network administrator before adding Ethernet/IP devices. The HawkEye™ 1500 supports Ethernet/IP connectivity using an implementation of a Generic Device according to the Ethernet/IP Specifications from the Open DeviceNet Vendor Association. The corresponding terminal command is: EIPENABLE {Y | N | ON | OFF} This option is stored in the BOOTPARAMS section of flash. To enable/disable Ethernet/IP, click to select/de-select the Enable Ethernet/IP checkbox (see Figure 4–47). Note: You must reboot the camera for this action to take effect.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-67
ReadRunner
•
Page 178
Chapter
4
ReadRunner
The camera identifies itself as a Generic Device (type 0). It supports a series of objects that reflect the physical I/O, as well as the CycleReport data, of the camera. The Ethernet/IP objects allow access to individual points or to groups of points. The camera has 8 I/O points, as shown in Table 4–7. TABLE 4–7. Camera I/O Point Assignments
Bit/Instance
I/O Point
1
Opto In 1 (trigger)
2
Opto Out 1
3
Opto Out 2
4
Opto Out 3
5
TTL I/O 1
6
TTL I/O 2
7
TTL I/O 3
8
TTL I/O 4
The I/O static objects are:
4-68
•
Discrete Output Object (class code 9, instance 1-8), This object supports the Get_Attribute_Single/Set_Attribute_Single common services and the “Value” attribute (ID 3). “Status” data is not supported. This object allows the client to access specific values of I/O. Data is read/returned as individual bytes (zero or non-zero). For I/O points programmed as “inputs” on the camera, values are virtually represented on the camera, but the physical inputs themselves remain unchanged. You cannot write the camera outputs, only the camera inputs.
•
Assembly Object (class code 4, instance 44), This object gets the current state of the I/O points as a single byte as listed in Table 1. It supports Get_Attribute_Single service (ID 0x0E) for attribute ID 3.
•
Assembly Object (class code 4, instance 34), This object gets or sets the current state of the I/O points to/from a single byte as listed in Table 1. It supports Get_Attribute_Single service (ID 0x0E) or the Set_Attribute_Single service (ID 0x10) for attribute ID 3. As with the DIO object above, I/O points that are programmed as physical inputs to the camera are represented in software and can be changed by you. For example, if the s/w detects a transition on Opto In 1 consistent with a trigger signal, it will virtually trigger the acquisition.
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 179
Using ReadRunner
The camera also supports a vendor-specific static Assembly object to represent camera results. The ID of this object is 300 (vendor-specific) and supports the Get_Attribute_Single service (ID 0x0E) or the Set_Attribute_Single service (ID 0x10) for attribute ID 3. The attribute gets/sets an array of bytes. The total structure size is 376 bytes or 94 long words (30 long words + 256 bytes of decode data). The bytes are described in Table 4–8. TABLE 4–8. CycleReport Assembly Data Bytes v2.4.1, Nov 2008
Bytes
Meaning
1-4
User-defined keyword value
2
5-8
Count of triggers
3
9-12
Count of passes
4
13-16
Count of failures
5
17-20
Count of successful locates
6
21-24
Count of failed locates
7
25-28
Count of successful decodes
8
29-32
Count of failed decodes
9
33-36
Count of successful matches
10
37-40
Count of failed matches
11
41-44
Count of alarms
4 ReadRunner
Long Word 1
12
45-48
Count of trigger overruns
13
49-52
Count of decode overruns
14
53-56
Count of acquisition timeouts
15
57
Pass (1) /Fail (0)
58
Located (1) /Not Located (0)
59
Decoded (1) /Not Decoded (0)
60
Matched (1) /Not Matched (0) (0 if matching is not active)
16
61-64
Detailed Decode Failure
17
65-68
Overall AIM Verification Grade
HawkEye™ 1500 Series User Manual
4-69
Page 180
Chapter
4
ReadRunner
TABLE 4–8. CycleReport Assembly Data Bytes (Continued)
Long Word
Bytes
Meaning
18-21
69-87
Decode Data as a set of numbers (when possible). Numbers are converted as sets of 9 digit decimals, up to four total numbers
22-29
88-128
Reserved for future use
30
120
Length of decode data
31-94
124-376
256 bytes of formatted decode data
When setting the attribute, only the user-defined keyword value is persistent. The data is restored on the next cycle. The camera also supports custom assembly objects for combining camera I/O and cycle data as well as for receiving camera commands. These objects are:
4-70
•
Assembly Object (class code 4, instance 1), This object gets the current state of the I/O points as well as all the cycle data. This object supports I/O connectivity and update with the PLC implicitly. The data format is a series of DINTs. The first byte of the first DINT represents the I/O as listed in Table 1. The other bytes are currently ignored. The rest of the DINT data represents the cycle data as listed in Table 2 except for the formatted decode data and its length. This object thus has 30 DINTs of data. It also support Get_Attribute_Single service (ID 0x0E) for attribute ID 3.
•
Assembly Object (class code 4, instance 2), This object sets the current state of the I/O points and also allows you to program the “user keyword” in the cycle data structure. This object has 2 DINTs. The first byte of the first DINT represents the I/O as listed in Table 1. The other bytes are currently ignored. The second DINT is the user-defined keyword. This object supports implicit I/O connectivity and the Get_Attribute_Single service (ID 0x0E) or the Set_Attribute_Single service (ID 0x10) for attribute ID 3. As with the DIO object above, I/O points that are programmed as physical inputs to the camera are represented in software. For example, if the s/w detects a transition on Opto In 1 consistent with a trigger signal, it will virtually trigger the acquisition.
•
Assembly Object (class code 4, instance 301), This object sends commands to the camera via Ethernet/IP. The object supports 260 bytes of data. The first four is a DINT that contains the command length. The remaining 256 bytes is the command string. This object does not support implicit I/O connectivity. It supports the Get_Attribute_Single service (ID
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008