Hi, i'am a still reader until now and many things where really helpfull in this forum.
So thank you all
Now i'am getting to a point i can't figure out for my own, maybe someone can help me and give me some advice.
A have a few tasks and all splittet up with different priorities and times, in this case i have a sytemtime task that needs up to 18s to finish, what is really to slow and i don't understand why it needs so long, actually this is the taks with the priority 1 but even that needs 18s.
Can someone explain me what i'am doing wrong?
Greetings Silvio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
purely from the screenshots I couldn't find anything suspicious. But because the minimal and maximal cycle time are differing so much, I expect, that you are calling a function, which simply blocks from time to time.
Maybe you can just copy&paste the code of the whole PRG!?
BR,
Ingo
Gesendet von meinem LG-H870 mit Tapatalk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your fast reply, i guess it gets a little bit difficult to post all the code.
It is poosible to attache the whole programm?
so you think i use a code or variable that avoid the systemtime cycle to run complete free
BR Silvio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i'am trying to attache the whole project, the code you see in the picture is the whole code there are no more lines.
I make an archive with codesys that are including all libarys and things i use.
Hi,
without gooing deeper in your code, I think the problem are these 3 onewire devices which I think you have missed to specify the correct update task.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you are so right, this was really the problem.
Thanks allot, i add these sensors a litte bit later and really forget to declare which task they are in...OMG.
BR
Silvio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i'am a still reader until now and many things where really helpfull in this forum.
So thank you all
Now i'am getting to a point i can't figure out for my own, maybe someone can help me and give me some advice.
A have a few tasks and all splittet up with different priorities and times, in this case i have a sytemtime task that needs up to 18s to finish, what is really to slow and i don't understand why it needs so long, actually this is the taks with the priority 1 but even that needs 18s.
Can someone explain me what i'am doing wrong?
Greetings Silvio
Hi Silvio,
purely from the screenshots I couldn't find anything suspicious. But because the minimal and maximal cycle time are differing so much, I expect, that you are calling a function, which simply blocks from time to time.
Maybe you can just copy&paste the code of the whole PRG!?
BR,
Ingo
Gesendet von meinem LG-H870 mit Tapatalk
Hi Ingo,
Thanks for your fast reply, i guess it gets a little bit difficult to post all the code.
It is poosible to attache the whole programm?
so you think i use a code or variable that avoid the systemtime cycle to run complete free
BR Silvio
Yeah, you can also attach the whole project as an attachment. But I thought, that the code of the systemtetime PRG might be enough.
Gesendet von meinem LG-H870 mit Tapatalk
Good Morning,
i'am trying to attache the whole project, the code you see in the picture is the whole code there are no more lines.
I make an archive with codesys that are including all libarys and things i use.
Thanks for your passion and help
https://drive.google.com/file/d/1h0WRDV ... sp=sharing m
Hi,
without gooing deeper in your code, I think the problem are these 3 onewire devices which I think you have missed to specify the correct update task.
BR
Edwin
Good Morning
you are so right, this was really the problem.
Thanks allot, i add these sensors a litte bit later and really forget to declare which task they are in...OMG.
BR
Silvio