<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Task Priority Documentation?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8e6651248f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8e6651248f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8e6651248f/</id><updated>2025-08-11T08:59:00.607000Z</updated><subtitle>Recent posts to Task Priority Documentation?</subtitle><entry><title>Task Priority Documentation?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8e6651248f/?limit=25#e0ee" rel="alternate"/><published>2025-08-11T08:59:00.607000Z</published><updated>2025-08-11T08:59:00.607000Z</updated><author><name>MadsKaizer</name><uri>https://forge.codesys.com/u/madskaizer/</uri></author><id>https://forge.codesys.com443021ba786fe09a5e8c2e36ee95ac5b60d5cb42</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All&lt;/p&gt;
&lt;p&gt;I was watching the Wago PFC300 webinar ( &lt;a href="https://www.wago.com/global/lp-thank-you-onlineseminar-pfc-300" rel="nofollow"&gt;https://www.wago.com/global/lp-thank-you-onlineseminar-pfc-300&lt;/a&gt; ), and the presenters comment about priority 1 being way above the Ethernet task priority, so that a priority 1 PLC program can actually loose SCADA connection, made me try to round up some hard evidence on Codesys Priorities. &lt;/p&gt;
&lt;p&gt;I find there is very little information on "correct" task priority configuration. There is a lot of different hardware manufacturers, using Codesys Runtime, that has different descriptions in their manuals on how to set up priority.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://doku.amk-motion.com/en/Subsystems/PDK_202975_A-Serie_en/Content/Projekt/AMKAMAC/PDK_202975_A4-A5_Produktbeschreibung/Funktionalitaet/PLC-Programming/PLC%20Tasks.htm?TocPath=PLC-Programming%7C_____7" rel="nofollow"&gt;https://doku.amk-motion.com/en/Subsystems/PDK_202975_A-Serie_en/Content/Projekt/AMKAMAC/PDK_202975_A4-A5_Produktbeschreibung/Funktionalitaet/PLC-Programming/PLC%20Tasks.htm?TocPath=PLC-Programming%7C_____7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/SoMProg/index.htm?#t=SoMProg%2FTask_Editor%2FTask_Editor-7.htm&amp;amp;rhsearch=priority&amp;amp;rhhlterm=priority&amp;amp;rhsyns=%20&amp;amp;SUBSTRSRCH=1" rel="nofollow"&gt;https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/SoMProg/index.htm?#t=SoMProg%2FTask_Editor%2FTask_Editor-7.htm&amp;amp;rhsearch=priority&amp;amp;rhhlterm=priority&amp;amp;rhsyns=%20&amp;amp;SUBSTRSRCH=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_f_task_configuration.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_f_task_configuration.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So my questions :)&lt;/p&gt;
&lt;p&gt;1) If there is only 1 PLC_PRG task, does priority matter?&lt;br/&gt;
2) What is the priority of Ethernet / communication, if nothing is entered?&lt;br/&gt;
3) What is the priority of Codesys OPC UA server?&lt;br/&gt;
4) Some users here on forge mentions that Wago PLC programs should run as priority 11, but where does this recommendation origin from?&lt;br/&gt;
5) What are you recommendations for a relatively slow process, like building automation? It uses OPC UA for communication to SCADA, maybe some MODBUS-RTU and MODBUS-TCP, usually around 100 I/O, been running with everything in a single task at priority 1, 50-100ms cycle time. Some controllers have separate MODBUS tasks, but doesn't seem like a big difference. How would you recommend splitting up communication, IO fieldbus and programs into differently prioritized tasks?&lt;/p&gt;
&lt;p&gt;I know its  a complex matter and all about my application, but I really miss there was just some kind of guidance in the documentations and with all new standard Codesys programs having priority 1 as default, makes it seem less important, than it really is.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>