opc client interface reference epdoc-xx78-en-516a...opc client interface primary data source opc...

40
Experion PKS Release 516 OPC Client Interface Reference EPDOC-XX78-en-516A August 2020

Upload: others

Post on 09-Mar-2021

83 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Experion PKSRelease 516

OPC Client Interface ReferenceEPDOC-XX78-en-516A

August 2020

Page 2: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

DISCLAIMERThis document contains Honeywell proprietary information.Information contained herein is to be used solely for the purposesubmitted, and no part of this document or its contents shall bereproduced, published, or disclosed to a third party without theexpress permission of Honeywell International Sàrl.

While this information is presented in good faith and believed to beaccurate, Honeywell disclaims the implied warranties ofmerchantability and fitness for a purpose and makes no expresswarranties except as may be stated in its written agreement with andfor its customer.

In no event is Honeywell liable to anyone for any direct, special, orconsequential damages. The information and specifications in thisdocument are subject to change without notice.

Copyright 2020 - Honeywell International Sàrl

2

Page 3: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

3

CONTENTSContents 3

Chapter 1 - Planning considerations for OPC Client controllers 5OPC Client support 6

Other documentation for OPC 6

OPC-specific terms 6

Description of OPC 7

How OPC data transfer works 7

Callback 8

Explicit read request 8

OPC Quality 8

OPC Client interfaces and methods 12

Architectures for OPC Client 12

Valid OPC interface configurations 13

OPC Client controllers, channels, and points 14

Chapter 2 - OPC Client channel and controller reference 17Main properties for an OPC Client channel 18

Main properties for an OPC Client controller 21

Chapter 3 - OPC Client points reference 27Defining an OPC Client address for a point parameter 28

Address syntax for OPC Client controllers 28

Configuring Integration with Allen-Bradley ControlLogix usingMatrikon OPC Server 30

Rockwell Automation Studio 5000 Logix Designer 31

Matrikon OPC Server for Allen-Bradley 32

Defining main properties for ControlLogix OPC Client channel 33

Contents

Page 4: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Defining main properties for ControlLogix OPC Client controller 34

Defining Point Parameter Address Manually 34

Defining Point Parameter Address Manually using the Browser 35

Optimizing OPC Client scanning performance 36

OPC Client scan packets 36

Chapter 4 - Troubleshooting OPC Client issues 37Testing OPC Client communications with the server 38

Troubleshooting OPC Client communication errors 38

Notices 39

4

Contents

Page 5: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

CHAPTER

1 PLANNING CONSIDERATIONS FOR OPCCLIENT CONTROLLERS

This reference provides the information you need to set up, configure,and test OPC Client controller communications with the server. Thisguide applies to OPC Classic clients only. For information about OPCUA clients, see the OPC UA Client Interface Reference.

Revision history

Revision Date Description

A August 2020 Initial release of document.

How to use this guide

These are the steps for connecting and configuring an OPC Clientcontroller. Complete each step before commencing the next.

Steps Go to

Install and set up the OPC server Documentation supplied by theOPC server manufacturer

Install any OPC server configuration files on theOPC client computer

Documentation supplied by theOPC server manufacturer

Test communications between the OPC clientcomputer and the OPC server computer

Testing OPC Clientcommunications with the server

Use Quick Builder to define channels l OPC Client channel andcontroller reference

l "Build channels" topic in theQuick Builder User’s Guide

Use Quick Builder to define controllers l OPC Client channel andcontroller reference

l "Build controllers" topic inthe Quick Builder User’s

5

Page 6: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Steps Go to

Guide

Download channel and controller definitions tothe server

"Downloading items" topic in theQuick Builder User’s Guide

Use Quick Builder to define points Defining an OPC Client addressfor a point parameter

OPC Client supportThe OPC Client Interface is an OPC client that supportscommunications to OPC servers meeting the specification of the OPCData Access Standard, version 1.0a or 2.0.

The OPC Client Interface supports both local and remote OPC servers.

Matrikon OPC Server ver 4 must be used when interfacing to Allen-Bradley ControlLogix controllers.

Other documentation for OPCYou should read the documentation supplied by the OPC servermanufacturer before creating any OPC Client controllers.

OPC-specific termsThis section contains OPC-specific terms.

CLSID

A class identifier that identifies an object. An object registers its CLSIDin the system registration database so the object can be loaded andprogrammed by other applications.

group

A number of items with the same update rate and deadband.item

A single data source of the OPC server.OPC

OPC stands for Open Platform Communications. It is theinteroperability standard for the secure and reliable exchange of datain the industrial automation space and in other industries.

6

Chapter 1 - Planning considerations for OPC Client controllers

Page 7: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

7

ProgID

A programmatic identifier. A registry entry that can be associated witha class identifier (CLSID). The format of a ProgID is<Vendor>.<Component>.<Version>, separated by periods and with nospaces. The ProgID identifies a class, but with less precision. TheProgID is used to identify the OPC server from other COM/DCOMcomponents on the same computer. For more details, see any setupand installation instructions provided by the OPC servermanufacturer.

update rate

The internal update rate of the items in the OPC server.

Description of OPCOPC provides data from a data source and communicates the data toany client application in a standard way, thereby eliminating therequirement for an application to have specific knowledge about aparticular data source, such as internal structure andcommunications protocols.

An OPC server and an OPC client can reside either on the samecomputer (local server) or on different computers (remote server).

