CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Dec 07, 2019 12:09 am

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Nov 07, 2017 1:05 pm 

Joined: Thu Jul 31, 2014 7:05 pm
Posts: 18
I configured the OPC Server v3 using the instructions. The OPC Server connects to the gateway and my two test variables/symbols are available, according to the OPC Server log file. The OPC server is running on the same computer as the Gateway.

However, I can't connect to the Gateway computer using an OPC Client (UaExpert). (Different computer) UaExpert provides an error: Could not connect to Server. BadCommunicationError.

I can ping the gateway computer and the firewall is turned OFF on the Gateway computer.

Which port should I use in the OPC Client? Port 4840 is not open on the Gateway computer. Port 4840 is open on the PLC and I can connect the UaClient directly to the PLC and access the variables/symbols.

How do I troubleshoot? The OPC Server has a nice log file, but I can't find the Gateway log file to search for clues.


PostPosted: Thu Nov 16, 2017 7:06 am 
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3561
I never tried to used OPCUA Expert to connect an "OPCDA Connection",
is this really possible?
I would try to use other OPCDA Clients, like Matrikon ... etc to connect to an OPCDA Server. (See the opcda faq's in the forum)
Anyway you should think on adding the OPCUA Server to your CODESYS V3 plc runtime and use OPCUA Client to
connect to the plc (yes in this case UA Expert) - this is more secure even OPCUA encryptet communication is possible since 3.5SP11 release ( all Linux SL products - 3.5SP12 release)
This is meanwhile important too. (think on the security aspect)


Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited