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 31

MS-890 Industrial Automation Scanner User's Manual, pages 41 to 50

Pages 41 to 50 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 41

Using ESP

Navigating in ESP To change scanner settings, or to access the Calibration, Raster/Laser, Terminal, Utilities, or Output Format views, click the App Mode button.

To return to EZ Mode, click the EZ Mode button.

To make changes to configuration settings in the tree controls:

1. Left-click on the + to expand menu items. 2. Double-click the desired parameter and single-click in the selection box to view options. 3. Place your cursor in the selection box, scroll down to the setting you want to change, and single-click the setting.

The X denotes the default option setting.

4. Left-click again on the open screen to complete the selection. 5. Right-click on the open screen and select Save to Reader to implement the command in the scanner. You can send the command without saving it, or you can send and save the command simultaneously.

MS-890 Industrial Automation Scanner User’s Manual

2-15

Page 42

Send/Receive Options

Send/Receive Options To access Receive, Save, and Default options, click the Send/Recv button. You can also access these options by right-clicking in any of the configuration views.

Receiving From the Send/Recv menu, select Receive Reader Settings. Caution: Do not select this option if you do not want to upload the scanner’s settings. For example, if your ESP file has a number of custom settings that you want to maintain and download into the scanner, these settings would be lost by choosing Yes. This is useful if you want to receive (upload) the scanner’s settings and save them as a file for future use. For example, if your scanner has settings that you do not want to change, choosing Yes would allow you to load those settings to ESP and save them in an ESP file for later retrieval. Receiving the scanner’s settings will also assure that you will not be subsequently saving any unwanted changes that you or someone else has made previously in ESP.

Saving Send, No Save (<A>) Saves ESP settings to current memory.

Send and Save (<Z>) Activates all changes in current memory and saves to the scanner for power-on.

Send and Save as Customer Defaults (<Zc>) Saves your default settings for quick retrieval. This option will be visible only if you have checked Enable ‘Send and Save as Customer Defaults’ in ESP Preferences.

2-16

MS-890 Industrial Automation Scanner User’s Manual

Page 43

Using ESP

Defaulting When you select Default Current Menu Settings or Default all ESP Settings, you are only defaulting the ESP settings.

Advanced Options

Send Current View This is the same as Save to Reader > Send No Save except that only the commands in the current configuration tree are sent.

Send Current Command This is the same as Send Current View, except that it saves only the command that is currently selected.

Add / Remove Exception After you perform a Receive Reader Settings command1 and you click on the Add Exception option, you may see a list of serial commands. These are commands that may be in your scanner’s firmware, but not included in, or different from, your current version of ESP. You can edit these commands by double-clicking on them and changing them as needed. It is important to note that these commands will be saved to your scanner whenever you send a Save to Reader command, or an <A> or a <Z> command. Also, if there is a corresponding ESP menu item, the ESP Value column for that item will be blank following a Receive Reader Settings command.

1. From the Send/Recv button or by right-clicking in any blank section of a tree control view.

MS-890 Industrial Automation Scanner User’s Manual

2-17

Page 44

Send/Receive Options

2-18

MS-890 Industrial Automation Scanner User’s Manual

Page 45

3 Communications Contents Communications by ESP.............................................................................................................. 3-2 Communications Serial Commands ............................................................................................. 3-2 RS-232/422 Host Port .................................................................................................................. 3-3 Host Port Parameters ................................................................................................................... 3-4 Host Protocol ................................................................................................................................ 3-5 Poll Address ................................................................................................................................. 3-7 ACK / NAK Options ...................................................................................................................... 3-8 Polling Mode Options ................................................................................................................... 3-9 Auxiliary Port Protocol ................................................................................................................ 3-10 Daisy Chain Autoconfigure ......................................................................................................... 3-19 Daisy Chain Scanner ID ............................................................................................................. 3-20 Auxiliary/Configuration Port System Data .................................................................................. 3-21 Preamble .................................................................................................................................... 3-22 Postamble................................................................................................................................... 3-23 LRC Status ................................................................................................................................. 3-24 Intercharacter Delay ................................................................................................................... 3-25 Response Timeout ..................................................................................................................... 3-26

With Microscan’s ESP (Easy Setup Program), configuration changes can be made in the ESP menus, then sent and saved to your scanner. The user can also send serial commands to the scanner via the ESP’s Terminal window. This section includes connecting parameters and options for communicating by the auxiliary port and various interfaces. Note: When assigning characters in user-defined fields, the characters NUL, <, >, and , can only be entered through embedded menus, not through ESP or serial commands. Note: Default settings for establishing communications are: Baud = Parity = Stop Bits = Data Bits = Flow Control =

9600 Even One Seven None

MS-890 Industrial Automation Scanner User’s Manual

3-1

Page 46

Communications by ESP

Communications by ESP

Click this button to bring up the Applications menu.

Click this button to bring up the Communication menu.

To open nested options, single-click the +.

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

