Martin Nielsen
Member
Hi
I want to be able to manipulate the value of elapsed time in S7, and I still want it to be as accurate as possible.
It seems to impossible to manipulate with the build in timers.
S_ODT (S5-timer) and IEC Timer(SFB4)(S7-Timer)
I have notice that it is possible to manipulate the STIME in the SFB4, so I have used SFB4 like below, and it looks like it works, but will I ever get a time out on the timer?
And what will happens when it flips over to a negative value? I think the math will be correct?
Who don't want a timer with a negative preset time to predict events?
I want to be able to manipulate the value of elapsed time in S7, and I still want it to be as accurate as possible.
It seems to impossible to manipulate with the build in timers.
S_ODT (S5-timer) and IEC Timer(SFB4)(S7-Timer)
I have notice that it is possible to manipulate the STIME in the SFB4, so I have used SFB4 like below, and it looks like it works, but will I ever get a time out on the timer?
And what will happens when it flips over to a negative value? I think the math will be correct?
Who don't want a timer with a negative preset time to predict events?