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

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide: 10 - Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging, pages 173 to 182

Pages 173 to 182 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 173

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

10–11

12. Click the Data Entry button. 13. Change Map Data From to Poll Message. 14. Change Map Data To M File. 15. Change M1:1. to 1. 16. Change No. Bits to 64. 17. Click Apply Segment.

The dialog shows the data table map of the SLC M1 file. It displays data from the AdaptaScan Reader, which is mapped to the SLC (File N23). Word 0 is reserved and 4 words (8 bytes) of the data table are mapped for the incoming string from the reader. Bit 15 is the ‘new message being sent’ bit.

Publication 2755-6.8

Page 174

10–12

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

18. Click the Output button. 19. Change Map Data From to Poll Message. 20. Change Map Data To M File. 21. Change M0:1. to 1. 22. Change No. Bits to 8. 23. Click Apply Segment button.

The dialog shows the data table map of the SLC M0 file. It displays data sent to the AdaptaScan Reader through the SDN Scanner (N22). 1 byte of data is written to the SDN Scanner. Bit 7 of Word 1 is the ‘send next message’ bit. 24. Click the Close button to return to the Scanlist Editor dialog. 25. Click the Save to SDN button to download the scanlist to the 1747-SDN Scanner. Important:

Publication 2755-6.8

Before clicking the Save to SDN button , the SDN Scanner must be in Idle Mode. Set bit O:0/1 in the SLC to 0. Another way to place the SDN Scanner in Idle Mode is to put the SLC into Program Mode.

Page 175

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

Configuring the Reader

10–13

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: • scan/decode 4 character, Interleaved 2 of 5 bar code symbols • define a DeviceNet address • configure the scanner • trigger the decoder • configure the format of messages and the message destination

Create a New Project Create a new project named SLC DeviceNet 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.

3. Choose Edit from the Project menu to rename the project SLC DeviceNet.

If you need to change the baud rate, proceed to the next section. If you do not need to change the baud rate, proceed to step 4.

Publication 2755-6.8

Page 176

10–14

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

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

Change the Baud Rate If you need to change the baud rate: 1. Click on the K Baud button and select the desired baud rate.

2. Click Save and Close to return to the Project dialog. 3. Click the Device button. 4. Click Apply if the desired baud rate is shown. 5. Click Save and Close to return to the Project dialog. 6. Click the Send Device button.

Publication 2755-6.8

Page 177

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

10–15

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. From the Symbology list, select Interleaved 2 of 5. 5. Under Lengths, select the Length 1 check box and then type 4 in the Through box. This indicates a 4 character length for Interleaved 2 of 5 labels. 6. Click OK until you return to the Bar Code Labels dialog. 7. Click Save and then Close to return to the main Project dialog.

Publication 2755-6.8

Page 178

10–16

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

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

2. Set the DeviceNet address to 3. 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.

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 179

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

10–17

Configure the Decoder Trigger To test the application, use the Timer to trigger the reader’s 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.

Create a Message Defines the content of messages sent from the reader to the 1747-SDN Scanner after bar codes have been 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].

Publication 2755-6.8

Page 180

10–18

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

5. Click the New button to create a message field.

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

10. Under Replacement Strings, type nr in the Fail: field. Bar code data is sent to the 1747-SDN Scanner on a valid read; the Fail string sends the characters “nr” to the 1747-SDN when a no read occurs. 11. Under Data Format, type 4 in the Length box. Important:

The Length must match the number of characters in the bar code symbol. This application uses 4 character, Interleaved 2 of 5 symbols.

12. Click OK to return to the Message Field dialog. 13. Click OK to return to the Message dialog.

Publication 2755-6.8

Page 181

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

10–19

Define the Message Format This section defines the format and destination of messages sent from the reader. 1. Click the Format button from the Message dialog.

2. Under Message Destination, select DeviceNet. 3. Accept the defaults for all other parameters. 4. Click OK to return to the Message dialog. 5. Click OK again to return to the Message Field dialog. 6. Click Save and then Close to return to the main Project dialog.

Publication 2755-6.8

Page 182

10–20

Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging

Configure for Match Codes 1. Click the Match Table button to open the Match Table dialog.

2. Click the New button to open the Match Function dialog and create a Match Function.

3. Under Function, select Match Entry. Match Entry specifies that a match occurs whenever decoded bar code data matches the Rule: entry. 4. Under Symbol Source, select Bar Code Reader 1. 5. Under Bar Code Labels and Symbols, select Symbol 1. 6. Click the Match Exactly box. Match Exactly specifies that ASCII characters are matched instead of a metacharacter rule.

Publication 2755-6.8