hc900 Opcserver
hc900 Opcserver
hc900 Opcserver
PDB interface
Fig. 1 Client-Server Architecture for Kepware HC900 OPC Server The HC900 OPC server from Kepware allows communication of data from one or more HC900 controllers to one or more concurrent software applications having compliant OPC client interface capability. The Kepware server (known as KEPServerEx) also provides direct, native interface to Wonderware InTouch software via their FastDDE/Suitelink interface and to Intellution IFix software via their PDB interface. These fast interfaces to the server, developed in conjunction with the respective software vendors, are preferred over the OPC in these packages and provide similar client connectivity. HC900 tags created by the setup wizard can be selected and imported using methods familiar to users of these packages, lowering development time. Kepwares OPC Server can communicate with a client interface locally on the same PC, over Ethernet on a different PC, or over the Internet via connection to a company network. On the HC900 network side, communications to the OPC server is via an HC900 Ethernet driver using Modbus/TCP protocol.
Date: 3-17-03
History of OPC
In 1994, a group of vendors serving the industrial market formed what is known as the OPC Foundation. The Foundations goal was to develop a single client/server specification that would allow any vendor to develop software and applications that could share data in a fast, robust fashion that eliminates proprietary schemes. Another Windows data transfer standard, DDE (Dynamic Data exchange), did not provide the speed and robustness required for the industrial market. Their first specification, called Data Access Specification 1.0a was released in 1996, now Data Access V2.0. Using this specification, vendors are able to develop OPC server and client software. On a more technical basis, OPC is based on Microsofts OLE (Object Linking and Embedding, now ActiveX), COM (Component Object Model) and DCOM (Distributed Component Object Model) technology and is available for all 32-bit Windows Operating Systems from Microsoft. COM and DCOM enable the definition of standard objects, methods, and properties for servers of real-time data from industrial control and data acquisition equipment. Additionally, OPC via an OPC Server, can provide HMI or office applications with plant floor data via Ethernet networks, remote sites, or the Internet.
What are the Benefits for the Kepware OPC Interface to HC900?
Open Connectivity customers will be able to choose from a wider variety of client software to communicate with HC900, allowing best-in-breed selection. The OPC standard has gained increasing acceptance in recent years. There are hundreds of OPC servers available today to communicate data from industrial hardware. Most popular HMI, SCADA and data acquisition software offer OPC client functionality to allow this data to be easily imported as tags within their database. This could be an HMI package such as GE Fanuc Cimplicity, Rockwell RSView 32, or OSI Systems PI data historian software, for example. In addition, the server also supports native, fast client interfaces to Wonderware InTouch and Intellution IFix with similar ease of use. Easy Setup using HC900 Wizard allows HC900 OPC server to be created in a few minutes for access to major control loop parameters, all set point programmer parameters, Signal Tags, and Variables by default tag name. Signal Tags and Variables will also be listed with analog and digital selections for interface as floating point or Boolean, depending on data type configured in the HC Designer configuration. Easy Connection to Client Applications - many software package clients offer a browsing capability to view HC900 data groups generated by the wizard for selection and assignment as tags. Applications written in various languages can communicate easily as long as they are OPC compliant for the same version of OPC. The Kepware OPC server supports OPC Versions 1.0 and 2.0. Client/Server architecture the HC900 OPC Server can communicate with several client applications concurrently (such as data acquisition software and HMI packages). This can occur locally on the same PC or remotely over Ethernet TCP/IP (via Microsofts DCOM). High Performance OPC provides high data throughput between the client interface and the HC900 OPC server. Performance is preserved by an efficient implementation of the HC900 driver via the controllers Mobus/TCP protocol. Data Sharing Between OPC Servers Kepware also includes their LinkMaster capability on the product CD that allows it to access and link data from other OPC servers and offer that data to any OPC/DDE client. The product provides the means of linking data between OPC servers; thus, acting as a universal bridge for OPC server/client components.
Date: 3-17-03
Date: 3-17-03
The channel is named, driver plus NIC (Network Interface Card) selected, and write optimization method (typically the default) selected. Device Setup The next step is to add a device, an HC900 controller.
In consecutive dialog boxes, the controller is named, IP address assigned, communications timeouts set (use defaults typically), and port number entered (use 502 default). The 32-bit data type word order, as applied to floating point data, is next selected in the New Device Settings dialog box. The default is an un-checked box (this provides Honeywell controller standard format for 32-bit word order selection - FP B, Big Endian). However, many software packages such as Wonderware and Intellution have the reverse of this order as standard. In these cases, rather than changing it at the controller level via the HC Designer tool, you may check the box as shown below.
For Wonderware or Intellution floating point data interface, check this box
Date: 3-17-03
The next dialog box allows you to set the block transmission sizes. You may want to expand the holding register block size to 64 or above if using SP programmers and accessing segment data. Tag Generation Wizard The final dialog box is for the HC900 automatic tag generation wizard. The device wizard for HC900 provides automatic tag generation, organized in tag groups, for the OPC server based on user entries of: Number of control loops in configuration Number of Signal Tags in configuration Number of Variables in configuration Number of Setpoint Programmers in configuration plus number of segments for each programmer
Consult the HC Designer configuration and enter the desired numbers for loops, Variables, Signal Tags, and SP Programmers. If SP Programmers are entered, click on Details and enter the number of segments for each programmer. Once these entries are made, the tag groups are automatically generated with default tag names (you may alter as desired). Important: The HC Designer configuration reports should be consulted as a reference for these numeric entries. The control loop number sequence is per the Block Modbus Address Report listing for loops while the Signal Tag and Variable numbering is per the Tag Information Report. The Signal Tags and Variables are listed with both float and Boolean selections to allow proper interface to the client application. The user should refer to the Tag Information report to determine the data type assignment (Digital translates to Boolean while Analog translates to Float). The user may define other tag groups and provide tag entries based on Modbus addresses. In this case, the HC900 Communications User Manual should be consulted (part # 51-52-25-111). Use the wizard-generated tag list as a guide for data formats.
Date: 3-17-03
Tag Groups Generated For the above entries, the tag groups generated are shown below. All relevant control loop parameters are listed.
Each signal tag or variable is listed with 2 data types for access as a float or Boolean. Consult the Tag Information report from HC Designer to determine the proper data type. The signal tags are read only while the Variables are read/write, used for data entry from a client application.
Date: 3-17-03
Setpoint Programmer Tag Groups All communication parameters for the HC900 setpoint programmers are listed in sub-groups a Parameters group (for general status data and Start/Hold/Adv/Reset operation), an Additional Parameters group (includes profile number access), and Segment data groups. These groups will allow recipes to be generated in the client application and pointed to locations in the controller, or simply allow selection of profiles stored in the controller.
SP Programmer Status
Date: 3-17-03
Date: 3-17-03
You may also create another, concurrent, Kepware Quick Client connection to simulate OPC server browsing and tag additions using the New Server , New Group and New Item selections. A typical client application might have a tag browser similar to below: tool bar
PV Item selected
In the case shown above, the tag name to be added to the client application is Chan1.HC900a.Loop_01.PV. This can be either pasted directly into a tagname cell in a client tag definition dialog box or, in some cases, used as a reference for entry into the client application tagname dictionary or similarly named dialog boxes (see Kepwares Client Connectivity Guide on the kepware.com website). Support for Wonderware InTouch and Intellution IFix In cooperation with the respective software vendors, interfaces have been developed that use the Kepware OPC server setup structure but communicate in a native, fast structure supported by the vendor software package (not OPC). This provides the most efficient means for interface to the vendors application by the user. For Wonderware InTouch, the interface would use FastDDE or SuiteLink. In the Tagname Dictionary setup, the user would enter the access name for the application (e.g., KEPServerEX), the topic (e.g. HC900a_Loop_01) including DDE or SuiteLink connection choice, and the item (e.g., PV) including the data type as the reference for the InTouch TagName entered. See Kepwares Client Connectivity Guide for more detail. For Intellution, the PDB interface is utilized. See Kepwares Client Connectivity Guide for details (to be updated to include this interface in 2Q03).
Date: 3-17-03
Honeywell OPC Server Part Number: 51452976-001 (Honeywell OPC Server Suite from
Kepware, includes HC900 and UDC3300 drivers)
References
Websites:
http://opcfoundation.org (official OPC Foundation website) http://kepware.com (for OPC overview, Client Connectivity Guide, Visual BASIC client interface, remote DCOM connectivity) http://content.honeywell.com/imc/pi/hybrid/hc900.stm (for general HC900 information and manuals) Manuals: Honeywell HC900 Hybrid Controller Communications User Manual, # 51-52-25-111
Date: 3-17-03
10
Glossary Name/Acronym
Active X
Name/Definition
A set of technologies developed by Microsoft, largely based on OLE and COM Ethernet network using twisted pair wiring and RJ-45 connectors, used in star topologies
Comments
10Base-T
COM
DCOM Ethernet
Distributed Component Object Model LAN protocol defined by IEEE 802.3 networking standard (physical and data link layers). Uses CSMA/CD access method at a variety of speeds and using several different media A hardware device with multiple ports enabling one device to be connected to several others A system of networks (local, regional, national, and international) linked by the TCP/IP protocol suite that function as single, cooperative, virtual network. Variant of Modbus protocol
Hub
Most popular Ethernet standard. In the name 10Base-T, the 10 refers to 10 Mbps transmission speed, the Base refers to Baseband, which means that no frequency multiplexing is applied, and the -T refers Twisted Pair conductors in the cable. Component Object Model provides interfaces and inter-component communication. Through COM, an application may use features of any other application object. COM is the core of DCOM, Active X, and OLE. An extension of COM to support objects distributed across a network 10 or 100 Mbps, Baseband network that uses various media (twisted pair, thick coax, thin coax, or fiber optic cable). Example: 10Base-T is 10 Mbps Twisted Pair. A hub forwards all messages on one of its ports to all of its other ports with no isolation between devices.
Internet
Modbus/TCP is a derivative of related Modbus RTU protocol used with RS232/RS-485 data acquisition and supervisory structures. Basically, Modbus/TCP encapsulates Modbus RTU frames in TCP frames for transport over an Ethernet network. An object is some function that produces a defined output, given that the input meets predefined parameters
Object
OLE
A technique that allows users to create objects with one application and then link or embed them in a second application. Embedded objects retain their original format but are linked to the application that created them.
Date: 3-17-03
11
A system of rules for communicating over a network. A device that is capable of filtering messages based on IP addresses. A multi-port Ethernet device that switches traffic between two or more network segments on an addressselective basis. Also called switching hubs.
TCP/IP
An Ethernet switch looks like a hub, but unlike a hub automatically determines and remembers where an Ethernet device is located and routes messages only through the appropriate port. This minimizes network loading and enables true deterministic communications over Ethernet by eliminating collisions. Transmission Control Protocol (TCP): - Operates at the Transport Layer of the OSI Model. - manages connections between computers. Internet Protocol (IP): - operates at the Network Layer (one step below TCP) - defines how data is addressed (source/destination)
Date: 3-17-03
12