Hello, I just updated the system CoDeSys 3.5.10
Unfortunately from the previous version has anything changed in the sense that the same application I have developed behaves differently
I describe the problem ...
With a PIFACE DIGITAL 2 card, I read a digital input that goes to the 50 Hz frequency.
I program a normal IEC Timer TON that with a time of 100 ms detects the status input low.
If the input remains low for more than 100 ms, the timer TON.Q becomes high.
On the project with CoDeSys version 3.5.8 he never go high.
On new version 3.5.10 (same program) I noticed that if the CPU load goes over (open another VisuElemnt or changePage),
the timer strangely go high and it should not because the frequency of 50 Hz input is constant.
The Task is a freewheeling, what can I do to fix this?
I tried to increase the PT.time to 200 ms but behaves the same.
Serghei
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PLC behavior is strange
It's not that I have to update the SPI Master and Slave Driver (PIFACE DIGITAL)?
The version of Master is 1.0.0.0 and Slave 1.2.1.0
Now i try to update and later i become one compilation error:
C0077: Unknown type: IoDrvPiFace.IoDrvPiFace
Where is the updated driver?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I just updated the system CoDeSys 3.5.10
Unfortunately from the previous version has anything changed in the sense that the same application I have developed behaves differently
I describe the problem ...
With a PIFACE DIGITAL 2 card, I read a digital input that goes to the 50 Hz frequency.
I program a normal IEC Timer TON that with a time of 100 ms detects the status input low.
If the input remains low for more than 100 ms, the timer TON.Q becomes high.
On the project with CoDeSys version 3.5.8 he never go high.
On new version 3.5.10 (same program) I noticed that if the CPU load goes over (open another VisuElemnt or changePage),
the timer strangely go high and it should not because the frequency of 50 Hz input is constant.
The Task is a freewheeling, what can I do to fix this?
I tried to increase the PT.time to 200 ms but behaves the same.
Serghei
Hello,
PLC behavior is strange
It's not that I have to update the SPI Master and Slave Driver (PIFACE DIGITAL)?
The version of Master is 1.0.0.0 and Slave 1.2.1.0
Now i try to update and later i become one compilation error:
C0077: Unknown type: IoDrvPiFace.IoDrvPiFace
Where is the updated driver?
hi,
please attach your project..
BR
Edwin
Hi Edwin,
file is to big, please give me your email, or send me a message.
S.G.
Hi Edwin,
i send in your attention to e support@codesys.com e
Bye bye...
S.G.