Freelance 800F_V7.2_No.12_OPC V040830_第1页
Freelance 800F_V7.2_No.12_OPC V040830_第2页
Freelance 800F_V7.2_No.12_OPC V040830_第3页
Freelance 800F_V7.2_No.12_OPC V040830_第4页
Freelance 800F_V7.2_No.12_OPC V040830_第5页
已阅读5页,还剩47页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Freelance 800FV7.2TrainingOPC2004-08General descriptionOPC ServerOPC clientContentOPC Server F OPC Overview OPC communication functionData from the AC 800F and Freelance 2000 process stations as well as the connected field bus instruments is transmitted to other systems with an OPC client interface

2、via an OPC server interface.Via the OPC client interface, Freelance 2000 (Control Builder F and DigiVis), with its operation and observation functions, can display data from automation instruments and systems from other manufacturers.Name of TerminologyOPC is the abbreviation for OLE for process con

3、trol. OLE (Object Linking and Embedding), COM and DCOM (Distributed Component Object Model)Description of TerminologyOPC InterfacesTwo interfaces are implemented:1. Custom InterfaceData Access 1.0A Freelance 2000 Version 3.3 and laterData Access 2.0 Freelance 2000 Version 5.1 and laterAlarms&Events

4、1.0 Freelance 2000 Version 6.1 and later2. Automation Interface Data Access 1.0A Freelance 2000 Version 3.3 and laterOPC Communication Mode OPC server coupled directly with COM and distributed with DCOM.OPC client function Control Builder F allows variable lists from other OPC servers to be read and

5、 imported. The imported data can be used for configuring graphic displays, trends and logs.During commissioning, the imported variables can be displayed in the values window and trend window in exactly the same way as the variables from the process stations.OPC server Function With the OPC-Server F,

6、 data from a Control Builder F project is made available to other systems. As a result, e.g. other visualization packages, such as Operate IT,The OPC-Server F is a stand-alone program which is installed on any PC within the system network. An OPC type gateway is configured in the Control Builder F p

7、roject. During commissioning the data that is to be made available to the remote system is downloaded to the gateway station.System structureSystem structureMaximum values and PerformanceOPC gateway stations in a Control Builder F project: UnlimitedOPC gateway stations per process station: Max.: 10E

8、ach process station can communicate with max. 10 operator stations and/or gateway stations.OPC servers per gateway PC:Dependent on the performance of the PCCommunication volume per connection:OPC server to a process station:Max.: approx. 2500 REAL variableswith a max. of 10 possible connections;1400

9、 bytes per connection = approx. 250 variables per connection to a process station.Update time for OPC server:Default = 1000 msThe cycle time should be configured in accordance with the client.Throughput capacity:- dependent on the gateway PC- dependent on the client (Most efficient when programmed i

10、n C; Excel and Visual Basic cannot achieve the same level of performance).- from a process station,which performs communication exclusively ,Up to 5000 variables/sec can be sent to the OPC server.Maximum values and PerformanceGeneral descriptionOPC ServerOPC clientContentOPC Server F OPC server F fo

11、r different Windows users or user accountsInteractive user (default)The OPC server can only run when an interactive user is logged on. If the user logs off, the OPC server will shut down. When an OPC server is running, it can have an entry in the taskbar. A trace dialog can be invoked via this entry

12、. Launching userThe OPC server receives the user ID from the launching process, in other words from the client application that starts the server. It is not necessary for a user to be logged on. There is no entry in the taskbar. The trace dialog can only be invoked via the start menu.Specified userT

13、he OPC server always runs with the specified identity. It is not necessary for a user to be logged on. There is no entry in the taskbar. The trace dialog can only be invoked via the start menu.Start the DCOM configuration.1. Start Run2. Enter dcomcnfg.3. Select the OPC server on the Applications tab

14、 (Freelance2000OPCServer.xxx).4. Choose Properties:Configuring the user accountSettings on the PC running the OPC Server FSet IdentityChoose Identity tab.Select the desired user setting: Interactive user The launching user This userSecurity tabIn Properties you must define the settings on the Securi

15、ty tab to User custom permissions. These parameters should already have been set correctly by the Setup program.1. Click Edit.2. Enter authorized users3. OKThe logged-on user of the OPC client PCis entered under Use custom access permissions and Use custom launch permissions. If the remote PC is ass

16、igned to a different domain or a different workgroup, then Everyone should be entered under User.Enter the user Everyone under Use custom access permissions:Enter the user Everyone under Use custom launch permissions:Settings on the PC with OPC client softwareStart the DCOM configuration.1. Start Ru

17、n2. Enter dcomcnfg.Default properties tab1. Set the Default Authentication Level under Default Distributed COM communication properties to (None).2. Set the Default Impersonation Level under Default Distributed COM communication properties to Identify.Default security tabOn the Default Security tab

18、in DCOM properties, the logged-on OPC client PC user must be entered under Default Access permissions and Default Launch Permissions. If the OPC client PC is assigned to a different domain or a different workgroup, then Everyone should be entered under User1. Click Edit Default under Default Access

19、Permissions2. Enter authorized users1. Click Edit Default under Default Launch Permissions2. Enter authorized usersDefault protocols tabAt least one common protocol must be installed on the two computers (OPC server F and OPC client) (Recommendation: UPD/IP or TCP/IP).Installing the OPC Server FSeve

20、ral OPC servers can be installed on one PC. The setup procedure must be carried out separately for each server.The OPC-Server F can be used along with other Freelance 2000 components on one PC, and even Control Builder F, DigiVis and one or more OPC servers can be used simultaneously on one computer

21、. The performance that can be expected is essentially determined by the PC hardware.OPC server optionsInstall an OPC server on this computerThe setup procedure is carried out after the resource ID, IP addressand subnet mask have been entered. If any AC 800F /Freelance 2000 components have already be

22、en installed on this PC,the OPC server software will be installed in the /exe directory, otherwise an installation directory must bespecified.Use this computer to access an OPC server on a remote computerAn OPC client is running on the local computer. In order to link thisclient with a OPC-Server F

23、on another computer, the computername and resource ID of the OPC server must be specified. All thedata needed for accessing the OPC server is stored on the localcomputer.Adding a gateway stationAccess rights for a gatewayAdding the gateway station to the hardwareNetwork addressesEnabling tags and va

24、riables for OPC accessEnabling Profibus parameters for OPC accessInitiating communicationDownloading project data to the gateway station Configuration using Control Builder FAdd the station resource Gateway Station D-GS in the project tree Set up anOPC type gatewayParametersAccess Rights :Read and/o

25、r write rights for the gateway; default access for new variables / tagsType :Type of gateway station. Select OPC gateway. Additional the following types are available: DCP gateway, DDE gateway and UNIgateway.Adding a gateway stationAccess rights for a gatewayParameters:Read only : The gateway is onl

26、y allowed read access to the process write accesses that are configured on the process stations, variables and tags are ignored.Access: A parameter is set for every process station that is already configured in the project to specify whether read-only access or read/write access is permitted. read-o

27、nly for the entire gateway overrides any write access that is defined here.Default access for new variables / tags: All newly-created variables and tags are by default assigned the access rights defined here for this gateway.Network addressesWithin the hardware editor, the stations IP addresses and

28、resource IDs are configured under Network. The values specified here must correspond to the parameters defined during the installation of the OPC server software.Enabling tags and variables for OPC accessA parameter is defined for every tag and every variable in the project to specify whether the da

29、ta from the process station can be only read or read/written via the gateway.In station view (Tag list or Variable list Station view), the permitted access modes through a gateway can be defined for each list entry. The station accesses that have been defined are indicated in the variable list and t

30、ag list by single letters:R: ReadW: WriteEnabling Profibus parameters for OPC accessThere are two columns for configuring OPC access in the overlays of the DPV1 parameters and the user parameters. A check-box in the OPC access column is used to configure whether the parameter is loaded into the OPC

31、gateway or not. The corresponding parameter can be accessed in the gateway under /. If a name is entered in the OPC short name column, this name will be used in the gateway instead of the component name.Parameters:OPC access : The parameter can be accessed via an OPC gateway OPC short name: The para

32、meter is not addressed in the OPC gateway by thecomponent name in the Name column, but by the name entered here. This name must be unique within an object.Downloading project data to the gateway stationAfter the project has been checked for plausibility and all the process stations loaded, the proje

33、ct data must also be downloaded to the gateway station. The first time a gateway is commissioned, Load Whole station must be executed.Configuration changes are transferred to the gateway station through Load Changed objects.Addressing the Freelance 2000 variablesA variable is addressed using the sam

34、e name within the system and over the OPC interface.Input pins, output pins and parameters of a tag are addressed using the tag name and the pin or parameter name: / Example: TIC123/SP Read the set-point input of controller TIC123TIC123/Wi Read the set-point input of controller TIC123Data types of t

35、he variablesMessage priorities, severityAlarm messages from the OPC serverStatus of the connection with a process stationSource: Condition: _CONNECTION_STATE_0 wit the following subconditions:Read/write status of the individual process stationsSource: Condition : _READ_WRITE_STATE_1with the followin

36、g subconditions:OPC server offline:Source: Condition : OPC_SERVER_OFFLINEwith the following subcondition:Tools and utilities for error diagnosisTesting on the process stationThe connection monitoring block M_CONN can be used to check from a process station the connection to the OPC server. In the ev

37、ent of a disruption to the connection, specific safety values can be adopted in the process, or a message can also be generated for other operator stations that are not connected via this OPC server.Testing the PC on which the OPC server is executedIf the OPC server has been installed for an interac

38、tive Windows user, a running OPC server can be detected on the gateway PC by an entry in the taskbar.OPC Server Tracing FeaturesSelection of different Tracing Key Words possibleSave Tracing configurationSelected Trace Keys appear in OPC Trace File Different Trace Levels possibleSpecify the level of

39、detail from “No Trace“ to “Debug Trace” DebugTracingOPC ServerComputer name, Res-ID:The linked OPC server is described by means of the two entries. The two fields can be edited after actuation of the Disconnect button. A connection to the registered OPC server is established bymeans of the Connect b

40、utton.Keyword trace:The various functions of the OPC server can be hierarchically selected in the left-hand half of the dialog. Depending on the entries selected, the respective function calls in the OPC server arerecorded together with the current parameters.As a result, it is possible to track spe

41、cifically defined functions or functional groups of the OPC server.Trace level :The degree of detail of the trace outputs is specified by means of thetrace level.OPC Server TracingWhat is it? A Possibility to debug OPC Server ProblemsDebugTracingSelect different trace levelSelect Trace KeysGeneral descriptionOPC ServerOPC clientContentOPC Server F OPC Client-Integrating an external OPC serverAdding the OPC server function to the project treeA new resource of type OPC server is created in the project tree. The name of the external OPC server is entered in the associated parame

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论