Hi!
Since my German is too weak, I'll write this in English and hope that it's ok anyway.
I'm using Oscat functions (a lot of them actually) in a project with a Siemens CPU315-2 PLC. It seems that there is a problem with the STIME function on this PLC, since the time dependent functions stop working intermittently. This is most obvious with the INTEGRATE function that makes big jumps in it's output at seemingly random times.
Does the TIME_TCK() function (which STIME uses) work differently on CPU315 compared to other Siemes cpus or am I missing something obvious here? If I edit the STIME function not to toggle bit 31, everything seems to work. But it seems strange that there would be such a serious bug in Oscat which is otherwise working almost perfectly!?
Any clarification of this would be great!
Best regards,
Martin