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 Dec 16, 2018 4:26 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Async Manager
PostPosted: Tue Feb 20, 2018 6:53 am 
Offline

Joined: Mon Feb 19, 2018 2:12 pm
Posts: 4
Hi,

I want to use the CAA Async Manager. If I understood correctly I have to initialize the worker befor the job is open?

It always says NO_MEMORY

Can you help me to use it properly?

Is there some documentation?

Thanks


Top
   
 Post subject: Re: Async Manager
PostPosted: Sun Feb 25, 2018 11:31 am 
Offline
Frequent User
Frequent User

Joined: Wed May 04, 2016 6:00 pm
Posts: 259
Hi.

You can do it too with an assyncTask.

Create an assync Task, and in the program which runs in the assync tasks create an array of fb which implements an interface which has an assync method. In the assync program call the assync method of the interfaces registered in the array.

In the creation of the fb in the sync task register your fb which implements the interface in the assync array.

You can start the assync method with a execute-done mechanism.


Top
   
 Post subject: Re: Async Manager
PostPosted: Fri Mar 02, 2018 10:47 am 
Offline

Joined: Mon Feb 19, 2018 2:12 pm
Posts: 4
Thats what I wanted to try with the Async Man Libary


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 1 guest


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