A timer has memory of its own time value. Doesn't matter if it is an IEC timer, a counter, a preset time on the clock or whatever. There will be memory that has to live somewhere.
If you may not store this memory in the instance of an FB, then you have to pass the memory in and out of an FC. That is doable, but it beats me as to what would be achieved by this requirement. It is the same thing, you just store the memory in another (more cumbersome) way.
If you may not store this memory in the instance of an FB, then you have to pass the memory in and out of an FC. That is doable, but it beats me as to what would be achieved by this requirement. It is the same thing, you just store the memory in another (more cumbersome) way.
The standard is to cripple basic functionality of the PLCs languages ??LindeBerger said:It's in our 'standard protocol', unfortunately.
Plenty of ways to do that. I would read the PLC cycle time and use that to increment the timer.LindeBerger said:Yes, I have to create a pseudo timer/counter.