background image

TECHNICAL

NOTE

MicroHAWK ID-40

360

o

 Barcode Reading to Omron NJ/NX Controller

Solution Overview

Solution Features

Six MicroHAWK ID-40 readers are connected in daisy chain configuration 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. 

Supported Symbologies

Maximum Picket 
Fence Orientation

• 

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 configurable on HMI

• 

Read time displayed on HMI

• 

Error detection: Timeout, Overrun, Communication fault on EtherNet/IP port

• 

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 configuration file. 

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 Specification Sheet 

for full list of supported symbologies.

84-9220134-02  Rev A

Summary of Contents for MicroHAWK ID-40

Page 1: ...y implementation Supported Symbologies Maximum Picket Fence Orientation Six reader daisy chain of MicroHAWK ID 40 readers Camera trigger via digital input or button on HMI Three counters Trigger Cycle...

Page 2: ...4 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 C...

Page 3: ...18 1 HMC SD291 2 GB Memory Card 1 S8VK C12024 Single Phase Power Supply Universal Input 100 to 240 VAC 120 W Output 24 VDC 5 A 1 PFP 50N DIN Track Length 0 5 m Height 7 3 mm 1 NA5 9W001B 9 NA HMI Pan...

Page 4: ...Install ID 40 readers as shown in the file 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 pi...

Page 5: ...arameters 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...

Page 6: ...his 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 2 4...

Page 7: ...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...

Page 8: ...d center as shown below https files microscan com downloadcenter MicroHAWK 20Auto 20 ID 201 2 20EtherNetIP zip 3 2 Extract the file MicroHAWK Auto ID 1 2 EtherNetIP zip to your hard drive at C MicroHA...

Page 9: ...X Ethernet cable is connected to port 1 on the controller and the other end is connected to the Ethernet switch 4 5 Confirm that the NA HMI Panel Ethernet cable is connected to port 1 on the panel and...

Page 10: ...e on the left below shows input bit 00 TRUE ON for the NX ID5142 1 NJ controller configuration 1 and the image on the right shows input bit 00 TRUE ON for the NX1P2 configuration 2 Import Project into...

Page 11: ...controllers such as the NX1P2 configuration 2 these units can only communicate via a built in EtherNet IP port On NJ and NX7 controllers configuration 1 these units can communicate using a direct conn...

Page 12: ...rnet 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 Connecti...

Page 13: ...7 2 Click the Ethernet Connection via a Hub button as shown below 7 3 Enter the IP address of the NJ NX controller The default address for an NJ NX controller is 192 168 250 1 7 4 Click Ethernet Comm...

Page 14: ...in NJ NX Controller Storing ID 40 EtherNet IP Data in NJ NX Controller To establish communications between an EtherNet IP device and the controller a global variable needs to be created to store the d...

Page 15: ...e for the Input Assembly 103 is called s_ID40_ Input_type_103 and is shown below 9 3 The data type for the Output Assembly 197 is called s_ID40_Output_type_197 and is shown below Note that when creati...

Page 16: ...40 output assembly Each global variable used to store an EtherNet IP output assembly must have Network Publish set to Output 10 4 Once the global variables to be used for EtherNet IP communications h...

Page 17: ...e button which is identified below 11 4 The controller synchronization page will then be displayed Verify that the checked options match the settings shown below Click Transfer to Controller circled i...

Page 18: ...e controller and you may need to wait for SYSMAC Studio to respond Go to the section Omron NJ NX Controller Ethernet Connection via a Hub to re establish the network connection with the controller Con...

Page 19: ...C MicroHAWK Auto ID 1 2 EtherNetIP Omron CJ2 eds folder and select the file MicroHAWK_ 35 9000034 11 eds as shown below Click Open to load this EDS file 12 6 You should see that a new item has been a...

Page 20: ...ter the IP address for the first ID 40 which in this example is 192 168 250 11 Click the Model name dropdown menu and select MicroHAWK ID 40 In the Revision dropdown select 1 When completed it should...

