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 15 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 123 to 128

Pages 123 to 128 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 123

Communicating with an SLC on a DH-485 Network

7–17

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 124

7–18

Communicating with an SLC on a DH-485 Network

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

Publication 2755-6.8

Page 125

Communicating with an SLC on a DH-485 Network

7–19

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 3. Click the Edit button under Protocol to edit the DH-485 parameters.

Edit the parameters as follows:

• From the Node list box, select 3. 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 110. This is the SLC destination address where the decoded bar codes (ASCII string) are sent. N9: is reserved for communications. 4. Click OK to return to the Serial Port dialog. 5. Click Save and then Close to return to the main Project dialog.

Publication 2755-6.8

Page 126

7–20

Communicating with an SLC on a DH-485 Network

Create a Message 1. Click the Message button from the Project dialog.

2. Under Triggered By, check the Enable 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 Labels & Symbols, select Symbol 1. 8. Check (enable) the Match Exactly check box. Match exactly specifies that ASCII characters are matched instead of a metacharacter rule.

Publication 2755-6.8

Page 127

Communicating with an SLC on a DH-485 Network

7–21

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

10. Under Replacement Strings, type NO READ 2 in the Fail: box. Bar code data is sent to controller on a valid read; the Fail string sends the message NO READ 2 when a no read occurs from 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. Under Message Destination, select Serial Port (This is the serial port of Bar Code Reader 2). 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 128

7–22

Communicating with an SLC on a DH-485 Network

Sending the Configuration to Reader 2

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

Running the Application

Publication 2755-6.8

After downloading the configurations to both AdaptaScan Readers, establish an online connection with the SLC processor. Use the SLC data monitor screen to view the bar code data (in ASCII format) in the N9 file. Note: Data is not sent to the ASCII (ST) file.