Devicenet Communications For Panelview Terminals: User Guide
Devicenet Communications For Panelview Terminals: User Guide
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 manual and the PanelBuilder software documentation.
For information about: Related Publications Before You use this Guide DeviceNet PanelView Terminals Making DeviceNet Connections Typical DeviceNet Network Modifying DeviceNet Settings from the Terminal Setting Up Communications using PanelBuilder PanelView Message Types I/O Slave Messaging Explicit Messaging PanelView Tag Form Using the Electronic Data Sheet Downloading Applications Over a Serial Link DeviceNet Application Report DeviceNet Error Messages and Codes Electronic Data Sheet (EDS) File Error Messages PanelBuilder Device Error Messages PanelBuilder Translation Error Messages Communication Status/Error Messages Alert Messages Fault Messages Appendix A - Read/Write Tag Conversion Table (Explicit Client) Appendix B - Electronic Data Sheet Appendix C - 1305 Drive Application See page: 2 2 3 3 4 5 7 10 11 13 17 20 21 21 22 24 24 25 25 26 27
Publication 2711-6.0.4
Related Publications
The following documentation provides additional information about installing, configuring and using your PanelView terminals.
Publication Title PanelBuilder Software Manual PanelView Operator Terminals User Manual Publication No. 2711-6.0 2711-6.1
DeviceNet Communication Link Overview DeviceNet Cable System Planning and Installation Manual 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
We assume that you are familiar with DeviceNet communications. This document provides a sample DeviceNet application: Appendix C - PanelView to a 1305 Drive Application. Use this application as a guide in developing your DeviceNet applications. In addition, a demo application is installed 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 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 Services and the Rockwell Automation Technical Support pages. The technical support pages contain DeviceNet demo examples that are helpful if you are just getting started. Refer to the glossary of this document for definitions of unfamiliar terms.
Publication 2711-6.0.4
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
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
DeviceNet Port
Terminal 1 2
3 4
5
Publication 2711-6.0.4
Below is a typical network with PanelView terminals installed on two of the drops.
DeviceNet Port
1770-KFD
Module
Serial Link
Download/Upload
SM C
Publication 2711-6.0.4
You can display or modify DeviceNet settings directly from the PanelView terminal. From the terminals Configuration Mode menu, select Communication Setup.
ATTENTION: Settings downloaded with a DeviceNet application have priority over terminal settings and take effect immediately after the download.
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 the DeviceNet link 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 63. 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
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 waits 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 attempts to re-establish the communications 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 inserted between each full scan of the ExplicitClient tags in the current screen context. The value is initially set by the downloaded application but can be changed by an operator. When changed, the new value takes effect immediately. Input Size Displays the number of words (0 to 64) sent by the PanelView in an I/ O message. 0 is the default value which indicates that no input data is exchanged with the scanner. This value is set by the downloaded application. Output Size Displays the number of words (0 to 64) received 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
Publication 2711-6.0.4
Setting up DeviceNet communications for an application requires: selecting a DeviceNet terminal when creating the application. configuring communication parameters for the terminal on the DeviceNet link.
Publication 2711-6.0.4
Input Size
Output Size
Publication 2711-6.0.4
4.
Specify
Interscan Delay
Bus-off Interrupt
5.
Publication 2711-6.0.4
10
All PanelBuilder screen control or display objects are assigned a tag when an application is developed. The tag defines an address, data type, initial value, and other parameters for 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 application.
Publication 2711-6.0.4
11
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 but must be a continuous block of 1- 64 input or output 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 DeviceNet scanner. Polling The DeviceNet scanner initiates communications with the PanelView terminal by sending a Polled Request. The PanelView responds to the request by providing the requested data. Data is sent by the PanelView at intervals determined by the ladder logic program and/or the Interscan Delay of the scanner (not the PanelView Interscan Delay setting). Change of State (COS) The DeviceNet scanner establishes the connection with the PanelView terminal. The exchange of data is Asynchronous. Output data is sent to the PanelView from the scanner only when the data changes. The PanelView terminal sends Input data back to the scanner only when the data changes. Acknowledged/Unacknowledged 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
Assembly Instance 1
I:63 O:0
I/O M
essag
e Res p o ns e
Publication 2711-6.0.4
13
Explicit Messaging
The PanelView with DeviceNet can communicate with other DeviceNet products that have Unconnected Message Manager (UCMM) capability. The PanelView can function as either a: Client - where the PanelView initiates the exchange of data with a server. Server - where the PanelView responds to data request from a client.
UCMM data transfers are referred to as either Explicit Client or Explicit Server and are configured in the PanelView tag form dialog. For more information on specific DeviceNet commands and functions, contact the Open DeviceNet Vendors Association (ODVA).
Explicit Server
With Explicit Server messaging, the PanelView terminal (Server) controls the data and waits for client device(s) to request or send data. Assembly Instances 3-16 contain the PanelView data with up to 64 words in each instance (total of 896 words can be transferred). Inputs and outputs cannot be placed in the same instance. Only Get_Attribute_Single and Set_Attribute_Single commands are supported. For PanelView objects with Explicit Server addressing: Get_Attribute_Single (service code 0xOE) External client device reads the PanelView objects (tags). Set_Attribute_Single (service code 0x10) External client device sends values to the PanelView output objects (tags).
Explicit-Server Message Tags For Inputs: Client device initiates communications with Explicit GET Message to obtain input data from the PanelView (server). The PanelView (server) responds by sending data. For Outputs: Client device sends data using an Explicit SET Message to set output data. The PanelView (server) responds that data has been received.
Input Tag Input Tag Input Tag Output Tag Output Tag PanelView Assembly Instance 3-16 Assembly Instance 3-16
Client Device
it SET Explic
or G
Publication 2711-6.0.4
14
Notes on using Explicit Server Messages Explicit Server messages have a lower priority than I/O slave messages. Client devices access input/output data from the value attribute (attribute 3) of the assembly object class (class code 4) using the specified tag instance number (instance 3-16). The PanelView has only one general purpose Explicit message connection available at a time to an external client device. Remember this when creating applications that require multiple Explicit message server connections. Data from one client device can overwrite the data sent by another client.
Publication 2711-6.0.4
15
Explicit Client
The PanelView can also communicate using peer-to-peer Explicit-Client messaging, where the PanelView (Client) initiates the connections and obtains data from other devices (Server). Connections to other devices are created with Tag Form addresses and use explicit messages to read and write values to other DeviceNet nodes. PanelView Explicit-Client communications only support transactions with UCMM capable network devices. Only Get_Attribute_Single and Set_Attribute_Single commands are supported. For PanelView objects with explicit client addressing: Get_Attribute_Single (server code 0xOE) The PanelView sequentially scans values addressed to PanelView objects in the current screen (or global objects) and reads data from the external server device. Set_Attribute_Single (server code 0x10) The PanelView sends values to the external device when a change of state is detected on that input. Output data is acquired similar to polling and input data is sent on Change of State (COS). The location of the data in the DeviceNet Server device must be specified in the PanelView data tags. Data locations on the server device are specified by providing the Node Address, Class, Instance, Attribute and the Byte/Bit Offset. The Class, Instance and Attribute are provided in the user documentation of the device the PanelView is communicating with. Refer to Appendix A for the Packet Bytes and Offsets required for read and write tags. The following illustrates how Explicit-Client messaging functions:
Explicit-Client Message Tags For Read tags: PanelView (client) device initiates communications with Explicit GET Message to obtain input data from the server device. The server device responds by sending data. For Write tags: PanelView (client) device sends data using an Explicit SET Message to set output data. The server device responds that data has been received.
Write Tag Write Tag Write Tag Read Tag Read Tag Read Tag Write Tag PanelView Server Device (Sensor, Drive, ...)
Message Explicit SET onse Server Resp
Publication 2711-6.0.4
16
Do not use the Explicit Client messaging with critical control parameters or as an alternative to a hard-wired emergency stop button.
Devices 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 that can proxy the UCMM service for the slave. Data read/written must be accessible as an externally addressed DeviceNet attribute with the Get_Attribute_Single and Set_Attribute_Single commands. Explicit-Client messaging is not designed for high speed communications and uses lower priority messaging on DeviceNet. Use I/O messaging for time critical applications. PanelBuilder Version 2.40 and later allows you to use an offset for writing multiple words in each instance. The PanelView reads or writes an entire Assembly Instance. The Packet Bytes and Bit Offset in the tag address filter the requested information. The PanelView can access 128 unique Explicit-Client tags (unique Node, Class, Instance, Attribute).
Publication 2711-6.0.4
17
Use the Tag Form to enter DeviceNet tags. Do not use the Table View since it does not show all of the DeviceNet fields. Refer to the PanelBuilder documentation for information for any fields not described on the following pages.
.
I/O Slave Tag
Publication 2711-6.0.4
18
Field Tag Name Description Name of tag Valid Characters Maximum characters=32 A-Z, a-z, 0-9 hyphen (-), underscore (_), percent(%) Notes if you type an invalid character, the Tag Editor beeps and does not display it 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, nonprintable characters The data type must be compatible with the data format selected in the objects dialog. Alternate Methods: Type the first letter of the data type. For example, type b for bit data type. Use the TAB key to move to the Data Type filed and press ALT+ to display the list of available formats.
Data Type
Select one of the following: bit (Bool) 4BCD (16 bits) unsigned integer (16 bits) signed integer (16 bits) IEEE float (32 bits) bit array (size varies) character array (8 bits/char.)
Swap Bytes
Check Box
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 1st character of a string in the 2nd byte. By swapping the bytes, the 1st character is sent in the 1st byte. Byte swapping is not generally used with Explicit-Client messaging. These addressed devices usually conform to DeviceNet specifications and send data in the correct sequence. when selected 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 used for DeviceNet devices that generate floating point values. Additional fields are required for Explicit message types.
Swap Words
Check Box
Message Type
Instance Number (Explicit-Server Message Only) Node Address (Explicit-Client Message Only) Load from EDS (Explicit-Client Message only)
3 to 16
0 to 63
Load parameter data from the data sheet for the peer device. Otherwise, enter the tag information (class, instance, attribute) from the sheet manually. Check box If Write Tag is not selected, tag is specified as a read tag (data is read from server device).
Write Tag (Explicit-Client Message only) Packet Bytes (Explicit-Client Message only)
1 to 128
This value must match the amount of data in the attribute addressed in the external server device. Refer to appendix A.
Publication 2711-6.0.4
19
Field Bit Offset (Explicit-Client Message only) Description The offset index into the returned data. Typically 0. Valid Characters Notes Bit Offset is limited to the number of bytes specified for the Packet Bytes. For example, if Packet Bytes is 2, the Bit Offset must be 0 - 15. Refer to Appendix A. Load information from the electronic data sheet (EDS) automatically, if possible, or refer to the target devices user documentation. Load this information from the electronic data sheet (EDS), if possible, or refer to the target devices user documentation. Load this information from the electronic data sheet (EDS), if possible, or refer to the target devices user documentation. character arrays are 1- 128 characters bit arrays are 1 - 16 bits maximum characters =255 array size must be an integer do not use blanks, tabs, carriage returns, nonprintable characters type information in this field or use the description editor Do not use blanks, tabs, carriage returns, nonprintable characters.
Class (Explicit-Client Message only) Instance (Explicit-Client Message only) Attribute (Explicit-Client Message only) Array Size
Instance of the object being addressed Attribute of the object being addressed. Size of the array
Description
Description of tag
Data sent to and from remote device. A remote address has the following format: I:<word> / <bit> O: <word> / <bit> Starting value for the current tag in engineering units (only for write tags)
maximum characters = 32 I specifies input data generated by PanelView and sent to a remote device. O specifies output data received by PanelView from a remote device. maximum characters = 24 0 -9 e, E, +, - and period if Data Type is bit, enter 0 or 1
Initial Value
do not use blanks, tabs, carriage returns, nonprintable characters maximum precision is 6 places to the right of the decimal 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, nonprintable characters maximum precision is 6 places to the right of the decimal maximum precision for offset is 6 places to the right of decimal 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 do not use blanks, tabs, carriage returns, nonprintable characters maximum precision is 6 places to the right of the decimal 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
The values you use to convert the current tags processor integer value (x) to engineering units (y)
The minimum and maximum values that can be assigned to the tag
Publication 2711-6.0.4
20
Each device on the DeviceNet network has an Electronic Data Sheet (EDS) containing operating parameters of the device. Load these data sheets when using Explicit Client messaging (PanelView client accesses data from server device). Refer to the devices user manual for instructions on obtaining the EDS file. The EDS parameters can be uploaded to the PanelBuilder Tag Form. When the Explicit-Client message type is selected in the Tag Editor, the Load From EDS option appears in the dialog. To load parameter data from the Electronic Data Sheet: 1 Click the Load From EDS button.
2. Select the EDS file you want to read. 3. After the file is loaded, the following dialog appears.
When you select a group, only parameters in that group become available. By default, all parameters are displayed. 4. Select a parameter. If the parameter has bit-field enumeration associated with it, select an Enumerated Data Item. 5. Select OK to continue. 6. The class, instance, and attribute associated with the selected parameter is displayed on the tag form.
Publication 2711-6.0.4
21
To download a DeviceNet application from your computer to the PanelView terminal over an RS-232 link: connect computer to RS-232 port of PanelView terminal download application from PanelBuilder Application menu.
Use PanelBuilders internal DF1 driver for the download. This driver uses fixed DF1 settings that match those of the RS-232 port of the PanelView Terminal. Refer to the PanelBuilder software and the on-line help for details on downloading an application.
The application printout for DeviceNet provides: configuration data tag data supplemental data
Publication 2711-6.0.4
22
2 3
Manually edit the tag to the DeviceNet protocol. Most PanelBuilder controls write only 1 element of data. If the associated Data Type is a Bit Array, at most 2 bytes will be written by the tag. However, if tags are assigned to the Block Write of a Piloted Control List, the number of bytes written will be a multiple of the states displayed on the list. Most PanelBuilder controls write only 1 element of data. If the associated Data Type is Unsigned Integer, 2 bytes will be written by the tag. However, if tags are assigned to the Block Write of a Piloted Control List, the number of bytes written will be a multiple of the states displayed on the list. Most PanelBuilder controls write only 1 element of data. If the associated Data Type is IEEE Float, 4 bytes will be written by the tag. However, if tags are assigned to the Block Write of a Piloted Control List, the number of bytes written will be a multiple of the states displayed on the list. The Tag Address should not specify a bit number. Add a colon: after the I or O. The Tag Address should specify a bit number. Change the Tag Address to begin with I.
Tag: <Tag Name> - Data Type implies Packet Bytes should be equal to 2. Certain PanelBuilder controls, however, may require additional bytes. If less than 2 bytes are required, use Bit Array.
Tag: <Tag Name> - Data Type implies Packet Bytes should be equal to 4. Certain PanelBuilder controls, however, may require additional bytes.
6 7 8 9
Tag: <Tag Name> - Expected Analog Tag. Tag: <Tag Name> - Expected Colon. I or O should be followed by: Tag: <Tag Name> - Expected Discrete Tag. Tag: <Tag Name> - Expected Input Tag. Tag Address should begin with I. Tag: <Tag Name> - Expected Output Tag. Tag Address should begin with O. Tag: <Tag Name> - Expected Read Tag. Tag: <Tag Name> - Expected Slash / in Tag Address Tag: <Tag Name> - Expected Write Tag. Tag: <Tag Name> - Explicit Server Input and Output Tags have been assigned to the same Assembly Instance.
10
11 12 13 14
Uncheck the Write Tag box on the Tag Form. Add a slash and bit number to the Tag Address. Check the Write Tag box on the Tag Form. An Assembly Instance should contain only input tags or only output tags. Place input and output tags in separate assembly instances. Reduce the word offset for the associated Tag Address. Reduce the word offset for the associated Tag Address. Change the tag address to the following format: I:<word>/,<bit> or O:<word>/<bit> where <bit> is required for Bit and Bit Array
15 16 17
Tag: <Tag Name> - Explicit Server Input Elements must be 0 - 63. Tag: <Tag Name> - Explicit Server Output Elements must be 0 - 63. Tag: <Tag Name> - Incompatible Address
18
The word offset in the Tag Address must be less than then the Input Size specified in the Communications Setup dialog. Modify the Tag Address must begin with I or O.
19
Tag: <Tag Name> - Invalid Address Type. Address must begin with I or O. Tag: <Tag Name> - Invalid Bit Number. Bit number must be 0 -15. Tag: <Tag Name> - Invalid Bit Offset. Bit Offset must not extend beyond the packet length.
20 21
Change the bit number to a value between 0 and 15. Reduce the bit offset.
Publication 2711-6.0.4
23
Reference # 22 Message Tag: <Tag Name> - Invalid Data Size. Data element extends beyond input or output size. Tag: <Tag Name> - Invalid Element Number Tag: <Tag Name> - Invalid Node Address. Node must be 0 - 63. Tag: <Tag Name> - Invalid Packet Length. Packet Length must be 1128 bytes. Tag: <Tag Name> - Output Element Extends Beyond Output Size. Recommended Action Increase the input or output size on the terminal setup screen.
23 24 25
The Tag Address must have a numeric word offset. DeviceNet node addresses must be 0 - 63. Change packet bytes to 1-128 bytes.
26
The word offset in the Tag Address must be less than then the Output Size specified in the Communications Setup dialog. If the associated tag is an I/O tag, increase either the Input or Output Size. If the associated tag is Explicit-Server, the data extends beyond the 64 word limit of the Assembly Instance. Increase the Packet Bytes assigned to the tag.
27
Tag: <Tag Name> - The length of the data extends beyond the size of the packet.
28
Tag: <Tag Name> - The length of the data extends beyond the size of the packet. Adjust Packet Bytes to at least #. Tag: <Tag Name> - This tag cannot be assumed consistent or atomic. The Assembly Instance is inconsistent with previous tags in this group. Tag: <Tag Name> - This tag cannot be assumed consistent or atomic. The Peers Class, Instance, Attribute, or Node Address is inconsistent with previous tags in this group.
29
Tags have been assigned to a PanelBuilder control that must be updated in the same data packet. Change the Assembly Instance so it is the same as the other members of this group. Tags have been assigned to a PanelBuilder control that must be updated in the same data packet. Change the Explicit-Client message so that it references the same peer attribute as other tags assigned to this group. Tags have been assigned to a PanelBuilder control that must be updated in the same data packet. Change the Message Type so that it is the same as the other members of this group.
30
31
Tag: <Tag Name> - This tag cannot be assumed consistent or atomic. The tags Message Type is inconsistent with the previous tags in this group.
Publication 2711-6.0.4
24
In order to support scaling, the PV Data Type will be changed to Unsigned Integer.
The DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that either Bool or Bit Array is chosen. The DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that Floating Point is chosen. The DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that either Signed or Unsigned Integer is chosen. Display value scaling may be necessary. The DeviceNet Data Type (#) is unsupported by PanelView. Use of this parameter may produce unexpected results.
Signed or Unsigned Integer is the best choice for the parameter chosen.
There is no corresponding PV Data Type for the DeviceNet parameter chosen. This parameter requires knowledge of how the DeviceNet data is structured. For instance, one element of the DeviceNet Time Data Type may be displayed, but the location of the internal fields must be known. The chosen parameter specifies Extended Precision Scaling. The appropriate scaling factor must be manually determined and entered into the Scale and Offset fields of the Tag Form. The system was unable to open the specified EDS file.
This parameter designates that extended precision scaling should be used to display the parameter. PanelView does not support extended precision scaling. Unable to open EDS File.
Update the Communications Setup dialog to the appropriate network values (node address, baud rate). Update the Communications Setup dialog to the appropriate network values (node address, baud rate).
Publication 2711-6.0.4
25
These errors appear as a banner at the top of an application screen (error #634 in upper left corner) or as Mod/Net LED status on the terminals Configuration screen. Errors codes 11 or less are minor fault conditions and clear automatically when corrected. Error codes above 11 require a terminal reset to clear the error.
Code 1
Indicates: No connections established. Occurs on power-up until a device connection is established on the network. A connection is in the timed out state. Occurs once I/O messaging is stopped after an I/O connection has been running. An Explicit-Client tag cannot be obtained. Occurs if the device associated with an Explicit-Client tag is not responding or the peer tag does not exist at the specified class, instance, and attribute number.
Check the network wiring and that the master device (scanner) is operational.
Check the data location is correct and that the end device is attached and operational. For write tags, ensure that the appropriate attribute is targeted. If the targeted device is UCMM capable, ensure it has enough explicit message connections to allow the PanelView to take one. If the targeted device is not UCMM capable, ensure that it is owned by a Master device (scanner). Error clears when switched back to run. Correct the problem of the Master sending the I/O idle condition.
A zero length I/O message was received placing the I/O application in idle mode. Occurs when the scanner is in program mode. Message Overrun. Message traffic from the PanelView is being generated quicker than it is possible to send the data. Occurs with large I/O sizes when Change-Of-State is being used and state changes are occurring very quickly or if polling too fast. No network power detected. Occurs if network 24V is not present. Dup MAC Failure. Occurs if the PanelView powers up with the same Node Address present on the network. Bus-off Interrupt occurred. CAN Chip is held in reset. Caused by noise on network signal lines or an attempt to connect to the network at the wrong baud rate.
Slow down I/O polling or the state changes generating change of state I/O messages. Use cyclic I/O at a fast heartbeat rate rather than change-of-state. Use the production inhibit capability on the master.
11
Check the wiring. Message automatically clears when 24V network power is restored. Change the node address to an unused address and reset the terminal. Check baud rate and network wiring, including termination resistors. Reset the terminal.
12
13
Publication 2711-6.0.4
26
Alert Messages
These messages appear as a box in the middle of the screen (Error #636 in upper left of box) and alert the user to a condition. Operation of the terminal continues. Alert messages can be cleared.
Indicates: Unsupported DeviceNet Message received. The Network Access Object received a message that is not supported. Initial Writes Failure. The Motherboard failed to send all input data to the daughter card prior to network startup. Invalid Explicit-Client Address. Occurs at runtime if the node address associated with the Explicit-Client tag is the same as the PanelView. Change-Of-State Input Overrun. Occurs if PanelView state changes on I/O input data occurred faster than the PanelView could send them to the I/O scanner. Identity Object Reset Service received over DeviceNet. Occurs if an external device sends an Identify Object Reset Service to the PanelView. Unsupported DeviceNet message received. Invalid ASA Number (0x00000000 or 0xFFFFFFFF). Occurs if the flash memory is corrupt or an invalid ASA number was programmed. Invalid Screen Context Priority received. Get Next Scan Item Failed in peer mode. Explicit-Client Input Data not received. Will occur if an input (push button) changes a second time before its previous state was sent on the network. Only for ExplicitClient Tags. Also occurs when the packet bytes do not match the number of bytes in the servers assembly instance. 16 I/O Connection Size does not match size of I/O data in Assembly Instances 1 & 2. Programmed connection sizes for I/O do not match the amount of data represented by the I/O type tags. Get Next Contact Request Failure. In Explicit-Client Mode scanning, the request to obtain the next tag in current context failed. Recommended Action Should not occur in normal operation. Clear the message. If problem re-occurs, contact Allen-Bradley. Should not occur during normal operation. Clear the message. If problem reoccurs, contact Allen-Bradley. Clear the message and determine which tag in the application is pointing to the PanelViews node address. Correct the application. Clear the message. Excessive network traffic could cause this problem if inputs are changing rapidly. An external network device has requested a PanelView terminal reset. Press a key to clear the alarm. Should not occur during normal operation. Clear the message. If problem reoccurs, contact Allen-Bradley. Clear the message. The message occurs each time the terminal is reset. The terminal operates normally but you should correct the problem. Contact Allen-Bradley. Should not occur in normal operation. Clear the message. If problem reoccurs, contact Allen-Bradley. Should not occur in normal operation. Clear the message. If problem reoccurs, contact Allen-Bradley. Clear the message. Excessive network traffic could cause this problem if inputs are changing rapidly. Handle high speed input data over I/O connections if possible. Also make sure the addressed attribute exists and is settable on the network.
Code 2 3 4
10 12
13 14 15
19
Should not occur in normal operation. Clear the message. If problem reoccurs, contact Allen-Bradley.
Publication 2711-6.0.4
27
Fault Messages
These messages indicate critical fault conditions. They appear as a full screen box with an Error #635 in the upper left corner. Reset the terminal to clear the condition. If the problem persists, note the 2digit code and contact Allen-Bradley.
Indicates: PCCC Message Transaction error during file transfer. Stack overflow fault. Client Object Failed. CAN Chip Failed to initialize. The size of a particular channel exceeds the size limitations set by the daughtercard. Critical Internal DeviceNet Firmware fault. Internal faults associated with motherboard/daughtercard communications. Recommended Action Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley. Should not occur in normal operation. Reset the terminal. If problem re-occurs, contact Allen-Bradley.
Code 5 6 17 18 37
Publication 2711-6.0.4
Appendix
Use this conversion table with PanelBuilder 2.40 or later. For write tags, byte size depends on (and must match) the configuration of
Publication 2711-6.0.4
A-2
The following example shows how the read/write conversion table is used. In this example one PanelView functions as a server and the other PanelView acts as a client.
Write Tag
Publication 2711-6.0.4
Appendix
$Electronic Data Sheet for PanelView $ [File] DescText=PanelView; CreateDate=07-25-95; Mod Date=3-22-96; Revision=1.1; [Device] VendCode ProdType ProdCode MajRev MinRev VendName ProdTypeStr Catalog = 1; $ Vendor Code = 24; $ Product Type = 1; $ Product Code = 1; $ Major Rev = 4; $ Minor Rev = Allen-Bradley Company = Human Machine Interface; $ PanelView = 2711-xxxx10
Publication 2711-6.0.4
Appendix
PanelView
DeviceN et Cable
1305 AC Drive
Configuring PanelBuilder
Use the PanelBuilder software to create the following application screen.
This screen reads and writes Accel 1 Time. A numeric entry provides the input for the acceleration time. A numeric display shows the acceleration time.
Publication 2711-6.0.4
C-2
Acceleration Write Tag Configuration The following dialog configures a numeric entry object. The dialog assigns a Write Tag name and defines other attributes of the numeric entry object.
Clicking the Edit Tag button allows you to edit the write tag data as shown below.
The Messaging Type is defined as Explicit-Client. The Class, Instance and Attribute specify a data location in the 1305 Drive for the Accel 1 Time. Note: For more information on Class, Instance and Attribute fields, see the Bulletin 1305 Adjustable AC Drive user manual.
Publication 2711-6.0.4
C-3
Acceleration Read Tag Configuration The following dialog defines a numeric display object. This dialog assigns a read tag and defines other attributes of the display object.
Clicking the Edit Tag button allows you to edit the read tag data as shown below.
The Messaging Type is defined as Explicit-Client. The Class, Instance and Attribute specify a data location in the 1305 Drive for the Accel 1 Time. Note: For more information on Class, Instance and Attribute fields, see the Bulletin 1305 Adjustable AC Drive user manual.
Publication 2711-6.0.4
C-4
PanelView Status Screen Create the status screen below to view the drive status. Use a message display with embedded text.
The dialog below defines a message display object. The dialog assigns the read tag Status to the object and defines the field width for the display object.
Clicking the Edit Tag button allows you to edit the read tag data as shown below.
Publication 2711-6.0.4
C-5
The Messaging Type is defined as Explicit-Client. The Class, Instance and Attribute specify a data location in the 1305 Drive for the status text. Note: For more information on Class, Instance and Attribute fields, see the Bulletin 1305 Adjustable AC Driver user manual.
ATTENTION: Any operation using Explicit messaging to control the operation of machinery must not be involved with system safety or of a critical nature that could potentially cause personal injury or equipment damage. Safety circuits must be hard-wired and not controlled by the PanelView terminal. Operations that are critical to safety must be under the control of a supervisory controller or computer programmed with the appropriate safety logic or programming.
Publication 2711-6.0.4
Glossary
Assembly Object DeviceNet products usually have one or more Assembly Objects. The purpose of the Assembly Object is to group different Attributes (data) so they can be moved by a single message. See also: Instance Attribute A data element that can be read or written. Each attribute is assigned an integer value (Attribute ID) as an identifier in the range of 0-255. CAN Acronym for Controller Area Network. DeviceNet is based on CAN. CAN ID or identifier is an 11-bit field that identifies each message on any CAN network. CAN IDs must be unique. Class A set of objects that behave in a similar manner. Each object class is assigned an integer value called the Class ID (0-65535). Classes 0-99 are open, classes 100-199 are vendor specific. Higher numbers are divided between open, reserved and vendor specific, but are currently rarely used. Vendor specific classes are defined by the vendor. Client The device that originates a transmission. Applies to Explicit Messaging. With Explicit Client messaging, the PanelView terminal is the client device that requests or sends information from/to a server device. See Server. Connection The logical link between a node and one or more other nodes (for production or consumption). Most nodes have at least two connections (one explicit, one I/O).
COS
Acronym for Change of State. I/O messages are sent when data changes. If no change of state occurs, messages are sent at a pre-determined (heartbeat) interval. Cyclic I/O messages that are sent at a predefined fixed rate. DeviceNet DeviceNet is an open network standard based on CAN (Controller Area network). The specification and protocol are open. Vendors are not required to purchase hardware, software or licensing rights to connect devices to a system. Anyone may obtain the DeviceNet Specification from the Open DeviceNet Vendor Association, Inc. (ODVA) for a nominal reproduction charge (http://www.odva.org).
Publication 2711-6.0.4
Glossary-2
DeviceNet Manager Personal computer running DeviceNet Manager software (Catalog No. 1787-MGR). This software configures DeviceNet nodes using explicit messages. Also see RSNetworx. EDS Acronym for the Electronic Data Sheet. A specially formatted ASCII file that provides information about a devices configuration data context, content, and format. The information in an EDS allows configuration tools to provide information screens that guide a user through the steps necessary to configure a device. Explicit (Client or Server) Messages Provide multi-purpose, point-to-point communication paths between 2 devices. They provide the typical request/response-oriented network communications to perform node configuration and problem diagnosis. Explicit messages typically use low priority identifiers and contain the specific meaning of the message right in the data field. This includes the service to be performed and the specific object attribute address. They do not need to be active all the time. Identifier See CAN ID Instance An actual object such as a counter. The terms Object Instance, Object, and Instance all refer to an actual object and are often interchangeable. See also: Assembly Object and Object I/O Slave Messages I/O messages are time critical, control oriented data. They provide a dedicated, special purpose communication path between a producing application and one or more consuming applications. They are exchanged across single or multi-cast connections and typically use high priority identifiers. Unlike explicit messages, I/O messages contain only data, they do not contain any protocol in the 8-byte field. Node Address A unique number that identifies a device on a DeviceNet network. Object Each object has a defined behavior and data structure. Different objects respond differently to the same event. See Instance. Poll Messaging that involves an output message from the master to the slave. The slave responds with an input message. These messages can be of any reasonable length, including zero. Predefined Master/Slave Connection Set A simplified network scheme in which controllers (PLCs/SLCs) and computers are usually masters and the PanelView terminal is the slave. It is possible for a node to simultaneously be both master and slave (for example, the DeviceNet Scanner 17xx-SDN). The Predefined Master/Slave Connection Set includes three types of I/O connections: Poll, Strobe and COS/Cyclic.
Publication 2711-6.0.4
Glossary-3
RSNetworx Network manager software (Catalog No. 9357-DNETL3). Similar to DeviceNet Manager software. Server The device that responds to a message from a client device. The Servers response may cause it to return a message to the client. Applies to both Explicit messaging and I/O connections. With Explicit Server messaging, the PanelView terminal is the server device that responds to information requests from client devices. See Client. Strobe Messaging that involves an output message broadcast by the master to all slaves configured for this type of messaging. Each slave responds with an input message. The output message has one bit of data for each slave. The input message is from 0 to 8 bytes long. Also known as Bit-Strobe. The PanelView does not support this type of messaging. UCMM Acronym for Unconnected Message Manager. The UCMM provides for the dynamic establishment of Explicit Messaging Connections. Many simple devices do not have UCMM capabilities and may be referred to as group 2 only server devices.
Publication 2711-6.0.4
40061-369-01(C)
1999 Rockwell International Rights Reseved. Printed in USA