cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

KEPServerEx Advance Tag

VN_10636952
2-Explorer

KEPServerEx Advance Tag

Hi Everyone,

I have one "Double" data type Derived Tag in Advance Tag logging/refreshing at ever 30sec. I want to subtract latest value with previous value (logged before 30sec ago) & store the this subtracted value. 

Oracle cummulative tag not working, tried as per manual.

 

Pls find the attachment for more in details.

 

Pls help on this.

 

Regards,

Vijay

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

You could do this using a combination of Link Tags and Memory Based driver tags.

 

Use a link tag to move the current value into a memory tag, 30 seconds later compare the two values using a derived tag. If they are different, do the math (subtract) in another derived tag, 

 

Then, move the current value into the same memory based tag for the next comparison 30 seconds later.

 

-Andy

Andy Servetas
Principal Technical Support Engineer | Kepware Technologies

View solution in original post

1 REPLY 1

You could do this using a combination of Link Tags and Memory Based driver tags.

 

Use a link tag to move the current value into a memory tag, 30 seconds later compare the two values using a derived tag. If they are different, do the math (subtract) in another derived tag, 

 

Then, move the current value into the same memory based tag for the next comparison 30 seconds later.

 

-Andy

Andy Servetas
Principal Technical Support Engineer | Kepware Technologies

Announcements


Top Tags