Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 37 of 39

MINI Hawk Xi High Performance Imager User Manual, pages 361 to 370

Pages 361 to 370 of 388

The original document is the PDF (6.2 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 Mini Hawk Xi

Page 361

Appendices

Bit Stream Method A more difficult method is to parse and decode the bit stream data. The bit stream is a mix of EXIF format & TIFF format. You will need to use the <op,4> command.

<op,4,arg> To load a bitmap, send <op,4> and the entire grayscale image will load. To load a JPEG, set arg for the full-size JPEG image, with adjustable quality: <op,4,1280x1024_qnnn.jpg> There is only one variable: nnn is a number from 1 to 100, and it represents the image quality. 1 will load fastest, but will be extremely low-quality. 100 will load slowly, but will be highest-quality. <op,4,1280x1024_q1.jpg> = low-quality image, short load time <op,4,1280x1024_q100.jpg> = high-quality image, long load time

Response Format The user will need to write an application that can receive the image (8-bit format – 7 data bit communication will not work), split up the data, and write the file. The data is format info and then image data, so an ASCII terminal will not work. The format of the data will be (_ added for readability): SOH_DATALEN_FRAMETYPE_SCHEMA_DATA_CRC SOH = SOH character DATALEN = the length of data to follow, 32 bit integer from ‘00000000’ to ‘FFFFFFFF’ FRAMETYPE =1 SCHEMA =2 DATA = image data CRC = CRC16 check digit at the end includes SOH, and everything after, except the CRC More information on these formats is available at: http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf and http://www.exif.org/specifications.html

MINI Hawk Xi High Performance Imager User Manual

A-37

Page 362

Using EtherNet/IP

Appendix I, Using EtherNet/IP Overview The EIP interface will be identified as a Generic Device (0x00). The interface is designed to support remote serial transmit and receive using explicit unconnected messaging.

Necessary Tools The following tools are helpful for configuring the EIP: • EtherNet/IP Messaging Tool – can be a PLC or Software Tool, must be capable of sending explicit messages and establishing Class 1 connections. EIPScan is an example of such a tool. • Terminal emulation or serial communication tool that can connect to a TCP socket, such as HyperTerminal. • ESP – Microscan’s Easy Setup Program. This tool has the ability to find Microscan products on the network, configure their ip address, then configure all application parameters.

EtherNet/IP Terms of Use EtherNet/IP Technology is governed by the Open DeviceNet Vendor Association, Inc. (ODVA). Any person or entity that makes and sells products that implement EtherNet/IP Technology must agree to the Terms of Usage Agreement issued by ODVA. See www.odva.org for details.

Device Type The EtherNet/IP device type is 0x00, Generic Device.

Vendor ID Microscan’s Vendor ID is 1095.

Product Code The Product Code is 6310.

MINI Hawk Xi EtherNet/IP Object Model MINI Hawk Xi uses Class 1 connected messaging to communicate most data in three different IO assemblies. The user chooses one of two input assemblies, plus the output assembly, to create a Class 1 connection.

A-38

MINI Hawk Xi High Performance Imager User Manual

Page 363

Appendices Connection properties supported: Class: 1 Trigger Mode: Cyclic and Change of State Cyclic Rate: Greater than 20 ms recommended. 10 ms minimum. Size: Fixed Type: Point-to-Point (PLC OUT, O->T), Point-to-Point and Multicast (PLC IN, T->O) Priority: Low, High, and Scheduled

Data Types

MINI Hawk Xi Small IN Assembly 0x64, 100 decimal (IN = MINI Hawk Xi -> PLC)

MINI Hawk Xi High Performance Imager User Manual

A-39

Page 364

Using EtherNet/IP This is a small, lightweight input assembly. It is a subset of the Big IN Assembly 0x65. It provides feedback of the output assembly, and the text of any bar codes decoded by the reader. See Big IN Assembly 0x65 for a description of the data fields.

MINI Hawk Xi Big IN Assembly 0x65, 101 decimal (IN = MINI Hawk Xi -> PLC)

This contains more status information, and a longer barcode string, than the Small IN Assembly 0x64. This gives the PLC visibility of the device’s discrete IO, current operational status, and read cycle counters.

A-40

MINI Hawk Xi High Performance Imager User Manual

Page 365

Appendices

User Defined Tag Echo, Command Echo, Output Control Echo These are a direct echo of the equivalent fields in the OUT assembly. They provide the PLC programmer with a method of verifying that the OUT data has been received by MINI Hawk Xi.

External Input Status (Physical Pin State)

0 = no current sensed on input 1 = current sensed on input

External Output Status (Physical Pin State)

0 = output contact is open 1 = output contact is closed

Device Status

Note the following details with In Read Cycle and Actively Scanning signals: • They may be very short-lived. It is possible for the reader to begin and end a read cycle without these signals being seen in active state. • They are only valid for normal read cycle operation: continuous, serial, and triggered. • They do not reflect operation during bar code configuration, read rate, auto-calibration, or ESP Setup mode. MINI Hawk Xi High Performance Imager User Manual

A-41

Page 366

Using EtherNet/IP

Read Cycle Sequence Counter When this value changes, it indicates a new read cycle report is present. Read cycle report data is only valid when Sequence is not 0. Read cycle reports are only output during normal read cycles: continuous, serial, and triggered. Read cycle reports are not output during bar code configuration, read rate, auto-calibration, or ESP Setup mode.

Read Cycle Report: Trigger, Decode/Match, Mismatch, No Read Count These are the historical read cycle result counters. By comparing the values to a previous report, the number of decodes, mismatches and noreads in the current read cycle can be determined.

Read Cycle Report: Decode Data This string has the same format that would be output a serial port or tcp connection, with one difference: preamble and postamble are not added.

MINI Hawk Xi OUT Assembly 0xC6, 198 decimal: Command (OUT = PLC -> MINI Hawk Xi)

User Defined Tag This provides the PLC programmer a method of uniquely identifying multiple readers in the system. This field serves no functional purpose in the MINI Hawk Xi. The value sent by the PLC for this field is echoed back to the input assemblies.

Command

A-42

MINI Hawk Xi High Performance Imager User Manual

Page 367

Appendices The PLC programmer should verify that a Command has been received by MINI Hawk Xi by observing the equivalent “echo” field in the IN assemblies. Trigger (0) Edge event-driven. Takes effect when read mode is Serial, Edge, or Level. A transition from 0 to 1 is a rising edge trigger event. A transition from 1 to 0 is a falling edge trigger event. The following sources all induce trigger events in the reader, including: • A serial command from a serial com port • EZ button • External Trigger input signal on connector A • Command:Trigger bit in the OUT assembly If the reader is to be exclusively triggered by the PLC, then all other trigger sources must be kept idle. New Master (1) Edge-event driven. A transition from 0 to 1 is a command to the unit similar to sending the <G> serial command, or activating the New Master input on connector A. When activated, the New Master function instructs the reader to store the next decode in the master symbol database. Disable Scanning (8) Operates the same as the <H> and <I> commands. A transition from 0 to 1 is the same as sending an <I> command, which issues a “disable” event. A transition from 1 to 0 is the same thing as sending an <H> command, which issues an “enable” event. Note that the most recent command, either <H> or <I> serial commands or the Camera Action:DisableScanning command will always override the previous “scanning disable” state. To verify scanning status, observe the DeviceStatus field in asm 0x65. Clear Read Cycle Report and Counters (16) Trigger, Decode/Match, Mismatch, Noread, Decoded Data string, and Sequence. A transition from 0 to 1 is similar to sending the commands <U><W><Y><O>, which clear the historical read cycle counters. Also, the Sequence counter and Decoded Data string will go to 0. Note that if this command is received while a read cycle is active, execution of the command will be delayed until the read cycle has ended, and the read cycle’s information will probably be lost. Unlatch Outputs (17) If any outputs are configured for Unlatch on Input1, a transition from 0 to 1 will unlatch the output. See configuration commands K810-812. It is not necessary for Input 1 to be enabled.

MINI Hawk Xi High Performance Imager User Manual

A-43

Page 368

Using EtherNet/IP

External Output Control

0 = open the output contact 1 = close the output contact Note: Not operational with the current version of this product.

MINI Hawk Xi OUT Assembly 0xC7, 199 decimal: Serial Command (OUT: PLC -> MINI Hawk Xi)

Accessible only by unconnected explicit message. This assembly enables the PLC to send serial commands to the device, similar to a serial port.

Known Issues and Limitations • External Output Control has not been implemented yet. • There is currently no way to receive serial command responses back from the MINI Hawk Xi.

A-44

MINI Hawk Xi High Performance Imager User Manual

Page 369

Appendices

Programming Flow Charts Triggered by PLC, symbol data required, timeout or decode ends read cycle. Setup: Read Cycle Trigger Mode = External Edge or External Level. Symbol Data Output = Enabled globally and for EtherNet/IP. When to Output = As Soon As Possible. End of Read Cycle = Timeout. No Read message = Enabled.

MINI Hawk Xi High Performance Imager User Manual

A-45

Page 370

Using EtherNet/IP

MOD and NET LED Indicators MOD (Module)

NET (Network)

A-46

MINI Hawk Xi High Performance Imager User Manual