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 42

Quadrus MINI Velocity User's Manual, pages 371 to 380

Pages 371 to 380 of 419

The original document is the PDF (3.0 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 VELOCITY

Page 371

Appendices

Serial Command Format Serial commands are of two types: utility and configuration.

Rules that apply to both utility and configuration commands • A less than < and greater than > character enclose the commands. • Commands and data are “case sensitive.” That is, characters must be entered as upper or lower case, as specified.

Serial Utility Commands These are sent during operations and are not followed by <A> or <Z>.

Serial Configuration “K” Commands These begin with a single “K” character followed by a 3-digit numeric character, data fields, and an initializing command, as follows: <Knumeric parameter,data,data,...etc.><initializing command> An initializing command <A> or <Z> may follow the command. A <Z> initializes the imager’s memory and saves for power-on; an <A> initializes the imager’s memory but does not save for power-on. For example, to enable UPC and save the change for power-on, send <K473,1><Z>. To change Baud Rate and reset without saving changes for power-on, send <K100,3><A>.

Serial Configuration Command Conventions • All data fields (except the last) must be followed by a comma (without a space). • NUL cannot be used. The characters <, >, and , can be used, but only if entered as hex pairs (see ASCII Character Entry Modifier on page 3-32). • All fields preceding a modified field must be included. • If there is no change in preceding fields, then commas alone can be entered in these fields. For example, if only the last field in the following command is changing, <K100,4,1,0,0> can be entered as <K100,,,,0>. • All fields following a modified field can be omitted. For example, to change Baud Rate only, send <K100,3>.

Quadrus MINI Velocity User’s Manual

A-11

Page 372

Serial Configuration Commands

Concatenating Configuration Commands Commands can be concatenated (added together) in a single string or data block. For example, <K145,1><K220,1><K450,1><A> enables LRC, sets End of Read Cycle mode to New Trigger, enables Narrow Margins, and resets the data buffers (without saving the changes for power-on).

Serial Command Status Request To ensure that any command was received and accepted, you can send the Show Reader Status command: <?>. The status of a specific serial command can be requested by entering the command followed by a question mark. For example, send <K142?> to request the status of Postamble.

Entering Control Characters in Serial Commands To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: To enter a carriage return and line feed (^M^J), enter <K141,1,CNTL-m CNTL-j>

A-12

Quadrus MINI Velocity User’s Manual

Page 373

Appendices

Appendix D, Communications Protocol Communications Protocol Command Table Protocol Command (Mnemonic displayed on menu)

Control Characters (Entered in menu or serial command)

Hex Value

Effect of Command

RES

^D

04

Reset

REQ

^E

05

Request

EOT

^D

04

Reset

STX

^B

02

Start of Text

ETX

^C

03

End of Text

ACK

^F

06

Acknowledge

NAK

^U

15

Negative Acknowledge

XON

^Q

11

Begin Transmission

XOFF

^S

13

Stop Transmission

Quadrus MINI Velocity User’s Manual

A-13

Page 374

Communications Protocol

ACK/NAK Data Flow Examples Setup 1 RES REQ STX ETX ACK NAK LRC

0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 disabled

Transfer 1 HOST_TX IMAGER_TX

<K141,0> ‘ACK’

Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX

<K141?> ‘ACK’ <K141,0> ‘ACK’

Error Condition Transfer 1 IMAGER_TX HOST_TX IMAGER_TX HOST_TX symbol data ‘NAK’ (host rejects) symbol data (resend data) ‘ACK’ (transaction complete)

Transfer 2 HOST_TX <K141?> IMAGER_TX ‘ACK’ IMAGER_TX <K141,0> timeout reached... timeout reached... timeout reached... Timeout Reached transaction aborted, data is flushed

A-14

Quadrus MINI Velocity User’s Manual

Page 375

Appendices

Setup 2 RES REQ STX ETX ACK NAK LRC

0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x00 (disabled) 0x06 0x15 enabled

Transfer 1 HOST_TX IMAGER_TX

<K141,0>a ‘ACK’

Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX

<K141?>B ‘ACK’ <K141,0>a ‘ACK’

Error Condition Transfer 1 HOST_TX IMAGER_TX HOST_TX IMAGER_TX

<k141,0>x (BAD LRC) ‘NAK’ <K141,0>a (GOOD LRC) ‘ACK’

Quadrus MINI Velocity User’s Manual

A-15

Page 376

Communications Protocol

Setup 3 RES REQ STX ETX ACK NAK LRC

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

Transfer 1 HOST_TX IMAGER_TX

(<K141,0>)H ‘ACK’

Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX

A-16

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

Quadrus MINI Velocity User’s Manual

Page 377

Appendices

Setup 4 RES REQ STX ETX ACK NAK LRC

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

Transfer 1 HOST_TX IMAGER_TX

(<K141,0>)H ‘ACK’

Transfer 2 HOST_TX IMAGER_TX HOST_TX IMAGER_TX HOST_TX IMAGER_TX

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

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

Quadrus MINI Velocity User’s Manual

A-17

Page 378

Communications Protocol

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 IMAGER_TX HOST_TX IMAGER_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 IMAGER_TX HOST_TX IMAGER_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) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘RES’ (Terminate Transfer 1, data is flushed)

A-18

Quadrus MINI Velocity User’s Manual

Page 379

Appendices

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

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

Quadrus MINI Velocity User’s Manual

A-19

Page 380

Communications Protocol

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 IMAGER_TX HOST_TX IMAGER_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 IMAGER_TX IMAGER_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) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘RES’ (Terminate Transfer 1, data is flushed)

A-20

Quadrus MINI Velocity User’s Manual