Tags retentive issue

Hi,
I have created 2 memory tags, 1 is string data type and another is of integer data type.
I want to make both memory tags should be retentive,
please let me know where I can enabled the retentivity.

Memory tags are retentive by design, you don't need to enable it. Are you having an issue with memory tag values?

From the manual:
https://docs.inductiveautomation.com/display/DOC81/Types+of+Tags

Memory Tags are simple Tags, that do not automatically poll or update their value. They hold the same value until some other user-created mechanism (most likely a script or binding) changes their value. They're useful in situations where a value must be stored outside of a PLC or database.

The state of memory tags are stored inside the gateway's internal database. This allows the tag and its value to be retained across gateway restarts.

2 Likes

Thanks, however It was a mistake from my side, I didn't set it to bidirectional and whenever I was saving the project it get backs to its original value.

If you check I think you will find that it never changed after first creation. The component that was bound to it may have updated but the the memory tag stayed the same. That behaviour is by design.

1 Like