This document provides instructions for installing and configuring an OPC server to monitor remote equipment. It describes installing the OPC server software, setting up an XML configuration file to define monitored sites and modems, and configuring an OPC client to declare items for reading data from sites. The configuration file contains settings for different types of sites that communicate via protocols like LACBUS, SOFBUS, and SMS using various transport mechanisms including GSM, PSTN, and IP. The document also explains how to use a tracer tool to analyze communications between the server and client and remote equipment.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
762 views7 pages
Guia Rapida OPC Server
This document provides instructions for installing and configuring an OPC server to monitor remote equipment. It describes installing the OPC server software, setting up an XML configuration file to define monitored sites and modems, and configuring an OPC client to declare items for reading data from sites. The configuration file contains settings for different types of sites that communicate via protocols like LACBUS, SOFBUS, and SMS using various transport mechanisms including GSM, PSTN, and IP. The document also explains how to use a tracer tool to analyze communications between the server and client and remote equipment.
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e 1. Installation Sofrel OPC Execute OPC-Setup-x.xx.xxx.exe 32bits or 64bits file according the OS. Indicate the directory for installation.
2. Setting xml file 2.1. Copy the sample file required on the CD in the folder \ServerOPC Config Samples and paste it in the folder \Sofrel\Telemetry\OPC
2.2. Rename it in SofrelTelemetryOPCServer.xml (be careful in case of hidden extension .xml)
2.3. Modify it with Notepad.exe This file is divided in 3 parts: General settings, use default settings, see pdf documents for advanced settings. Sites have to be modified, to add a new one copy and paste the same site and customize it by modifying the red settings described below 2.4. Modems, consult OPC-doc_02-01_DOC.pdf to use correct initialization commands. Use for each modem the appropriate serial COM. All settings for modems are described 2.5.
2.4. Define a site by modifying red settings below : 2.4.1. Site settings Name="S500_tests" Can be named freely Protocol="LACBUS-RTU" for S500 type LACBUS-RTU or SOFBUS-PL for Telbox, Cellbox-Data, S50, S10 type SOFBUS-PL for Cellbox SMS typeSMS for LS type SMS or LACBUS-RTU for LT type LACBUS-RTU MobileNumber="+ xxx1" Indicate GSM-Data number for the equipment PhoneNumber="xxx1" Indicate PSTN number for the equipment Address="1/0/0/" x/y/z : these 3 settings identify the equipment x : Site number defined in the equipment y : 1st identification code z : 2 nd identification code
2.4.2. Site settings for S500 communicating in GSM-Data <Site Name="S500_Vern" Protocol="LACBUS-RTU" MobileNumber="+ 33625363636" > <!-- Physical links for RTU access --> <Links> <Link Name="Pool_GSM" NbTry="2"/> </Links> <!-- RTU parameters --> <Equipment Name="S500" Type="S500" Address="6/0/0/"/> </Site>
2.4.3. Site settings for S500 communicating in PSTN <Site Name="S500_Rennes" Protocol="LACBUS-RTU" PhoneNumber="0299090909" > <!-- Physical links for RTU access --> <Links> <Link Name="Pool_PSTN" NbTry="2"/> </Links> <!-- RTU parameters --> Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 2 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e <Equipment Name="S500" Type="S500" Address="9/0/0/"/> </Site>
2.4.4. Site settings for S500 communicating in IP <Site Name="S500_Brest" Protocol="LACBUS-RTU" IPAddress="192.168.200.1" PortNumber="502" > <!-- Physical links for RTU access --> <Links> <Link Name="IP" NbTry="2"/> </Links> <!-- RTU parameters --> <Equipment Name="S500" Type="S500" Address="5/0/0/"/> </Site>
2.4.5. Site settings for LS communicating in SMS <Site Name="LS42_Lorient" Protocol="SMS" PhoneNumber=""> <!-- RTU parameters --> <Equipment Name="LS" Type="LS" Address="2"/> </Site>
2.4.6. Site settings for LS or LT communicating in IP <Site Name="LS42_Vannes" Protocol="LACBUS-RTU" IPAddress="" PortNumber="502" > <!-- Physical links for RTU access --> <Links> <Link Name="IP" NbTry="2"/> </Links> <!-- RTU parameters --> <Equipment Name="LS" Type="LS" Address="23"/> </Site>
2.5. Define a modem by modifying red settings below: 2.5.1. CXR Modem settings communicating in PSTN <ModemPool Name="Pool_PSTN" Type="PSTN"> <!-- Incoming and outgoing modem definition --> <Modem Port="COM1" Prefix="0" CallType="BOTH" IncomingInit="AT&F0M0Q0V1E1S0=1#CID=1" OutgoingInit="AT&F0M0@A2" Speed="9600" NbBits="8" NbStop="1" FlowControl="None" Parity="None" PrefixNumber="NMBR ="/> </ModemPool>
Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 3 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e 3. Setting OPC Client 3.1. Start OFS Client
3.2. Create a Groupe From the Menu click Group New Group
Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 4 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e
3.3. Declare Items From Menu click on Item New
Sample 1 : Add numerical input NI corresponding to data 1 of S500_RENNES. Click on Item New Select in the arborescence the name of the site : S500_RENNES Select in S500 the type of information to create : NI Select in the right part Value (current state) or HValue (archive) Complete the ID item with the data number between parenthesis : (1)
In case of SOFBUS communication, use the number of Sofbus conversion. In case of LACBUS communication, use the data number.
Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 5 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e
Sample 2 : Add Asked item to call S500_RENNES Click on Item New Select in the arborescence the name the site : S500_RENNES Slect Connection Slect Asked item in the right part
Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 6 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e
To call the equipment write at 1 Asked item by double clicking on it. Quick Start Guide for Sofrel OPC Server Rfrence / Version Date de cration Date de mise jour Page(s) Quick Start Guide for Sofrel OPC Server.doc / V1.0 28/02/2012 7 / 7
Ce document est la proprit de LACROIX Sofrel et ne peut tre reproduit ou communiqu sans autorisation s e u l e l a v e r s i o n i n f o r m a t i q u e d e c e d o c u m e n t f a i t r f r e n c e
4. Analyze and Diagnostic with the Tracer Cf :4 document OPC-doc_02-01_DOC.pdf for more details Create a shortcut of Tracer.exe in the same directory Select Proprieties on this shortcut Use the target below: C:\Sofrel\Telemetry\Tracer.exe C:\Sofrel\Telemetry\SofrelTelemetryOPCServer.TRC Execute the shortcut to analyze communications with RTU and between OPC server and OPC Client.