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

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

Pages 331 to 338 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 331

Communicating with PanelView Terminals on a DeviceNet Network

17–9

Configuring DeviceNet Communications DeviceNet communication parameters are accessed from the Terminal Setup dialog. To open the Terminal Setup dialog, choose Terminal Setup from the PanelBuilder Application menu.

7. Click the Comms. Setup button from the Terminal Setup dialog. 8. Under Terminal, edit the following parameters: Specify

To

Node Address

Select the address (0 to 63) of the PanelView terminal on the DeviceNet link.

Baud Rate

Select the baud rate of the DeviceNet link. The available baud rates are: 125 kbps 250 kbps 500 kbps

9. Under I/O Scanner, edit the following parameters: Specify

To

Input Size

Specify the number of words (from 0 to 64) that are sent to the scanner from the PanelView with each I/O message. 0 is the default value which indicates that no input I/O data exists in the application.

Output Size

Specify the number of words (from 0 to 64) that are received by the PanelView from the scanner with each I/O message. 0 is the default value which indicates that no output I/O data exists in the application.

Publication 2755-6.8

Page 332

17–10

Communicating with PanelView Terminals on a DeviceNet Network

10. Edit the following parameters. Specify

To

Interscan Delay

Provide a delay between scans of the Explicit-Client tags. Enter a value of 0 to 65535 milliseconds. The default is 500 msec. This time delay is inserted between each full scan of the Explicit-Client tags in the current screen context. Note: Time delays of less than 500 msec should be carefully considered since the Explicit-Client mode will generate low priority network messaging at this interval. Specify what occurs when a Bus-off interrupt occurs on the network:

Bus-off Interrupt

Hold in Reset holds the PanelView and waits for communications to be reset. Reset and Continue Communications resets DeviceNet communications and attempts to re-establish the communications link (if possible).

11. Click Apply to save the settings. 12. Click OK to exit and return to the Terminal Setup dialog.

Publication 2755-6.8

Page 333

Communicating with PanelView Terminals on a DeviceNet Network

PanelView Message Types

17–11

All PanelBuilder screen control or display objects are assigned a tag when an application is developed. The tag specifies an address, data type, initial value, etc. for the data assigned to the control or display object. The Tag Editor for DeviceNet objects consist of three dialogs depending upon the message type selected.

Server Explicit and I/O Slave Messaging The PanelView can exchange data with logic controllers, motor drives, bar code readers, etc. over a DeviceNet network. The PanelView acts as a DeviceNet compliant UCMM-capable slave supporting Explicit and I/O Slave messaging. Change-of-State / Cyclic and Polled I/O modes are supported. Strobed I/O messaging is not supported by the PanelView. The I/O slave message connections uses the pre-defined Master/Slave connection set. Exchanged data is grouped in Assembly Object instances created using the PanelBuilder tag editor. The first input instance and the first output instance are exchanged using DeviceNet’s I/O slave messages with a maximum of 64 input and 64 output words exchanged. If additional instances are configured, they can only be accessed by an Explicit Messaging Client device using messages directed to the corresponding Assembly Object Instance (Class 4, Attribute 3). Notes on Using Server Explicit and I/O Slave Messaging:

• The I/O size specified in the PanelView terminal must match the •

•

• •

I/O size expected by the DeviceNet scanner. Both acknowledged and unacknowledged Change-of-State / Cyclic modes are allowed. If acknowledgement is used, no data is returned. The Polled + COS option is allowed but the polled response data and the COS data are from the same assembly. The PanelView has only one general purpose Explicit message connection available at a time to an external client device. Be aware of this limitation when creating applications requiring multiple Explicit message server connections to a PanelView. Use of COS or Cyclic I/O connections is highly recommended over Polled I/O for I/O sizes in excess of 32 words. Whenever possible, use COS or Cyclic I/O connections to minimize network I/O traffic.

Publication 2755-6.8

Page 334

17–12

Communicating with PanelView Terminals on a DeviceNet Network

