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 38 of 43

QX-830 Compact Industrial Scanner User Manual, pages 371 to 380

Pages 371 to 380 of 422

The original document is the PDF (7.7 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 QX-830

Page 371

Appendices

Setup 3 RES REQ STX ETX ACK NAK LRC

0x00 (disabled) 0x00 (disabled) 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled

Transfer 1 HOST_TX SCANNER_TX

(<K141,0>)H ‘ACK’

Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX

(<K141?>)k ‘ACK’ (<K141,^M>)w ‘ACK’

QX-830 Compact Industrial Scanner User Manual

A-83

Page 372

Protocol Commands

Setup 4 RES REQ STX ETX ACK NAK LRC

0x21 ‘!’ 0x3D ‘=’ 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled

Transfer 1 HOST_TX SCANNER_TX

(<K141,0>)H ‘ACK’

Transfer 2 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX SCANNER_TX

(<K100?>)n ‘ACK’ ‘!’ (<K100,8,0,0,1>)X ‘ACK’ ‘!’

Error Condition Transfer 1 HOST_TX (<K141,0>)H SCANNER_TX ‘ACK’ HOST_TX (<K100?>)n SCANNER_TX ‘ACK’ HOST_TX ‘!’ SCANNER_TX (<K100,8,0,0,1>)X timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘=’ timeout reached... SCANNER_TX ‘!’

A-84

QX-830 Compact Industrial Scanner User Manual

Page 373

Appendices

Polling Mode Data Flow Examples Setup 1 Address RES REQ STX ETX ACK NAK LRC

0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 disabled

Transfer 1 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX

‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)

Transfer 2 HOST_TX SCANNER_TX HOST_TX SCANNER_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘ACK’ ‘RES’ (Terminate Transfer 1)

Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.

Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘RES’ (Terminate Transfer 1, data is flushed) QX-830 Compact Industrial Scanner User Manual

A-85

Page 374

Protocol Commands

Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) SCANNER_TX ‘RES’ (Terminate Transfer 1)

The protocol makes 3 retry attempts before data is flushed and transfer is aborted.

A-86

QX-830 Compact Industrial Scanner User Manual

Page 375

Appendices

Setup 2 Address RES REQ STX ETX ACK NAK LRC

0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 enabled

Transfer 1 HOST_TX SCANNER_TX HOST_TX SCANNER_TX HOST_TX

‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘LRC’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)

Transfer 2 HOST_TX SCANNER_TX SCANNER_TX HOST_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ ‘ACK’ ‘RES’ (Terminate Transfer 1)

Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.

Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... SCANNER_TX ‘RES’ (Terminate Transfer 1, data is flushed)

QX-830 Compact Industrial Scanner User Manual

A-87

Page 376

Protocol Commands

Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... SCANNER_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) SCANNER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) SCANNER_TX ‘RES’ (Terminate Transfer 1)

Error Condition 3 HOST_TX SCANNER_TX HOST_TX (Retry Event) SCANNER_TX HOST_TX SCANNER_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘BAD LRC’ ‘NAK’ (Host rejects bad LRC data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘GOOD LRC’ (Unit sends again) ‘ACK’ (Host receives data) ‘RES’ Terminate Transfer 1)

The protocol makes 3 retry attempts before data is flushed and transfer is aborted.

A-88

QX-830 Compact Industrial Scanner User Manual

Page 377

Appendices

Appendix G, ASCII Table Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_

Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

Hex 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

QX-830 Compact Industrial Scanner User Manual

Ch SP ! “ # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

Hex 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F

Ch @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

Hex 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

Ch ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ D

A-89

Page 378

Configuring Ethernet TCP/IP

Appendix H, Configuring Ethernet TCP/IP When using Ethernet to deploy QX-830s in an application, the host computer must be in the same IP range as the devices. Network settings are accessible in Windows from the Control Panel. The steps below show how TCP/IP settings can be configured. 1. From the Windows Start Menu, open Control Panel and double-click Network Connections.

2. The Network Connections dialog will appear. Double-click the icon for the Local Area Connection being used in the application.

A-90

QX-830 Compact Industrial Scanner User Manual

Page 379

Appendices

Configuring Ethernet TCP/IP (cont.) 3. The Local Area Connection Status dialog will appear. To check the host computer’s connection settings, click Details on the Support tab. To verify connection status: On the Support tab, click the Details button to bring up a list of Network Connection Details.

4. A connected QX-830’s default address information can be verified in ESP by clicking the Search button in the Connection Wizard. Compare the imager’s IP address to the host’s IP address to determine whether or not they are in the same subnet range (this can be determined by your I.T. department if you are unsure).

QX-830 Compact Industrial Scanner User Manual

A-91

Page 380

Configuring Ethernet TCP/IP

Configuring Ethernet TCP/IP (cont.) 5. To change the host computer’s connection settings, click Properties on the General tab. To change TCP/IP settings: On the General tab, click the Properties button to bring up a list of items being used by the current connection. On the Local Area Connection Properties dialog, double-click Internet Protocol (TCP-IP).

6. The Internet Protocol (TCP/IP) Properties dialog will appear.

Select Use the following IP address to set the IP Address, Subnet, and Gateway.

A-92

QX-830 Compact Industrial Scanner User Manual