Page 21: ...ID 40 readers Their IP addresses are listed below 192 168 250 12 192 168 250 13 192 168 250 14 192 168 250 15 192 168 250 16 13 5 The Toolbox should now list all six ID 40 readers as shown below 13 6...

Page 22: ...Register as shown below 13 8 Click the Connection button which is circled below Click the button to add the first EtherNet IP device ID 40 13 9 Click the Target Device dropdown field and select the fi...

Page 23: ...this value to 20 0 Note that the RPI for the ID 40 cannot be set to an amount less than 10 ms 13 11 Click the Output Target Variable second line which defines the output assembly used in the EDS file...

Page 24: ...Online button which is identified by a red circle in the image below 14 2 With SYSMAC Studio online click Transfer to Controller as shown below 14 3 Click Yes to complete the Transfer as seen below o...

Page 25: ...be 00 0000 This indicates that EtherNet IP communication has been established with that device NOTE SYSMAC Studio must be Online with the controller to show EtherNet IP connection status 15 3 One com...

Page 26: ...Panel Setup NA HMI Panel Not Present If your integration of this solution does not include a NA HMI panel then the remaining sections of the HA HMI panel setup can be skipped Establish NA HMI Panel C...

Page 27: ...Click the Ethernet connection via a hub button as shown below 16 6 In the Specify IP Address field enter the IP address for the NA HMI panel The default address for an NA HMI panel port 1 is 192 168 2...

Page 28: ...e click HMI Settings Click the TCP IP button circled below to view the IP Address for Ethernet Port 1 on the NA HMI panel 17 2 Change the NA HMI panel to the desired IP Address Ensure that the IP addr...

Page 29: ...https www youtube com watch v ETNHvv9KZ38 for a video showing the firmware update process You may see a warning that that the HMI device has no name Click Yes to continue 18 2 Once online with the NA...

Page 30: ...synchronization page once it is completed Click Close HMI User Interface At this point the user interface shown below is now visible on the NA HMI panel 30 Technical Note MicroHAWK ID 40 360 Barcode...

Page 31: ...on the bottom row The image with the green graphics over the barcode is the image in which the symbol was decoded 19 3 Adjust the trigger position so that the barcode is most often read on image 1 or...

Page 32: ...images in the read cycle can be displayed Ensure that the product moves from one side of the image to the opposite side for best performance as shown in the example below 20 4 If the product has comp...

Page 33: ...I or watching this value in SYSMAC Studio Set Read Timeout using the HMI 21 Set Read Timeout using the HMI 21 1 Run products with barcodes past the readers at production rates 21 2 Watch the Read Time...

Page 34: ...Global Variables 22 2 Set the initial value field of the variable ReadTime to the desired timeout in milliseconds 22 3 Go online to the NJ NX controller and Synchronize the project Follow the instruc...

Page 35: ...ds for a total time of 60 milliseconds 23 2 If the Min_OnTime timer is still executing the 60 millisecond timer and another trigger is received the new trigger is ignored Once the 60 millisecond timer...

Page 36: ..._197 EtherNet IP ID 40 Reader 6 Input_Bit_00 BOOL Map to Digital Input Bit 00 Trigger Read Input_Bit_01 BOOL Map to Digital Input Bit 01 Reset Clears counters stops read cycle puts readers online Outp...

Page 37: ...industrial omron us en media NX1P2_IO_Option_Boards_UsersMan_ en_201611_W579 E1 01_r22_tcm849 112521 pdf NX ECC202 User Manual https industrial omron us en media NX ECC_EtherCAT_Coupler_UsersManual_...

Page 38: ...nents Power Supplies Timers Counters Programmable Relays Digital Panel Meters Monitoring Products Switches Relays Limit Switches Pushbutton Switches Electromechanical Relays Solid State Relays Softwar...

Reviews: