Negative Value loaded into timer.

There is actually a note in the Help that says to make sure the timer runs every 69 minutes otherwise the ACC won't be correct. Nothing about it potentially rolling over to a negative value and causing a fault. Just that "the ACC won't be correct if this happens".

Never noticed that before. I knew there would be accuracy issues, but didn't know what the magic number was. And like you said, I never put timers into these scenarios.

OG
 
There is actually a note in the Help that says to make sure the timer runs every 69 minutes otherwise the ACC won't be correct. Nothing about it potentially rolling over to a negative value and causing a fault. Just that "the ACC won't be correct if this happens".

Never noticed that before. I knew there would be accuracy issues, but didn't know what the magic number was. And like you said, I never put timers into these scenarios.

OG

Its conceivable that there were no negative numbers in my case. But I am not at all certain of that so it was worth putting out there. But they certainly weren't "Correct".
69 minutes ? I'm sure that has some significance related to the clock, 4140000ms . . . 22 bit register? Weird number though.
 
I didn't know that either. But according to: 1756-rm003_-en-p.pdf

"IMPORTANT Make sure to scan the timer at least every 69 minutes while it runs. Otherwise, the ACC value won’t be correct.

The last_time_scanned value has a range of up to 69 minutes. The timer’s calculation rolls over if you don’t scan the timer within 69 minutes. The ACC value won’t be correct if this happens.

While a timer runs, scan it within 69 minutes if you put it in the following:
• A subroutine
• A section of code that is between JMP and LBL instructions
• A sequential function chart (SFC)
• An event or periodic task
• A state routine of a phase"

I'm with you, why 69 minutes?
 

Similar Topics

Hello everyone. I have a program that I found a math overflow in and the TON instruction had a negative value in the ACC. The only places that bit...
Replies
12
Views
2,913
Afternoon Guru's I have a unique problem I haven't encountered before and need some advice. I've been called out to a remote plant that I've...
Replies
5
Views
1,869
Dear All, I’m working with WinCC v6.0. I cannot set a negative tag value. If the value is >0, everything is OK. The value is a PID-control...
Replies
3
Views
2,469
Hi, did anyone know how to read negative temperature value with a SM331 -S7F0-0ab0 TC input card?
Replies
1
Views
1,317
Hi, We want to re range a pressure transmitter to read from -250 kPa to +250 kPa. We have no problems with the instrument and SLC but cannot get...
Replies
8
Views
2,246
Back
Top Bottom