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 Sun Oct 20, 2019 9:40 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jul 24, 2019 5:59 am 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 188
Hi.
I try to call method through OPC UA Server with UaExpert as OPC UA client.
I use CODESYS Control Win V3 (3.5.14.30).

1. I edit devdesc:

Attachment:
OpcUaCalls01.jpg


2. I create simple project with one FB and one method:

Attachment:
OpcUaCalls02.jpg


3. I add symbol configuration and set option Support calls...

Attachment:
OpcUaCalls02.5.jpg


4. I add my FB to symbol configuration and set "execute" permissions for FB and method.

Attachment:
OpcUaCalls06.jpg


5. I download and start project.

6. In UaExpert I see my FB (but don't see method) and command "Call" for FB not active.

Attachment:
OpcUaCalls04.jpg



So how I can call methods through OPC UA?
It would be great to see a simple example, maybe make sense to add it in FAQ:
https://faq.codesys.com/display/CDSFAQ/ ... plications


You do not have the required permissions to view the files attached to this post.

_________________
Make CODESYS great again


Top
   
PostPosted: Wed Jul 24, 2019 8:10 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3495
Hi,
this is the way it will work for the future yes,
but there are missing two jiras ( see no release date on this) to have it up and running that way.

BR
Edwin


Top
   
PostPosted: Wed Jul 24, 2019 8:57 am 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 188
Thank you for info.
I was confused with this new target setting and CDS-64761 (this issue looks like this feature already works).
By the way, it will be nice to see example in FAQ after support this feature.

_________________
Make CODESYS great again


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 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