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 Thu Feb 27, 2020 6:22 pm

All times are UTC+01:00

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

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.

PostPosted: Sat Sep 29, 2018 9:45 pm 

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

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


PostPosted: Mon Nov 26, 2018 8:58 pm 
User avatar

Joined: Wed Mar 09, 2016 1:20 pm
Posts: 40
did you check for time cycle performed by PLC_PRG task? maybe your program is to heavy for the task clock you set.. I've something similar with PFC200 (and CPu is pretty bigger than 750-881..).

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