-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPC DA Data Source #2498
Comments
Hi @EulertronikTw,
Regards, |
From what I understand from the image, your OPC server is Citect and not Matrikon. |
Another thing, is Scada-LTS running on the same machine where you are using Matrikon OPC Explorer? |
Thanks |
Is the OPC Server service running with any user? |
@odenisnobre, Thanks for these tips. Based on this, we can conclude that this should work. :) |
Excellent. I will be waiting for your news. I thank you and everyone who quickly responded to my concern. |
Hi @EulertronikTw, If you don't use docker-compose, it will provide you with a fix later. Regards, |
Hi Kamil, I don't use docker, but I will try it. Thanks! Juan |
@EulertronikTw from you can dowload zip with war. You need to unpack the zip and move the wara to webapps. If I don't set the username and password, before the initialization of the connection, I get an error that these fields should be set. There is still a chance that if you set these fields empty, then if the server does not require authorization, it will work. |
@EulertronikTw Have you been able to test it? |
Hi Kamil. Sorry for de delay. I tested it this weekend but without good results. Beside this, another person do some test for me and found that the problem is with Windows 10. He installed all (opc server Citect and scada-lts) in windows 7 and all work as expected. Now I'm installing docker to continue doing some test. I will write to you again. Thanks! |
Hi @EulertronikTw, |
Exactly. Now I need to know if the problem on Windows 10 is on the server or the client scada lts side. |
@EulertronikTw Where did you download the server from? Maybe there will be something on the owner website, |
Yes, I Will try with an opc server simulator. Thanks |
@EulertronikTw Sorry, I was tired yesterday,
Tips:
Regards, |
Hi @EulertronikTw The question is how are your tests progressing, are we doing something more with it? |
edit: |
Hi again.
|
Edit: |
Unfortunately, now I do not have windows in front of me ... look on the net how to run applications with administrator privileges on windows. It's about starting tomcat with these permissions. |
Hi @EulertronikTw, edit: I'll be back when I know more. I can come back to that later. It seems, however, that you can do it automatically by setting the appropriate flag in the library, I will prepare such a version of this small program and we'll see. |
Okay @EulertronikTw, |
Hi Kmail. Here you are the files: with matrikon server v1.0.1.txt Thanks Juan |
Now we have something like this: |
|
Hi @EulertronikTw, |
Hi Kamil. Yes, I know that. My doubt was how to run SCADA LTS as administaror, because the interface is a web page. I already ran opc-da-1.0.1.jar as Administator. I ran from PowerShell because with cmd I can't copy all the results. What I didn't do, was stop scada-lts manager previously. So I ran it again: with matrikon server v1.0.1.txt Tell me if these test are what you need. Thanks! |
Hi @EulertronikTw
|
|
If you are trying to solve a specific technical problem, you must keep certain settings permanently, e.g. you cannot change the system version. The first logs were for windows 7 and you should stick to that system. If you approach technical problems this way, you will not be able to solve any technical problem. Also let's go back to windows 7. |
Do you have it installed?: https://learn.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows |
Hi Kamil, you are right, my mistake was share win10 files, but I always test both cases: win7 in a virtual machine and win10 is the host. Here you are win 7 test: Matrikon win7 v1.0.1.txt Thanks, Juan |
yes |
Hi @EulertronikTw,
This .NET Framework 3.5 you have installed on windows 7 and 10? |
Here you are: |
It's specifically about version 3.5, not 3.5.1, on windows it works so that you have different versions of this library installed at the same time. edit: I've run out of ideas for now, I'll try to figure something out on my computer tomorrow. |
Hi Kamil. I ran .net 3.5 installer but there wasn't an output that confirm correct installation, so I verified in the register: 230425 - Win7 test opc-da v1.0.1.txt I will try to catch logs with wireshark to understand what happen, and why it works with matrikon client and don't with scada-lts. Tell me if you need more test. Thanks, Juan |
here you are the test with version 1.0.2. Previously I stopped scada-lts service |
For each attempt, you must have set:
|
ok. I did it as you mention, but LocalAccountTokenFilterPolicy was already set to 1 230425.-.Win7.test.opc-da.v1.0.2 - 1.txt Juan |
@EulertronikTw Weird because now you have a different error in the logs. It could also be that the library didn't manage to set something up and you get this one error the first time, and then the other one all the time. One more fix: You can also try this dcom configuration: You can still install jdk/jre 8, that could be the cause of the problem too. |
ok. Give me some time for install jdk/jre 8 Here you are de last test: |
@EulertronikTw |
Hi Kamil. Today I couldn't send You anything. Tomorrow I Will send You a complete detail of each computer and test I did. Greetings Juan |
Hi @EulertronikTw, I don't know if the problem is not an outdated authentication method, disabled in windows 7 and 10: On windows 10 home edition and some features are not available. From the servers of the Poznań University of Technology, you can download a newer version Vijeo_Citect, if you have a license key: You could also try with another OPC DA server if you have access. @odenisnobre uses KEPServerEX.V6 and it seems to work well with our library. Another question is do you need to use this protocol? This is an outdated solution, and it looks like it is a solution dedicated to windows. It is worth considering Modbus IP, SNMP, maybe: MQTT, we use these protocols in production, so configuration should not be a problem. (of course, these are not all protocols, we also support: AMQP, Modbus Serial and others) I'm sorry that we spent so much time on it, and we couldn't achieve a satisfactory effect, sometimes it happens. Thank you for your significant contribution. I encourage you to continue to be active if other problems arise. Regards, |
Hi Kamil. Below my answers in italic bold
Thanks! I will try it. Is this a cracked version or requierd hardware keys? I have originals copies of Citect 7.2 with hardware USB keys that don't support newer version.
I didn't find another way to get data from Vijeo Citect so fast as OPC-DA is. My goal is to be able to create a copy of the VIJEO CITECT scada with access via the web, a feature that my current SCADA does not have. This is the reason for all this effort
No problem. I am more than grateful for all the help received Just when I received your reply, I was preparing the following information to clarify all the tests I did: PC1 - SCADA Main Server PC2 - SCADA Client and WorkStation Development PC3 - Virtual Machine
Tests: PC2: PC3: Thanks again for all the time spent solving my problem. I will gladly be a collaborator for tests if required. I plan to use SCADA-LTS with LoRa devices that we are developing. Juan
|
Hi @EulertronikTw Regards, |
#2498 OPC DA Data Source - disable validation for username and passwo…
Hi. I was trying to create data points with OPC DA in scadabr and after talking with Fabio Durao, he suggested installing scada-lts. I did it, but the problem I got was the same as scadabr. So I will describe the issue hoping you could help me to solve it.
First of all, I tested the OPC DA Server with Matrikon Explorer and I could read/write tags without problems. The client and the server are on the same computer.
So I created a new Data Source with OPC DA. First thing I noticed is that OPC DA Properties ask for “Domain”, “User” and “Password” when Matrikon doesn't need that information.
I leave the domain in blank because the computer is in a workgroup. When I save it I obtained in the item server “Access is denied, please check whether the [domain-username-password] are correct … [0x00000005]”
Of course I disable the firewall and change COM security settings that everybody recommends to do.
With Matrikon Explorer I can access to all tags list and read them without problems:
I wish you could help me. I can do the test you need to find the solution. Thank in advance,
Juan
The text was updated successfully, but these errors were encountered: