Six MicroHAWK ID-40 readers are connected in daisy chain conguration to an Omron NJ/NX machine controller
via EtherNet/IP. The NJ/NX controller sends a trigger to the readers, and once a reader decodes a symbol, the
read cycle is stopped for all readers. This solution includes a basic HMI user interface and an NA series panel.
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 congurable 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 conguration 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
• 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. Conguration 1 uses an NJ301 and Conguration 2 uses an NX1P2.
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 reection of the reader’s illumination. The image below shows an example in which the barcode is below the bright reection region.
MicroHAWK ID-40 Conguration
2 MicroHAWK ID-40 Conguration
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 congure the ID-40.
2.3. Use WebLink to congure 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.
•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. Conrm that the ID-40 is reading.
2.5.1. Change Trigger to External Edge.
2.5.2. Click the Trigger button and conrm 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. (
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 conguration 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 conguration 1, conrm 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 (conguration 1) or the NX1P2 (conguration 2). Refer
to the NX-ECC202 User Manual for more information about conguration 1. Refer to the NX1P2 CPU Unit Hardware User Manual for more information about conguration 2.
4.4. Conrm 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. Conrm 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. Conrm that the sensor output (black wire) is connected to input bit 00 of the input module
(conguration 1) or the NX1P2 controller (conguration 2).
4.9. Connect the input common, labeled COM on the NX-ID5142-1 (conguration 1) or on the NX1P2
(conguration 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. Conrm that
network activity is seen from the NJ/NX controller, the NA HMI Panel, and the six ID-40 readers.
4.13. Conrm 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 – conguration 1) and the image on the right
shows input bit 00 = TRUE (ON) for the NX1P2 (conguration 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 conguration provided in the
Job_Files folder, shown below. For an NJ controller (conguration 1), select the le, “6_ID40_NJ301_ EIP_with_HMI_revC.smc2”. For an NX1P2 (conguration 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 (conguration 2), these units can only communicate via a built-in EtherNet/IP port.
On NJ and NX7 controllers (conguration 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 modications to NJ/NX settings (such as the IP Address) or changes to
logic, but for full conguration 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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.