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 7 of 31

MS-890 Industrial Automation Scanner User's Manual, pages 61 to 70

Pages 61 to 70 of 308

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 MS-890

Page 61

Communications

Baud Rate (Aux Port) Usage:

Can be used to transfer data faster or match an auxiliary device.

Definition:

The rate at which the scanner and host transfer data back and forth.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

9600

Options:

1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K

Parity (Aux Port) Usage:

Only changed if necessary to match host setting.

Definition:

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.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

Even

Options:

0 = None

1 = Even

2 = Odd

Stop Bits (Aux Port) Usage:

Only changed if necessary to match host setting.

Definition:

Allows the user to select the last one or two bits in each character to indicate the end of the character.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

One

Options:

0 = One

1 = Two

MS-890 Industrial Automation Scanner User’s Manual

3-17

Page 62

Auxiliary Port Protocol

Data Bits (Aux Port) Usage:

Only changed if necessary to match host setting.

Definition:

Number of bits in each character.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

Seven

Options:

0 = Seven

1 = Eight

Daisy Chain ID Status (Aux Port) Note: Enable/disable and length must be the same in all scanners. Usage:

Used in a daisy chain setup in cases where the host needs to know which scanner in a daisy chain setup sent the data.

Definition:

Each scanner in a daisy chain can be assigned a one or two character ID that will appear in front of decoded data and identify its source.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

Disabled

Options:

0 = Disabled

1 = Enabled

Daisy Chain ID (Aux Port) Note: All secondary scanners must be set to Serial for Daisy Chain to function. See Trigger on page 4-5. Usage:

Used in a daisy chain setup in cases where the host needs to know which scanner sent the data.

Definition:

A one or two character prefix which identifies the particular daisy chain scanner from which the data is being sent.

Serial Cmd: <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status, daisy chain ID> Default:

1/

Options:

Any one or two ASCII characters.

3-18

MS-890 Industrial Automation Scanner User’s Manual

Page 63

Communications

Daisy Chain Autoconfigure Note: This command is not available in ESP. Usage:

For quick setup and configuration of the daisy chain network.

Definition:

Daisy Chain Autoconfigure is issued to the master scanner in the daisy chain and the software responds as follows: • Counts the number of secondary scanners in the daisy chain. • Assigns an internal ID number (1...n) to each secondary scanner, where the first secondary scanner is number 1 (and its own ID being a 0). • Propagates the communications settings and the relevant operating modes of the master scanner to the host and auxiliary ports of each secondary scanner. • Resets each secondary scanner. • Verifies that each secondary scanner has acquired the new settings.

Serial Cmd: <K150DAISY> When setting up a daisy chain operation, follow these steps: 1. Set the master (the scanner connected to the host) scanner to Serial. This sets all the scanners in the daisy chain to Serial when the command is carried out. Before Autoconfigure you must set the primary scanner to Serial (S): Host

S

Primary Scanner

S

Secondary Scanner

S

Secondary Scanner

2. Send <K150DAISY> command. 3. If necessary, set the master scanner to Edge. After Autoconfigure you may set the primary scanner to Edge (S), but the other scanners must remain in Serial (S): Host

E

Primary Scanner

MS-890 Industrial Automation Scanner User’s Manual

S

Secondary Scanner

S

Secondary Scanner

3-19

Page 64

Daisy Chain Scanner ID

Daisy Chain Scanner ID Note: Scanner IDs can also be assigned in Daisy Chain (Aux Port Mode) (page 3-14). Usage:

This command provides a convenient way to assign custom daisy chain IDs to specific scanners that were assigned during the daisy chain autoconfigure process.

Definition:

Assigns a new daisy chain ID to a daisy chain secondary scanner. The command is sent to the master scanner to configure the other secondary scanners.

Scanner Number Definition:

Specifies the target scanner (by sequential number) which will be receiving the new daisy chain ID. The master scanner is always 0 (zero). All secondary scanners are numbered 1...n in the order that they are connected. Note: These numbers are for assigning IDs only and are not changeable.

Serial Cmd: <K151,daisy chain scanner #,daisy chain scanner ID> Options:

1....n (0 for the master scanner)

Scanner ID Definition:

A two-character user-defined ASCII message identifying a scanner in the daisy chain.

Serial Cmd: <K151,daisy chain scanner #,scanner ID> Default:

Sequential numbering of scanner units resulting from the Daisy Chain Autoconfigure <K150DAISY> command; for example: ID Master = 1/; ID Scanner 1 = 2/; ID Scanner 2 = 3/; etc.

Options:

Any two characters except NUL, <, >, or ,. Note: See also Chapter 13, Output Format. Note: After a secondary scanner accepts a new ID, it automatically invokes a reset-with-save command.

3-20

MS-890 Industrial Automation Scanner User’s Manual

