Rockwell Automation 2711-K9A10, 2711-K9C10, 2711-T9A10, 2711-T9C10 User Manual

User Guide
DeviceNet Communications for PanelView Terminals

Introduction This document describes how to connect and configure communications for the

DeviceNet versions of the PanelView terminals. This information is a supplement to the PanelView Terminal user manu al and the Pan elBuilder software documentation.
For information about: See page:
DeviceNet Error Messages and Codes‘ 22 Electronic Data Sheet (EDS) File Error Messages 24 PanelBuilder Device Error Messages 24 PanelBuilder Translation Error Messages 25 Communication Status/Error Messages 25 Alert Messages 26 Fault Messages 27 Appendix A - Read/Write Tag Conversion Table (Explicit Client) Appendix B - Electronic Data Sheet Appendix C - 1305 Drive Application
Publication 2711-6.0.4
2

Related Publications The following documentation provides additional information about

installing, configuring and using your PanelView terminals.
Publication Title Publication No.
PanelBuilder Software Manual 2711-6.0 PanelView Operator Terminals User Manual 2711-6.1
For more information on DeviceNet related products, refer to:
Publication Title Publication No.
DeviceNet Communication Link Overview DN-2.5 DeviceNet Cable System Planning and Installation Manual 1485-6.7.1 DeviceNet Scanner (Catalog No. 1747-SDN)
Configuration Manual DeviceNet Scanner (Catalog No. 1771-SDN)
Configuration Manual DeviceNet Manager Software (Catalog No. 1787-MGR)
User Manual RSNetworx Software (Catalog No. 9357-DNETL)
User Manual
1747-6.5.2
1771-6.5.118
1771-2.29
9399-DNETGR

Before You Use this Guide We assume that you are familiar with DeviceNet communications.

This document provides a sample DeviceNet applicat ion: Appendix C
- PanelView to a 1305 Drive Application. Use this application as a guide in developing your DeviceNet ap plicati ons. In addi tion, a demo application is inst alled with PanelBuilder that demonstrates a PanelView to 1747-SDN (DeviceNet scanner) configuration. The demonstration files include the PanelView application file, SLC ladder logic and 1747-SDN configuration using DeviceNet Manager software. Refer to the ODVA and Allen-Bradley websites below for more examples.
The Open DeviceNet Vendor Association (ODVA) has an Internet page that describes DeviceNet and provides a list of products available with electronic data sheets at: www.ODVA.org
Publication 2711-6.0.4
Additional network descriptions and application information are available at the Allen-Bradley website: www.ab.com
At the Allen-Bradley website, refer to both the Network descriptions under Products and Service s and the Rock well Auto mation Technical Support pages. The tech nic al sup port p ages co ntain DeviceNe t demo examples that are helpful if you are just getting started.
Refer to the glossary of this document for definitions of unfamiliar terms.
3
1
5

DeviceNet PanelView T erminals

DeviceNet terminals have a 10 at the end of their catalog number, for example 2711-K9A10. DeviceNet terminals have
DeviceNet communications port
RS-232 port
Making DeviceNet Connections
Use one of the cables below to connect the DeviceNet version of the PanelView terminal to a DeviceNet network.
Cable Catalog No.
DeviceNet Cable, 50 meters (164 feet) 1485C-P1A50 DeviceNet Cable, 100 meters (328 feet) 1485C-P1A150 DeviceNet Cable, 150 meters (492 feet) 1485C-P1A300
Important: Refer to DeviceNet Cable System Planning and Installation manual
(Publication 1485-6.7.1) for network layout and design information.
DeviceNet Connector
The DeviceNet connector is identified by the label on the PanelView terminal.
PanelView 900 shown
1
5
DeviceNet Port
DeviceNet
Terminal Block
The typical DeviceNet current draw is 90 mA at 24V per terminal.
Terminal Signal Function Color
1 COM Common Black 2 CAN_L Signal Low Blue 3 SHIELD Shield Uninsulated 4 CAN_H Signal High White 5 VDC+ Power Supply Red
Publication 2711-6.0.4
4

Typical DeviceNet Network Below is a typical network with PanelView terminals installed on two