How OPC data transfer worksOPC server data is available to the OPC client as items. To receiveitems from the OPC server, the OPC client must gather one or moreitems into a group.

The OPC client requests the OPC server to create a group with aclient-specified maximum (at most) update rate and a deadband. TheOPC client then requests the OPC server to add items to the group.The update rate and the deadband of a group apply to all items in thatgroup.

TIP: There is no concept of hardware in the OPC Data AccessStandard; there are just items. An OPC server may represent apiece of hardware as an item and the item's value may indicatethe state of the hardware. However, whether or not suchrepresentation is available is server-specific.Although the OPC client can specify any update rate for agroup, the OPC server decides whether the request is honored.

Chapter 1 - Planning considerations for OPC Client controllers

Page 8: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Although the OPC client can specify the deadband for a group,the OPC server decides whether the deadband request ishonored.

CallbackGenerally, the OPC server sends data to OPC clients throughcallbacks. After a group has been created, the OPC server creates acache for the group items. The cache is updated according to thegroup's update rate. The OPC server sends only updated values to theOPC client for items in the group if there has been significant changesince the last cache update (based on the group's deadband).

This method of data update significantly reduces traffic between theOPC client and the OPC server as there is no need for periodic readrequests to the OPC server. An OPC client gets data when there is asignificant change. The level of change required to trigger an updatefrom the OPC server is defined by the OPC client.

Explicit read requestThe OPC client can also send explicit read requests to the OPC server,independent of the server callbacks. The OPC client specifies whetherthe data should come from the OPC server's internal cache or fromthe field/hardware device. This method of scanning is less efficientthan callback.

OPC QualityOPC quality and sub status parameters are returned with the itemvalue. In the Experion OPC Client Interface, use the configuration onthe OPC channel's Main properties tab to have 'stale' driven by thisquality.

OPC quality values are stored in Experion history archives.

The OPC quality and sub status parameters are available to externalOPC clients connected to the Experion OPC DA Server.

OPC Quality flags

OPC Quality flags represent the quality state for an item’s data value.The low eight bits of the Quality flag are defined in the form of threebit fields: Quality, Substatus, and Limit status. The eight Quality bitsare arranged as follows:

8

Chapter 1 - Planning considerations for OPC Client controllers

Page 9: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

9

QQSSSSLL

Quality BitField

QQ Bit value Define Description

0 00SSSSLL Bad The value is not useful for reasons indicated by theSubstatus.

1 01SSSSLL Uncertain The quality of the value is uncertain for reasonsindicated by the Substatus.

2 10SSSSLL N/A Not used by OPC.

3 11SSSSLL Good The quality of the value is good.

Table 1-1: Quality BitField

Substatus BitField

SSSS Bit value Define Description

0 000000LL Non-specific The value is bad but no specific reason is given.

1 000001LL ConfigurationError

There is a server-specific problem with theconfiguration. For example, the item in questionhas been deleted from the configuration.

2 000010LL NotConnected

The input is required to be logically connected tosomething but is not. This quality may reflect thatno value is available at this time, for reasons suchas the data source did not provide the value.

3 000011LL DeviceFailure

A device failure has been detected.

4 000100LL SensorFailure

A sensor failure has been detected. In somesituations, the Limits bit field can provideadditional diagnostic information.

5 000101LL Last KnownValue

Communications have failed. However, the lastknown value is available. Note that the age of thevalue may be determined from the TIMESTAMP in

Table 1-2: Substatus BitField for Bad Quality

Chapter 1 - Planning considerations for OPC Client controllers

Page 10: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

SSSS Bit value Define Description

the OPCITEMSTATE.

6 000110LL CommFailure

Communications have failed. The last known valueis not available.

7 000111LL Out ofService

The block is off scan or otherwise locked. Thisquality is also used when the active state of theitem or the group containing the item is InActive.

8–15

N/A Not used by OPC.

SSSS Bit value Define Description

0 010000LL Non—specific

The value is uncertain but no specific reason isgiven.

1 010001LL Last UsableValue

Whatever was writing to this value has stoppeddoing so. The returned value should be regarded asstale.

This substatus is associated with the failure of someexternal source to write something to the valuewithin an acceptable period. Note that the age ofthe value may be determined from the TIMESTAMPin the OPCITEMSTATE.

This substatus differs from a Bad Quality value withSubstatus 5 (Last Known Value). That substatus isassociated specifically with a detectablecommunications error on a fetched value.

2–3 N/A Not used by OPC.

4 010100LL Sensor NotAccurate

Either one of the following scenarios has occurred:

l The value has pegged at one of the sensorlimits, in which case the Limits field should beset to 1 or 2.

l By some form of internal diagnostics, thesensor is known to be out of calibration, inwhich case the Limits field should be set to 0.

Table 1-3: Substatus BitField for Uncertain Quality

10

Chapter 1 - Planning considerations for OPC Client controllers

Page 11: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

11

SSSS Bit value Define Description

5 010101LL EngineeringUnitsExceeded

The returned value is outside the limits defined forthis parameter. Note that in this case the Limits fieldindicates which limit has been exceeded but doesnot necessarily imply that the value cannot movefarther out of range.

6 010110LL Sub-Normal The value is derived from multiple sources and hasless than the required number of Good sources.

7–15

N/A Not used by OPC.

SSSS Bit value Define Description

0 110000LL Non-specific