Page 65

Communications

Auxiliary/Configuration Port System Data Note: Do not use Auxiliary Port in a daisy chain operation.

Auxiliary Port Status Note: This command only applies if Auxiliary Port Mode is set to Command Processing. See Command Processing (Aux Port Mode) on page 3-16. Usage:

To check symbol data and error messages via the Aux Port.

Definition:

When enabled, system data, including decoded data and diagnostic warning messages, will be routed to the Aux Port.

Serial Cmd: <K146,aux port status,config port status> Default:

Disabled

Options:

0 = Disabled

1 = Enabled

Configuration Port Status Usage:

To check symbol data and error messages via the configuration port.

Definition:

When enabled, system data, including decoded data and diagnostic warning messages, will be routed to the 9-pin configuration port.

Serial Cmd: <K146,aux port status,config port status> Default:

Enabled

Options:

0 = Disabled 1 = Enabled Important: Enable Data Out 9-Pin when using the configuration port.

MS-890 Industrial Automation Scanner User’s Manual

3-21

Page 66

Preamble

Preamble Preamble Status Usage:

Used 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.

Definition:

Defines a one to four character data string that can be added to the front of the decoded data.

Serial Cmd: <K141,status,preamble character(s)> Default:

Disabled

Options:

0 = Disabled

1 = Enabled (within any protocol)

Preamble Character(s) Serial Cmd: <K141,status,preamble character(s)> Default:

^M corresponds to: carriage return/NUL/NUL/NUL.

Options:

Up to four user-defined ASCII characters, including control characters. Within a Serial Command To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K141,1,CTRL-m> to enter ^M Within an Embedded Menu Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><NUL><NUL><NUL>. To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CTRL-m to enter ^M

3-22

MS-890 Industrial Automation Scanner User’s Manual

Page 67

Communications

Postamble Postamble Status Usage:

Used 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.

Definition:

Defines a one- to four-character data string that can be added to the end of the decoded data.

Serial Cmd: <K142,status,postamble character(s)> Default:

Enabled

Options:

0 = Disabled

1 = Enabled

Postamble Character(s) Serial Cmd: <K142,status,postamble character(s)> Default:

^M^J corresponds to carriage return/line feed/NUL/NUL, as displayed in the menu.

Options:

Up to four user-defined ASCII characters, including control characters. Within a Serial Command To enter control characters within a serial command, hold down the control key while typing the desired character. Example: <K142,1,CTRL-m CTRL-j> to enter ^M^J. Within an Embedded Menu Control characters entered on the command line are displayed in the menu as mnemonic characters, such as: <CR><LF><NUL><NUL> To enter a control character from within an embedded menu, first type in a space (with the space key). This has the effect of allowing the control key to be recognized as a part of the control character. Next hold down the control key while typing the desired character. Example: Space CTRL-m Space CTRL-j to enter ^M^J.

MS-890 Industrial Automation Scanner User’s Manual

3-23

Page 68

LRC Status

LRC Status (Longitudinal Redundancy Check) Usage:

Used when extra data integrity is required.

Definition:

An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the STX (start of text) up to and including the ETX (end of text). What this means is that the binary representation of all the characters in a transmissions are cumulatively added in a column and each resulting odd integer is assigned a 1 and each even integer a 0 (two 1s = 0, two 0s = 0, a 1 and a 0 = 1). The extra LRC character is then appended to the transmission and the receiver connected to the host port performs the same addition and compares the results.

Serial Cmd: <K145,status> Default:

Disabled

Options:

0 = Disabled

3-24

1 = Enabled

MS-890 Industrial Automation Scanner User’s Manual

Page 69

Communications

Intercharacter Delay Usage:

Used only when a host cannot receive data quickly enough and there is enough time between symbols to allow data to be completely transferred. It is rarely used since any setting other than zero will slow down communications. For example, a 200 setting will result in a 1/5 second delay between each character that is transmitted.

Definition:

The time interval in milliseconds between individual characters transmitted from the scanner to the host.

Serial Cmd: <K144,intercharacter delay> Default:

0

Options:

0 to 255 (in milliseconds) Note: 0 causes no delay between characters.

MS-890 Industrial Automation Scanner User’s Manual

3-25

Page 70

Response Timeout

Response Timeout Usage:

Used only when a response is required from the host. While in Multidrop, if the scanner does not receive an ACK or NAK from the host after sending polled data, it will act on a fault. The scanner can be set to wait indefinitely by setting Response Timeout to zero.

Definition:

Time the scanner will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected.

Serial Cmd: <K143,response timeout> Default:

2 (x 10 = 20 ms)

Options:

0 to 255 in 10 ms increments (0 to 2.55 seconds) (A 0 setting causes an indefinite wait.)

3-26

MS-890 Industrial Automation Scanner User’s Manual