The text of a manual · part 40 of 41
AdaptaScan Bar Code Readers (Cat. Nos. 2755-SN3, -SN5, and -SN8) Application Guide, pages 339 to 346
Pages 339 to 346 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 339
Communicating with PanelView Terminals on a DeviceNet Network
Using the Electronic Data Sheet
17–17
The Electronic Data Sheet (EDS) contains operating parameters for the PanelView terminals communicating with other DeviceNet devices on an Explicit messaging level (no scanner). The EDS parameters can automatically be uploaded to the PanelBuilder tag editor. When the Explicit-Client message type is selected in the tag editor, the “Load From EDS” option appears on the dialog. To load parameter data from the EDS: 1. Click the Load From EDS button to open the Open dialog.
devnet eds PV900 Photo RediSt Drive
2. Select the EDS file you want to read. 3. After the file is loaded, the following dialog is displayed.
When you select a group, parameters available in that group will be selectable. By default, all parameters are displayed. 4. Select the appropriate parameter. If the parameter has bit-field enumeration associated with it, an Enumerated Data Item should be selected. 5. Select OK to continue. The class, instance, and attribute associated with the selected parameter is displayed on the tag form.
Publication 2755-6.8
Page 340
17–18
Communicating with PanelView Terminals on a DeviceNet Network
Downloading Applications over a Serial Link
To download a DeviceNet application from your computer to the PanelView 900 terminal over an RS-232 link: • connect computer to RS-232 port of PanelView terminal • download application from the PanelBuilder Application menu Use PanelBuilder’s internal DF1 driver or the DF1 INTERCHANGE driver for the download. The internal DF1 driver uses fixed DF1 settings that match those of the RS-232 port of the terminal.
Downloading Application using the Internal DF1 Driver ➀ Open the application you want to download.
➁ Choose Download from the Application menu.
➂ Select the Download parameters. Select Operator Terminal
Select Internal DF1 Driver Shows DF1 driver is active on COM1 port Enter name of .PVA file in which to save the translated .PBA file
➃ Application is validated and translated to a .PVA file. If errors or warnings are detected, the Exceptions dialog opens. You must correct errors before download can proceed. ➄ PanelBuilder Software and terminal display status of download. ’TEST.PVA’
➅ Terminal resets, verifies and starts application.
Publication 2755-6.8
Click OK when done
Setup button is active if more than one COM port is available to DF1 driver.
Page 341
Communicating with PanelView Terminals on a DeviceNet Network
17–19
DeviceNet Application Report
The application printout for DeviceNet provides the following information: • configuration data • tag data • supplemental data
Error Messages and Codes
The following tables lists error messages and codes specific to DeviceNet communications. For all other messages, refer to the PanelView and PanelBuilder user manuals.
PanelBuilder Tag Error Messages Message
Recommended Action
Tag: <Tag Name> - Incomplete Address
Change the tag address so it is the following format: I:<word>/<bit> or O:<word>/<bit> where <bit> is required for Bit and Bit Array.
Tag: <Tag Name> - Invalid Element Number
The Tag Address should have a numeric word offset.
Tag: <Tag Name> - Expected Slash / in Tag Address
Add a slash and bit number to the Tag Address
Tag: <Tag Name> - Invalid Bit Number. Bit number must be 0-15.
Change the bit number to a value between 0 and 15.
Tag: <Tag Name> - Expected Output Tag. Tag Address should begin with O.
Change the Tag Address so it begins with an O.
Tag: <Tag Name> - Expected Input Tag. Tag Address should begin with I.
Change the Tag Address so it begins with an I.
Tag: <Tag Name> - Input Element Extends Beyond Input Size.
The word offset in the Tag Address must be less than the Input Size specified on the Communications Setup Dialog.
Tag: <Tag Name> - Output Element Extends Beyond Output Size.
The word offset in the Tag Address must be less than the Output Size specified on the Communications Setup Dialog.
Tag: <Tag Name> - Expected Discrete Tag.
The Data Type implies that the Tag Address should specify a bit number.
Tag: <Tag Name> - Expected Analog Tag.
The Data Type implies that the Tag Address should not specify a bit number.
Tag: <Tag Name> - Invalid Packet Length. Packet Length must be 1-128 bytes.
Change packet bytes to 1-128 bytes.
Tag: <Tag Name> - Cannot be converted to current protocol format.
This tag must be manually edited to the DeviceNet protocol.
Tag: <Tag Name> - Invalid Node Address. Node must be 0-63.
DeviceNet node addresses must be 0-63.
Tag: <Tag Name> - Invalid Bit Offset. Bit Offset must not extend beyond the packet length.
Reduce the Bit Offset.
Tag: <Tag Name> - Expected Read Tag.
Uncheck the Write Tag box on the Tag Form.
Tag: <Tag Name> - Expected Write Tag.
Check the Write Tag box on the Tag Form.
Tag: <Tag Name> - Invalid Address Type. Address must begin with I or O.
Modify the Tag Address to begin with I or O.
Tag: <Tag Name> - Explicit Server Input and Output Tags have been assigned to the same Assembly Instance.
An Assembly Instance can only be assigned all input tags or output tags. Place input and output tags in separate assembly instances.
Tag: <Tag Name> - Invalid Data Size. Data element extends beyond input or output size.
Increase the input or output size on the terminal setup screen.
Tag: <Tag Name> - Expected Colon. I or O should be followed by :
Add a colon : after the I or O.
Tag: <Tag Name> - Bit Offset must be a multiple of 8 for Character Arrays.
Adjust the Bit Offset on the Tag Form.
Tag: <Tag Name> - Explicit Server Input Elements must be 0-63.
Reduce the word offset for the associated Tag Address.
Table continued on the next page.
Publication 2755-6.8
Page 342
17–20
Communicating with PanelView Terminals on a DeviceNet Network
Message
Recommended Action
Tag: <Tag Name> - Explicit Server Output Elements must be 0-63.
Reduce the word offset for the associated Tag Address.
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.
Most PanelBuilder controls write only 1 element of data. If the associated Data Type is an Unsigned Integer, this implies 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.
Tag: <Tag Name> - Data Type implies Packet Bytes should be equal to 4. Certain PanelBuilder controls, however, may require additional bytes.
Most PanelBuilder controls write only 1 element of data. If the associated Data Type is a Floating Point, this implies 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.
Tag: <Tag Name> - Data Type implies Packet Bytes should be less than or equal to 2. Certain PanelBuilder controls, however, may require additional bytes.
Most PanelBuilder controls write only 1 element of data. If the associated Data Type is an Bit Array, this implies 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.
Tag: <Tag Name> - The length of the data extends beyond the size of the packet.
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 size extends beyond the 64 word limit of the Assembly Instance.
Tag: <Tag Name> - The length of the data extends beyond the size of the packet. Adjust Packet Bytes to at least #.
Increase the Packet Bytes assigned to the tag.
Tag: <Tag Name> - This tag cannot be assumed consistent or ”atomic”. The tag’s Message Type is inconsistent with previous tags in 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 other members of this group.
Tag: <Tag Name> - This tag cannot be assumed consistent or ”atomic”. The Assembly Instance is inconsistent with the previous tags in this group.
Tags have been assigned to a PanelBuilder control that must be updated in the same data packet. Change the Assembly Instance so that it is the same as the other members of this group.
Tag: <Tag Name> - This tag cannot be assumed consistent or ”atomic”. The Peer’s Class, Instance, Attribute, or Node Address is inconsistent with previous tags in 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.
PanelBuilder Device Error Messages Message
Recommended Action
Device: <Device Name> - Cannot be converted to current protocol format.
Create a new device entry under the Terminal Setup Dialog.
Device: <Device Name> - Converted to DeviceNet. Default communication parameters will be used.
Update the Communications Setup Dialog to the appropriate network values. (i.e. Node Address, Baud Rate, etc.)
Device: <Device Name> - Communication settings have never been initialized.
Update the Communications Setup Dialog to the appropriate network values. (i.e. Node Address, Baud Rate, etc.)
PanelBuilder Translation Error Messages Message
Recommended Action
Too many peer accesses. Only 128 Explicit-Client message channels are allowed per application.
Reduce the number of Explicit-Client Tags in your application.
Translation Failure
Contact Allen-Bradley for technical support.
Publication 2755-6.8
Page 343
Communicating with PanelView Terminals on a DeviceNet Network
17–21
Electronic Data Sheet (EDS) File Error Messages Message
Recommended Action
The DeviceNet Data Type (#) is unsupported by PanelView. Use of this parameter may produce unexpected results.
There is no corresponding PV Data Type for the DeviceNet parameter that was chosen. Use of 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 DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that either Bool or Bit Array is chosen.
Bool or Bit Array corresponds most closely to the parameter 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.
Signed or Unsigned Integer corresponds most closely to the parameter chosen.
The DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that Floating Point is chosen.
Floating Point corresponds most closely to the parameter chosen.
The DeviceNet Data Type (#) does not match the PanelView Data Type chosen. It is recommended that Char Array is chosen.
Character Array corresponds most closely to the parameter chosen.
This parameter designates that extended precision scaling should be used to display the parameter. PanelView does not support extended precision scaling.
The chosen parameter specifies Extended Precision Scaling. The appropriate scaling factor must be manually determined and entered into the Scale and Offset fields on the Tag Form.
In order to support scaling, the PV Data Type will be changed to Unsigned Integer.
The chosen parameter has scaling factors. To support scaling factors, an appropriate PV Data Type must be chosen. The scaling factor will be calculated and entered as the Scale and Offset values on the Tag Form.
Unable to open EDS File.
The system was unable to open the specified EDS file.
Invalid EDS File.
The EDS file is corrupt or contains too many parameters to be read.
Could not allocate memory.
The system is unable to allocate enough memory to read the EDS file.
Publication 2755-6.8
Page 344
17–22
Communicating with PanelView Terminals on a DeviceNet Network
Communication Status Error Messages 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 display on the terminal configuration screen. Errors numbered less than 10 are considered minor fault conditions and will clear automatically when corrected. Errors numbered above 10 require that the terminal be reset to clear the error. Code 1
Indicates No connections established. Occurs on power-up until a
Recommended Action(s) Establish a connection over DeviceNet to the PanelView.
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.
Make sure that wiring is OK on the network and that the master device (scanner, etc. ) is operational.
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.
Make sure that the specified location of the data 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 available 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, etc.).
4
A zero length I/O message was received placing the I/O application in idle mode. Occurs when the scanner is in program mode.
Error clears when switched back to run. Correct the problem of the Master sending the I/O idle condition.
5
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 when large I/O sizes are involved.
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
No network power detected. Occurs if no network 24V is present.
Make sure DeviceNet wiring is providing power to the PanelView and reset the terminal.
12
Dup MAC Failure. Occurs if the PanelView powers up with the same Node Address present on the network.
Change the node address to one not currently in use and reset the terminal.
13
Bus-Off Interrupt occurred. CAN Chip is held in reset. Caused by noise on network signal lines or attempting to attach to the network at the wrong baud rate. May also occur if some other device on the network attaches at the wrong baud rate
Make sure Baud Rate is correct and wiring is correct on the network, including termination resistors. Reset the terminal.
2
3
Publication 2755-6.8
Page 345
Communicating with PanelView Terminals on a DeviceNet Network
17–23
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 particular condition. Operation of the terminal continues. Alert messages can be cleared. Code
Indicates
Recommended Action(s)
2
Unsupported DeviceNet Message type received. A message was received by the Network Access Object that is not supported.
This should not occur in normal operation. Clear the message and if the problem reoccurs, consult Allen-Bradley.
3
Initial Writes Failure. The Motherboard failed to send all input data to the daughter card prior to network startup. This error should not happen during normal operation.
Clear the message and if the problem reoccurs, consult Allen-Bradley.
4
Invalid Explicit-Client Address. Occurs at run time if the node address associated with an Explicit-Client tag is the same as the PanelView’s own.
Clear the message and determine which tag in the application is pointing to the PanelView’s node address. Correct the application.
7
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.
Clear the message. Excessive network traffic could cause this problem if inputs are changing rapidly.
8
Identity Object Reset Service received over DeviceNet. Occurs if an external device sends a Identity Object Reset Service to the PanelView.
An external network device has requested the PanelView be reset. Reset the PanelView manually from the configuration screen.
10
Unsupported DeviceNet message received. Should not occur under normal operating conditions.
Clear the message and if the problem reoccurs, consult Allen-Bradley.
12
Invalid ASA Number (0x00000000 or 0xFFFFFFFF). Will not occur unless the flash memory has been corrupted or an invalid ASA number was programmed in the production process.
Clear the message. The message will reoccur each time the terminal is reset. The terminal will operate normally but the problem should be corrected. Consult Allen-Bradley.
13
Invalid Screen Context Priority received. Should not occur under normal operating conditions.
Clear the message and if the problem reoccurs, consult Allen-Bradley.
14
Get Next Scan Item Failed in peer mode. Should not occur under normal operating conditions.
Clear the message and if the problem reoccurs, consult Allen-Bradley.
Explicit-Client Input Data not received. Will occur if an input (push-button, etc.) changes a second time before its previous state was successfully sent on the network. Only for Explicit-Client Tags.
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 that the addressed attribute exists and is settable on the network. Clear the message and if the problem reoccurs, consult Allen-Bradley.
15
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.
19
Get Next Context Request Failure. In Explicit-Client mode scanning, the request for obtaining the next tag in current context failed. Should not occur under normal operating conditions.
Clear the message and if the problem reoccurs, consult Allen-Bradley.
Publication 2755-6.8
Page 346
17–24
Communicating with PanelView Terminals on a DeviceNet Network
Fault Messages These messages indicate critical fault conditions. They appear as a full screen box with an Error #635 in the upper left corner. The terminal must be reset to clear the condition. If the problem persists, Allen-Bradley should be contacted and the two digit code number associated with the error noted. Code
Indicates
Recommended Action(s)
17
Client Object Failed. No way to force this. Should not occur under normal operating conditions.
Reset the terminal and if the problem reoccurs, consult Allen-Bradley.
18
CAN Chip Failed to initialize. Should not occur under normal operating conditions.
Reset the terminal and if the problem reoccurs, consult Allen-Bradley
37
The channel size of a particular channel exceeds the size limitations set by the daughtercard. Should not occur under normal operating conditions.
Reset the terminal and if the problem reoccurs, consult Allen-Bradley.
20xx
Critical Internal DeviceNet Firmware fault. Should not occur under normal operating conditions.
Reset the terminal and if the problem reoccurs, consult Allen-Bradley.
Internal faults associated with motherboard/daughtercard communications. Should not occur under normal operating conditions.
Reset the terminal and if the problem reoccurs, consult Allen-Bradley.
Errors 9, 10, 11, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, and 36
Publication 2755-6.8