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

AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide, pages 347 to 354

Pages 347 to 354 of 354

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 347

Communicating with PanelView Terminals on a DeviceNet Network

AdaptaScan Application

17–25

This application provides an example of using explicit-client messages to monitor decoded bar code data and change attributes of an AdaptaScan Bar Code Reader. The AdaptaScan is connected directly to the PanelView. Power Supply (Catalog No. 2755-PW46)

AdaptaScan Reader

PanelView 900

The DeviceNet network must be supplied with power. In this application, you can use the AdaptaScan power supply (Catalog No. 2755–PW46). The power supplies used with DeviceNet are sized to the number of devices and DeviceNet cable lengths. Review your DeviceNet literature for DeviceNet network configuration data. Note: AdaptaScan software version 7.0 or later with reader firmware 7.0 or later is required to run this application.

Connections The PanelView connects directly to the DeviceNet terminal block in the AdaptaScan wiring base. Refer to Publication No. 2755-837 for DeviceNet and power supply connections.

Publication 2755-6.8

Page 348

17–26

Communicating with PanelView Terminals on a DeviceNet Network

PanelView Screen The following shows how the PanelView screen appears in PanelBuilder (Catalog No. 2711-ND3). You will need to create this screen for your application.

In this application, the PanelView terminal: • displays decoded bar code data from the AdaptaScan Reader • displays the package count of the AdaptaScan Reader • resets the package count

Publication 2755-6.8

Page 349

Communicating with PanelView Terminals on a DeviceNet Network

17–27

Read Bar Code Data Tag Configuration The dialog box for the bar code display object is shown below. The display is configured as an ASCII string with an embedded variable (bar code data). The Field Width is set to 24 characters and is based on the expected maximum bar code data length in characters. The tag name is Bar_Code_Data.

By selecting the Edit Tag option, you can edit the tag data as shown below.

The tag data type is “Character Array”. It is an explicit-client read message with the Class, Instance and Attribute values as shown. To read bar code data, the bit offset must be set to 16. The offset is necessary since the first two bytes represent the length of the requested data.

Publication 2755-6.8

Page 350

17–28

Communicating with PanelView Terminals on a DeviceNet Network

Read Package Counter Tag Configuration AdaptaScan can keep a count of how many times it was triggered or asked to read a bar code. The dialog box for the package count numeric display object is shown below.

The PanelView will display six digits of the Package count value, the package count from the AdaptaScan can be up to ten digits. By selecting the Edit Tag option, you can edit the tag data as shown below.

The data type is Unsigned Integer. The data type should be changed to Signed Integer. The Class, Instance and Attribute are set to read the AdaptaScan package count. Note: Use the Print function of the AdaptaScan software to print application data. The report will provide you with the DeviceNet Class and Instance values for the configuration data.

Publication 2755-6.8

Page 351

Communicating with PanelView Terminals on a DeviceNet Network

17–29

Write Package Count Reset The PanelView uses an explicit-client message to reset the AdaptaScan package count. The reset message is sent by a push button object in PanelView. The dialog box for the package count reset push button is shown below.

By selecting the Edit Tag option, you can edit the tag data as shown below.

Note: The Write Tag box is checked indicating a write tag. Note: Use the Print function of the AdaptaScan software to print application data. The report will provide you with the DeviceNet Class and Instance values for the configuration data.

Publication 2755-6.8

Page 352

17–30

Communicating with PanelView Terminals on a DeviceNet Network

AdaptaScan Configuration The AdaptaScan Reader must be configured to make data available for the PanelView terminal. You must configure the AdaptaScan Reader for the bar code symbology being read, the number of bar codes, scan pattern and triggering as you would for any other application. Refer to Publication No. 2755-838 for information regarding the basic set up of the AdaptaScan Bar Code Reader. The following sections only provide the information necessary to make the data available for the PanelView terminal.

Making Bar Code Data Available To make the bar code data available on DeviceNet, the AdaptaScan Bar Code Reader must be configured to make the data available. The two dialog screens shown below set up a message field that contains the bar code data. See Publication No. 2755-838. The fields containing Symbol 1, Symbol 2, Symbol 3, define three bar code types configured for the AdaptaScan Reader.

Publication 2755-6.8

Page 353

Communicating with PanelView Terminals on a DeviceNet Network

17–31

Making Package Counter Data Available Package counter data must be made available to the PanelView terminal by setting up an unconditional match in the AdaptaScan Bar Code Reader. The figure below shows the two dialog boxes that need to be modified.

Publication 2755-6.8

Page 354

Rockwell Automation helps its customers receive a superior return on their investment by bringing together leading brands in industrial automation, creating a broad spectrum of easy-to-integrate products. These are supported by local technical resources available worldwide, a global network of system solutions providers, and the advanced technology resources of Rockwell.

Worldwide representation. Argentina • Australia • Austria • Bahrain • Belgium • Bolivia • Brazil • Bulgaria • Canada • Chile • China, People’s Republic of • Colombia • Costa Rica • Croatia • Cyprus Czech Republic • Denmark • Dominican Republic • Ecuador • Egypt • El Salvador • Finland • France • Germany • Ghana • Greece • Guatemala • Honduras • Hong Kong Hungary • Iceland • India • Indonesia • Iran • Ireland • Israel • Italy • Jamaica • Japan • Jordan • Korea • Kuwait • Lebanon • Macau • Malaysia • Malta • Mexico • Morocco The Netherlands • New Zealand • Nigeria • Norway • Oman • Pakistan • Panama • Peru • Philippines • Poland • Portugal • Puerto Rico • Qatar • Romania • Russia • Saudi Arabia • Singapore • Slovakia • Slovenia • South Africa, Republic of • Spain • Sweden • Switzerland • Taiwan • Thailand • Trinidad • Tunisia • Turkey • United Arab Emirates United Kingdom • United States • Uruguay • Venezuela Rockwell Automation Headquarters, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444 Rockwell Automation European Headquarters, Avenue Hermann Debroux, 46, 1160 Brussels, Belgium, Tel: (32) 2 663 06 00, Fax: (32) 2 663 06 40 Rockwell Automation Asia Pacific Headquarters, 27/F Citicorp Centre, 18 Whitfield Road, Causeway Bay, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846 World Wide Web: http://www.ab.com

Publication 2755-6.8 Supersedes Publication 2755-6.8 – September 1996 Supersedes Publication 2755-2.58 – January 1996

40062-359-01 (B) Copyright 1997 Allen-Bradley Company, Inc. Printed in USA

Publication 2755-6.8