The value is good. There are no special conditions.

1–5 N/A Not used by OPC.

6 110110LL LocalOverride

The value has been overridden. Typically this means theinput has been disconnected and a manually enteredvalue has been forced.

7–15

N/A Not used by OPC.

Table 1-4: Substatus BitField for Good Quality

Limit BitField

LL Bit value Define Description

0 QQSSSS00 Not Limited The value is free to move up or down.

1 QQSSSS01 Low Limited The value is pegged at some lower limit.

2 QQSSSS10 High Limited The value is pegged at some higher limit.

3 QQSSSS11 Constant The value is constant and cannot move.

Table 1-5: Limit BitField

Chapter 1 - Planning considerations for OPC Client controllers

Page 12: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

OPC Client interfaces and methodsThe following table lists the interfaces and methods used by the OPCClient Interface.

Interface Methods

IOPCCommon SetClientName

IOPCServer AddGroup

GetStatus

RemoveGroup

IOPCItemMgt AddItems

RemoveItems

ValidateItems

IOPCSyncIO Read

Write

IOPCAsyncIO Read

Refresh

IOPCAsyncIO2 Read (OPC DA 2 only)

Refresh2 (OPC DA 2 only)

Table 1-6: Interfaces and methods

The OPC Client Interface implements the IAdviseSink,IOPCDataCallback and IOPCShutdown interfaces.

Architectures for OPC ClientThird party OPC servers should be installed on a non-Experion node.The exception is the Matrikon Allen-Bradley OPC Server, used forintegrating the ControlLogix controller, which should be installed onthe Experion Server.

To install an OPC server, install and set up the OPC server as specifiedin the documentation supplied by the OPC server manufacturer.

12

Chapter 1 - Planning considerations for OPC Client controllers

Page 13: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

13

Valid OPC interface configurationsThe server OPC interface supports single-channel communications.

Single channel communications

A single-channel configuration.

Figure 1-1: OPC Interface single-channel configuration

Experion Server

OPC Client Interface

OPC Server

Alternate data source

The OPC Interface also supports an alternate data source. If the OPCInterface connection to the primary data source fails, the OPCInterface connects to the alternate data source.

Figure 1-2: OPC redundant alternate data source configuration

Experion Server

OPC Client Interface

Primary Data Source

OPC Server

Alternate Data Source

OPC Server

Integrated A-B ControlLogix using Matrikon A-B OPCServer

In this instance the Matrikon A-B OPC Server should be installed onthe Experion Server.

Chapter 1 - Planning considerations for OPC Client controllers

Page 14: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Figure 1-3: Integrated A-B ControlLogix using Matrikon A-B OPCServer

Experion Server

OPC Client Interface

Matrikon A -B OPC Server

A-B ControlLogix

OPC Client controllers, channels, and pointsAn OPC Client controller is Quick Builder's mechanism forconfiguring one or more groups with the same deadband. Unlikemost other types of controller, an OPC Client controller is an abstractentity, and does not represent a physical device.

Similarly, a point parameter is Quick Builder's mechanism for definingan item on an OPC Client controller. During configuration, you mapeach item to an appropriate point parameter on an OPC Clientcontroller. Only floating point number data types are supported.

An OPC Client controller manages groups as follows:

n A group is created for each scan period used by the pointparameters (items) defined on the controller. (That is, all pointparameters that have the same scan period are placed in the samegroup.) Note that if a scan period of 0 is used, the item is placed ina group with an update rate equal to the slowest scan rate of theserver system.

n All points defined on the controller have the same OPC deadband.(Note that the OPC deadband is not the same as the alarm andcontrol deadbands that can be specified for analog points.)

n The maximum number of items that can be configured in acontroller is 3000.

An OPC Client channel forms the interface between one or more OPCClient controllers and an OPC server. You configure an OPC Clientchannel in the same way as other channels; however, two propertieshave special significance as far as OPC is concerned:

14

Chapter 1 - Planning considerations for OPC Client controllers

Page 15: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

15

n Diagnostic Scan Period. This determines how often the OPC clienttests the status of the OPC server to ensure that it is OK.

n Background Scan Period. This applies to all controllers configuredunder the channel and determines how often the OPC clientexplicitly reads all items configured on a controller if thatcontroller is configured with background scanning enabled. This isindependent of the callbacks.

Chapter 1 - Planning considerations for OPC Client controllers

Page 16: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

16

Chapter 1 - Planning considerations for OPC Client controllers

Page 17: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

CHAPTER

2 OPC CLIENT CHANNEL AND CONTROLLERREFERENCE

This section describes the configuration and addressing informationspecific to OPC Client channels and controllers.

For configuration and addressing information specific to channelsand controllers for integrating A-B ControlLogix controllers usingMatrikon A-B OPC Server see section Configuring Integration withAllen-Bradley ControlLogix using Matrikon OPC Server of this guide. 

TIP: An OPC Client controller is an abstract entity that is used asa container for OPC groups. An OPC Client controller does notrepresent a real controller or a real piece of hardware.

In this section:

Main properties for an OPC Client channel 18

Main properties for an OPC Client controller 21

17

Page 18: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Main properties for an OPC Client channelThe Main tab defines the basic properties for an OPC Client channel.

For information about how to create a channel, see "Buildingcontrollers and channels" in the Quick Builder User’s Guide.

