Activity for OpenOPC for Python

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    If you don't want to be bothered by DCOM, you should take a look at this, which is a no DCOM/no hassle solution. Good luck!

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    It is very hard to figure out from this limited info. I would suggest trying this solution, which supports Python natively without dependency on any 3rd party OPC library. No DCOM, no hassle. Cheers!

  • Rahul Rahul modified a comment on discussion Help

    Hi, I am using Kepware Server Simulator on my local machine, and then i am trying to connect with the simulated server using OpenOPC but it throws error and does not allow to connect, whereas using metrikon client i can see running servers and tags and I am able to connect as well ! if i use open gateway service (open mode), then it throws following error: [image: image.png] Pyro5.Errors.CommunicationError: cannot connect to ('localhost', '7766'): [Errno 111] connection refused And if i use DCOM...

  • Rahul Rahul posted a comment on discussion Help

    Hi, I am using Kepware Server Simulator on my local machine, and then i am trying to connect with the simulated server using OpenOPC but it throws error and does not allow to connect, whereas using metrikon client i can see running servers and tags and I am able to connect as well ! if i use open gateway service (open mode), then it throws following error: [image: image.png] And if i use DCOM mode, then it return FALSE, And sometimes while using DCOM mode, it throws following error: [image: image.png]...

  • Pardeep Pardeep posted a comment on discussion Help

    I have installed OPC service using pip install OpenOPC-Python3x on 32bit Python environment.

  • Pardeep Pardeep posted a comment on discussion Help

    Hi Mattia, I have exactly the same environment and having the exact same issue. Can you please share what needs to be changed in default DCOM setting?

  • Mattia Collareda Mattia Collareda posted a comment on discussion Help

    In the end it was a matter of DCOM security configuration in the server node, I had to also change the default and the OpcEnum related DCOM settings to get it to run, not only those of the OPC server itself.

  • Mattia Collareda Mattia Collareda posted a comment on discussion Help

    I managed to connect to the host by understanding that the OpenOPC Gateway Service has to be installed in the server node, not on the client. The host connects now, but I'm having problems with the server, I get the following error when trying to connect to it: Traceback (most recent call last): File "<pyshell#11>", line 1, in <module> opc.connect(u'OPCServer.WinCC.1') File "C:\Python27\lib\site-packages\Pyro\core.py", line 381, in __call__ return self.__send(self.__name, args, kwargs) File "C:\Python27\lib\site-packages\Pyro\core.py",...

  • Mattia Collareda Mattia Collareda posted a comment on discussion Help

    Good morning, I am trying to connect to an OPC DA server that is present in a networked computer, I am able to see it and read data from it using Matrikon OPC Explorer by connecting to it under the "Other network computers" tab. When it comes to trying to connect to the remote host from OpenOPC however, using the command opc = OpenOPC.open_client("host-ip"), it fails to connect. I have tried putting the host ip in the system variables as OPC_GATE_HOST (as opposed to "0.0.0.0") but in that case the...

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    Others reported similar issues in using this very old Python library. That is why you can give this new way a shot for recent Python release.

  • Dhanush Hosamane Dhanush Hosamane posted a comment on discussion Help

    Hey all, I am trying to read and write values to Unisim and with Python using OpenOPC. I am using Matrikon OPC server for the communication. I can see the values in Matrikon OPC Explorer, but not able to fetch the same using OpenOPC library in Python. I am getting this error, and my kernel is not working "Canceled future for execute_request message before replies were done The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to...

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    That could be caused by DCOM setting for that specific OPC Server, which could block your client connection until time out. To avoid this kind of headache, you can give a try here, which doesn't use DCOM at all. You can have a quick smoke test by using it. Cheers!

  • Diego Kurashima Diego Kurashima posted a comment on discussion Help

    Hi! I am trying to run OpenOPC to collect data from a CoDeSys V2.3 OPC server and I am facing some issues. I used the following code to get real time data from this server, however there is always a timeout error which I couldnt identify yet. I tried using Python 3.6.8 and switched to Python 2.7.18, but the error is the same. What I think is anormal is the fact that I can connect this server to other client like Matrikon or OPC Expert and get the data real time. If there is any help I would appreciate...

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    To avoid this kind of headache, check WebSocet4OPC, which can behave as a Gateway as needed. No DCOM is involved and it retrieves back OPC data in JSON format across different platforms. It can be used with recent Python release like version 3.9/4.0 etc. It also supports DA/AE/HDA.

  • OPC Anywhere OPC Anywhere posted a comment on discussion Help

    0x800706BA means The RPC server is unavailable. Typically, that means you need do some DCOM configuration in remote box. To avoid this kind of headache, you can take a look at WebSocket4OPC, which brings back OPC data without any DCOM configuration. It supports Python and other popular languages to return OPC data in JSON format.

  • OPC Anywhere OPC Anywhere posted a comment on discussion Open Discussion

    There is an A&E support at WebSocket4OPC. It has various clients to support. Actually, you can use Python to retrieve plant data from any OPC DA/AE/HDA servers. It has JSON return so easy to parse. Cheers!

  • Rajnish Vishwakarma Rajnish Vishwakarma modified a comment on discussion Open Discussion

    Hi Team, I need a kind help for the below scenarios . 1) I have developed a OPC DA client with all necessary softwares installed on my PC . 2) Below is the code when i run on PYCHARM , its runs successfully as shown below in the below snap with WHITE Editor and EXE OPC DA client in BLACK SCREEN.. 4) But when develop the same client as an standalone EXE file -build using PyInstaller . the apps gives the below errors as : Outer Loop Minute Change Postgre SQL Connection Opened ['Simulation Items', 'Configured...

  • Rajnish Vishwakarma Rajnish Vishwakarma posted a comment on discussion Open Discussion

    Hi Team, I need a kind help for the below scenarios . 1) I have developed a OPC DA client with all necessary softwares installed on my PC . 2) Below is the code when i run on PYCHARM , its runs successfully as shown below in the below snap with WHITE Editor and EXE OPC DA client in BLACK SCREEN.. 4) But when develop the same client as an standalone EXE file -build using PyInstaller . the apps gives the below errors as : Outer Loop Minute Change Postgre SQL Connection Opened ['Simulation Items', 'Configured...

  • Riccardo Di Franco Riccardo Di Franco posted a comment on discussion Help

    I have huge problem with OPCDA and OpenOPC. I should (must) read a set of tags from a remote server, I have no access to the machine in any way. I only know the IP and the OPC server name. Testing OpenOPC locally with this code all work fine. Otherwise, changing the hostname with the remote one nothing work with 0x800706BA error. import OpenOPC import time try: opc = OpenOPC.client() opc.servers() #change localhost to remote opc.connect('Matrikon.OPC.Simulation.1', 'localhost') srvList = opc.list()...

  • Johan Laurent Johan Laurent posted a comment on discussion Help

    Hello, I'm trying to read datas from a test server "IntegrationObjects.AdvancedSimulator.1" like this : opc = OpenOPC.client() opc.connect('IntegrationObjects.AdvancedSimulator.1') while True: data = opc.read(tags='Random.Int1') print(data) And I have this exception with the read function : File "C:\Python39-32\lib\site-packages\OpenOPC.py", line 628, in read return list(results)[0] File "C:\Python39-32\lib\site-packages\OpenOPC.py", line 574, in iread if tag in include_error and not error_msgs:...

  • Florent Rigaud Florent Rigaud posted a comment on discussion Help

    Hello there, Did you manage to have it running in the end ? I'm also having some problems in connecting to my OPC Server. OpenOPC.OPCError: Connect: -2147221164 I haven't set up the so called Gateway : is this necessary as my OPC server is running on my local laptop ? Any help would be much appreciated ! Thanks! Florent

  • Drew Martin Drew Martin modified a comment on discussion Help

    I am using RSLinx OPC Server on another machine. How do I search directly for servers on its address with OpenOPC? What enviroment variables do I need to change? What is RSLinx's OPC_CASS. I am currently returning no servers on the address, and no errors. Both PCs can ping each other.

  • Drew Martin Drew Martin posted a comment on discussion Help

    I am using RSLinx OPC Server on another machine. How do I search directly for servers on its address with OpenOPC? I am currently returning no servers on the address with no errors. Both PCs can ping each other.

  • Vladimir Yarunichev Vladimir Yarunichev posted a comment on discussion Help

    Hello! I'm having a problem connecting to the OPC server from the command prompt. Sometimes of course it turns out to connect. error message: import OpenOPC opc = OpenOPC.client() servers = opc.servers() opc.connect(servers[0]) Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-packages\OpenOPC.py", line 223, in connect self._opc.Connect(s, opc_host) File "C:\Users\user\AppData\Local\Temp\gen_py\3.6\28E68F91-8D75-11D1-8DC3-3C302A000000x0x1x0.py",...

  • Wociek Wociek posted a comment on discussion Help

    Hi, I am using opc open_client for communication between two Virtual Machines. There is no error when i am connecting , but afterwards when i use opc.list() command i don't see anything. The list is empty. It looks like it finds the server correctly but then after connection the tags are invisible. I have done some tests and when I create the connection on server machine by using localhost and opc.client() it works. The tags are visible and i can read/write it. I have noticed also other thing. When...

  • George Karr George Karr posted a comment on discussion Open Discussion

    I am trying to initialize the values of tags in an OPC_SERVER which have data type VT_R8. When I execute the command: OPC -w itemName=1.0, the item shows as VT_BSTR after that? Is there a way to specify the datatype on the write? Or to not change the existing datatype? Thanks in advance for any ideas.

  • Frank Seipel Frank Seipel posted a comment on discussion Help

    First, thanks so much for writing this library! I am able to get the command line client to read a tag -- e.g. opc -m dcom TI-605/AI1/PV.CV -e -v returns a fresh value with timestamp, 'Good' status, and 'operation completed successfully'. Unfortunately, when I try it from python I have problems. I need it to run from Python as I'm trying to build a simple webpage dashboard showing 'present' process values. So I try: import OpenOPC opc=OpenOPC.client() opc.connect('OPC.DeltaV.1','APPSTATION1') opc.read('TI-605/AI1/PV.CV')...

  • Ian Sharpe Ian Sharpe created ticket #17

    Is there a problem with Money tags?

  • rafael moraes rafael moraes modified a comment on discussion Help

    Hi, I am installing OpenOPC and trying to use it in the Anaconda environment with Python 3.7, I wonder if there is a problem? Another thing, I am trying to connect to a Kepware OPC but it is giving "connection refused" error, my Firewall is already completely disabled. Thank you!

  • rafael moraes rafael moraes posted a comment on discussion Help

    Hi, I am installing OpenOPC and trying to use it in the Anaconda environment with Python 3.7, I wonder if there is a problem? Another thing, I am trying to connect to a Kepware OPC but it is giving "connection refused" error, my Firewall is already completely disabled. Thank you!

  • Muharrem Muharrem modified a comment on discussion Help

    I was install OpenOPC-Python3x under Python 2.7 I ran below command at python command line then i get this error after type opc.server() I tired. Best regards import OpenOPC opc = OpenOPC.client() opc.servers() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\OpenOPC.py", line 1123, in servers raise OPCError(error_msg) OpenOPC.OPCError: <exception str()="" failed=""></exception></module></stdin> OS: Microsoft Windows [Version 10.0.17134.829]...

  • Muharrem Muharrem modified a comment on discussion Help

    I was install OpenOPC-Python3x under Python 2.7 I ran below command at python command line then i get this error after type opc.server() I tired. Best regards import OpenOPC opc = OpenOPC.client() opc.servers() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\OpenOPC.py", line 1123, in servers raise OPCError(error_msg) OpenOPC.OPCError: <exception str()="" failed=""></exception></module></stdin> OS: Microsoft Windows [Version 10.0.17134.829]...

  • Muharrem Muharrem posted a comment on discussion Help

    I was install OpenOPC-Python3x under Python 2.7 I ran below command at python command line then i get this error after type opc.server() I tired. Best regards import OpenOPC opc = OpenOPC.client() opc.servers() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\OpenOPC.py", line 1123, in servers raise OPCError(error_msg) OpenOPC.OPCError: <exception str()="" failed=""></exception></module></stdin> OS: Microsoft Windows [Version 10.0.17134.829]...

  • Plamen Kiradjiev Plamen Kiradjiev posted a comment on discussion Help

    Hi, I found the solution: Information about the matter: https://www.saeautom.sk/download/dcom_config.pdf https://www.kepware.com/getattachment/04042e47-c690-467c-a931-a1ca126575db/Remote-OPC-DA-Quick-Start-Guide-(DCOM).pdf https://www.aggsoft.com/asdl-dcom-opc-config-4.htm Descriptions differ (paths, users, etc.). The principle, however: DCOM Config on the server - this is necessary for a client-server communication, if they are not collocated. Firewall setup on the server (you can do the test first...

  • Plamen Kiradjiev Plamen Kiradjiev posted a comment on discussion Help

    Hi all, I have a similar problem, but with an remote OPC DA server, which is accessed via dcom: - server: SchneiderElectric, 64bit - client: win7, 32bit, Pathon 2.7, OpenOPC for Python 1.3.1 CLI is working, so I can do list item via opc -l with DCOM host name and server. OpenOPC.client('\SERVER') return OpenOPC.OPCError: Dispatch: invalid class string Thanks for your advice. Plamen

  • Michael Mosher Michael Mosher modified a comment on discussion Help

    OK, figuered it out

  • Michael Mosher Michael Mosher posted a comment on discussion Help

    I'd like to connect to two servers at same time. if I do this: import OpenOPC opc = OpenOPC.client() opc.connect('AutomationDirect.KEPDirectServer') opc.read('Millville.NJ01.V.MachSpdEng') (38, 'Good', '04/10/19 17:49:26') opc.connect('Datalayers.Simulation.1') opc.read('INT.1') (13298, 'Good', '04/10/19 17:52:34') opc.read('Millville.NJ01.V.MachSpdEng') (None, 'Good', '04/10/19 17:51:43') reads to first server are not working.

  • Majid Daryadel Majid Daryadel posted a comment on discussion Help

    I had the same problem with Python 3.7(32bits) and when I swithched to Python 2.7(32bits) it resolved.

  • SAD SAD posted a comment on discussion Help

    opc.read('Random.Int4') Traceback (most recent call last): File "C:\Python27_32\lib\multiprocessing\queues.py", line 264, in _feed send(obj) TypeError: can't pickle time objects Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27_32\lib\site-packages\OpenOPC.py", line 623, in read return list(results)[0] File "C:\Python27_32\lib\site-packages\OpenOPC.py", line 543, in iread raise TimeoutError('Callback: Timeout waiting for data') TimeoutError: Callback: Timeout...

  • Shrutika Fiske Shrutika Fiske posted a comment on discussion Help

    @Pradeep Please check that you enable DCOM setting and also turn off firewall on windows machine.

  • nib nib posted a comment on discussion Help

    Hi, I see in OPC Server log that OpenOPC for every opc.write() calling New OPC group "Subscription02" has been added. 4 items added to group "Subscription02". 4 items removed from group "Subscription02". 4 items added to group "Subscription02". 4 items modified in group "Subscription02". OPC group "Subscription02" has been removed. 4 items removed from group "Subscription02". OPC group "Subscription02" has been removed. It's possible to fix this problem? For example like set 'group' property in opc.read()...

  • nib nib posted a comment on discussion Help

    Hi, I see in OPC Server log that OpenOPC for every opc.write() calling New OPC group "Subscription02" has been added. 4 items added to group "Subscription02". 4 items removed from group "Subscription02". 4 items added to group "Subscription02". 4 items modified in group "Subscription02". OPC group "Subscription02" has been removed. 4 items removed from group "Subscription02". OPC group "Subscription02" has been removed. It's possible to fix this problem? For example like set 'group' property in opc.read()...

  • Joao Carlos M Costa Joao Carlos M Costa posted a comment on discussion Help

    open an elevated cmd and reg add HKLM\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath /ve /t REG_SZ /d "C:\Python27" /f

  • Maillot Florian Maillot Florian posted a comment on discussion Open Discussion

    Hi, Recently I have been trying to use OpenOPC in order to get a client everything works petty well but I would like to know if there is actually a way to get a Timestamp with the subseconds, in fact when I Read a group I can't get those. I found a method called DecodeSubseconds in the IOPCAutoServer class but i don't know how to use it on OpenOPC. If anyone know about my problem and how to get rid of it if there is a way, I would appreciate some help. Thank you

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Hi, When using OpenOPC to create a client i notice that the timestamp doesn't give any milliseconds, so i was wondering if it was just me or if there is something to do to get it. As i searched for it , I found a method called DecodeSubseconds in the IOPCAutoServer class but i don't know how to use it on OpenOPC. If anyone know about my problem and how to get rid of it if there is a way, I would appreciate some help. Thank you

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Well, just found a way to do what I wanted, you can't actually use read in another Thread, but since you can do it in the main program, you can just create a list from the read and then use this list in your other Threads.

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Hi, I would like to know if there was a way to read different groups of Items at different pace, by that I mean is it possible to read a first group all the seconds and another one all the ten seconds for example. I already tried to create a client and connect myself to my server and then use Threading from Thread to have two threads reading 2 different groups with different refresh using time.sleep(), but i ended up getting a lot of errors,it seemed like I couldn't apply some of the methods of the...

  • Dundo Dundo posted a comment on discussion Help

    I my case the process that keeps getting bigger and bigger is zzzOpenOPCService so I've wrote a piece of code that frequently check the RAM consumption of that process and if it's over some limit (500MB in my case) restarts the service. Windows environment.

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Ok, manage to do it, it was just the firewall on windows that was blocking me. Thank you for the help :)

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Tank you for the answer and sorry for the wait, with nmap i'm using two commands to know if the port 7766 is open on both sides : nmap -Pn "Virtual machine IP" -p 7766 wich gives the folloing answer : PORT STATE SERVICE 7766/tcp filtered unknown nmap "Ubuntu IP" -p 7766 wich gives the folloing answer : PORT STATE SERVICE 7766/tcp closed unknown I hope i didn't misunderstand anything, right now i am trying to get that port open on the linux side.

  • Ross McCOrmick Ross McCOrmick posted a comment on discussion Help

    The first thing to confirm is that the Linux host can properly connect to the IP of the virtual machine guest, and that the port is open. Try nmap <IP of="" virtual="" machine=""> to confirm that the IP is recognized, and that port 7766 is open.

  • Maillot Florian Maillot Florian posted a comment on discussion Help

    Hello, I am actually trying to use OpenOPC this way: I work on Ubuntu and i have a virtual machine with windows 10 on it and I use the Matrikon Server Simulation. The thing is when i work on the windows side, I am able to use the commands given pretty well in the doc OpenOPC, I can retrieve all the tags i want from the command prompt either by using the DCOM mode or the Open mode(with the gateaway service). But when i start using OpenOPC on Ubuntu : import OpenOPC import Pyro4 opc = OpenOPC.open_client('localhost','7766')...

  • Akinori Ito Akinori Ito posted a comment on discussion Help

    Hi, I had connected from OpenOPC with Python on Ubuntu to Windows8.1 pro. But, I can't connect to same windows machine, after windows machine restart. "OpenOPC.opc_client('192.168.1.6')" is no problem. IP address('192.168.1.6') is a windows machine. But "opc.servers()" is no response. >>> import OpenOPC >>> opc = OpenOPC.open_client('192.168.1.6') >>> opc.servers() This windows machine has several network adapters. IP address('192.168.32.1') is one of several network adapters. >>> opc <DynamicProxy...

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra fast answer ;-) I'am going to study a batch script to restart my application with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side, i did severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best regards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra fast answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side, i did severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best regards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra fast answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side, i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best regards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra fast answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side, i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best redards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Sorry i forget to say 'Win 7 environement' Best regards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra rapid answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side, i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best redards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra rapid answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my side i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best redards.

  • JC_onLine JC_onLine modified a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra rapid answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in Python 3.6 Win 7 environement ?? In my site i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best redards.

  • JC_onLine JC_onLine posted a comment on discussion Help

    Sorry i forget to say 'Win 7 environement' Best redards.

  • JC_onLine JC_onLine posted a comment on discussion Help

    Hello SpinelliCreations, thanks for your ultra rapid answer ;-) I'am going to study a batch script to restart OPC Server with Windows tasks planner. And what about 'pip install OpenOPC-Python3x' in ptython 3.6 Win environement ?? In my site i make severals tests with py3.6 64bits and py3.6 32bits but no communication, and same result: 'OpenOPC.TimeoutError: Callback: Timeout waiting for data' Do you use it ? Best redards.

  • SpinelliCreations SpinelliCreations posted a comment on discussion Help

    There is no known solution. This was first discovered over a decade ago, and I can honestly say that hundreds of man-hours have gone into trying to find a straightforward solution. There probably is a solution - but good luck finding it. The workaround is to use groups for reading, and once per day (or whatever interval your OPC Server's memory starts to approach about 3 GB of RAM usage [leaked]), you schedule your OPC Server program to restart. For example, restarting Kepware or RS Linx once per...

  • JC_onLine JC_onLine posted a comment on discussion Help

    Hello I have the same memory leak with opc.write and Matrikon OPC Server test. Did you find any solutions ? Best regards

  • vijay vijay posted a comment on discussion Open Discussion

    Ago have you resoled this problem? I had the same problem.

  • Pedro Pedro posted a comment on discussion Open Discussion

    Hello, I've found a minor bug on the synchronous read. When a new group is created, the field IsSubscribed is set to True even though the read is synchronous. This is important in a case like mine where the RPC server has not the asynchronous read available, the execution caused an exception due to the absence of RPC server. I suggest moving the line to the "if not sync:" statement two lines after. Basically, from: if new_group: opc_group.IsSubscribed = 1 opc_group.IsActive = 1 if not sync: if self.trace:...

  • Georges Schutz Georges Schutz created ticket #16

    ValueError, "can't format dates this early"

  • OlegA OlegA posted a comment on discussion Help

    Hello! I configured the survey data from Linux client through the OpenOPC Gateway on Windows Machine with OPC Server running. It normally works in case of a small number of requests. When the number of sample values exceeds a thousand, on the Windows side application "OpenOPCService.exe" fails (module gbda_aut.dll): Event 1000, Application Error Faulting application name: OpenOPCService.exe, version: 0.0.0.0, time stamp: 0x514e2c2e Faulting module name: gbda_aut.dll, version: 1.2.8.508, time stamp:...

  • Ross McCOrmick Ross McCOrmick posted a comment on discussion Help

    Mohit, I think you need to install the OpenOPC gateway service on the ABB Server. While it is theoretically possible to read a remote OPC server without it, Windows security issues have always made it non-functional for me.

  • Mohit Saxena Mohit Saxena posted a comment on discussion Help

    Hello there, Need some help. I have my open OPC client on a windows machine with IP 172.16.4.44/24 and the ABB Server is another windows machine on ip 172.16.4.16/24. The PLC is 172.16.4.50. I just want to get some values from the sever using my opc client. What shall i do to make this happen... Please help Thanks, Mohit

  • Andrey Andrey posted a comment on discussion Help

    Hi. I have a problem, I'm running OpenOpcService 1.3.1 on the Windows server 2008, the installation and start of the service are successful and without errors. I'm using an exe file. But I can connect to the service via opc (windows and linux, both) only when the service is started in the debug mode. In the rest, he writes the error "Error while executing the server application". What could be the problem ? Thank you.

  • Anton Anton posted a comment on discussion Open Discussion

    Possible solution for OpenOPC 64bit Python. I’ve gotten OpenOPC to work with a 64bit version of Python using the following packages and steps. Prerequisits: Python 64bit Pywin32 (https://sourceforge.net/projects/pywin32/) Pyro 3.15 (might not be needed) Installation steps: Install Python, Pywin32 and Pyro using their 64bit versions. Install OpenOPC from the latest installer hosted at Sourceforge. Download the DAWrapper package from Graybox here: http://gray-box.net/daawrapper.php Extract it somewhere...

  • Nic Nac Nic Nac posted a comment on discussion Help

    Hello, I'm trying to use OpenOPC to communicate between a linux client (raspberry pi) and a windows server. I've installed the Matrikon Simulation Server and the OpenOPC Gateway Service aswell. But I can't connect my raspberry pi, When I use: import OpenOPC opc=OpenOPC.open_client('localhost') (while localhost is the IP of my windows machine running the Gateway Service) i receive this error message: "Pyro4.errors.CommunicationError: cannot connect to ('localhost'. 7766): [Errno 110] Connection timed...

  • thesourcehim thesourcehim created ticket #15

    Can not read characters other than latin1

  • Dundo Dundo modified a comment on discussion Help

    Hi Viktor! I created a helper function for that. # OPC groups for reading data readGroups = {} def readOPC(_opc, _itemList, _sync=False, _update=50): """Read from OPC server items from _itemList Args: _opc: OpenOPC object _itemList (list): list of items to be read _sync (bool): True for sync read _update (int): group update rate in ms Returns: list of tuples (item address (name), value, quality, timestamp) Raises: """ if _opc is None: return [] try: key = tuple(_itemList) try: grpName = readGroups[key]...

  • Dundo Dundo posted a comment on discussion Help

    Hi Viktor! I created a helper function for that. # OPC groups for reading data readGroups = {} def readOPC(_opc, _itemList, _sync=False, _update=50): """Read from OPC server items from _itemList Args: _opc: OpenOPC object _itemList (list): list of items to be read _sync (bool): True for sync read _update (int): group update rate in ms Returns: list of tuples (item address (name), value, quality, timestamp) Raises: """ if _opc is None: return [] try: key = tuple(_itemList) try: grpName = readGroups[key]...

  • Andrew Ruthven Andrew Ruthven posted a comment on discussion Open Discussion

    Hey, Is it possible to use OpenOPC to communicate with OPC servers that require IOPCSecurityPrivate? Ideally I'd pass a username & password from my client via the gateway. Cheers, Andrew

  • Andrew Ruthven Andrew Ruthven posted a comment on discussion Help

    Replying to an old question... I wrote a patch to OpenOPC that'll walk all the nodes and generate a tree structure. The patch is here: https://github.com/catalyst/OpenOPC/commit/de84cfa1ae37d2e2cffc8e7413961758dd795885

  • AHeidrich AHeidrich posted a comment on discussion Help

    first arg for open_client is the server name, not the IP address - I guess. did u try to use "Matrikon.OPC.Simulation" instead of the IP address. optionally followed by the ip/dns-name of the server-host, if it isn't the same as the gateway. tbh it doesn't perfectly work for me either, only if I install Matrikon test server on the gateway machine as well. If I install OPC server on the gateway machine as well, I can connect / read both servers through the gateway.

  • AHeidrich AHeidrich created ticket #14

    opc returns unspecified error

  • deva deva posted a comment on discussion Help

    folks i am trying to connect to an Matrikon OPC server on the same intranet. but, i get the following error messages. can anyone kindly help? thanks in advance. opc = OpenOPC.open_client('117.254.90.197') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "OpenOPC.py", line 135, in open_client return server_obj.create_client() File "/usr/local/lib/python2.7/dist-packages/Pyro/core.py", line 381, in call return self.send(self.name, args, kwargs) File "/usr/local/lib/python2.7/dist-packages/Pyro/core.py",...

  • Chands d Chands d posted a comment on discussion Open Discussion

    Guys, Can someone please help me here.. With an example to write to a Boolean array in UA Server

  • subu1979 subu1979 posted a comment on discussion Open Discussion

    The following command gives all tags pertaining to Real8 opc -f *.Real8 | opc - How to read all the tags something like opc -f . | opc - Can anybody tried this ??

  • Chands d Chands d posted a comment on discussion Open Discussion

    can someone give me a sample of writing a array item in OPC Server, as when I try to write with write method I am getting a Type Mismatch error ,

  • Chands d Chands d posted a comment on discussion Help

    Did you figure out a solution to this problem?

  • Chands d Chands d posted a comment on discussion Help

    Did you find a solution to this?

  • Chands d Chands d posted a comment on discussion Help

    Hi, Can someone give me an example of how to write array items using openopc client ,

  • Wojciech Jaskowski Wojciech Jaskowski created ticket #13

    opc.read() hangs for 15 minutes

  • Andrew Ruthven Andrew Ruthven posted a comment on discussion Open Discussion

    I'm interested in OPC A&E support as well, does anyone know if ABB corporate research...

  • Viktor Viktor posted a comment on discussion Help

    Hi everyone. Trying to connect ABB Freelance (Control Builder F Version 2013) to...

  • jk987 jk987 posted a comment on ticket #9

    Almost exactly a year later somebody (vista3) asked me how I solved this problem....

  • jk987 jk987 created ticket #12

    OpenOPCService has problems with Takebishi OPC Server

  • Abhishek Gupta Abhishek Gupta posted a comment on discussion Open Discussion

    hi all, I am trying to read a tag using OPC and it gives the vlaue only once but...

  • gijad gijad modified a comment on discussion Help

    I use OpenOPC for Python 1.2.0 and Python 2.7 and OPC.SimaticNET. At first reading...

  • gijad gijad modified a comment on discussion Help

    I use OpenOPC for Python 1.2.0 and Python 2.7 and OPC.SimaticNET. At first reading...

  • gijad gijad posted a comment on discussion Help

    I use OpenOPC for Python 1.2.0 and Python 2.7 and OPC.SimaticNET. At first reading...

  • Python User Python User posted a comment on discussion Help

    Hi Everyone, I have noticed that there is a memory leak in writing values to tags...

  • Pradeep Reddy Vanga Pradeep Reddy Vanga posted a comment on discussion Help

    Hello, I am not able to connect to opc gateway service from outside the network....

  • R. Lagarde R. Lagarde posted a comment on discussion Help

    I have just installed it from the sources and then solved all the dependencies and...

1 >