Omron MicroHAWK ID-40 Technical Note

TECHNICAL
MicroHAWK ID-40
NOTE
360o Barcode Reading to Omron NJ/NX Controller
Solution Overview
This solution is useful in food and commodity applications in which a decode must be performed on a product's barcode, but the barcode's location on the product's perimeter is not known. One example is the need to decode a GS1 Data Matrix on a product as it travels down a conveyor. After the decoded data has been delivered to the NJ/NX controller, the data could be written to a database as part of a pharmaceutical company's serialization and traceability implementation.
Solution Features
Six-reader daisy chain of MicroHAWK ID-40 readers
Camera trigger via digital input or button on HMI
Three counters: Trigger, Cycles Read, Overruns
Counter resets via digital input or HMI
Decoded data displayed on HMI
Number ID of reader that decoded symbol displayed on HMI
Cycle timeout congurable on HMI
Read time displayed on HMI
Error detection: Timeout, Overrun, Communication fault on EtherNet/IP port
Supported Symbologies
Linear (1D) barcodes down to 10 mil:
Ladder (Vertical) or Picket Fence (Horizontal)
Picket fence width should not exceed 60% of the
diameter; see example of maximum-width picket fence 1D barcode in the image below.
Minimum 1D barcode height = 0.5 inches
2D barcodes down to 15 mil
Data Matrix, Code 128, and UPC/EAN enabled
in the supplied WebLink conguration le. Additional symbologies supported by modifying the ID-40’s decode setting.
5.1 x 3.8 inch (129.5 x 96.5 millimeter) reader FOV
when ID-40s are mounted as described.
Refer to MicroHAWK ID-40 Specication Sheet
for full list of supported symbologies.
84-9220134-02 Rev A
Maximum Picket Fence Orientation
Technical Note: MicroHAWK ID-40 360º Barcode Reading Solution
TECHNICAL
NOTE
Production Rates
Solution tested at 100 FPM for high-contrast barcodes.
Typical read rate: 1 per second.
Software
SYSMAC Studio, Standard Edition, version 1.23.
Internet browser to connect the MicroHAWK ID-40 to WebLink.
Hardware
This solution can be implemented on NJ or NX machine controllers. Two example hardware equipment lists are provided. Conguration 1 uses an NJ301 and Conguration 2 uses an NX1P2.
Conguration 1 – NJ301 Controller
Quantity Part Number Description Version
6 7412-2000-2005 MicroHAWK ID-40, SXGA, HD, Autofocus, WHT, HS, X 1.3.0.3009
6 97-000012-01 Power Supply, 100-240 VAC, +24 VDC, M12 12-Pin Socket
6 61-000163-03 QX Cordset, Host, Ethernet, M12 8-Pin Plug (Screw-On)-to-RJ45, 3 m
6 98-9000054-01 Kit, Mounting, APG, MicroHAWK
1 NJ301-1100 NJ301 Machine Automation Controller 1.16
1 HMC-SD291 2 GB Memory Card
1 NJ-PA3001 NJ Power Supply Unit
1 NX-ECC202 EtherCAT Coupler Unit 1.2
1 NX-ID5142-1 16-Point - DC Input Module 1.0
1 NX-OD4256 8-Point - Transistor Output, DC 1.0
1 S8VK-G12024 NA Power Supply
1 XS5W-T421-EMD-K EtherCAT I/O Cable
1 PFP-50N DIN Track - Length: 0.5 m; Height: 7.3 mm
1 NA5-9W001B 9” NA-HMI Panel
1 E3Z-T81 E3Z Through-Beam, Infrared, Pre-Wired
3 XS6W-6LSZH8SS200CM-Y Cat 6A Ethernet Cable, 2M, Yellow
1 N/A 16-Port 100 Mbps Ethernet Switch
Conguration 2 – NX1P2 Controller
Quantity Part Number Description Version
6 7412-2000-2005 MicroHAWK ID-40, SXGA, HD, Autofocus, WHT, HS, X 1.3.0.3009
6 97-000012-01 Power Supply, 100-240 VAC, +24 VDC, M12 12-Pin Socket
6 61-000163-03 QX Cordset, Host, Ethernet, M12 8-Pin Plug (Screw-On)-to-RJ45, 3 m
6 98-9000054-01 Kit, Mounting, APG, MicroHAWK
1 NX1P2-9024DT1
1 HMC-SD291 2 GB Memory Card
1 S8VK-C12024
1 PFP-50N DIN Track - Length: 0.5 m; Height: 7.3 mm
1 NA5-9W001B 9” NA-HMI Panel
1 E3Z-T81 E3Z Through-Beam, Infrared, Pre-Wired
3 XS6W-6LSZH8SS200CM-Y Cat 6A Ethernet cable, 2m, Yellow
1 N/A 16-Port 100 Mbps Ethernet Switch
NX1P2 CPU Unit, 1.5 MB, 32 KB, 4 Single-Axis Position Control, 14 Discrete Input Points, 10 Discrete Output Points (PNP)
Single Phase Power Supply, Universal Input (100 to 240 VAC), 120 W Output (24 VDC @ 5 A)
1.18
Conguration Files
SYSMAC Project le to import for Conguration 1: “6_ID40_NJ301_EIP_with_HMI_revD.smc2”
SYSMAC Project le to import for Conguration 2: “6_ID40_NX1P2_EIP_with_HMI_revD.smc2”
WebLink 1.3.0 Conguration le: “360_code_ID40_settings.wls”
Technical Note: MicroHAWK ID-40 360º Barcode Reading Solution
TECHNICAL
NOTE
MicroHAWK ID-40 Setup
MicroHAWK ID-40 Hardware Mounting
1 MicroHAWK ID-40 Hardware Mounting
1.1 Install ID-40 readers as shown in the le “ID-40 360 read cam placement.dwg”. The basic layout is shown below. The cameras are mounted 245 mm from the center point of the code read position. The camera pitch (angle) should be perpendicular to the surface containing the barcode, within +/- 5 degrees.
NOTE: The installer will need to determine the best trigger position based on the type of product to be read on the conveyor. The current trigger position is based on a 67 mm diameter cylindrical object.
1.2 The ID-40 reader height should be adjusted so that the horizontal linear barcodes (picket fence orientation) are typically above or below the bright reection of the reader’s illumination. The image below shows an example in which the barcode is below the bright reection region.
MicroHAWK ID-40 Conguration
2 MicroHAWK ID-40 Conguration
2.1 Connect the power and Ethernet cables to ONLY ID-40 reader 1.
2.2. Using an internet browser type the IP address of the camera. (The factory default IP address is
192.168.188.2. If necessary, change the PC's IP address to 192.168.188.101, subnet 255.255.0.0, to be on the same subnet.) This will allow you to use WebLink to congure the ID-40.
2.3. Use WebLink to congure the ID-40 for your application. Select Start > Load a Setup and load the le “360_code_ID40_settings.wls” to load most of the desired parameters to the ID-40. Some of the important parameters are:
2.3.1. Read Cycle = Custom
2.3.1.1. Trigger = External Level
External Level allows EIP trigger to control start and stop of read.
2.3.1.2. Capture Mode = Rapid Capture
2.3.1.3. Num Captures = 10
2.3.1.4. Rapid Capture Mode = Timed Capture
2.3.1.5. Delay Between Images = 4000 µs
For parts moving at 100 FPM.
Delay should be increased on slower moving conveyors or when Num Captures is reduced.
2.3.1.6. End cycle = New Trigger
2.3.2. Acquire
2.3.2.1. Set parameters to have focused image and freeze part movement.
2.3.2.2. Set Exposure to 1,000 µs or less to use Power Strobe (Extreme Illumination Brightness).
2.3.2.3. Learn best focus using the Spot Focus button (See the MicroHAWK ID User Manual for additional
information.)
2.3.3. Decode
2.3.3.1. Select barcode types to be read in this application. Disable unused barcode types.
Technical Note: MicroHAWK ID-40 360º Barcode Reading Solution
2.3.4. Gear icon > Advanced > Camera Setup
2.3.4.1. Illumination Brightness = Extreme (Power Strobe)
2.3.5. Gear icon > Advanced > Read Cycle
2.3.5.1. Image Processing Timeout = 150 ms
This setting sets a limit on how long the MicroHAWK ID-40 will attempt to read the barcode in the current image. You will need to determine the decode time for a good read (circled in the image below) and then set this value to slightly higher. Ideally, this time should be set as low as possible so that an unreadable image will stop reading quickly and start processing the next image in the Rapid Capture queue.
TECHNICAL
NOTE
2.4. Click the Save button to save the changes to the reader.
2.5. Conrm that the ID-40 is reading.
2.5.1. Change Trigger to External Edge.
2.5.2. Click the Trigger button and conrm that the barcode is decodable.
2.5.3. When testing is nished, change Trigger to External Level.
2.6. Change the ID-40's IP address.
2.6.1. Click the gear icon > Advanced > Communications as shown below.
2.6.2. Set the IP addresses and subnets to the values listed below:
Reader 1 = 192.168.250.11, subnet 255.255.255.0
Reader 2 = 192.168.250.12, subnet 255.255.255.0
Reader 3 = 192.168.250.13, subnet 255.255.255.0
Reader 4 = 192.168.250.14, subnet 255.255.255.0
Reader 5 = 192.168.250.15, subnet 255.255.255.0
Reader 6 = 192.168.250.16, subnet 255.255.255.0
2.7. Click the Save button to save the changes to the reader. You should receive a warning stating, “Saving the current settings on your camera will require a reboot. Continue?” Click "OK".
2.8. Repeat steps 2.1 to 2.7 for Readers 2 through 6.
2.9. Change the PC's IP address to 192.168.250.101, subnet 255.255.255.0.
2.10. Disconnect power to all the ID-40 readers and wait 10 seconds.
2.11. Connect the ID-40 reader's Ethernet cables to the Ethernet switch.
2.12. Re-connect power to the ID-40 readers. Wait 30 seconds for the readers to boot.
2.13. Using your PC's internet browser, type the IP address for reader 1 and make sure the PC connects to WebLink.
2.14. Save the reader’s settings to a le. Click the gear icon > Advanced > Save.
2.15. Repeat steps 2.13 and 2.14 for all remaining ID-40 readers.
7
Technical Note: MicroHAWK ID-40 360
º
Barcode Reading Solution
TECHNICAL
NOTE
MicroHAWK ID-40 EDS File Download
3. ID-40 EDS File
3.1. Download the MicroHAWK Barcode Reader EDS le from the Omron Microscan download center, as shown below. (
ID%201.2%20EtherNetIP.zip.)
https://les.microscan.com/downloadcenter/MicroHAWK%20Auto%20
3.2. Extract the le “MicroHAWK Auto ID 1.2 EtherNetIP.zip” to your hard drive at “C:\MicroHAWK Auto ID 1.2 EtherNetIP”. These les will be used later.
8
NJ/NX Controller Setup
NJ/NX Controller and NA HMI Panel Connections
4.1. For conguration 1, on the NX-ECC202, change the ADR x10 rotary switch to 7 and the x1 rotary switch to 0 as shown below.
4.2. For conguration 1, conrm that the EtherCAT cable is connected to port 2 (EtherCAT) on the NJ controller and that the other end is connected to NX-ECC202 IN (top) port shown in the image above. Refer to the NX-ECC202 user manual for more information.
4.3. Wire +24 VDC and 0 VDC to the NX-ECC202 unit (conguration 1) or the NX1P2 (conguration 2). Refer to the NX-ECC202 User Manual for more information about conguration 1. Refer to the NX1P2 CPU Unit Hardware User Manual for more information about conguration 2.
4.4. Conrm that the NJ/NX Ethernet cable is connected to port 1 on the controller and the other end is connected to the Ethernet switch.
4.5. Conrm that the NA HMI Panel Ethernet cable is connected to port 1 on the panel and the other end of the Ethernet cable is connected to the Ethernet switch.
4.6. Mount the sensor emitter and receiver units on opposite sides of the conveyor at the location indicated in section 1 of this document, titled "MicroHAWK ID-40 Hardware Mounting". The emitter and receiver units must point at each other.
4.7. For the sensor emitter and receiver, connect the brown wire to + 24 VDC, and connect the blue wire to 0 VDC.
4.8. Conrm that the sensor output (black wire) is connected to input bit 00 of the input module (conguration 1) or the NX1P2 controller (conguration 2).
4.9. Connect the input common, labeled COM on the NX-ID5142-1 (conguration 1) or on the NX1P2 (conguration 2), to 0 VDC.
9
Technical Note: MicroHAWK ID-40 360
º
Barcode Reading Solution
TECHNICAL
NOTE
4.10. Apply power to the power supplies powering the NJ/NX controller and NA HMI Panel.
4.11. Wait approximately 30 seconds for these components to fully power up.
4.12. At this point all components should be powered and connected to the Ethernet switch. Conrm that
network activity is seen from the NJ/NX controller, the NA HMI Panel, and the six ID-40 readers.
4.13. Conrm that the sensor signal is seen by the input module. If an object is moved slowly through the
sensor path, the input bit 00 indicator should toggle on and o. The image on the left below shows input bit 00 = TRUE (ON) for the NX-ID5142-1 (NJ controller – conguration 1) and the image on the right shows input bit 00 = TRUE (ON) for the NX1P2 (conguration 2).
Import Project into SYSMAC Studio
5. Import Project into SYSMAC Studio
5.1. At the SYSMAC Studio start page, select Import… as shown below.
5.2. Select the SYSMAC import le that matches the hardware conguration provided in the
Job_Files folder, shown below. For an NJ controller (conguration 1), select the le, “6_ID40_NJ301_ EIP_with_HMI_revC.smc2”. For an NX1P2 (conguration 2) select the le, “6_ID40_NX1P2_EIP_with_HMI_ revC.smc2”. Once the appropriate le is selected, click "Open".
10
5.3. Once the project loads, select the Controller menu and click "Change Device", as shown below.
5.4. In the Change Device window shown above, modify the Device and Version selections to match the controller that is currently used.
Establish NJ/NX Communications with PC
The default IP address for NJ/NX port 1 (EtherNet/IP) is 192.168.250.1, subnet 255.255.255.0. On some Omron controllers, such as the NX1P2 (conguration 2), these units can only communicate via a built-in EtherNet/IP port.
On NJ and NX7 controllers (conguration 1), these units can communicate using a direct connection via USB. This permits the user to establish an online connection with the controller, modify the built-in EtherNet/IP port settings, and download these settings to the controller. Once the new settings are downloaded, the Omron controller will use the new IP address. The procedure to establish a connection via USB is provided as a reference on the following page.
11
Technical Note: MicroHAWK ID-40 360
º
Barcode Reading Solution
TECHNICAL
NOTE
Omron NJ Controller Direct USB Connection
This type of connection can be used for modications to NJ/NX settings (such as the IP Address) or changes to logic, but for full conguration and testing of EtherNet/IP, use the Ethernet connection described in step 7 of the section "Omron NJ/NX Controller Ethernet Connection via a Hub".
6. NJ Direct USB Connection
6.1. Connect a USB cable from a PC to the PLC’s USB port.
6.2. Click Controller menu > Communications Setup as shown below.
6.3. Click the "Direct Connection via USB" button as shown below.
6.4. Click "USB Communication Test".
6.5. Be sure “Test OK” shows in the white bar as shown below. This indicates that you have good
communications with the Omron controller.
6.6. Click "OK" when ready.
12
Loading...
+ 26 hidden pages