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 6 of 18

AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV): 5 - Configuring Your Reader, pages 46 to 55

Pages 46 to 55 of 141, from AtomScan+ Bar Code Readers User Manual (Cat. Nos. 2755-LS7-SA, 2755-LS7-SB, 2755-LS7-RA, 2755-LS7-RB, 2755-LS7-SBV, and 2755-LS7-RBV)

The original document is the PDF (914 KB). 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 Allen-Bradley 2755-LS7

Page 46

Chapter

5

Configuring Your Reader This chapter describes the configuration options for the readers. Items include: • menu configuration • serial configuration • decode test • adjusting reader parameters

Menu Configuration

You can change the reader’s configuration through the use of menus. Follow the steps starting below to change the reader’s configuration.

To Access the Reader Configuration Main Menu 1. Make sure you have a terminal utility software running on your configuration device. 2. Check the following communication port parameters on your configuration device. Make sure the parameters match the settings listed below. If the parameters do not match, communication between the reader and configuration device will not occur. Description

Default Setting

Baud Rate

9600

Parity

Even

Stop Bits

One

Data Bits

7

3. Read a test bar code to verify that the default settings are correct (i.e., the reader is communicating with the host device. The bar code value will appear on the screen.). If you cannot read a test bar code: • verify that you are using the correct communication cable or • default the reader directly or via the interface box. Refer to chapter 6 for information regarding defaulting the readers. Also refer to chapter 7 for information regarding troubleshooting the readers.

Publication 2755-6.9

Page 47

5–2

Configuring Your Reader

4. Press [<D>] to access the Main menu. The Main menu appears:

The bottom line on the screen is called the command line. The command line identifies your place in the menu program, shows current status, and allows you to review and change options. Use the designated keys to scroll to and select the parameter you wish to change. Press space bar key (SP) or [N] to scroll ahead, [B] to scroll back, carriage return key (CR) to select, and [M] to return to the previous higher level menu. To return to the Main menu at any time, press [ESC] and [M]. Saving Menu Changes To save menu changes: 1. Press [ESC] to see the following on the command line.

Publication 2755-6.9

Page 48

Configuring Your Reader

5–3

2. Press [M] to return to the Main menu, or press [E] to exit the Menu Configuration program. If [E] is pressed, the following screen will appear.

3. Press [N] to exit without saving changes, or press [Y] to retain the current settings for power-on. If [Y] is selected, a second beep will indicate the save has been carried out. Note: Unlike most configuration settings, Scanner Type, Scans per Second, and Gain Adjustment are not saved for power-on (but are initialized) when you press [Y]. To save new settings to NOVRAM for these parameters, press [<ZP>]. Losing Communication Making changes to communications parameters such as Baud Rate, Parity, Stop Bits, LRC, etc. without corresponding changes in linked device(s), can result in the loss of menu access. If this loss occurs, default the reader with the <Zd> Restore/Save Default Configuration for Power-on command. Note: Defaulting the reader will reset all configuration parameters to their original default values except Scanner Type, Scans per Second, and Gain Adjustment. Power must be available to the reader during the default procedure.

Publication 2755-6.9

Page 49

5–4

Configuring Your Reader

Defining Special Characters To define any control character from the ASCII table, press the space bar once. Then enter the control character by holding down the control key and simultaneously pressing the desired character. For example, to define a line feed, press the space bar and then [Control] and [J] simultaneously. The result is displayed as ^J on the command line and as <LF> in the menu when the screen is refreshed. To define CR as a character, press the space bar, then [Control]. It is displayed as ^M on the command line and as <CR> in the menu when the screen is refreshed. To define a space as a character, press the space bar twice. It is displayed as a blank space in the menu when the screen is refreshed. While it appears that nothing has been assigned, the hex value 20 will be sent during data transmission. To select NUL as a character, press the space bar, then a [0] (zero). It is displayed as <NUL> in the menu when the screen is refreshed.

Publication 2755-6.9

Page 50

Configuring Your Reader

5–5

Communications Menu The Communications menu allows you to set the communication protocols between the reader and the host device. Note: Changes in communications parameters or assigning an address to the reader can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on). The Communications menu is shown below. Default settings are in bold type face. Communications Host Protocol Protocol

Preamble

Preamble

Postamble

Postamble

– Point-to-Point

– ^M

– Disabled

– ^M ^J

– Enabled

– Point-to-Point

– User

– Enabled

– User Definable

– Disabled w/RTS/CTS Definable (ASCII char.) – Point-to-Point w/XON/XOFF – Point-to-Point w/RTS/CTS & XON/XOFF – Polling Mode D – Multidrop – Address = 1 – User Definable – User Defined

(ASCII char.)

RES Address = ^A – User Defined Multidrop

– Req – EOT

– STX – ETX

– ACK – NAK

RES Address = ^A

– Req – EOT

– STX – ETX

– ACK – NAK

– –

– –

LRC

Interchar Delay

Response Timeout

– Disabled

– 12 ms

– 0

– Enabled

– User Definable

– User Definable (0 to 255)

(0 to 65,000)

Host Port Baud Rate

Stop Bits

Data Bits

– Even

– One

– Seven

– 1200

– Odd

– Two

– Eight

– 38.4K

– 2400

– None

– 76.8K

– 4800

Parity

– 9600

– 600

– 19.2K

– 300

Aux Port➀ Mode

Baud Rate

Stop Bits

Data Bits

– Disabled

– 9600

– 600

– Even

– One

– Seven

– Transparent

– 19.2K

– 1200

– Odd

– Two

– Eight

– Half-duplex

– 38.4K

– 2400

– None

– Full-duplex

– 76.8K

– 4800

– Slave Mode

– 300

➀

Parity

The auxiliary port is available through the interface box (Catalog Nos. 2755-LS7-IB2 or -IB2).

Publication 2755-6.9

Page 51

5–6

Configuring Your Reader

Host Protocol Parameters

• Protocol. Protocols define the sequence and format in which information is transferred between devices. The protocol options are listed in the following table. Parameter

Description

Point-to-Point

Has no address and sends data to the host (RS-232) whenever it is available and without any request or handshake from the host.

Point-to-Point with RTS/CTS (Request-toSend/Clear-to-Send)

Used only with RS-232. This is a simple handshaking protocol that allows a device to initiate data transfers to the host 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 (pins 6 and 10) as defined in the RS-232 standard.

Point-to-Point with XON/XOFF (Transmitter On/Off)

Used only with RS-232. This selection enables the host to send a single byte transmission command of start (XON) or stop (XOFF). 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.

Point-to-Point with RTS/CTS & XON/XOFF

Used only with RS-232. It is a combination of Point-to-Point with RTS/CTS and Point-to-Point with XON/XOFF.

Polling Mode D

Like Point-to-Point, Polling Mode D requires a separate connection to the host; but unlike Point-to-Point, it requires an address and must wait for a poll from the host before sending data. When in Polling Mode D, an address of 1 is automatically displayed on the configuration screen. However, during transmission, a 1C hex poll address (FS) and a 1D hex select address (GS) are substituted for the 1.

Multidrop➀

Similar to Polling Mode D except that a unique poll address and select address are required for each multidrop device, and only one host port connection is needed for up to 50 devices. Requires a concentrator or controller using RS-485 communications. When Multidrop is selected, the protocol characters for RES, REQ, etc. are assigned automatically.

User Defined

Used only with RS-232. ASCII characters can be assigned as an address and as protocol commands (RES, REQ, EOT, STX, ETX, ACK, and NAK). User Defined is necessary when a new protocol must be defined to match a specific host protocol. When User Defined is selected, the displayed protocol commands match those of the previously selected protocol. User Defined is considered to be in a polled mode only if an address has been assigned. The address can be any ASCII character except NUL➁.

User Defined Multidrop

Used when connecting to a concentrator or other device that does not match standard Multidrop protocol. Any single character (01 hex to 7E hex) in the ASCII table can be assigned as the address character. The character chosen is used as the poll character and the subsequent ASCII character becomes the select character. For example, if a ^A (01 hex) is selected as the address, ^B (02 hex) becomes the select address that the host will use in sending host select commands. ➀

Once the reader is configured for Multidrop, a terminal connected to the auxiliary RS-232 pins or a default procedure must be used to access the configuration menus again (although serial commands will continue to function).

➁

For example a simple ACK/NAK protocol can be developed by first selecting Point-to-Point, then User Defined, and then assigning characters to ACK and NAK commands. First scroll to the following command: HOST PROTOCOL --> PROTOCOL --> USER DEFINED--> ACK = --> Press [^F] by holding down the Control key while pressing the F key, and then press [CR] to see the following: HOST PROTOCOL --> PROTOCOL --> USER DEFINED --> ACK = ^F

Publication 2755-6.9

Page 52

Configuring Your Reader

5–7

Note: Definitions of commands in User Defined and User

•

• • • •

• •

Defined Multidrop must be duplicated in host applications to enable poll and select sequences to execute correctly during transmission. Typically, parameters in User Defined Multidrop are defined by first enabling Multidrop, then enabling User Defined Multidrop. This pre-loads Multidrop characters into the parameters. You then change individual characters to match the host or other requirements. Preamble. Allows you to define a one or two character data string that can be added to the front of the decoded data. For example, a carriage return and line feed would display each decoded message on its own line. Preamble. Allows you to enable or disable the preamble character(s). Postamble. Allows you to define a one or two character data string that can be added after the decoded message. Postamble. Allows you to enable or disable the Postamble character(s). Longitudinal Redundancy Check (LCR). An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the SOM (start of message) up to and including the EOM (end of message). Response Timeout. Allows you to set the time the reader will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected. Intercharacter Delay. Allows you to set the time interval in milliseconds between individual characters transmitted from the reader to the host. A high setting will significantly slow down communications. For example, a 200 setting will result in a 1/5 second delay between each transmitted character.

Host Port Parameters

• Baud Rate. Allows you to set the number of bits transmitted per second. • Parity. Allows you to select 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. • Stop Bits. Allows you to select the last one or two bits in each character to indicate the end of the character. • Data Bits. Allows you to establish the total number of bits in each character.

Publication 2755-6.9

Page 53

5–8

Configuring Your Reader

Auxiliary Port Parameters Auxiliary Port Parameters allow you to set communications parameters between daisy-chained readers or between the reader and an auxiliary monitor. An auxiliary monitor can be used to configure the menus, send data to the host, and display data transmissions originating from the host or reader. The auxiliary port cannot be used in conjunction with RS-485 or RTS/CTS on the host port. Note: The Aux Port baud rate should never exceed Host Port baud rate or auxiliary port data could be lost.

• Mode. Parameter Disabled

Transparent

Description Data is not sent to the auxiliary monitor. Used to batch data from the auxiliary monitor to the host. The decoder buffers data from the auxiliary monitor and displays the keyed data on the auxiliary monitor. The decoder transmits auxiliary monitor data to the host when a label is scanned or a carriage return is entered from the auxiliary monitor. Transparent mode can work with all protocols. Operates exactly like Full-duplex except that the bar code data is displayed on the auxiliary monitor screen at the same time the data is sent to the host.

Half-duplex

Half-duplex mode can work with all protocols except polled protocols. The auxiliary characters are echoed to the host without the optional inter-character delay and without checking for the optional XON/XOFF status. All the auxiliary monitor data and bar code data is sent directly to the host. The bar code data is not displayed on the auxiliary monitor screen.

Full-duplex

Full-duplex mode can work with all protocols except polled protocols. The auxiliary characters are echoed to the host without the optional inter-character delay and without checking for the optional XON/XOFF status. Allows a reader connected to the auxiliary port to input data replacing the no read message.

Slave

In a daisy-chain setup, Slave Mode is enabled in the master reader and all slave readers except the last one in line because the last one in line does not use the auxiliary port pins.

• Baud Rate. Allows you to set the number of bits transmitted per second. • Parity. Allows you to select 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. • Stop Bits. Allows you to select the last one or two bits in each character to indicate the end of the character. • Data Bits. Allows you to establish the total number of bits in each character.

Publication 2755-6.9

Page 54

Configuring Your Reader

5–9

Operations Menu The Operations menu, shown below, allows you to set the operations parameters for the reader. Default settings are in bold type face. Operations Triggering Mode – Read – Continuous Read 1

Output – External Level – External Edge – Serial Data – Serial Data & Edge

Trigger Filter➁ – 78 – 2 to 255

End of Read Cycle

Timeout in 10 ms Serial Trigger incs➀ Character

– Timeout

– 100

– ^]

– New Trigger

– 0 to 65,535

– any ASCII

External Trigger Level – Positive character

– Timeout & New

– Negative

Trigger

Good Decode Reads

New Master Pin

Number of Labels

– 1

– Disabled

– 1

– 1 to 31

– Enabled

– 1 to 6

Match Code Type

Match Code Master

Sequential Matching

– , (comma)

– Disabled

– (blank)

– Increment

– any ASCII

– Enabled

– User entry (up

– Decrement character

– Sequential to 64 characters)

Multilabel Separator

– Wild Card

Match Start Position – 0

Match Length

Wild Card Character

– 1

– * (asterisk)

– 1 to 64

– any ASCII character

– 0 to 64

➀

Divide the number entered on the command line by 100 for time in seconds.

➁

Multiply the number entered on the command line by 128 for time in microseconds, then divide by 1000 for time in milliseconds.

Publication 2755-6.9

Page 55

5–10

Configuring Your Reader

• Triggering Mode. Allows you to establish the type of trigger event that will initiate or end the read cycle. The trigger event options are listed in the following table. Parameter

Description Trigger input options are disabled and the reader is always in the read cycle. Bar code data is decoded, and label information is transmitted repeatedly, as long as the label is in the read range of the reader. When To Output options have no affect on Continuous Read. Continuous Read is useful in testing label or reader functions.

Continuous Read

If both Continuous Read and Match Code are enabled the reader defaults to Continuous Read, 1 Output mode. Label data is immediately transmitted once every time new label data is placed in front of the reader. With Timeout enabled for End Of Read Cycle, if the label doesn’t change, the reader will repeat the output at the end of each subsequent timeout period. For example, if Timeout were set to one second, the reader would output the label data immediately, and then repeat the output at intervals of one second, for as long as the label continued to be scanned. Continuous Read, 1 Output

With Timeout disabled (that is, End Of Read Cycle set to New Trigger), the reader will output the current label data immediately, but output it only once. A new label appearing at any time in the scan range will produce a new read output as long as the new label is not identical to the previous label. Enabling Continuous Read, 1 Output when Number of Labels is set to any number greater than one will cause Number of Labels to default back to one.

External Level

Allows a read cycle to be initiated by a trigger signal from a package detector when a package appears within the detector’s range. The read cycle exists as long as the detector “sees” the package and ends when the package moves out of the detector’s range➀.

External Edge

As with Level, Edge allows a read cycle to be initiated by a trigger signal from a package detector when it detects the appearance of a package (rising edge). But unlike Level mode, the removal of a package (falling edge) does not end the read cycle. With Edge enabled, the read cycle ends with a good read output, a timeout, or a new trigger.

Serial Data

The reader accepts an ASCII character from the host or controlling device as a trigger to start a read cycle. Serial data trigger behaves the same as External Edge.

Serial Data and External Edge

The reader accepts either an external trigger or a serial ASCII command to start a read cycle. ➀

Publication 2755-6.9

Level and Edge apply to the active logic state (positive or negative) that exists while the package is in a read cycle, between the rising edge and falling edge. Rising edge is the trigger signal associated with the appearance of a package. Falling edge is the trigger signal associated with the subsequent disappearance of the package.