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 32 of 41

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 13 - Communicating with a 2760-RB Module over an RS-232 Link, pages 263 to 270

Pages 263 to 270 of 354, from AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide

The original document is the PDF (3.2 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 Accu-Sort 2755-SN3, Accu-Sort 2755-SN5, Allen-Bradley 2755-SN5, Accu-Sort 2755-SN8 and Allen-Bradley 2755-SN8

Page 263

Communicating with a 2760-RB Module over an RS-232 Link

13–9

6. Select option 11: Configuration parameters. Set to: MODEM CONTROL (ENABLE/DISABLE)=DISABLE 9600 BITS PER SECOND (YES/NO)=YES 8 BITS NO PARITY (YES/NO)=YES XON/XOFF (ENABLE/DISABLE)=DISABLE RS232 (YES/NO)=YES RECEIVE MATRIXING (ENABLE/DISABLE)=ENABLE BYTE SWAPPING (ENABLE/DISABLE)=DISABLE BINARY DATA NO CONVERSIONS (YES/NO)=YES HDR/TLR ON OUTPUT (ENABLE/DISABLE)=ENABLE HEADER BYTE LENGTH (DEC 0...4)= 0 HEADER DATA[0](HEX 0...FF)=0 HEADER DATA[1](HEX 0...FF)=0 HEADER DATA[2](HEX 0...FF)=0 HEADER DATA[3](HEX 0...FF)=0 TRAILER BYTE LENGTH (DEC 0...4)=2 TRAILER DATA[0](HEX 0...FF)=0d TRAILER DATA[1](HEX 0...FF)=0a TRAILER DATA[2](HEX 0...FF)=0 TRAILER DATA[3](HEX 0...FF)=0

Type save or quit to exit out of the editor. 7. Verify that the 2760-RB is in chassis 0, group 0 module 0. 8. Save the above configuration.

Publication 2755-6.8

Page 264

13–10

Communicating with a 2760-RB Module over an RS-232 Link

Configuring the Reader

This section shows how to configure the AdaptaScan Bar Code Reader using the AdaptaScan Software (Catalog No. 2755-ASN). The procedures in this section show how to: • configure a DeviceNet address • configure a bar code label and symbol • configure the scanner • configure the decoder trigger • configure the serial port • configure the content and format of messages These procedures provide general guidelines for setting up an application. You may need to modify the configuration for your application needs.

Create a New Project Create a new project named RB_RS232 for one AdaptaScan Bar Code Reader (Bar Code Reader 1). 1. Choose New from the Project menu to create a new project. 2. Click the New button to add a bar code reader (Bar Code Reader 1) to the project.

Publication 2755-6.8

Page 265

Communicating with a 2760-RB Module over an RS-232 Link

13–11

3. Choose Edit from the Project menu to rename the project RB_RS232.

4. Click Save to save the project under the new name and then Close to return to the Project dialog.

Define the Bar Code Label 1. Click the Labels button to open the Bar Code Labels dialog. 2. Click the New button to define a label.

3. Click the New button to define a symbol for the label.

4. Select a symbology and any other parameters (Identifier, Lengths) required by your application. 5. Click OK until you return to the Bar Code Labels dialog. 6. Click Save and then Close to return to the main Project dialog.

Publication 2755-6.8

Page 266

13–12

Communicating with a 2760-RB Module over an RS-232 Link

Define the DeviceNet Address 1. Click the Device button on the Project dialog.

2. Set the DeviceNet address. 3. Connect the 2755-NC43 or -NC48 Configuration Cable to the reader. 4. Click the Apply button. 5. Click Save and Close to return to the Project dialog.

Publication 2755-6.8

Page 267

Communicating with a 2760-RB Module over an RS-232 Link

13–13

Configure the Scanner 1. Click the Scanner button on the Project dialog to open the Scanner dialog.

2. Configure the scan pattern and use the Focus procedure for optimum scanner focus. 3. Click the Close button and return to the Project dialog.

Configure the Decoder Trigger This application uses a Timer to trigger the reader’s decoder. The Timer is typically used during application setup. Refer to Publication No. 2755-837 for other input sources that trigger the decoder. 1. Click the Decoder button from the main Project dialog. 2. Under Triggered By, select Timer from the Input list.

3. Click the Save button.

Publication 2755-6.8

Page 268

13–14

Communicating with a 2760-RB Module over an RS-232 Link

Configure the Serial Port 1. Click the Serial Port button on the main Project dialog.

2. Verify that Terminal is selected in the Protocol list box. Also verify that the settings match the Channel 0 User settings. 3. Click the Edit button to open Terminal dialog. 4. Type \r\n in the trailer field.

5. Click OK to exit the dialog. 6. Click the Save and then the Close button on the Serial Port dialog to return to the main Project dialog.

Publication 2755-6.8

Page 269

Communicating with a 2760-RB Module over an RS-232 Link

13–15

Create a Message The Message dialogs define the format and content of message data sent to the RB module by the reader when bar codes are decoded. 1. Click the Message button from the main Project dialog. 2. Under Triggered By, check the Enable check box.

3. Under Device, select Bar Code Reader 1. 4. Under Input, select [Decoder]. 5. Click the New button to define a message field.

6. Under Symbol Source, select Bar Code Reader 1. 7. Under Bar Code Labels & Symbols, select Symbol 1. 8. Check (enable) the Match Exactly check box. 9. Click the Edit button to open the Message Field Edit dialog.

Publication 2755-6.8

Page 270

13–16

Communicating with a 2760-RB Module over an RS-232 Link

10. Under Replacement Strings, type no read in the Fail: field. Bar code data is sent to the controller on a valid read. The Fail string sends the characters “no read” when a no read occurs.

11. Click OK to return to the Message Field dialog. 12. Click OK to return to the Message dialog. 13. Click Save and then Close to return to the main Project dialog.

Sending the Configuration to the Reader

From the main Project dialog, click the Send Device button to download the configuration to the bar code reader. Use the Monitor dialog to verify the decoding of bar code labels.

Publication 2755-6.8