Communications Serial Commands Command Title Host Port Parameters

Command Format <K100,baud,parity,stop bits,data bits> <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy Aux Port Protocol chain ID status,daisy chain ID> Host Protocol <K140,protocol,address> Preamble <K141,status,preamble character(s)> Postamble <K142,status,postamble character(s)> Response Timeout <K143,timeout setting> Intercharacter Delay <K144,time interval> LRC <K145,status> Auxiliary/Configuration Port System Data <K146,aux port status,config port status> ACK/NAK Options <K147,RES,REQ,STX,ETX,ACK,NAK> Polling Mode Options <K148,RES,REQ,STX,ETX,ACK,NAK> Daisy Chain Autoconfigure <K150DAISY> Daisy Chain Scanner ID <K151,daisy chain scanner,daisy chain scanner ID>

3-2

MS-890 Industrial Automation Scanner User’s Manual

Page 47

Communications

RS-232/422 Host Port Includes host port connections and host protocols.

Communications Options You can communicate with the scanner through the following ports: • 9-pin D-sub external connector • Wiring box • 25-pin D-sub external connector Only one port can be used at a time to receive commands.

Communications with Host through the 9-pin Host Port For the 9-pin configuration port, set the host communications settings as follows: 57.6K baud, 8 data bits, 1 stop bits, and None parity. See Chapter 1, Quick Start, for more information on using the 9-pin port. Note: The 9-pin configuration port settings are not changeable.

Communications with Host through the 25-pin Port The default 25-pin host port configuration settings are as follows: 9600, 7, 1, and Even. Making changes to these communications parameters without corresponding changes in linked device(s) can result in the loss of menu access. If this should occur, connect via the 9-pin port and reset your scanner’s host parameters to match the 25-pin defaults.

Communications with Host through the Wiring Box The settings are the same as those of the 25-pin port. See Chapter 14, Wiring Box, for details on wiring connections.

MS-890 Industrial Automation Scanner User’s Manual

3-3

Page 48

Host Port Parameters

Host Port Parameters Important: This applies only to the 25-pin port and wiring box connections (not for 9-pin port). Note: See Communications with Host through the 9-pin Host Port on page 3-3 for 9-pin host port parameters.

Baud Rate (Host Port) Usage:

Can be used to transfer data faster or to match host port settings.

Definition:

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

Serial Cmd: <K100,baud rate,parity,stop bits,data bits> Default:

9600

Options:

0 = 600

1 = 1200

2 = 2400

3 = 4800

4 = 9600

5 = 19.2K

6 = 38.4K

7 = 57.6K

8 = 115.2K

Parity (Host 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: <K100,baud rate,parity,stop bits,data bits> Default:

Even

Options:

0 = None

1 = Even

2 = Odd

Stop Bits (Host Port) Usage:

Only changed if necessary to match host setting.

Definition:

One or two bits added to the end of each character to indicate the end of the character.

Serial Cmd: <K100,baud rate,parity,stop bits,data bits> Default:

One

Options:

0 = One

1 = Two

Data Bits (Host Port) Usage:

Only changed if necessary to match host setting.

Definition:

Number of bits in each character.

Serial Cmd: <K100,baud rate,parity,stop bits,data bits> Default:

Seven

Options:

0 = Seven

3-4

1 = Eight MS-890 Industrial Automation Scanner User’s Manual

Page 49

Communications

Host Protocol Usage:

In general, point-to-point protocols 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 scanner and the host, or in the case of Polling Mode, between scanners and a concentrator. Important: When using Polling Mode, LRC must be Enabled and Preamble/ Postamble must be Disabled.

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

Point-to-Point (Standard) Usage:

Used only with RS-232 or RS-422.

Definition:

Standard Point-to-Point requires no address and sends data to the host whenever it is available, without any request or handshake from the host.

Serial Cmd: <K140,0>

Point-to-Point with RTS/CTS Usage:

A scanner 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. CTS and RTS signals are transmitted over two dedicated wires as defined in the RS-232 standard. Used only with RS-232.

Definition:

Point-to-Point with RTS/CTS (request-to-send/clear-to-send) is a simple hardware handshaking protocol that allows a scanner to initiate data transfers to the host.

Serial Cmd: <K140,1>

MS-890 Industrial Automation Scanner User’s Manual

3-5

Page 50

Host Protocol

Point-to-Point with XON/XOFF Usage:

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 tasks and accept data from other devices. Used only with RS-232.

Definition:

This option enables the host to send the XON and XOFF command as a single byte transmission command of start (^Q) or stop (^S).

Serial Cmd: <K140,2>

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

Used only with RS-232.

Definition:

This option is a combination of Point-to-Point with RTS/CTS and Point-to-Point with XON/XOFF.

Serial Cmd: <K140,3>

ACK/NAK Definition: Serial Cmd:

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

Polling Mode Definition: Serial Cmd:

3-6

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

MS-890 Industrial Automation Scanner User’s Manual