How to make Array Tags non-volatile

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
farrukhshahzad
Posts: 17
Joined: Wed Mar 27, 2013 1:49 pm

How to make Array Tags non-volatile

Post 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.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: How to make Array Tags non-volatile

Post by mark.monroe »

You are correct, array tags do not work with the non-volatile tag option.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

farrukhshahzad
Posts: 17
Joined: Wed Mar 27, 2013 1:49 pm

Re: How to make Array Tags non-volatile

Post 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?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: How to make Array Tags non-volatile

Post 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.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply