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

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 16 - Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol, pages 314 to 322

Pages 314 to 322 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 314

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

Configuring Bar Code Reader 2

16–11

This section shows how to configure Bar Code Reader 2 on the DeviceNet network.

Select Bar Code Reader 2 in the Project From the Project dialog, select Bar Code Reader 2.

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

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

Publication 2755-6.8

Page 315

16–12

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

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 Bar Code Reader 2 is triggered by its own package detect device. 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 Bar Code Label, select Label 2. 3. Under Triggered By, select Package Detect from the Input list. 4. Click the Save button. 5. Click the Close button and return to the main Project dialog.

Publication 2755-6.8

Page 316

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

16–13

Create a Message This section defines the content of messages sent by Bar Code Reader 2 to the host device. 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 create a message field.

6. Under Symbol Source, select Bar Code Reader 2. 7. Under Bar Code Label & Symbols, select Symbol 1. Bar Code Reader 2 reads Interleaved 2 of 5 labels (per the Label 2 definition). 8. Check (enable) the Match Exactly check box.

Publication 2755-6.8

Page 317

16–14

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

9. Click the Edit button to open the Message Field Edit dialog.

10. Under Replacement Strings, type no read in the Fail: box. Bar code data is sent to the host on a valid read. The Fail string sends “no read” to the host when a no read occurs on Bar Code Reader 2. 11. Click OK to return to the Message Field dialog. 12. Click OK again to return to the Message dialog.

Define the Message Format 1. Click the Format button from the Message dialog.

2. In the Trailer text box, type \r\n (for CRLF). 3. Verify that the Field Data check box (under Include) is checked. 4. Under Message Destination, select Serial Port and Bar Code Reader 1 from the list box. Data is sent to the host device through the serial port of Bar Code Reader 1. 5. Click OK to return to the Message dialog. 6. Click Save and then Close to return to the Project dialog.

Publication 2755-6.8

Page 318

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

Configuring Bar Code Reader 3

16–15

This section shows how to configure Bar Code Reader 3 on the DeviceNet network.

Selecting Bar Code Reader 3 in the Project From the Project dialog, select Bar Code Reader 3.

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

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

Publication 2755-6.8

Page 319

16–16

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

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 Bar Code Reader 3 is triggered by its own package detect device. 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 Bar Code Label, select Label 3. 3. Under Triggered By, select Package Detect from the Input list. 4. Click the Save button. 5. Click the Close button and return to the main Project dialog.

Publication 2755-6.8

Page 320

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

16–17

Create a Message This section defines the content of messages sent by Bar Code Reader 3 to the host device. 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 create a message field.

6. Under Symbol Source, select Bar Code Reader 3. 7. Under Bar Code Label & Symbols, select Symbol 1. Bar Code Reader 3 reads Code 39 labels (per the Label 3 definition). 8. Check (enable) the Match Exactly check box.

Publication 2755-6.8

Page 321

16–18

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

9. Click the Edit button to open the Message Field Edit dialog.

10. Under Replacement Strings, type no read in the Fail: text box. Bar code data is sent to the host on a valid read. The Fail string sends “no read” to the host when a no read occurs on Bar Code Reader 3. 11. Click OK to return to the Message Field dialog. 12. Click OK again to return to the Message dialog.

Define the Message Format 1. Click the Format button from the Message dialog.

2. In the Trailer text box, type \r\n (for CRLF). 3. Verify that the Field Data check box (under Include) is checked. 4. Under Message Destination, select Serial Port and Bar Code Reader 1 from the list box. Data is sent to the host device through the serial port of Bar Code Reader 1. 5. Click OK to return to the Message dialog. 6. Click Save and then Close to return to the Project dialog.

Publication 2755-6.8

Page 322

Communicating with AdaptaScan Bar Code Readers via DeviceNet Peer-to-Peer Protocol

16–19

Sending the Configurations to the Readers

From the main Project dialog, click the Send All button to download the configurations to Bar Code Reader 1, Bar Code Reader 2, and Bar Code Reader 3.

Running the Application

When the application is running, bar code data is sent from the three bar code readers and to the host device. When selected from the Message dialog, the AdaptaScan Bar Code Reader routes messages from each reader over DeviceNet to the serial port of Reader 1.

Publication 2755-6.8