Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » OPC UA forte Datatype Error
OPC UA forte Datatype Error [message #1784024] Wed, 21 March 2018 16:02 Go to next message
Kaan Cetin is currently offline Kaan CetinFriend
Messages: 2
Registered: March 2018
Junior Member
Hi,

I am trying to go through the tutorials on how to use OPC UA with 4Diac, but I was not able to connect the server running on forte to UA Expert client.
Forte starts without any errors, the app deploys correctly but whenever I try to get connected on the UA Expert interface I get the "Datatype error" and the connection fails with "Bad timeout".

What could be the reason for that? I would be happy if you could give me any recommendations on solving this issue.

I am using the 1.9.0 RC2 4diac and 1.9.x branch of forte.

Thanks,
Kaan

  • Attachment: error.PNG
    (Size: 45.65KB, Downloaded 153 times)
  • Attachment: app1.PNG
    (Size: 51.33KB, Downloaded 126 times)
  • Attachment: app2.PNG
    (Size: 29.56KB, Downloaded 117 times)
  • Attachment: app3.PNG
    (Size: 53.96KB, Downloaded 116 times)
Re: OPC UA forte Datatype Error [message #1784214 is a reply to message #1784024] Fri, 23 March 2018 14:39 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 199
Registered: February 2016
Senior Member
You are connecting to wrong port. Your OPCUA server is listening to the port 4840 (see your image). You should use this port in UA Expert to connect (opc.tcp://localhost:4840), but it seems that you're trying to connect to opc.tcp://localhost:61499. The port 61499 is used to connect with 4diac and load and delete applications and so on.

So:
from 4diac use port 61499
from UA Expert use port 4840
Re: OPC UA forte Datatype Error [message #1784290 is a reply to message #1784214] Mon, 26 March 2018 10:27 Go to previous messageGo to next message
Kaan Cetin is currently offline Kaan CetinFriend
Messages: 2
Registered: March 2018
Junior Member
Thanks for the fast reply.

I am still having some connection issues when connecting to the server. It might be caused by the network warnings I added in the attachments.

What is the possible cause of this warnings, how can I fix them?

[Updated on: Mon, 26 March 2018 10:33]

Report message to a moderator

Re: OPC UA forte Datatype Error [message #1784711 is a reply to message #1784290] Tue, 03 April 2018 06:42 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 199
Registered: February 2016
Senior Member
I don't think those warnings are a problem. What problems are you having now? I see that you're using port 4841 now
Re: OPC UA forte Datatype Error [message #1785072 is a reply to message #1784711] Mon, 09 April 2018 07:39 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Excuse me sir,
i would like to ask you about my error when i run 4diac ide with forte.
I have error like at image below.
What should I do?
Re: OPC UA forte Datatype Error [message #1785085 is a reply to message #1785072] Mon, 09 April 2018 10:01 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

This typically happens when one of the FBs in your application is either blocking or taking to long to execute and you have very short E_CYCLES or a lot of network messages.
Previous Topic:Mouse right-click to move view area on editor at 1.9.0 RC3
Next Topic:New names of new type
Goto Forum:
  


Current Time: Thu Apr 25 05:04:11 GMT 2024

Powered by FUDForum. Page generated in 0.03122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top