Skip to main content
1-Visitor
July 24, 2023
Solved

KEPServerEx Advance Tag

  • July 24, 2023
  • 1 reply
  • 1864 views

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

 

 

 

Best answer by aservetas

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

1 reply

aservetas15-MoonstoneAnswer
15-Moonstone
August 3, 2023

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