Skip to main content
12-Amethyst
June 5, 2024
Solved

Changing the value of a tag if another tag changes state

  • June 5, 2024
  • 1 reply
  • 1493 views

Hi,
I need to monitor a certain tag, specifically I am monitoring a tag that records a temperature.
I would need to set a boolean tag to 1 when a certain temperature threshold is exceeded. When the problem returns, I would need to reset the boolean tag to 0.

 

How can I set this condition with Kepware?

Best answer by ntripathi

Greetings @AntonioFar 

 

Certainly! To achieve this in Kepware, you can use the Advanced Tags feature. Hereโ€™s how you can set up the condition:

 

  1. Create an Advanced Tag:

    • Open the KEPServerEX configuration.
    • Launch the Advanced Tags section.
    • Create a new Advanced Tag that will act as your boolean tag.
  2. Link the Temperature Tag:

    • Link the temperature tag (which records the temperature) to the Advanced Tag.
    • Set up a trigger based on logical states. For example, when the temperature exceeds the threshold, the Advanced Tag value changes to 1.
  3. Reset the Boolean Tag:

    • To reset the boolean tag when the problem returns, you can create another trigger based on the temperature returning to a safe range.
    • When the temperature drops below the threshold, set the Advanced Tag value back to 0.

For more information please refer to the Advanced Tag documentation

1 reply

ntripathi15-MoonstoneAnswer
15-Moonstone
June 5, 2024

Greetings @AntonioFar 

 

Certainly! To achieve this in Kepware, you can use the Advanced Tags feature. Hereโ€™s how you can set up the condition:

 

  1. Create an Advanced Tag:

    • Open the KEPServerEX configuration.
    • Launch the Advanced Tags section.
    • Create a new Advanced Tag that will act as your boolean tag.
  2. Link the Temperature Tag:

    • Link the temperature tag (which records the temperature) to the Advanced Tag.
    • Set up a trigger based on logical states. For example, when the temperature exceeds the threshold, the Advanced Tag value changes to 1.
  3. Reset the Boolean Tag:

    • To reset the boolean tag when the problem returns, you can create another trigger based on the temperature returning to a safe range.
    • When the temperature drops below the threshold, set the Advanced Tag value back to 0.

For more information please refer to the Advanced Tag documentation

12-Amethyst
June 5, 2024

Thank you!!  ntripathi ๐Ÿ˜„