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 5 of 13

MS-2 CCD Reader User's Manual, pages 41 to 50

Pages 41 to 50 of 125

The original document is the PDF (1.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 MS-2

Page 41

Communications

Communications Serial Commands Host Port Connections Host Port Protocol Preamble Postamble

MS-2 CCD Reader User’s Manual

<K100,baud rate,parity,stop bits,data bits> <K140,protocol> <K141,status,preamble character(s)> <K142,status,postamble character(s)>

3-3

Page 42

Host Port Connections

Host Port 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> 9600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K

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> Even 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:

3-4

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> Seven 0 = Seven 1 = Eight

MS-2 CCD Reader User’s Manual

Page 43

Communications

Host Port Protocol Usage:

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. Serial Cmd: <K140,protocol> Default: Point-to-Point Options: 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS Note: The preamble <K141> and postamble <K142> character strings can be used to frame the decoded data in both protocol modes.

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>

MS-2 CCD Reader User’s Manual

3-5

Page 44

Preamble

Preamble Preamble Status Usage:

Definition: Serial Cmd: Default: Options:

Useful for identifying and controlling incoming data. For example, defining the preamble as a carriage return and a line feed causes each decoded message to be displayed on its own line. Defines a one to four character data string that can be added to the beginning of the decoded data. <K141,status,preamble character(s)> Disabled 0 = Disabled 1 = Enabled (within any protocol)

Preamble Characters Serial Cmd: Default: Options:

<K141,status,preamble character(s)> ^M (carriage return) To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: <K141,1,CTRL-m> to enter the control character ^M.

3-6

MS-2 CCD Reader User’s Manual

Page 45

Communications

Postamble Postamble Status Usage:

Definition: Serial Cmd: Default: Options:

Useful for identifying and controlling incoming data. For example, defining the postamble as a carriage return and a line feed causes each decoded message to be displayed on its own line. Allows the user to enable or disable up to four postamble characters that can be added to the end of the decoded data. <K142,status,postamble character(s)> Enabled 0 = Disabled 1 = Enabled (within any protocol)

Postamble Characters Serial Cmd: Default: Options:

<K142,status,postamble character(s)> ^M^J (carriage return/line feed) To enter control characters within a serial command, hold down the Ctrl key while typing the desired character. Example: <K142,1,CTRL-m CTRL-j> to enter ^M^J.

MS-2 CCD Reader User’s Manual

3-7

Page 46

Postamble

3-8

MS-2 CCD Reader User’s Manual

Page 47

4 Read Cycle Contents Read Cycle by ESP ...................................................................................................................... 4-2 Read Cycle Serial Commands...................................................................................................... 4-3 MS-2 Read Cycle Overview.......................................................................................................... 4-4 Number of Symbols ...................................................................................................................... 4-5 Time Between Identical Decodes ................................................................................................. 4-6 Trigger Mode ................................................................................................................................ 4-7 Continuous Read 1 Output Emulation .......................................................................................... 4-9 Serial Trigger Character (Delimited) ........................................................................................... 4-10 Start Trigger Character (Non-Delimited)..................................................................................... 4-11 Stop Trigger Character (Non-Delimited) ..................................................................................... 4-12 No Decode Timeout.................................................................................................................... 4-13 Decodes Before Output .............................................................................................................. 4-14 No Read Message ...................................................................................................................... 4-15 Reader Setup.............................................................................................................................. 4-16

After you’ve established communications you will need to address the spatial and timing parameters associated with your application. This section explains those parameters.

MS-2 CCD Reader User’s Manual

4-1

Page 48

Read Cycle by ESP

Read Cycle by ESP

Click this button to bring up the App Mode view.

Click this button to bring up the Read Cycle tree control.

To open nested options, single-click the +.

4-2

To change a setting, double-click the setting and use your cursor to scroll through the options.

MS-2 CCD Reader User’s Manual

Page 49

Read Cycle

Read Cycle Serial Commands Trigger Mode Serial Trigger Character No Decode Timeout Decodes Before Output Number of Symbols Start Trigger Character Stop Trigger Character Time Between Identical Decodes Reader Setup No Read Message

<K200,trigger mode> <K201,serial trigger character> <K220,0,seconds> <K221,decodes before output> <K222,number of symbols> <K229,start character> <K230,stop character> <K503,time between identical decodes> <K522,shutter speed,minimum speed,maximum speed> <K714,status,No Read message>

MS-2 CCD Reader User’s Manual

4-3

Page 50

MS-2 Read Cycle Overview

MS-2 Read Cycle Overview The MS-2 outputs symbol data as soon as it is decoded. There is no “End of Read Cycle” option. Multiple symbol operations are emulated by controlling the read cycle duration and the time allowed between identical consecutive decodes. The following conditions also apply: 1. In Single symbol mode, a read cycle ends only on a decode, falling trigger, or timeout. 2. In Multiple symbol mode, the read cycle begins on a triggered event, but starts over after any symbol has been decoded. 3. There is no “new trigger” feature. 4. There is no timeout for External Level mode. 5. There is no Continuous Read 1 Output setting in Trigger Mode, but this setting can be emulated by following the steps described in Continuous Read 1 Output Emulation.

4-4

MS-2 CCD Reader User’s Manual