Client Explicit Messaging The PanelView can also communicate using explicit messaging, where the PanelView initiates the connections (Client). Connections to other devices are created (using tag editor addressing) and use explicit messages to read and write values to other DeviceNet nodes. Only Get_Attribute_Single and Set_Attribute_Single commands are supported. Output values assigned (addressed) to client objects in the current screen context (global or current screen) are scanned sequentially and data is read from the external device using Get_Attribute_Single requests. Input values are sent to the external device (using a Set_Attribute_Single request) when a change of state is detected on that input. Notes on Using Client Explicit Messaging:

• The devices communicating with the PanelView must have a sufficient number of available connections to support an Explicit message connection by the PanelView and any other connections required by the application. This includes a Group 2 Only Slave owned by a Group 2 Only Client such as a scanner capable of providing the UCMM service for the slave. • Data read/written must be accessible as an externally addressable DeviceNet attribute with the Get_Attribute_Single / Set_Attribute_Single commands. • Explicit-Client messaging is not designed for high speed communications and uses lower priority messaging on DeviceNet. I/O messaging should be used for time critical applications.

!

ATTENTION: Do not use Client Explicit messaging with critical control parameters or as an alternative to a hard wired emergency stop button.

• The PanelView has only one general purpose explicit message connection available at a time to an external client device. Be aware of this limitation when creating applications requiring multiple explicit message server connections to a PanelView.

Publication 2755-6.8

Page 335

Communicating with PanelView Terminals on a DeviceNet Network

17–13

The following diagram illustrates differences between message types: I/O Slave Tags Input Tag

Assembly Instance 1

Input Tag

Master Device (Scanner)

Output Tag Assembly Instance 2

Output Tag Output Tag PanelView

Explicit-Server Message Tags Input Tag

Assembly Instance >2

Input Tag Input Tag

Server Device (Scanner. PC, etc)

Output Tag

Assembly Instance >2

Output Tag PanelView

Explicit-Client Message Tags Input Tag

Client Device 1 (Sensor, Drive, etc)

Input Tag Input Tag Output Tag

Client Device 2 (Sensor, Drive, etc)

Output Tag Output Tag Output Tag

Client Device 3 (Sensor, Drive, etc)

PanelView

Publication 2755-6.8

Page 336

17–14

Communicating with PanelView Terminals on a DeviceNet Network

PanelView Tag Editor

Use the form view of the tag editor toEF enter DeviceNet tags. Do not use the table view since it does not show all of the DeviceNet fields.

I/O Slave Tag Form View

Explicit-Client Tag Form View

Explicit-Server Tag Form View

Field

Description

Valid Characters

Notes

Tag Name ➀➁

The name of the tag

Maximum characters = 32 •A - Z, a - z, 0 - 9 •hyphen (-), underscore(_), percent (%)

•if you type an invalid character, the Tag Editor beeps and does not display it •the tag name must be unique within a project •cannot begin with 0 - 9, hyphen (-), or percent (%) •tag names are not case-sensitive •do not use blanks, tabs, carriage returns, non-printable characters

Data Type

The data format for the tag

Select one of the following: •bit •4BCD •unsigned integer •signed integer •IEEE Float •bit array •character array

•the data type must be compatible with the data format selected in the object’s dialog. Object Dialog

Tag Editor

Alternate Methods: Type the first letter of the data type. For example, type b for the bit data type. Use the TAB key to move to the Data Type field and press ALT+↓ to display the list of available formats. Table continued on the next page.

Publication 2755-6.8

Page 337

Communicating with PanelView Terminals on a DeviceNet Network

Valid Characters

17–15

Field

Description

Swap Bytes

Only displayed when Character Array data type is selected.

Check Box

Swap Words

Only displayed when Float data type is selected.

Check Box

Message Type

Selects the message type.

Instance Number (Explicit-Server Message Only)

Select an Instance from 3 to 16.

3 to 16 instances 1 and 2 are assigned to I/O message type.

Node Address (Explicit-Client Message Only)

Specifies the node address of the peer device.

0 to 63 node address range from 0 to 63.

Load from EDS (Explicit-Client Message Only)

Loads information using the Electronic Data Sheet. Refer to page 17–17.

we recommend that you load parameter data from the data sheet for the peer device. Otherwise, enter the tag information (class, instance, attribute, etc) from the sheet manually.

Write Tag (Explicit-Client Message Only)

When selected, tag is specified as a write tag (data sent to peer device).

If Write Tag is not selected, tag is specified as a read tag (data is read from peer device).