TIP: If you specify an alternate host name, Quick Builder buildsa redundant OPC channel. Refer to the Configuration Guide foryour server for information about monitoring redundantchannels.

Property Description

Name The unique name of the channel. A maximum of 10 alphanumericcharacters (no spaces or double quotes). Note: In Station displays,underscore characters ( _ ) appear as spaces.

Description (Optional) A description of the channel. A maximum of 132alphanumeric characters, including spaces.

MarginalAlarm Limit

The communications alarm marginal limit at which the channel isdeclared to be marginal. When this limit is reached, a high priorityalarm is generated. To change the priority of the alarm system wide,see the topic titled "Configuring system alarm priorities" in the Serverand Client Configuration Guide. To change the priority of the alarm forone channel, see the topic titled "About configuring custom systemalarm priorities for an individual channel or controller" in the Serverand Client Configuration Guide.

A channel barometer monitors the total number of requests and thenumber of times the controller did not respond or response wasincorrect. The barometer increments by two or more, depending onthe error, and decrements for each good call.

To calculate an acceptable marginal alarm limit, use the formula:Square root of the number of controllers on the channel × MarginalAlarm Limit defined on those controllers (Normally, you specify thesame value for all controllers on a channel).

For example, if there are 9 controllers on the channel and theirMarginal Alarm Limit is set to 25, the value would be 3 (which is thesquare root of 9) × 25 = 75.

Fail AlarmLimit

The communications alarm fail limit at which the channel is declaredto have failed. When this barometer limit is reached, an urgent alarm

18

Chapter 2 - OPC Client channel and controller reference

Page 19: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

19

Property Description

is generated. To change the priority of the alarm system wide, see thetopic titled "Configuring system alarm priorities" in the Server andClient Configuration Guide. To change the priority of the alarm for onechannel, see the topic titled "About configuring custom system alarmpriorities for an individual channel or controller" in the Server andClient Configuration Guide.

Set this to double the value specified for the channel Marginal AlarmLimit.

ConnectTimeout

Amount of time, in seconds, the server waits to connect to the OPCserver before abandoning the connection. The default is 20 seconds.

ATTENTION: When connecting to redundant third party OPCServers via Redirection Manager (RDM), it is recommended thatthe connect timeout be set to 40 seconds.

ReadTimeout

Amount of time, in seconds, the server waits for a reply from the OPCserver after a synchronous read request. The default is 2 seconds.

Note: When connecting to legacy third party control networks, it isrecommended that the Read Timeout be set to 5 seconds.

Host Name(preferred)

The name of the computer on which the preferred OPC serversoftware resides.

Note: The OPC Server should not be installed on the Honeywell server.It should be installed on another machine. The exception to this is theMatrikonOPC Server for Allen-Bradley PLCs, which may be installedlocally. In this case the name must be LocalHost. This is to supportserver redundancy, so that if the Honeywell servers fails over, it alwaysconnects back to the MatrikonOPC server on the local machine.

NOTE: DCOM configuration is required when connecting to anOPC server located on another computer. This is required forthe MNGR account to connect properly. For information aboutconfiguring DCOM, see the Supplementary Installation TasksGuide.

Note: When you use Quick Builder to configure non-scannedparameters that connect to a remote OPC server, your Windows user

Chapter 2 - OPC Client channel and controller reference

Page 20: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Property Description

account must also reside on the remote OPC server. In addition, theaccount must be a member of the Product Administrators group on theremote OPC server. If your Windows user account does not exist ordoes not have sufficient privileges on the remote OPC server, you willnot be able to select parameters from the list of parameters stored onthe server.

Username and passwords must match on both machines.

Host Name(alternate)

(Optional) The name of the computer on which the alternate OPCserver software resides. If it is on the same computer as the OPCClient Interface, the name must be LocalHost.

Note: If you specify an alternate host name, Quick Builder builds aredundant channel OPC connection. See the Configuration Guide forthe server for information on monitoring the status of redundantchannels.

DiagnosticScan period

The amount of time, in seconds, between diagnostic scans. Thediagnostic rate must be set to one of the valid server scan periods. Thedefault is 60 seconds.

This value is used as the rate for sending synchronous requests forchecking the OPC server's current status.

BackgroundScan Period

The background scanning period (in seconds). This must be set to oneof the valid server scan periods (defaults to 60).

This value is used as the rate for sending explicit read requests of allitems configured under a controller if that controller is alsoconfigured with background scanning enabled.

Note: When connecting to legacy third party control networks, it isrecommended that the background scan period be set to 10 minutes.

ProgID The ProgID for the OPC server that is to be connected.

OPC serverhost timecan drift

It is recommended that this property always be selected. Time drift ofOPC server computer clocks (UTC time) is being seen more and moreregularly. Note: Moving in or out of daylight savings time is not a timedrift as the UTC time does not change.

Last KnownValuesubstatus is

If selected, the point parameter is processed as stale if the qualitysubstatus provided by the OPC Server is Last known value.

20

Chapter 2 - OPC Client channel and controller reference

Page 21: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

21

Property Description

stale If selected, the point parameter is processed as bad if the qualitysubstatus provided by the OPC Server is Last known value.

See the topic titled "OPC Quality" for more information.

Last UsableValuesubstatus isstale

If selected, the last usable value of a point parameter is processed asstale.

If not selected, the last usable value of a point parameter is processedas bad.

See the topic titled "OPC Quality" for more information.

