Home
GuardPoint Pro OPC Server User OPC Server User Guide
Contents
1. ACCESS TECHNOLOGY GuardPoint Pro OPC Server User Guide The OPC Standard The OPC standard defines common interfaces for the data exchange between devices PLC s and Windows applications OPC The OPC standard has been introduced by a group of major USA companies active in the PLC and visualization market OPC defines an open industry standard interface based on OLE and ActiveX technology that provides interoperability between different field devices automation control and business systems The OPC specification defines a set of interfaces for easy to use objects including methods and properties to manipulate these objects The basic transport layer for OPC is DCOM and therefore a Man Machine Interface MMI or supervisory control and data acquisition SCADA software package can process and collect data from OPC servers that are running on different computers on the network The specification also defines a standard mechanism to access named data items contained in an OPC server Hardware and software developers use the specification to build OPC servers and clients which can exchange information over a network between a wide range of system applications including distributed control systems DCS SCADA systems PLC s distributed I O systems and smart field devices The OPC Data Access Specification version 1 0 was released in August 1996 A corrected version 1 0A appeared in 1997 Version 2 0 followed in late 1998 with major changes in t
2. any other application object COM is the core of DCOM ActiveX and OLE What is OLE Object Linking and Embedding is used to provide integration among applications and allows the development of reusable objects that are interoperable between multiple applications It also provides reusable component based software solutions where as the software components can be written in any language www sensoraccess co uk ACCESS TECHNOLOGY What is DCOM The Distributed Component Object Model extends COM to work over a network It is a protocol where remote components appear to be local What is ActiveX ActiveX is an open integrated platform for portable applications and interactive content for the World Wide Web GuardPoint Pro OPC General Information The goal is to integrate GuardPoint Pro into SCADA architecture for management and Access Control through the OPC standard OPC Client can get the following information Communication status of controller Com OK or Comm Error Logical status of all inputs Open Close but depending NO NC Physical status of all relays Open Close e All GuardPoint Pro events Such as o Access Granted Denied Granted with duress code Denied too much trials o Start of Alarm End of Alarm o Technical alarms Such as power off table error o Unknown badge An OPC Client can operate the following operations in GuardPoint Pro e Relay control o Open constant ON o Constant OFF o Open duri
3. to the readers _ DDS_ lt IDc gt _ DR_ lt IDr gt R Card transaction 1 Access Granted 2 Access result Granted Duress Code 3 Access Denied 4 Access Denied Unsuccessful successive trials 61 Unknown badge 63 Non Allocated Badge Tags linked to the inputs _ DDS_ lt IDc gt _ _ lt IDi gt R Input state on alarm 0 Input not on alarm 1 or not Input on alarm DDS_ lt IDc gt _ A_ lt IDi gt R Alarm 9 Start of alarm delayed 10 Start of Alarm immediate 11 End of Alarm 12 Input in State 1 13 Input in State 2 14 Input in State 3 15 Input in State 4 22 Table Error 23 Low Battery 24 Power Down DDS_ lt IDc gt _ U_ lt IDi gt WwW Input Mode control 0 According to its Event Weekly Prog 1 Disarmed Deactivated DDS_ lt IDc gt _T_ lt IDi gt R Input Mode 0 According to its Event Weekly Prog 8 Disarmed Deactivated Tags linked to the outputs relays DDS_ lt IDc gt _O_ lt IDo gt R Relay status 0 Off 1 On DDS_ lt IDc gt _ C_ lt IDo gt WwW Relay Control 0 Normal Mode 1 Constant OFF 2 Constant ON 3 Open During N seconds Relay activation DDS_ lt IDc gt _ D_ lt IDo gt WwW a From 01 to 120 sec delay N DDS_ lt IDc gt _N_ lt IDo gt R Relay mode 1 Normal Mode 6 Constant ON 7 Constant OFF www sensoraccess co uk Tags linked to any events DDS_EVENTS_tt DDS_EVENTS_tt_String DDS_EVENTS_DATE_TIME DDS_EVENTS_DEVICE_STRING DDS_EVENTS_CARD_ STRING DDS_EVENTS_REASON Tags linked t
4. he Automation interface Why OPC In the automation industry very often devices from different hardware suppliers and software packages like visualization systems and process control software from several software suppliers have to be combined to build a complete system Within this system the different software components need to communicate The application software should www sensoraccess co uk ACCESS TECHNOLOGY communicate with I O devices as well as other applications Getting the different software modules to work together is the biggest problem for process systems manufacturers These problems are due to missing or incompatible standards for data exchange interfaces In the past vendors have developed proprietary hardware and software solutions All process control and information systems today have their own interface to access the information Often a driver for one I O device was written several times by different vendors This can cause inconsistencies among different custom drivers or upgrades It may also be impossible to use different software packages with one device at the same time because they use independent drivers and hardware features that are not supported by a custom driver In the past hardware vendors tried to solve some of these problems by delivering their own drivers The solution today is having a standard plug and play software technology for process control and automation Having such a standard makes it poss
5. ible that different software packages can freely connect and communicate with different devices This results in a truly open and easy enterprise wide communication between systems and devices on the field process or business management hierarchy Production Control Guana vad vo Cc cone ake Custom Apps Mair arres wth R oy aoe OLECOM Gateways www sensoraccess co uk ACCESS TECHNOLOGY What is OPC OPC stands for OLE for Process Control OLE Object Linking and Embedding OLE has been restructured in the past and renamed to ActiveX OPC is an industry standard created by a number of worldwide leading hardware and software suppliers in cooperation with Microsoft OPC is based on OLE 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 The port of DCOM to other OS makes it possible to integrate Linux und Unix systems as well OPC defines a standardized set of interfaces properties and methods for use in process control and automation software applications The primary goal of OPC is to deliver specifications to the industry Currently the following specifications are available Data Access V2 0 Alarms and Events Custom Interface V1 0 Historical Data Access V1 0 What is COM The Component Object Model provides interfaces and inter component communication Through COM an application may use features of
6. ion Time and Date of the Events Reader name inpu name for Name of the cardholder Reasons of the Dened Input 2 Controller Entrance Input 2 Controller Entrance
7. me is Input 2 Controller Entrance and has no description The third input name is i3 Controller Entrance and has no description OPC Client Example in VB Sees Selected Items Values for Item Property Get List of OPC Servers DDS DoorMainEntrance i1 Z Controller Entrance DDS_DoorMainEntrance_ Input 2 Coniroller Entrance DDS_DoorMainEntrance_ _ i3 7 Controller Entrance Click on OPC Server name to connect eMation Wizco List of items in selected OPC Server Click on to display current value DDS_DoorMainEntrance_4_DoorContac a DDS_DoorMainEntrance_U_DoorContac Reh DDS_DoorMainEntrance_ _02 e eae DDS_DoorMainEntrance_A_02 Barer DDS_DoorMainEntrance_U_ 02 DDS DoorMainEntrance 03 Disconnect TagName D3 _DoorMain Vale SendTaqValue Modify Value in the Server Exit In the example above we have selected 3 inputs tags by clicking on each one of them in the tag list Each tag is inserted in the Selected Items column Every second the OPC Client refreshes their value and publishes them in the Values column www sensoraccess co uk The DDS_DoorMainEntrance_ _DoorContact tag gives status of the first input on the first controller The DDS_DoorMainEntrance_ _ 02 tag gives the status of the second input on the first controller The DDS_DoorMainEntrance_ _03 tag gives status of the ACCESS TECHNOLOGY third input on the first controller Note that in the Values for Item Pr
8. ng x sec o Return to normal mode e Inputs o Input deactivation www sensoraccess co uk ACCESS TECHNOLOGY o Return to normal mode Execute GuardPoint Pro Processes Execute GuardPoint Pro Actions Open GuardPoint Pro Screens How does it work OPC is workings with tags On each tag an alarm can be defined in OPC Clients to show a popup alarm message to play a sound to send SMS GuardPoint Pro creates OPC tags and publishes them The tags values are available for all OPC Clients OPC Clients can modify some of the tags values When the GuardPoint Pro application starts running OPC tags are created When creating a new active controller all the associated tags are also created The tags are not updated when renaming an object or adding a description It is possible to create global and local reflexes by defining actions and processes in GuardPoint Pro and execute them using OPC tags It is also possible to create local reflexes in the OPC client and activate relays by OPC tags To enable the OPC Integration you need the following 1 In the Options screen select the OPC Server activation www sensoraccess co uk ACCESS TECHNOLOGY 2 Make sure the plug configuration includes the letter O Technical Tag names definitions The description field Descr in GuardPoint Pro is used to allow users to define their own tag name Note According to the OPC standard a tag may have differen
9. nt Modules 31 Amadeus Controller Handling 21 Parking Lot 32 5 screen Network 12 Icons 22 Map Parking Users Controller 13 23 Positions Group 33 Daily Program 14 24 Input Parking Zone Weekly Program Group 25 34 Reset 15 Holiday 16 Output Group Parking Zones Access Group 17 26 Actions 27 35 Lift Program Department 18 Process 28 36 Roll Call Badge 19 Counters 29 37 Patrol Cardholder 110 Global Reflex Report Visitor 111 User 210 Event 38 Guard 112 Handling 39 Lift Authorization Program 211 Authorization Levels 113 Log Manual group Configuration Actions 51 310 Checkpoint 114 Exit 115 Crisis Level 52 311 Patrol Tour Logoff 116 Output Status Prog Computer 117 53 Execute 312 Patrol Tour Company Process Tolls Status Help Communication 61 Reports 71 Help 41 Polling 42 wizard 62 Content 72 Diagnostic 43 Create New Help 73 Help View Log 44 Database 63 Search 74 Clear Log 45 Save Database GuardPoint Pro View Photo 64 Restore on the web 75 Database 65 About Create New Journal 66 Save Journal 67 Restore Journal 68 Create a group of Badges 69 Options 610 Import database profile OPC Client demo In the GuardPoint Pro installation directory you can find an OPC Client demo application OPC Client exe www sensoraccess co uk ACCESS TECHNOLOGY How to use the OPC client demo When GuardPoint Pro is running execute this tool This screen appears OPC Clien
10. o Actions ACCESS TECHNOLOGY Events description Card transaction result Or Alarm Events description Time and Date of the Events Reader name for access event or input name for alarm event Full name last amp first of the cardholder in GuardPoint Pro DB Reasons of the Denied According to Param mdb Translation Database and the language settings Value examples here are according to the English setting If card transaction result Like for tag DDS_ lt IDc gt _ DR_ lt IDr gt If Alarm Like for tag DDS_ lt IDc gt _A_ lt IDi gt Only the text values of the above options Format Short Date and Short Time Card Error Inhibited Cardholder Anti Pass Back Wrong Keypad Code Supervisor Access Group Reader not allowed Full Lock No answer from Door Site Code not ok Not Authorized at this time DDS_ACTION Tags linked to Processes DDS_PROCESS Execute an Action Execute a Process Action ID The updated list of the defined actions within GuardPoint Pro can be seen at GuardPoint Pro_Action_List txt in GuardPoint Pro application folder Process ID The updated list of the defined processes within GuardPoint Pro can be seen at GuardPoint Pro_Process_List txt in GuardPoint Pro application folder Tags linked to Screens www sensoraccess co uk ACCESS TECHNOLOGY DDS_CFG Open an Parameter 11 Eve
11. operty column you can see the input name as it is defined within the GuardPoint Pro application In the above screen example the value of DDS_DoorMainEntrance_ _DoorContact is 1 this means that the state of the first input is now logical ON Relay Control Example In the following screen we will show how to activate a relay for 5 seconds OPC Client Example in VB Selected Items Values Get List of OPC Servers DDS _DoorMainEntrance_O 1 DDS DoormMainEntrance C 0 Click on OPC Server name to connect eMation Wizcor 1 List of items in selected OPC Server Click on to display current value DDS_DoorMainEntrance_ _16 DDS_DoorMainEntrance_A_16 DDS_DoorMainEntrance_U_16 DDS_DoorMainEntrance_O_01 DDS_DoorMainEntrance_C_01 DDS DoorMainEntrance D 01 Disconnect TagName D3 _DooMain Value DDS_DoorMainEntrance_D_ 5 Refresh List from Server DER Values for Item Property 11 Controller Entrance A single click on any tag selects it and inserts it to the Selected Items column In the example above we have selected 3 outputs tags www sensoraccess co uk ACCESS TECHNOLOGY The DDS_DoorMainEntrance_O_01 tag gives status of the first relay on the first controller The DDS_DoorMainEntrance_C_01 tag gives an option to send a command to activate the relay The DDS_DoorMainEntrance_D_01 tag gives an option to specify the duration time for relay activation This is rele
12. t Example in VB Selected Items Values Values for Item Property Get List of OPC Servers Click on OPC bia name to connect List of items in selected OPC Server Click on to display current value DDS_EVENTS_tt String Disconnect TagName SendTagName Value oe rora cera Modify Value in the Server Exit Pressing Get List of OPC Servers will display a list of all OPC servers running on the computer Click the DDS OPCServer to get the OPC tags In order to get a tag value refreshed every second click on one of the listed tags the tag will be added to the Selected Items column The tag values appear in the Values column A description of the tag is shown at the Values of item property right column For most tags the description is the name of the object in GuardPoint Pro application When a new active controller is created in the GuardPoint Pro application the new tags are available when www sensoraccess co uk ACCESS TECHNOLOGY pressing on Refresh List from Server Note The frequency of refreshing is defined by the customer himself in his OPC Client In our demo this frequency is every second Input Status Example In the following examples we have called the first controller Controller Entrance and we have given it a description Door Main Entrance The first input name is i1 Controller Entrance and has Door Contact as description The second input na
13. t of items in selected OPC Server Click on to display current value DDS_EVENTS_tt_String DDS_EVENTS_DATE_TIME DDS_EVENTS_DEVICE_STRING DDS EVENTS CARD STRING DDS EVENTS REASON DDS_DoorMainEntrance Disconnect TagNeme DDS_DoorMain Vake f3 Modity Value in the Server Input Alarm Example Events Events description Reasons of the Dened Exit In the following example we show how an OPC Client receives an alarm event The second input named Input 2 Controller Entrance has passed to logical ON value Therefore the tag DDS_DoorMainEntrance_ _02 has passed from 0 to 1 www sensoraccess co uk ACCESS TECHNOLOGY OPC Client Example in VB Selected Items Get List of OPC Servers DDS_EVENTS_tt 0 DDS_EVENTS_tt_String Start of alarm DDS_EVENTS_DATE_TIME 22 07 2003 11 05 Cickon OPC Sever name ti connect p ele aed Input 2 Controller Entrance eMation Wizcon 1 DDS_EVENTS_REASON DDS_DoorMainEntrance_ _0 BDS_DoorMainEntrance_4_ List of items in selected OPC Server Click on to display current value DDS_DoorMainEntrance_ _DoorCentacl a DDS_DoorMainEntrance_A_DoorCantac Refresh DDS_DoorMainEntrance_U_DoorContac List hom DDS_DoorMainEntrance_ _02 penne DDS DoorMainEntrance A 02 DDS_DoorMainEntrance_U_02 S Disconnect TagName DDS_DoorMain Yake f3 Modity Value in the Server www sensoraccess co uk EE Values for Item Property Events Events descript
14. t properties The first 6 properties are reserved by the OPC protocol Therefore we are always using tag property number 7 to give the tag description In most cases the object name controller reader input that is used in the GuardPoint Pro application is also used as the OPC tag property In order to get the description of the tag use the ReadPropertyValue function of the OPC Interface For further details see your OPC Client documentation In the remaining of this document lt IDc gt represents the text in the field Description of the controller If this field is empty the system will use an ID number lt IDi gt represents the text in the field Description of the input If this field is empty the system will use the Input Number lt IDo gt represents the text in the field Description of the output relay If this field is empty the system will use the Output relay Number lt IDr gt represents the text in the field Description of the reader If this field is empty the system will use the reader Number The Type column shows if the tag is a read only tag R or a write only one w www sensoraccess co uk ACCESS TECHNOLOGY Tag Name Type Description Values Tags linked to the Controller _ DDS_ lt IDc gt R Communication 0 Communication OK 1 status Communication Problem Tags linked
15. vant in case that Activate during type of command was selected The default value is 5 seconds How to activate a relay In the Selected Items column double click the DDS_ DoorMainEntrance_C_01 tag The tag will be inserted in the Tag Name box on the left bottom of the screen Put 3 in the Value box and click Modify Value in the Server The following will happen as a result GuardPoint Pro application get the new value and will activate the relay for 5 seconds The value of the tag DDS_ DoorMainEntrance_O_01 changes from 0 to 1 After the 5 seconds duration time the value of DDS_ DoorMainEntrance_O_01 goes back to 0 Access Grant Example In the following example we will show how the OPC Client receives an event A cardholder named John Gold has been created in the GuardPoint Pro application We have associated a badge to him When his badge passes on the reader named Rdr2 Controller Entrance of the Main Entrance Door the following information is available www sensoraccess co uk ACCESS TECHNOLOGY Time and the Date of the event Reader name Name of the cardholder OPC Client Example in VB Selected Items Get List of OPC Servers DDS_EVENTS_tt DDS_EVENTS_tt_String DDS_EVENTS_DEVICE_STI Rdr2 Controller Entrance Click on OPC Server name to connect DDS_EVENTS_CARD_STRI John Gold DDS_EVENTS_REASON eMationWizcon 1 Lis
Download Pdf Manuals
Related Search
Related Contents
fleckstop - Pierre & Sol SynCardia Systems Inc. temporary Total Artificial Heart (TAH Samsung 941MW Manual de utilizare American International Scan 250 Scanner User Manual Linksys E1000 Copyright © All rights reserved.
Failed to retrieve file