Forum Home › Forums › Communicating with Devices › OPC › OPC no values
- This topic has 19 replies, 2 voices, and was last updated 2 years, 8 months ago by
Mikhail.
-
AuthorPosts
-
March 1, 2021 at 7:01 pm #8364
quintelosky
ParticipantHi
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?
Many thanks
-
This topic was modified 2 years, 9 months ago by
quintelosky.
March 2, 2021 at 2:22 pm #8373Mikhail
ModeratorHi,
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 #8383quintelosky
ParticipantHi
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:
https://mega.nz/file/hIsFAADS#Yk9pRPYym_jFtayqJgCaaXqljCpG-46oAAKwaV25txAMany thanks. If you can repair these problem, rapidscada will be my scada for many projects with siemens s7-1200 and s7-1500
March 3, 2021 at 9:01 am #8387Mikhail
ModeratorHi,
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 #8392quintelosky
ParticipantHi
How money?
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
Thanks
March 4, 2021 at 3:06 pm #8406Mikhail
ModeratorHi,
How money?
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 #8411quintelosky
ParticipantHi
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 )
Thanks
EDIT: Upps, I can’t send a pm, my ip: 83.42.220.118
-
This reply was modified 2 years, 9 months ago by
quintelosky.
March 4, 2021 at 5:45 pm #8413quintelosky
ParticipantEDT2: Ok, I can connect to my opc server via other pc in other public ip. You can connect without problems
March 4, 2021 at 5:55 pm #8414quintelosky
ParticipantEDIT3: If you want, first you can connect with siemens opc ua server:
https://mega.nz/file/YRFiBByB#DLzKOsxGXZYNmbk7lUpq1D0_dRokkCObRP3pEmk6nAY
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 #8415quintelosky
ParticipantAgain. Sorry.
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://83.42.220.118: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/ )
https://ibb.co/QP4B1Z7
https://ibb.co/sQGD86j
https://ibb.co/VQCdGDS
https://ibb.co/zFnvvxL
https://ibb.co/58KtsvBMany thanks for all
March 5, 2021 at 6:06 am #8416Mikhail
ModeratorHello,
I can connect to opc.tcp://83.42.220.118:4840
I will check and write hereMarch 5, 2021 at 6:08 am #8417quintelosky
ParticipantOk
Now ( 6:05 gmt ), the opc ua server is running to the same ip ( opc.tcp://83.42.220.118: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 thanks
March 5, 2021 at 7:19 am #8418Mikhail
ModeratorPlease try the update of KpOpcUa.dll
Fixes:
– browse nodes
– Int16 and Boolean typesString commands is currently not supported. It’s possible to support them.
Let me know about the results.March 5, 2021 at 10:51 am #8419quintelosky
ParticipantOk. Now I’m working, when I return to my house I will check.
Can you try the commands and send values?
Many thanks
March 5, 2021 at 11:43 am #8420quintelosky
ParticipantFor 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
Thanks -
This topic was modified 2 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.