Page 1 of 1
How to make Array Tags non-volatile
Posted: Wed Mar 27, 2013 1:56 pm
by farrukhshahzad
Hi,
It seems that the values for Array Tags are not being saved after power reset although they are set as non-volatile. Please confirm this.
Re: How to make Array Tags non-volatile
Posted: Thu Mar 28, 2013 9:26 am
by mark.monroe
You are correct, array tags do not work with the non-volatile tag option.
Re: How to make Array Tags non-volatile
Posted: Thu Mar 28, 2013 3:16 pm
by farrukhshahzad
Thanks.
This mean I need to log tags into a file and then read at start up. Do you have code for that which works on T7A. It seems all file functions are not supported.
What should be the path where I need to save file?
Re: How to make Array Tags non-volatile
Posted: Thu Mar 28, 2013 3:36 pm
by mark.monroe
You can download a project called Script_Database_Export, which is part of a
thread on this forum. It has an example on how to save files.
The "\FlashDrive" is the HMI's "hard drive".
You can use the Process.Start("Explorer.exe", "") C# function to start a Windows Explorer and look at the unit's file system.