of the drops.
PLC-5
SLC 5/04
or
DeviceNet
Scanner Module
(Catalog No. 1747-SDN)
PanelView
PanelView
DeviceNet
Scanner Module
(Catalog No. 1771-SDN)
DeviceNet Port
RediSTATION
Drive
DeviceNet Port
Serial Link
RS-232 Port
Computer for develo ping
PanelView applications
SM C
Smart Motor Controller
1770-KFD
Module
Download/Upload
Publication 2711-6.0.4
5

Modifying DeviceNet Settings from the Terminal

You can display or modify DeviceNet settings directly from the PanelView
terminal. From the termina l’s Configuration Mode men u, select Communication Setup.
ATTENTION: Settings downloaded with a DeviceNet application have priority over terminal
!
settings and take effect immediately after the download.
PV900 Touch Screen shown
other displays are similar
Restart Terminal [F1]
Resets the terminal.
New Node Address [F2]
Opens the numeric entry scratchpad. Enter the node address (0 - 63) of the PanelView terminal on th e DeviceNet li nk and press the Enter key (on touch screen terminals, press the Enter key on the scratchpad). A node change takes effect on reset.
Active Node Address
Displays the current network operating address of the PanelView terminal. Default is 6 3.
New Baud [F3]
Step through baud rates with each key press: 125K (default), 250K, 500K. The selected baud rate takes effect immediately.
Publication 2711-6.0.4
6
Active Baud
Displays the current baud rate of the PanelView terminal. The baud rate is set to the New Baud value at power-up.
The active baud is the rate of the PanelView, not the network. The PanelView is not automatically set to the network baud rate.
Bus-off Interrupt [F4]
Specifies what occurs when a CAN bus-off interrupt occurs on the DeviceNet network.
Hold in Reset holds the PanelView and wait s for a
communications reset or a terminal reset. The PanelView is not allowed network access when Hold in Reset is selected and a Bus-off Interrupt occurs.
Reset and Continue Communications resets DeviceNet
communications and att empts to re-e stablish th e communicati ons link.
Interscan Delay [F5]
Provides a delay between scans of the Explicit-Client tags. The numeric entry scratchpad.Enter a value of 0 to 65535 milliseconds. This time delay is insert ed between each full scan of the Explici t ­Client tags in the current screen context. The valu e is initially set by the downloaded applica tion but can be changed by an op erato r. When changed, the new value takes effect immediately.
Input Size
Displays the number of wor ds ( 0 t o 64) sent by the PanelView in a n I/ O message. 0 is the default value whi ch indic ates th at no input dat a is exchanged with the scanner. This value is set by the downloaded application.
Output Size
Displays the number of words (0 t o 64) re ceived by the PanelView in an I/O message. 0 is the default value which indicates that no output data is exchanged with the scanner. This value is set by the downloaded application.
Comm LED
solid fill - normal operating state
blinking - no communications established
no fill - hardware failure
Exit [F10] or [F16]
Returns to the Configuration Mode menu.
Publication 2711-6.0.4
7

Setting up Communications using PanelBuilder

Setting up DeviceNet com munications for an application requires:
selecting a DeviceNet terminal when creating the application.
configuring communication parameters for the terminal on the DeviceNet link.
Selecting a DeviceNet PanelView Terminal
Select a DeviceNet terminal for a PanelView application from:
New Application dialog when creating a new application or
Terminal Setup dialog when converting an application initially created for another terminal.
Any catalog number ending with 10 is a DeviceNet terminal.
Publication 2711-6.0.4
8
Configuring DeviceNet Communications
DeviceNet communication parameters are accessed from the Terminal Setup dialog. To open the Terminal Setup dialog, select
Application>Terminal Setup.
1. Click the Comms. Setup button from the Terminal Setup dialog.
2. Under Terminal, edit the following parameters.
Specify To:
Node Address
Baud Rate
Select the address (0 to 63) of the PanelView terminal on the DeviceNet link.
Select the baud rate of the DeviceNet link. The available baud rates are 125 kbps, 250 kbps, 500 kbps.
3. Under I/O Scanner, edit the follow ing parameters :
Specify To:
Specify the number of words (0 to 64) that are sent to the scanner from the PanelView with each I/O message. 0 is the
Input Size
Output Size
default value which indicates that no input I/O data exists in the application. Size must match configuration in Master device.
Specify the number of words (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. Size must match configuration in Master device.
Publication 2711-6.0.4
4. Edit the following parameters:
Specify To:
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
Interscan Delay
Bus-off Interrupt
Explicit-Client tags in the current screen context. Note: Time delays of less than 500 msec should be carefully
considered since the Explicitly-Client mode will generate low priority network messaging at this interval.
Specify what occurs when a Bus-off Interrupt occurs on the network:
• 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).
5. Click OK to exit and return to the Terminal Setup dialog.
9
Publication 2711-6.0.4
10

