March 1, 2021 at 7:01 pm #8364
I have a problem with opc client module. Rapidscada can connect to opc server, and read some values. I have a rapidscada connect to s7-1500 with opc server (open, no pass)
With siemens opc client .net I can read all values (db blocks,…) but in rapidscade I cant read values.
What I can do?
March 2, 2021 at 2:22 pm #8373
- This topic was modified 7 months, 2 weeks ago by quintelosky.
I can help you if you provide remote support for the OPC server for testing. Is it possible?March 2, 2021 at 8:00 pm #8383
It is impossible. Is a corporate lan. But, I do these tests in my house with two virtual machines: one running virtual plc (tia portal 15 + plc advance sim) and other running rapidscada (the screen is my personal pc). I can give you access to my computer and you can view the problem.
These is the sourcecode of the siemens opc ua .net client:
Many thanks. If you can repair these problem, rapidscada will be my scada for many projects with siemens s7-1200 and s7-1500March 3, 2021 at 9:01 am #8387
Connecting to a computer by remote desktop (or similar tools) is a paid service.
I can help you for free if you open access to OPC server, so I can run OPC UA client on my computer to debug. To do this, you should configure port forwarding on a router.March 3, 2021 at 8:41 pm #8392
I don’t know connect my siemens plcsim advance running in a virtual machine to public ip internet. I need know, how can I do
ThanksMarch 4, 2021 at 3:06 pm #8406
Please contact us by email to get an offer.
And we can proceed for free if you manage to open a connection.March 4, 2021 at 4:52 pm #8411
Well, I continue firing with my lan. Now, I can connect in my lan to my plcsim from all computers, but I don’t know if a external pc can connect to my server opc ua.
I configured in my router: Port Forwarding (4840 to my plcsim ip), and dmz (to mi plcsim ip)
I sent you a pm with my public ip. I don’t know what hour is good for you, but I connect my computer now ( 16:52 gmt )
EDIT: Upps, I can’t send a pm, my ip: 188.8.131.52
March 4, 2021 at 5:45 pm #8413
- This reply was modified 7 months, 2 weeks ago by quintelosky.
EDT2: Ok, I can connect to my opc server via other pc in other public ip. You can connect without problemsMarch 4, 2021 at 5:55 pm #8414
EDIT3: If you want, first you can connect with siemens opc ua server:
I used these program to check connection via internet and works fine, and you can view all blocks and valuesMarch 4, 2021 at 7:43 pm #8415
I’m doing some tests. I modified the file c:\scada\projects\myproject\instances\default\scadacomm\config\kpopcua_001.xml adding the nodes and I can read the values
<?xml version="1.0" encoding="utf-8"?> <KpOpcUa> <ConnectionOptions> <ServerUrl>opc.tcp://184.108.40.206:4840</ServerUrl> <SecurityMode>None</SecurityMode> <SecurityPolicy>None</SecurityPolicy> <AuthenticationMode>Anonymous</AuthenticationMode> <Username /> <Password>C8080E774B59B0C6694063BDE2428352</Password> </ConnectionOptions> <Subscriptions> <Subscription active="true" displayName="" publishingInterval="1000"> <Item active="true" nodeID="ns=3;s="DB800 TBox_Data"."W_Don_Guarin"."DG_FT2_F"" displayName="DG_FT2_F" isArray="false" arrayLen="1" cnlNum="0" /> <Item active="true" nodeID="ns=3;s="DB16 Señales Analogicas"."TurbidezEntrada"."MaxEscalat"" displayName="Turbid_escalado_max" isArray="false" arrayLen="1" cnlNum="0" /> </Subscription> </Subscriptions> <Commands> <Command nodeID="ns=3;s="DB16 Señales Analogicas"."TurbidezEntrada"."MaxEscalat"" displayName="Turbid_escalado_max" dataType="System.Double" cmdNum="1" /> </Commands> </KpOpcUa>
But the command don’t work, I can’t change values I think is a problem with dataType because kpopcua can’t add commands with other opc server simulator too (indicate datatype not recognized).
Can you check it?
Some images with errors using opc ua server simulator ( https://integrationobjects.com/sioth-opc/sioth-opc-unified-architecture/opc-ua-server-simulator/ )
Many thanks for allMarch 5, 2021 at 6:06 am #8416
I can connect to opc.tcp://220.127.116.11:4840
I will check and write hereMarch 5, 2021 at 6:08 am #8417
Now ( 6:05 gmt ), the opc ua server is running to the same ip ( opc.tcp://18.104.22.168:4840 ). I don’t shutdown the pc. If you will use the siemens opc ua client .net to verifiy the connection and blocks, run as administrator
Many thanksMarch 5, 2021 at 7:19 am #8418
Please try the update of KpOpcUa.dll
– browse nodes
– Int16 and Boolean types
String commands is currently not supported. It’s possible to support them.
Let me know about the results.March 5, 2021 at 10:51 am #8419
Ok. Now I’m working, when I return to my house I will check.
Can you try the commands and send values?
Many thanksMarch 5, 2021 at 11:43 am #8420
For example with:
“DB 16 Señales analogicas”.”TurbidezEntrada”.”MaxEscalat”
I need read the value and change the value, but datatype is float and yesterday I cant modify the vale
- You must be logged in to reply to this topic.