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 8 of 44

EZ Match Imager User Manual, pages 71 to 80

Pages 71 to 80 of 431

The original document is the PDF (3.5 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 EZ Match

Page 71

Communications

Communications Serial Commands Host Port Connections Auxiliary Port Connections

<K100,baud rate,parity,stop bits,data bits> <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> RS-422 Status <K102,status> Host Port Protocol <K140,protocol,address> Preamble <K141,status,preamble characters> Postamble <K142,status,postamble characters> Response Timeout <K143,response timeout> LRC <K145,status> Auxiliary Port System Data Status <K146,aux port system data status> ACK/NAK Options <K147,RES,REQ,STX,ETX,ACK,NAK> Polling Mode Options <K148,RES,REQ,STX,ETX,ACK,NAK> Autoconfiguration Daisy Chain <K150DAISY>

EZ Match User Manual

4-3

Page 72

Host Port Connections

Host Port Connections The host port can be configured with RS-232, RS-422, and RS-485 connections. The following settings define the basic transmission speeds and digital standards that ensure common formatting.

Baud Rate, Host Port Usage: Definition: Serial Cmd: Default: Options:

Can be used to transfer data faster or to match host port settings. The rate at which the reader and host transfer data back and forth. <K100,baud rate,parity,stop bits,data bits> 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K

Parity, Host Port Usage: Definition: Serial Cmd: Default: Options:

Only changed if necessary to match host setting. An error detection routine in which one data bit per character is set to 1 or 0 so that the total number of bits in the data field is either even or odd. <K100,baud rate,parity,stop bits,data bits> None 0 = None 1 = Even 2 = Odd

Stop Bits, Host Port Usage: Definition: Serial Cmd: Default: Options:

Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> One 0 = One 1 = Two

Data Bits, Host Port Usage: Definition: Serial Cmd: Default: Options:

Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> Eight 0 = Seven 1 = Eight

Note: See USB HID Interface on page 4-24 for protocol information relating to USB. 4-4

EZ Match User Manual

Page 73

Communications

Host Protocol In general, the point-to-point protocols will work well in most applications. They require no address and must use RS-232 or RS-422 communications standards. Definition: Protocols define the sequence and format in which information is transferred between the reader and the host, or in the case of Multidrop, between the readers and a concentrator. Serial Cmd: <K140,protocol,address> Default: Point-to-Point Options: 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS 2 = Point-to-Point with XON/XOFF 3 = Point-to-Point with RTS/CTS and XON/XOFF 4 = ACK/NAK 5 = Polling Mode Note: In all protocol modes, the preamble <K141> and postamble <K142> character strings can be used to frame the decode data, and both are included in calculating the LRC (Longitudinal Redundancy Check). Usage:

Point-to-Point (Standard) Usage: Definition: Serial Cmd:

Used only with RS-232 or RS-422. Standard Point-to-Point requires no address and sends the data to the host whenever it is available, without a request or handshake from the host. <K140,0>

Point-to-Point with RTS/CTS Usage:

Definition: Serial Cmd:

A reader initiates a data transfer with an RTS (request-to-send) transmission. The host, when ready, responds with a CTS (clear-to-send) and the data is transmitted. RTS and CTS signals are transmitted over two dedicated wires as defined in the RS-232 standard. Used only with RS-232. Point-to-Point with RTS/CTS (request-to-send/clear-to-send) is a simple hardware handshake protocol that allows a reader to initiate data transfers to the host. <K140,1>

Point-to-Point with XON/XOFF Usage: Definition: Serial Cmd:

If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices. Used only with RS-232. This option enables the host to send the XON and XOFF command as a single byte transmission command of start (^Q) or stop (^S). <K140,2>

EZ Match User Manual

4-5

Page 74

Host Protocol

Point-to-Point with RTS/CTS and XON/XOFF Usage: Definition: Serial Cmd:

Used only with RS-232. This option is a combination of Point-to-Point with RTS/CTS and Point-to-Point with XON/XOFF. <K140,3>

ACK/NAK Definition: Serial Cmd:

See the ACK / NAK Options command <K147> on page 4-8. <K140,4>

Polling Mode Definition: Serial Cmd:

4-6

See the Polling Mode Options command <K148> on page 4-9. <K140,5>

EZ Match User Manual

Page 75

Communications

Poll Address Serial Cmd: Default: Options:

<K140,protocol,address> 1 1 to 50 1 = Poll address 0x1C, Select address 0x1D 2 = Poll address 0x1E, Select address 0x1F ... 50 = Poll address 0x7E, Select address 0x7F

Note: See USB HID Interface on page 4-24 for protocol information relating to USB.

EZ Match User Manual

4-7

Page 76

ACK / NAK Options

ACK / NAK Options Definition:

Serial Cmd:

These parameters take effect for ACK/NAK <K140,4> on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the Polling Mode Options <K148>. The imager always follows the protocol in both directions (to and from the host). There is no option to disable it from either direction. <K147,RES,REQ,STX,ETX,ACK,NAK>

RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)