PanelView Message Types All PanelBuilder screen control or display objects are assigned a tag

when an application is developed. The tag defines an address, data type, initia l value, and other parameters fo r the data assigned to the object. The Tag Editor has 3 dialogs for DeviceNet objects, depending on the message type selected:
•I/O Slave
Explicit Server
Explicit Client. All three message types can exist and run simultaneously within a
single PanelBuilder appl ic ation.
Publication 2711-6.0.4
11

I/O Slave Messaging The I/O slave message connections use the pre-defined Master/Slave connection

set. Exchanged data is grouped in Assembly Instances created using the PanelBuilder Tag Editor. The first input instance and the first output instance are exchanged using DeviceNet I/O slave messages. The PanelView supports a maximum of 64 input and 64 output words. The number of words exchanged is determined by the Communication Setup dialog in PanelBuilder and the Master (scanner) device DeviceNet configuration.
Data at the PanelView tag addresses can be mapped to any location in the DeviceNet scanner b ut mu st be a conti nuo us bloc k of 1- 64 inp ut o r outp ut words. Change-of-State, Cyclic and Polled I/O modes are supported. Strobed I/O messaging is not supported by the PanelView.
DeviceNet PanelView terminals support the following types of I/O messaging when configured in the D eviceNet scanner.
Polling
The DeviceNet scanner initiates communicati ons with the PanelView terminal by sending a Polled Request. The Pane lV iew r esponds to the request by providing the requested data. Data is sent by the PanelView at intervals determine d by the ladder logic pr ogram and/ or the I nters can Delay of the scanner ( not the PanelView Interscan De lay setting).
Change of State (COS)
The DeviceNet scanner establishes the connection with the PanelView terminal. The exchange of data is Asynchrono us. Outpu t data i s sent to the Panel V ie w from the scanner only when th e data chan ges. The P anelView terminal sends Input data back to the scanner only wh en the data changes. Acknowledged/ Unacknowledg ed
modes are available (see ‘Notes’ on the next page).
Cyclic
Data is exchanged between the PanelView terminal and scanner at the Heartbeat Rate. The Heartbeat Rate is set using a DeviceNet Manager tool, such as RSNetwork for DeviceNet, during network setup.
Publication 2711-6.0.4
12
I/O Slave Data Exchange
The following diagram shows how data is exchanged using I/O messaging:
I/O Slave Tags
PV Address
Input Tag Input Tag
Output Tag Output Tag Output Tag
Assembly
Instance 1
Assembly
Instance 2
PanelView
I:0
I:63
O:0
O:63
I
/
O
M
es
s
a
g
e R
es
p
o
n
s
e
Master Device
(Scanner)
e
g
a
s
s
e
M
t
s
e
u
q
e
R
O
I/
I/O Slave Messaging Notes and Recommendations
The I/O size specified in the PanelView terminal (“Configuring DeviceNet Communications” on page 8) must match the I/O size expected b y the DeviceNet scanner.
COS, Polled and Cyclic are selected during configuration of the scanner. You do not have to configure the PanelView to accept COS, polled and cyclic messages.
Both acknowledged and unacknowledged Change-of-State / Cyclic modes are allowed. We recommend that you use the acknowledged COS mode since the device sending the message never knows that data was received when unacknowledged COS is used.
Publication 2711-6.0.4
If acknowledged mode is used, no data is returned in the acknowledgment.
The Polled + COS option is allowed but the polled response data and the COS data are from the same assembly. For the most efficient operation, do not use the Polled + COS option.
Use of COS or Cyclic I/O connections is highly recommended over Polled I/O for I/O sizes in excess of 32 words (to minimize network traffic).
I/O messages have higher priority than Explicit messaging.
Loading...
+ 27 hidden pages