13:49, EEST
May 30, 2020
Hi,
I’m a beginner in this OPC UA. Can I ask a dumb question about this?
If I write an OPC UA Server and run it in a computer. Then I have a client (like a PLC or a OPC UA Client app in another computer). Do these computer need to be in the same network for connection?
If so, how to run the project while Server computer and Client computer are in differnt places?
10:43, EEST
April 3, 2012
Please do not start 2 threads of the same topic. I did answer your original question at: https://forum.prosysopc.com/forum/opc-ua-simulation-server/prosys-opc-ua-simulation-server-and-prosys-opc-ua-client/#p4792. But the short reference is that it is completely outside the scope of OPC UA in that sense that it is basic networking i.e. the the opc.tcp connections run on a normal TCP connection thus the same ruleset apply, i.e. the speciifcation basically says just https://reference.opcfoundation.org/v104/Core/docs/Part6/7.2/
“TCP/IP is a ubiquitous protocol that provides full-duplex communication between two applications. A socket is the TransportConnection in the TCP/IP implementation of the OPC UA Connection Protocol.
The URL scheme for endpoints using OPC UA TCP is ‘opc.tcp’.”
They can be in different networks, but you will need to have a network path from the client to the server. Typically this means that the client must be able to access the other machine via some IP or hostname or URL, and in almost all network setups the server’s side will have a firewall at some point which will need to allow the traffic to the port the server is listening, i.e. “open port” in the firewall.
It should be noted that opc.tcp is just only one connection protocol that OPC UA has, but basically that is the one everything uses, so I’ll ignore other forms in this answer.
Most Users Ever Online: 1919
Currently Online:
48 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1