Delta PLC-5, SLC-500, 1770-KF2 User Manual

Allen-Bradley Driver for DeltaV
Programmable Serial Interface Card
USER MANUAL
May 2003
Rev. P1.7
Allen-Bradley and DeltaV are registered trademarks and DeltaV is a trademark of Emerson © Emerson 1998, 1999, 2000, 2001. All rights reserved.
Printed in the U.S.A.
While this information is presented in good faith and believed to be accurate, MYNAH Technologies does not
guarantee satisfactory results from reliance upon such information. Nothing contained herein is to be construed as
a warranty or guarantee, express or implied, regarding the performance, merchantability, fitness or any other matter with respect to the products, nor as a recommendation to use any product or process in conflict with any
patent. MYNAH Technologies reserves the right, without notice, to alter or improve the designs or specifications of the products described herein.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
1
Powerful Solutions for Digital Plants
1 INTRODUCTION
1.1 Scope
This document is the User Manual for the Allen Bradley serial communication driver
firmware for the Emerson DeltaV Control System; it provides information required to install, configure, and maintain the Allen-Bradley driver firmware on the DeltaV Programmable Serial Interface Card (PSIC). The reader should be familiar with the DeltaV controller system and the Allen-Bradley PLC-5 Family of Programmable Logic Controllers, the Allen­Bradley SLC-500 Family of Serial Logic and/or Controllers Allen-Bradley PLC-3 Family of Programmable Logic Controllers.
A DeltaV Programmable Serial Interface Card with the Allen-Bradley driver may
communicate with the Allen-Bradley PLC-5 Family of Programmable Logic Controllers, the Allen-Bradley SLC-500 Family of Serial Logic Controllers and/or Allen-Bradley PLC-3 Family of Programmable Logic Controllers within the constraints delineated herein. In general for driver version 1.0, the Allen-Bradley family of SLC-500’s can communicate using the same command set used to communicate with the PLC-5 family. The SLC5/01 communicates via the PLC2 basic commands, so only file N9 can be accessed with the SLC5/01. For driver version 1.1, a specific command type was added to read/write SLC5/XX Input and Output tables. The previous release of the driver, version 1.4, expands on the SLC specific command to read/write all SLC tables. Additionally, this version allows you to select communications using Half Duplex/CRC. Note that the default is Full Duplex/BCC. This release, version 1.7, provides support for PLC-3 file read and write, and ControlNet extra hop addressing when using the Allen Bradley 1770-KFC15 gateway device.
The section Document Format briefly describes the contents of each section of this manual.
System Specifications outlines hardware and software requirements for the Allen-Bradley Driver (P1.7) firmware. Related Documents lists other documents used to prepare this manual.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
1
Powerful Solutions for Digital Plants
1.2 Document Format
This document is organized as follows:
Introduction
Theory of Operation
Downloading Firmware
PSIC Configuration
Operational Check
DeltaV-PLC/SLC
Electrical Interface
Describes the scope and purpose of this document
Provides a general functional overview of the Allen-Bradley Driver. Describes downloading procedures for the Allen-Bradley Driver firmware on to the DeltaV PSIC
Describes procedures and guidelines for configuring the DeltaV PSIC
Provide tips and assistance to ensure PSIC is properly setup and configured
Describes the electrical interface between DeltaV and the PLC-5, SLC5/XX or the PLC-3
Describes the pin assignments necessary for RS-232 and RS422/485 communications
1.3 System Specifications
The following table lists the minimum hardware requirements for the Allen-Bradley Driver:
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
2
Powerful Solutions for Digital Plants
Table 1: System Specifications
Specifications
Firmware
Protocol
Compatibility
Software
Requirements
Minimum
Hardware
Requirements
Allen-Bradley Driver Firmware (P1.7)
Allen-Bradley Protocol as defined in the documents:
Data Highway/Data Highway PlusÔ/DH-485 Communication Protocol and Command Set Reference Manual by Allen-Bradley
DeltaV System Software (Release 3.1 or later) installed on a hardware-appropriate Windows NT workstation configured as a ProPlus for DeltaV
Serial Interface Port License (VE4102)
DeltaV PSIC Hardware Rev 1.1 or later (Series 1 only)
DeltaV M3, M5, M5Plus, or MD Controller, Power Supply and 2­wide controller carrier
8-wide I/O card carrier
Allen-Bradley PLC-3 Family of Programmable Logic Controllers, Allen-Bradley PLC-5 Family of Programmable Logic Controllers or Allen-Bradley SLC5/XX family of Serial Logic Controllers or equivalent
1.4 Related Documents
The following documents were referenced either directly or indirectly in the development of
this document:
n 96KH06.D01 - Type KJ3003 Serial Interface Hardware Specification n 96KH05.D03 - DeltaV Programmable Serial Card Design Document n DeltaV Programmable Serial Card Application Guide n DeltaV Programmable Serial Card Allen-Bradley Data Highway Settings Rev 3 n Data Highway/Data Highway PlusÔ/DH-485 Communication Protocol
and Command Set by Allen-Bradley
n 96KH05.D01 DeltaV Serial Card Design Document n Allen-Bradley DF1 Protocol and Command Set Reference Manual n Allen-Bradley Enhanced and Ethernet PLC-5 Programmable Controllers User Manual n Allen-Bradley Software Configuration Manual n Allen-Bradley Programming Manual n Allen-Bradley Instruction Set Reference n Allen-Bradley Enhanced and Ethernet PLC-3 Programmable Controllers User Manual
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
3
Powerful Solutions for Digital Plants
2 THEORY OF OPERATION
As part of the serial interface port license, a standard Modbus protocol is installed on the
DeltaV PSIC prior to customization. The PSIC needs to be flash upgraded from the Modbus protocol to the Allen-Bradley protocol before operation.
The Allen-Bradley serial driver implements DF1 protocol. It communicates with PLC-3, PLC-5 or SLC5/XX devices on the DH+ network through either a 1785-KE or 1770-KF2 communication modules. These modules convert the DF1 serial protocol to the DH+ network protocol. The switch settings must be configured properly for the RS-232 or RS­422/485 prerequisite for proper operation.
The Allen-Bradley Driver communicates with the PLC and updates emulated DeltaV I/O
with the data received from the PLC. The primary functions of the driver are listed below:
· Performs data and message handling between DeltaV and PLC-3 / PLC-5 / SLC5/XX.
· Sends messages to PLC-3 / PLC-5 / SLC5/XX from DeltaV
· Processes reply information and updates the corresponding emulated DeltaV I/O
channels
· Update emulated input channel status and Data Block status to indicate the
communication state of PLC-3 / PLC-5 / SLC5/XX.
· Checks validity of messages received by PLC-3 / PLC-5 / SLC5/XX.
Upon proper installation and configuration of the Allen-Bradley driver within the
DeltaV/PSIC system, communications with a properly configured Allen-Bradley PLC-3 / PLC-5 or SLC5/XX may proceed.
There are a maximum of 16 Datasets (DS) per port, with a total of 32 per PSIC. The
maximum number of data elements per Dataset that can be supported by the PSIC depends on the data file type. Note that the number of supported Datasets does not change. The following table describes this correlation:
Dataset Data File Type
Boolean 100 Discrete 100 8-bit signed integer 100 16-bit signed integer 100 32-bit signed integer 50 8-bit unsigned integer 100 16-bit unsigned integer 100 32-bit unsigned integer 50 Floating point 50 String 1
The DeltaV PSIC is the master in all communications. It polls each input device and
requests data values on a message by message basis. The output is performed when a new value is to be written to the devices. The PSIC constantly scans the configured input Datasets for new values and updates the database. Upon a change of value in the output Dataset, the PSIC will finish the current input scan and suspend the input process. It will service all the output requests before resuming the input process.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
Number of Data Elements or Registers
www.mynah.com
4
Powerful Solutions for Digital Plants
With the Allen-Bradley driver installed, the “Advanced” tab under port properties will allow
selection of the configuration option for the port to act as a slave. This Allen-Bradley driver does not support slave functionality, so this configuration option is not valid.
The Allen-Bradley driver supports PLC-5 Logical ASCII and binary addressing, and
SLC5/XX Protected Typed Logical addressing.
NOTE: When addressing registers, DeltaV PSIC register numbers are 1 based,
whereas PLC and SLC registers are 0 based.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
5
Powerful Solutions for Digital Plants
3 Downloading the firmware
To begin installation of the Allen-Bradley driver, create a folder on the hard drive. The
preferred location for the folder is at C:\DeltaV\Ctl\ProgSerial\AllenBradley, although any location will work.
Next, copy the eight files from the diskette provided. Those files are:
1200.idf IO_Compatibility.csv AllenBradleyApp.sdf AllenBradleyApp.hex SerBoot.hex SerReleaseApp.hex StandardModbusApp.sdf Ab-manual.pdf
Once the files have been copied to the appropriate folder, the process of downloading the
driver can begin:
1. Start the “Controller Upgrade Utility” from the DeltaV/Installation menu
2. Select “Upgrade I/O Modules” and engage the “Next” button
3. From the controller list select the controller to which the serial card is attached and enter the “Next” button
4. Find the list of I/O cards connected to the selected controller. At the bottom of the screen there is an upgrade file path displayed. Enter the “Browse” button and browse to the directory containing the Allen-Bradley driver. This should be C:\DeltaV\Ctl\ProgSerial\AllenBradley. Engage the “OK” button to return to the I/O card selection screen
5. Select the Serial Card or Prog Serial Card to be upgraded
6. If the user chooses a standard Serial Card to be upgraded then the card will automatically be upgraded as soon as the “Next” button is entered. If the user chooses a Prog Serial Card, the user will be prompted for the SDF file to use. Browse to and select the proper SDF file. Press the “Open” button followed the “Next” button to start the upgrade process
7. The Flash Upgrade process should start and the progress will be displayed in the progress window. An upgrade complete message will be displayed upon completion of the upgrade.
8. If a standard Serial Card was used for this installation, delete the Serial Card in DeltaV Explorer and Auto-sense the new Prog Serial Card. Installing a special driver changes the card from a standard Serial Card to a Prog Serial Card.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
6
Powerful Solutions for Digital Plants
4 CONFIGURATION INFORMATION
4.1 Channel Attributes Block of PSIC
This section describes the steps necessary to configure the DeltaV PSIC and the Allen-
Bradley PLC such that communications may be invoked
Channel Attributes Block
For the PSIC configuration, there is one channel attributes block per Dataset. There can be up to 16 Datasets configured per port for a total of 32 Channel Attribute Blocks per Serial Card. Each Channel Attribute Block contains all the configuration information for a single configured PSIC Dataset.
The four following attributes (page 9) are unique to the Allen-Bradley Data Highway serial card. All other values are as per the standard serial interface card. Information for the standard serial interface card can be found in DeltaV Books Online, under the title “Using Serial Data Control Strategies”.
MYNAH Technologies  504 Trade Center Blvd.  Chesterfield, MO 63005  Telephone 636 681-1555  Fax 636 681-1660
www.mynah.com
7
Loading...
+ 18 hidden pages