Use the OPCServer timestamp whenraisingalarms

If selected, the Experion OPC Client uses the OPC server time stampfor alarms instead of the time from the local Experion server.

The default value is unselected.

Item Type The type of channel specified when this item was created.

LastModified

The date and time the channel properties were modified.

LastDownloaded

The date and time the channel was last downloaded to the server.

ItemNumber

The unique item number currently assigned to this channel, in theformat CHNcccc, where cccc is the channel number.

You can change the Item Number if you need to match your currentserver database configuration. The number must be between 0001 andthe maximum number of channels allowed for your system. For moreinformation about setting the maximum value, see the topic titled"Adjusting sizing of non-licensed items" in the SupplementaryInstallation Tasks Guide. Note that the maximum number of channelsthat may be used in a system is defined in the Experion specificationfor that Experion release, This number is likely to be less than themaximum number that can be configured in the database as shown in"Adjusting sizing of non-licensed items."

Main properties for an OPC Client controllerThe Main tab defines the basic properties for an OPC Client controller.

Chapter 2 - OPC Client channel and controller reference

Page 22: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

For information about how to create a controller, see "Buildingcontrollers and channels" in the Quick Builder User’s Guide.

Property Description

Name The unique name of the controller. A maximum of 10 alphanumericcharacters (no spaces or double quotes). Note: In Station displays,underscore characters ( _ ) appear as spaces.

Description (Optional) A description of the controller. A maximum of 132alphanumeric characters, including spaces.

ChannelName

The name of the channel on which the controller communicates withthe server.

(You must have already defined a channel for it to appear in this list.)

MarginalAlarm Limit

The communications alarm marginal limit at which the controller isdeclared to be marginal. When this limit is reached, a high priorityalarm is generated. To change the priority of the alarm system wide,see the topic titled "Configuring system alarm priorities" in the Serverand Client Configuration Guide. To change the priority of the alarm forone controller, see the topic titled "About configuring custom systemalarm priorities for an individual channel or controller" in the Serverand Client Configuration Guide.

A controller barometer monitors the total number of requests and thenumber of times the controller did not respond or response wasincorrect. The barometer increments by two or more, depending onthe error, and decrements for each good call.

The default value is 25.

Fail AlarmLimit

The communications alarm fail limit at which the controller isdeclared to have failed. When this barometer limit is reached, anurgent alarm is generated. To change the priority of the alarm systemwide, see the topic titled "Configuring system alarm priorities" in theServer and Client Configuration Guide. To change the priority of thealarm for one controller, see the topic titled "About configuringcustom system alarm priorities for an individual channel or controller"in the Server and Client Configuration Guide.

Set this to double the value specified for the controller Marginal AlarmLimit.

The default is 50.

Background Specify whether background scanning is performed in addition to

22

Chapter 2 - OPC Client channel and controller reference

Page 23: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

23

Property Description

Scan normal callback operation. Select Enabled if you do not want thedefault (Disabled). The background scan period is configured underthe channel.

Deadband The OPC deadband, which applies to all items referenced by pointparameters belonging to this controller. Note that although the OPCclient can specify the deadband for a group, the OPC server decideswhether the deadband request is honored.

The deadband Indices are defined as:

0 = 0.000%

1 = 0.001%

2 = 0.002%

3 = 0.005%

4 = 0.010%

5 = 0.020%

6 = 0.050%

7 = 0.100%

8 = 0.200%

9 = 0.500%

10 = 1.000%

11 = 2.000%

12 = 5.000%

13 = 10.000%

14 = 20.000%

15 = 50.000%

Diagnosticsitem

Item in the OPC Server that represents the status of the physicalcontroller. The controller will be marked as failed when the item hasthe same value as the Failure Value (i.e., Zero or Non Zero).

Click the ellipses button to display the OPC Browser, and select the

Chapter 2 - OPC Client channel and controller reference

Page 24: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Property Description

diagnostic item.

Maximum 65 characters.

FailureValue

The value that indicates an error condition.

Zero

This is the default value. When diagnostics item has a value of 0, OPCscan task will fail the controller.

For example, the IsConnected item used in MatrikonOPC Server forAllen-Bradley PLCs is set to 1 when connected, or 0 whendisconnected.

Non Zero

When diagnostics item has a value that is not zero, OPC scan task willfail the controller.

For example, the IsFaulty item provided by some OPC Servers is set to0 when connection is established or 1 when error occurred.

SOEEnabled

Enables Sequence of Events option for status points managed by anOPC controller.

When the point's value changes, OPC Scan Task generates a new eventcontaining the field timestamp (up to ms) and the new value.

Item Type The type of controller specified when this item was created.

LastModified

The date and time the controller properties were modified.

LastDownloaded

The date and time the controller was last downloaded to the server.

ItemNumber

The unique item number currently assigned to this controller, in theformat RTUnnnnn.

You can change the Item Number if you need to match your currentserver database configuration. The number must be between 00001and the maximum number of controllers allowed for your system.

For more information about setting the maximum value, see the topictitled "Adjusting sizing of non-licensed items" in the SupplementaryInstallation Tasks Guide.

24

Chapter 2 - OPC Client channel and controller reference

Page 25: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

25

Property Description

Note that the maximum number of controllers that may be used in asystem is defined in the Experion specification for that Experionrelease, This number is likely to be less than the maximum numberthat can be configured in the database as shown in "Adjusting sizingof non-licensed items."

