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 Wed Nov 21, 2018 12:53 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 13, 2018 6:55 pm 
Offline

Joined: Mon Jun 04, 2018 12:04 am
Posts: 8
I have a WAGO 750-881 Target and I'm trying to have multiple Programs running on different tasks to set different priorities and cycle times but it seams that is not working.

If I set the task that contains PLC_PRG on priority 0 and another task that contains the TEST_PRG on priority 1 the TEST_PRG is not running.
The only way to have more then one programs running on the target is by creating a Task with priority 0 or 1 and append both PLC_PRG and TEST_PRG , but like this i'm not able to prioritize.

Why i'm trying to do this is because I have Serial Interface that is not writing and reading the DATA correctly because I have a PLC_PRG with quite a big program , same serial interface RS232 works perfect on a empty program.
So my conclusion is that I need to prioritize the Serial FB in a second Program but is not working :( as described above.


Top
   
PostPosted: Sat Sep 29, 2018 9:45 pm 
Offline

Joined: Wed Apr 22, 2015 1:45 pm
Posts: 15
Hello

I have learned that you should start from task priority 11 when you assign in wago.

Espen


Top
   
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