Packet Bytes (Explicit-Client Message Only)

Specifies the number of bytes in each message packet.

Bit Offset (Explicit-Client Message Only)

Specifies the offset that indexes into the returned data. Typically this value is 0.

bit offset is limited to the number of bytes specified for the Packet Bytes (i.e. if packet bytes is 2, Bit offset must be 0-15).

Class (Explicit-Client Message Only)

Enter from device data sheet specifying the Class of the object being addressed.

recommend that you load information from electronic data sheet (EDS) automatically if possible.

Instance (Explicit-Client Message Only)

Enter from device data sheet specifying the Instance of the object being addressed.

recommend that you load information from electronic data sheet (EDS) automatically if possible.

Attribute (Explicit-Client Message Only)

Enter from device data sheet specifying the Attribute of the object being addressed.

recommend that you load information from electronic data sheet (EDS) automatically if possible.

1 to 128

Notes •when selected high and low data bytes swap positions. Select swap bytes when data is sent in the wrong order (high byte first). For example, data from a PLC is sent with the first character of a string in the second byte. By swapping the bytes, the first character corresponds to the first byte. •byte swapping is not generally used with Explicit-Client message types. These addressed devices will usually conform to DeviceNet specifications and send data in the correct sequence. •when selected the high and low words of a floating point value are swapped. This allows floating point values generated by a PLC to be properly displayed. •word swapping is not generally required for DeviceNet devices that generate floating point values. additional fields are required for Explicit message types.

This value should match the amount of data in the attribute addressed in the external device.

Table continued on the next page.

Publication 2755-6.8

Page 338

17–16

Communicating with PanelView Terminals on a DeviceNet Network

Field

Description

Valid Characters

Notes

Array Size

The size of the array

•character arrays are 1-128 characters •bit arrays are 1-16 bits

•the array size must be an integer. •do not use blanks, tabs, carriage returns, non-printable characters

Description

The description of the tag

Maximum characters = 255 •any printable

Address (I/O Slave and Explicit-Server Messages Only)

Specifies the data sent to and from a remote device. A remote address has the following format: I: <word> / <bit> O: <word> / <bit> Note: /<bit> is required for Bit and Bit Array.

Maximum characters = 32 For more information on valid addresses, refer to your processor’s user manual. •I specifies input data generated by the PanelView and sent to a remote device. •O specifies output data received by the PanelView from a remote device.

•do not use tabs, carriage returns, non-printable characters •you can type the information in this field, or use the description editor. do not use blanks, tabs, carriage returns, non-printable characters

Initial Value

The starting value for the current tag in engineering units (used only for write tags).

Maximum characters = 24 •0 - 9 •e, E, +, - and period •if the Data Type is bit, enter either 0 or 1

The values you want to use to convert the current tag’s processor integer value (‘x’) to engineering units (‘y’)

Maximum characters = 12 •0 - 9 •e, E, +, - and period

The minimum and maximum values that can be assigned to the tag

Maximum characters = 12 •0 - 9 •e, E, +, - and period

➀➁

➂

Scaling Scale: ‘m’ in y = mx + b Offset: ‘b’ in y = mx + b

Data Entry Limits Minimum Maximum

➂

•do not use blanks, tabs, carriage returns, non-printable characters •maximum precision is 6 places to the right of the decimal point for non-floating point values •if present, a sign (+ or -) for the number must be first (+ is the default) •if present, a sign for the exponent must immediately follow the e or E •provides a preset value for numeric entry objects only •no entry = default of 0 •do not use blanks, tabs, carriage returns, non-printable characters •maximum precision for scale is 6 places to right of decimal point •maximum precision for offset is 6 places to right of decimal point •if present, a sign (+ or -) for the number must be first (+ is default) •if present, a sign for the exponent must immediately follow the e or E •do not use blanks, tabs, carriage returns, non-printable characters •maximum precision is 6 places to the right of the decimal point •if present, a sign (+ or -) for the number must be first (+ is the default) •if present, a sign for the exponent must immediately follow the e or E

➀ Required fields for the Table View ➁ Required fields for the Form View ➁ These fields appear only when the data type is 4BCD, signed integer, unsigned integer, IEEE Float.

Publication 2755-6.8