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

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 7 - Communicating with an SLC on a DH-485 Network, pages 115 to 122

Pages 115 to 122 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 115

Communicating with an SLC on a DH-485 Network

7–9

3. Choose Edit from the Project menu to rename the project DH–485 Master Mode.

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 116

7–10

Communicating with an SLC on a DH-485 Network

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

2. Set the DeviceNet address to 1. Note: The DeviceNet address is not always the same as the DH-485 node address. A DH-485 node address is assigned later. 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 117

Communicating with an SLC on a DH-485 Network

7–11

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.

Publication 2755-6.8

Page 118

7–12

Communicating with an SLC on a DH-485 Network

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. 4. Click the Close button and return to the main Project dialog.

Configure the Serial Port 1. Click the Serial Port button from the Project dialog.

2. Configure the serial port as follows:

• From the Protocol list box, select DH-485 • From the Baud Rate list box, select 19,200 • From the Connection list box, select RS485 The configuration must match the host configuration.

Publication 2755-6.8

Page 119

Communicating with an SLC on a DH-485 Network

7–13

3. Click the Edit button under Protocol to edit the DH-485 parameters.

Edit the parameters as follows:

• From the Node list box, select 2 This is the node address of the reader on the network.

• From the Maximum Node list box, select 3 This is the number of nodes on the network.

• Under Destination, select 1 from the Node list box This is the SLC node where the decoded bar codes are sent.

• In the N9:Offset box, type 100 which is the default. This is the SLC destination address where the decoded bar codes are sent. N9: is reserved for communications. Bar code data is sent as an ASCII string to the SLC file. 4. Click OK to return to the Serial Port dialog. 5. Click Save and then Close to return to the Project dialog.

Publication 2755-6.8

Page 120

7–14

Communicating with an SLC on a DH-485 Network

Create a Message Data sent from the AdaptaScan Reader to the SLC processor uses messages. 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 1. 7. Under Bar Code Labels & Symbols, select Symbol 1. 8. Check (enable) the Match Exactly check box.

Publication 2755-6.8

Page 121

Communicating with an SLC on a DH-485 Network

7–15

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

10. Under Replacement Strings, type NO READ 1 in the Fail: box. Bar code data is sent to the SLC controller on a valid read. The Fail string sends “NO READ 1” to the controller when a no read occurs on Bar Code Reader 1. 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 CR, LF). 3. Under Message Destination, select Serial Port (This is the serial port of Bar Code Reader 1). 4. Click OK to return to the Message dialog. 5. Click Save and then Close to return to the Project dialog.

Publication 2755-6.8

Page 122

7–16

Communicating with an SLC on a DH-485 Network

Sending the Configuration to Reader 1

From the main Project dialog, click the Send Device button to send the configuration to Bar Code Reader 1. Use the Monitor dialog to verify the decoding of bar code labels.

Configuring Bar Code Reader 2

This section shows how to configure Bar Code Reader 2 which is node 3 on the DH-485 network.

Add a Second Bar Code Reader to the Project From the Project dialog, click the New button to add Bar Code Reader 2 to the project.

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

2. Set the DeviceNet address to 2 for the configuration download. Note: The DeviceNet address is not always the same as the DH-485 node address. A DH-485 node address is assigned later. 3. Connect the 2755-NC43 or -NC48 Configuration Cable. 4. Click the Apply button. 5. Click the Close button and return to the Project dialog.

Publication 2755-6.8