Data to STRING tag at startup

JERA

Member
Join Date
Feb 2006
Location
Copenhagen
Posts
320
Hi

I need to have some STRING tags with ”constant” data in my project. I use these tags to build the strings for another system, and the data in these tags is the standard data in the strings we send.

My problem is that if there is made a restart of the system the data in the tags is lost, and the strings we send is wrong. So how can I make tags with a “constant” data, so we don’t have the problem with wrong strings.

PLC : Flexlogix (1794-L34)
Software : RSLogix 5000
 
1. Save the data strings to a non-volitle memory location.
2. Set up a check, so that each scan, System Restart bit is checked.
3. If System Restart is on, move previous string data from non-volitle memory into working location.
4. Continue as usual.
 
Thanks

Lancie1 said:
1. Save the data strings to a non-volitle memory location.
2. Set up a check, so that each scan, System Restart bit is checked.
3. If System Restart is on, move previous string data from non-volitle memory into working location.
4. Continue as usual.

Thanks for your help. The trick works.
 

Similar Topics

Hi guys, I'm working on a RSView32 project, some of the tags i'm using is memory tag & type is 'String'. These are like product name, I've a...
Replies
4
Views
5,211
Hi, I'm new with ST and especially data structures and I am trying to create a data structure to store the following shapes and properties...
Replies
0
Views
588
I am needing to transfer some prod_cons tags where the data type is a string[10]. Can you move a String data type? Thanks in advance RM
Replies
18
Views
3,401
Hey folks! I've gotten an idea in my head and I'm wondering if anyone can help - and my title is terrible because I'm not good at articulating...
Replies
2
Views
1,019
Hi all, I have a customer that is asking for a recipe of 200 recipes to be sorted. I'm trying to do this by way of a bubble sort. Basically my...
Replies
18
Views
3,442
Back
Top Bottom