Login  •  Register


PLC OPC UA Server

General topics regarding OPC Foundation and communication technology in general.

PLC OPC UA Server

Postby akshaysarode18 » 28 Feb 2017, 13:56

I have OPC UA Server running on PLC which is been setup using Codesys 3.5.

And I have LDS running on some IP address. How can I make the PLC to register itself to that LDS ?

Thank you
akshaysarode18
Newbie
Newbie
 
Posts: 1
Joined: 28 Feb 2017, 13:52

Re: PLC OPC UA Server

Postby Support Team » 16 Mar 2017, 11:55

Hello,

typically the way to register should be described in the product manual of the Codesys UA Server.

Generally the LDS (local discovery server) is meant to be "locally" (on the same box) where the UA Server is located. The idea behind is that on one box (PC) there could exsist several UA Servers, plus an LDS (running on port 4840) that has a list of all registered servers.

A PLC typically has only one (1) UA Server running, the PLC-UA-Server (Codesys), and because of that does not need any LDS. This one and only PLC Server should run on port 4840 directly. In some cases people use the LDS which is somewhere on a different PC in the network and they register "remotely". Event though this is not the intention it will be possible, however this typically is the job of a GDS (Global Discovery Server).

In order to register at the LDS, the Server "acts as a client" and must have a trusted relation to the LDS (server must trust the LDS, and LDS must trust the server). After excanging certificates and trust them, the UA Server can register at the LDS.

All UA-Servers build with our SDKs can do so out of the box (basic configuration within the configuration settings), however for the Codesys-Server we don't know if such basic functionality is already implemented, since it was not implemented with our SDK.

Please ask Codesys-Support for that.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2053
Joined: 18 Mar 2011, 15:09

Re: PLC OPC UA Server

Postby shujat » 13 Sep 2017, 12:25

Hi,
1. why not using the real plc, which comes with CODESYS Installation
2. why not using OPCUA - less administration effort! - NO OPC Server needed everything is embedded in the <a href="http://www.cetpainfotech.com/technology/plc-and-scada-training">PLC</a> Run time (Control Win or Control RTE)
shujat
Newbie
Newbie
 
Posts: 1
Joined: 29 Aug 2017, 13:23


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests