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, EET
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, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 579
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.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 103

pramanj: 86

ibrahim: 70

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 38

Rainer Versteeg: 32

Thomas Reuther: 31

Member Stats:

Guest Posters: 0

Members: 1160

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1048

Posts: 4416

Newest Members:

jonas.rahm, sophiekohler, zqecortney, adeletoscano947, forestgenders23, auroratrumper, ericmclain04, rblu, starlowery23194, dakotadalgety82

Moderators: Jouni Aro: 853, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 579, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 24, Matti Siponen: 72, Lusetti: 0

Administrators: admin: 1