Chapter 2 - OPC Client channel and controller reference

Page 26: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

26

Chapter 2 - OPC Client channel and controller reference

Page 27: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

CHAPTER

3 OPC CLIENT POINTS REFERENCE

This section describes how to configure points for an OPC Clientcontroller using Quick Builder.

In this section:

Defining an OPC Client address for a point parameter 28

Configuring Integration with Allen-Bradley ControlLogix usingMatrikon OPC Server 30

Optimizing OPC Client scanning performance 36

27

Page 28: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Defining an OPC Client address for a pointparameter

A point parameter is Quick Builder's mechanism for "mapping" asingle item on an OPC Client controller. When configuring a pointparameter, note that:

n The point parameter's Scan Period is used as the item's updaterate. Note that if a scan period of 0 is used, the item is placed in agroup with an update rate equal to the slowest scan rate of theserver system. By default, the slowest scan rate is one hour.

n Periodic scanning is based on OPC callbacks, not on OPCsynchronous read requests.

Address syntax for OPC Client controllersFor source and destination addresses the format for an OPC Clientcontroller address is:

ControllerName Address

Part Description

ControllerName The name of the OPC Client controller.

Address The address in the controller where the value is recorded.

If you would like help with the address, you can use the Address

Builder. To display the Address Builder, click next to Address.

ATTENTION: Experion OPC clients do not support Access Pathwhen defining an address of an OPC item. The OPC standardstates that access path is optional for a client to support. If theclient does not specify the access path then the server shouldchoose the access path to use.

Address syntax

The format for the address is:

[RockwellPath]OPCItemName [DataFormat]

28

Chapter 3 - OPC Client points reference

Page 29: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

29

Part Description

RockwellPath The Rockwell path is not normally required. However, it is requiredfor OPC servers developed using the Rockwell OPC Toolkit. You needto see the vendor's documentation to determine whether a Rockwellpath is required.

The Rockwell path generally represents a device driver or topic (if theserver was previously developed as a DDE server).

ATTENTION: If you do specify a Rockwell path:

l You must include the square brackets. (In this particularcase, they do not simply indicate an optional part of thesyntax.)

l There is no space between the Rockwell path and theOPCItemName.

OPCItemName The address in the controller where the value is recorded. You needto see the vendor's documentation for the syntax.

For example, if you are using the system OPC server to access the PVof a point named sinewave, the address would be sinewave.PV.

A maximum of 80 characters. Any printable ASCII character that youcan type, including the space character, is supported.

DataFormat The data format. If you do not specify a data format, the default isIEEEFP.

Data format definitions

Format Counts

IEEEFP IEEE single-precision floating point

U3BCD 0–999 BCD

U4BCD 0–9999 BCD

U4095 0–4095

Chapter 3 - OPC Client points reference

Page 30: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Format Counts

U999 0–999

U9999 0–9999

U100 0–100

U1023 0–1023

U8B 0–255

S16B -32768–32767

S8B -128–127

S9999 -9999–9999

U16B 0–65535

U15B 0–32767

U14B 0–16383

Configuring Integration with Allen-BradleyControlLogix using Matrikon OPC Server

This section describes the configuration steps specific to integratingan Experion Server with an Allen-Bradley ControlLogix using aMatrikon OPC Server.

This integration method provides the following features:

n Reduces duplicate entry of data onto the ControlLogix programand Quick Builder point configuration,

n Minimizes the risk of misalignment between the ControlLogixprogram and SCADA point configuration,

n Helps to provide consistency of point structure and, hence, userinteraction for common control strategy structures.

This integration method requires two items of software from thirdparty sources:

n Studio 5000 Logix Designer, available from Rockwell Automation,used to program the ControlLogix controller

30

Chapter 3 - OPC Client points reference

Page 31: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

31

n Matrikon OPC Server for Allen-Bradley v4.0.1 or later, availablefrom Honeywell as model number MTKOPC-S0060

Rockwell Automation Studio 5000 Logix DesignerYou can use Rockwell Automation Studio 5000 Logix Designer tocreate the files required when integrating with the ControlLogix. Thissoftware would normally be installed on a non-Experion nodealthough it may be installed on a Flex Station if required.

To create the integration files, follow this procedure for eachControlLogix to be integrated:

1. Start Studio 5000 Logix Designer.

2. Open the program file for the target ControlLogix.

3. Optionally connect to the target ControlLogix.

4. Click File > Save As.

5. Enter the following:

a. Save in: C: \ProgramData\Honeywell\ExperionPKS\Server\data\ControllerIntegration if you are on the primaryserver, or \\PrimaryServerName\ControllerIntegration if you are onanother node.

b. File name: an appropriate name

c. Save as type: set to RSLogix 5000 XML File (*L5X)

6. Click Save.

7. When prompted if you want to Upload tag values before saving theproject? click Yes if you are connected to the target ControlLogix,otherwise click No.

Guidelines for automated point generation

To benefit from automated point generation for the integrated PLC,follow these guidelines when programming the PLC in the LogixDesigner:

n In the PLC, use the same tag names as those you want to use inthe Experion server. If the PLC tag names are different to thedesired Experion tag, you may need to correct each name for thegenerated Experion points.

n Configure the PLC's tag description to be the description you want

Chapter 3 - OPC Client points reference

Page 32: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

on the generated Experion point.

n In the PLC, set any tags that will be read or written to Experion toController scoped tags. (The Matrikon OPC Server version 4 cannotinterface with Program scoped tags.)

n For any tags in the PLC that will be read or written to Experion,ensure that data ranges and engineering units are set correctly inthe PLC as they will be used for configuration of the Experionpoints. To do this:

1. In the Logix Designer, from the Properties pane for Analogdata types, select Extended Properties.

2. Ensure that values for the Engineering Unit, Max, and Min dataproperties are the same as those desired for Analog datatypes in Experion.

3. From the Properties pane for Boolean data types, selectExtended Properties.

4. Ensure that values for the State0 and State1 data propertiesare the same as those desired for Boolean state descriptionsin Experion.

For more information, see "Supported Controller IntegrationMapping syntax" in the Quick Builder User’s Guide.

Matrikon OPC Server for Allen-BradleyThe Matrikon OPC Server for Allen-Bradley is available fromHoneywell as model number MTKOPC-S0060. Version 4.0.1 or later,and must be installed on the Experion Server.

Each Matrikon OPC Server for Allen-Bradley must be configured tocommunicate with each ControlLogix with the following procedure:

1. Start the Matrikon OPC Server for Allen-Bradley configuration tool

2. Click the Location Server Nodes Configuration then click New Nodeand click Allen-Bradley via Ethernet IP from the drop-down list

3. Enter the following data:

a. Name: a short name (10 characters maximum, do not use /character) is recommended to minimise the length of OPCItems names that will be created; for example, AB_PLC_nn, wherenn = 01 to 99 to represent each ControlLogix

b. Description: an appropriate description for each ControlLogix

c. Device Settings

32

Chapter 3 - OPC Client points reference

Page 33: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

33

a. Hostname: IP address of the ethernet card in theControlLogix rack

b. Connection Type: Control/CompactLogix

c. PLC Module Path: Slot number of ControlLogix module inrack

d. Communication Settings

a. Reply Timeout: 500 msec

b. Reconnect Delay: 2,000 msec

e. Automatic Configuration

a. Auto-Configure Devices checkbox enabled

4. Click Create

5. Click the new child location that is created in the previous step

6. Change the Name to the same name as entered in step 3a above

Firewall settings

After configuring the Matrikon OPC Server for ALlen-Bladley, youneed to also configure the firewall settings.

1. From the Control Panel, open Firewall and click Allow an app orfeature through the Windows firewall.

2. Click Allow another app, then browse to locate MatrikonOPC Serverfor Allen-Bradley PLCs.

3. Select the EXE, then click Add.4. Select the access options you want to enable for the app, then

click OK.

Defining main properties for ControlLogix OPC ClientchannelThis section defines only those properties in the Main tab for an OPCClient channel that are specific to ControlLogix integration.

n Host Name (Preferred Data Source): localhost

n Host Name (Alternate Data Source): this field MUST be left blank

n OPC server host time can drift (Asynchronous reads): checkbox

Chapter 3 - OPC Client points reference

Page 34: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

enabled

n Prog ID: Matrikon.OPCAllenBradleyPLCs.1

Defining main properties for ControlLogix OPC ClientcontrollerThis section defines only those properties in the Main tab for an OPCClient controller that are specific to ControlLogix integration. An OPCClient controller must be created for each ControlLogix.

n Name: MUST be the same name as defined in the Matrikon OPCServer for Allen-Bradley section for the Server Nodes Configuration

n Diagnostics Item:Name:Name:@Connectedwhere:Name = the Name defined above

n Failure Value: Zero

n Enable ControlLogix Integration: check box enabled

n ControlLogix Experion Export File: Pathname to the ControlLogixExperion Export file located atC:\ProgramData\Honeywell\ExperionPKS\Server\data\ControllerIntegration if you are on theprimary server, or\\PrimaryServerName\ControllerIntegration if you are onanother node. For more information refer to the “RockwellAutomation Studio 5000 Logix Designer” section of this guide.Clicking the browse button can assist in entering this data.

Defining Point Parameter Address ManuallyYou can use this method to define point parameter addresses for anA-B ControlLogix when you do not have connection to a controllernor the availability of the controller program *.L5X file. In addition tothe information contained in this topic, and for help to build points,see the section titled "Using Address Builder" in the Quick BuilderUser’s Guide.

Open the Address Builder for the required parameter and enter thefollowing details:

34

Chapter 3 - OPC Client points reference

Page 35: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

35

Address Syntax for ControlLogix point parameter

Part Description

AddressType

Controller

Controller Name

Location Name:Name:Data Type:Tag Name.VALUE

ATTENTION: Total length of Location must not exceed 80characters..VALUE is optional in some cases; refer to Matrikon OPC Server forAllen-Bradley documentation.

where:

Name = the Name defined in the section Main properties forControlLogix OPC Client controller.

Data Type= the data type of the required ControlLogix tag parameter

Tag Name= the tag name of the required ControlLogix tag parameter

Defining Point Parameter Address Manually using theBrowserYou can use this method to define point parameter addresses for anA-B ControlLogix when you have connection to the controller with thecontroller program loaded. In addition to the information containedin this topic, and for help to build points, see the section titled "UsingAddress Builder with an Integrated Controller connected" in the QuickBuilder User’s Guide.

Open the Address Builder for the required parameter and enter thefollowing details:

Chapter 3 - OPC Client points reference

