Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How OPC UA work?
May 31, 2020
13:49, EEST
Avatar
NilsonChalie
Member
Members
Forum Posts: 4
Member Since:
May 30, 2020
sp_UserOfflineSmall Offline

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?

June 1, 2020
10:43, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

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.

May 28, 2021
7:58, EEST
Avatar
hypnos97
Member
Members
Forum Posts: 4
Member Since:
May 5, 2021
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6260

Newest Members:

sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1