00 (disabled) 00 (disabled) 00 (disabled) 00 (disabled) 06 15

The following are general outlines of the ACK/NAK protocol. Items that are framed by brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does include preamble, postamble, and ETX.

Symbol Data Output TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting for more data) are detected (if REQ is disabled) depending on what is enabled.

Commands from Host to Imager TX to Imager: [STX] <command> [ETX] [LRC] Response from Imager: ACK/NAK. Sent when LRC, ETX, or command-ending angle bracket ‘>’ are received, depending on what is enabled.

Command Response from Imager to Host TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is enabled. As with Polling Mode <K140,5>, the imager can optionally perform the REQ and RES event sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will send REQ to request such a response (if enabled). When the sender receives an ACK, too many NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the transaction. Note: See ACK / NAK Data Flow Examples in Appendix D for sample ACK/NAK communication scenarios. Note: See USB HID Interface on page 4-24 for protocol information relating to USB. 4-8

EZ Match User Manual

Page 77

Communications

Polling Mode Options Definition:

Serial Cmd:

These parameters only take effect for Polling Mode <K140,5> on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the ACK/NAK Options <K147>. The values of protocol characters can be changed, but the protocol events cannot be disabled. The polling mode address is configured in the <K140> command (see Poll Address on page 4-7). To enable true multidrop protocol, the RS422/485 port must be enabled, <K102,1>, in order to turn the transmitter on and off. If RS-232 is enabled instead of RS422/485, <K102,0>, then Polling Mode will operate as a Point-to-Point polling protocol. This is because the RS-232 transmitter is always left on when enabled. <K148,RES,REQ,STX,ETX,ACK,NAK>

RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)

04 05 02 03 06 15

Note: See Polling Mode Data Flow Examples in Appendix D for sample Polling Mode communication scenarios. Note: See USB HID Interface on page 4-24 for protocol information relating to USB.

EZ Match User Manual

4-9

Page 78

RS-422 Status

RS-422 Status Usage: Definition:

Serial Cmd: Default: Options:

RS-232 is an industry standard. RS-422 is used when greater cable lengths are required and/or where noise interference is an issue. RS-422, if enabled, allows communication through RS-422 I/O lines. When RS-422 is enabled, RS-232 is disabled. When RS-422 is disabled, RS-232 is enabled. <K102,status> Disabled 0 = Disabled 1 = Enabled

Note: The default setting can only be changed in readers with multiplexed RS-232 / RS-422 ports. It is forced to 1 (enabled) in readers with “dedicated” RS-422 ports.

4-10

EZ Match User Manual

Page 79

Communications

Auxiliary Port Connections The auxiliary port offers an alternative port that can be configured to communicate by RS-232 in several modes, including daisy chain. As with the host port parameters, the auxiliary port settings (baud rate, parity, stop bits, and data bits) must be identical with those of the auxiliary device. Usage: Definition:

An auxiliary port connects the imager to a remote display or to other readers that can display or transfer data. These commands set the communication parameters with the auxiliary port, which can be used to configure menus, send data to the host, display data transmissions originating from the host, and relay data from other imagers set in tandem (daisy chained).

Auxiliary Port Mode Usage: Definition: Serial Cmd: Default: Options:

Can be used to transfer data faster or to match an auxiliary device. Determines the flow of data between the auxiliary port device(s), the imager, and the host. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status, daisy chain i.d.> Disabled 0 = Disabled 1 = Transparent 2 = Half duplex 5 = Command Processing 3 = Full duplex 4 = Daisy chain

Baud Rate, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options:

Can be used to transfer data faster or to match an auxiliary device. The rate at which the imager and host transfer data back and forth. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K

EZ Match User Manual

4-11

Page 80

Auxiliary Port Connections

Parity, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options:

Only changed if necessary to match host setting. An error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> None 0 = None 1 = Even 2 = Odd

Stop Bits, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options:

Only changed if necessary to match host setting. Allows the user to select the last one or two bits in each character to indicate the end of the character. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> One 0 = One 1 = Two

Data Bits, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options:

4-12

Only changed if necessary to match host setting. Number of bits in each character. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> Eight 0 = Seven 1 = Eight

EZ Match User Manual