Page 36: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Defining Address Syntax for ControlLogix pointparameter using the OPC Item Browser

Part Description

AddressType

Controller

Controller Name

Location Click on the browse button to open the OPC Item Browser. You can nowbrowse through the Matrikon A-B OPC Server address space to pick thecontroller tag you want to address.

where:

Name = the Name defined in the sectionMain properties forControlLogix OPC Client controller.

Optimizing OPC Client scanning performanceThe maximum amount of data that can be acquired from a controlleris influenced by the rate of sending scan packets to the controller. Anunderstanding of the OPC scan packets will help you configure pointsso that optimal data acquisition performance can be achieved bymaximizing the amount of data acquired with each scan packet.

The scan packets that have been built can be listed by using the utilitylisscn (list scan). Listing scan packets helps verify the scanningstrategy.

OPC Client scan packetsOPC groups are collections of items with the same callback periodand deadband. In order to reduce the number of OPC groups (andhence OPC scan packets) you should:

n Assign all points with the same deadband to the same controller.

n Reduce the number of different scan periods used for points on acontroller.

36

Chapter 3 - OPC Client points reference

Page 37: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

CHAPTER

4 TROUBLESHOOTING OPC CLIENT ISSUES

This section describes troubleshooting tasks for OPC Client that youcan perform either on the server or from any Station.

In this section:

Testing OPC Client communications with the server 38

Troubleshooting OPC Client communication errors 38

37

Page 38: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

Testing OPC Client communications with theserver

You use the OPC client test utility, opctst, to test the:

n Connection to an OPC server

n Creation of OPC groups on a server

n Addition of OPC items into groups

n Reading and writing of values to OPC items on the OPC servercomputer

Before testing:

n Complete any OPC server setup and configuration as required. Seethe setup and installation instructions supplied by the OPC servermanufacturer.

n Install any OPC server configuration files on the OPC clientcomputer as required. See the setup and installation instructionssupplied by the OPC server manufacturer.

n Ensure you are logged on using themngr account as this is theaccount that the OPC Client Interface uses to communicate withthe OPC server.

To run the opctst utility

1. Open a Command Prompt window.2. Type opctst and then press Enter.3. When the Windows application starts, select the OPC menu option

and perform each of the menu operations in turn (that is, InitializeCOM, Connect to OPC server, and so on).

Troubleshooting OPC Client communicationerrors

If you experience difficulty getting the OPC Client Interface tocommunicate with an OPC server, refer to the Experion PKS ServerLog file (accessible via an icon in the Diagnostic Tools folder). The logfile gives an indication as to the cause of any OPC communicationsproblems.

38

Chapter 4 - Troubleshooting OPC Client issues

Page 39: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

39

NOTICES

Trademarks

Experion®, PlantScape®, SafeBrowse®, TotalPlant®, and TDC 3000® areregistered trademarks of Honeywell International, Inc.

ControlEdge™ is a trademark of Honeywell International, Inc.

OneWireless™ is a trademark of Honeywell International, Inc.

Matrikon® and MatrikonOPC™ are trademarks of MatrikonInternational. Matrikon International is a business unit of HoneywellInternational, Inc.

Movilizer® is a registered trademark of Movilizer GmbH. MovilizerGmbH is a business unit of Honeywell International, Inc.

Other trademarks

Microsoft and SQL Server are either registered trademarks ortrademarks of Microsoft Corporation in the United States and/orother countries.

Trademarks that appear in this document are used only to the benefitof the trademark owner, with no intention of trademark infringement.

Third-party licenses

This product may contain or be derived from materials, includingsoftware, of third parties. The third party materials may be subject tolicenses, notices, restrictions and obligations imposed by the licensor.The licenses, notices, restrictions and obligations, if any, may be foundin the materials accompanying the product, in the documents or filesaccompanying such third party materials, in a file named third_party_licenses on the media containing the product, or athttps://www.honeywell.com/en-us/privacy-statement..

Documentation feedback

You can find the most up-to-date documents on the HoneywellProcess Solutions Support website at:http://www.honeywellprocess.com/support

Notices

Page 40: OPC Client Interface Reference EPDOC-XX78-en-516A...OPC Client Interface Primary Data Source OPC Server Alternate Data Source OPC Server IntegratedA-BControlLogixusingMatrikonA-BOPC

If you have comments about Honeywell Process Solutionsdocumentation, send your feedback to: [email protected]

Use this email address to provide feedback, or to report errors andomissions in the documentation. For immediate help with a technicalproblem, contact HPS Technical Support through your localCustomer Contact Center, or by raising a support request on theHoneywell Process Solutions Support website.

How to report a security vulnerability

For the purpose of submission, a security vulnerability is defined as asoftware defect or weakness that can be exploited to reduce theoperational or security capabilities of the software.

Honeywell investigates all reports of security vulnerabilities affectingHoneywell products and services.

To report a potential security vulnerability against any Honeywellproduct, please follow the instructions at:

https://www.honeywell.com/en-us/product-security.

Support

For support, contact your local Honeywell Process SolutionsCustomer Contact Center (CCC). To find your local CCC visit thewebsite, https://www.honeywellprocess.com/en-US/contact-us/customer-support-contacts/Pages/default.aspx.

Training classes

Honeywell holds technical training classes that are taught by processcontrol systems experts. For more information about these classes,contact your Honeywell representative, or seehttp://www.automationcollege.com.

40

Notices