clementcbc
Member
Hi Guys,
Found this annoying "feature" in RSLogix 5000. I'm using V17.
Wondering if there is a smart way around it.
I created an Addon instructions, which uses a strong constant. But because RSLogix can't really handle string constants, i defined a tag ConstStr = "Blah".
Then I used that addon several times (creating several instances).
When I was debugging, i found that the ConstStr was wrong. So I changed the Definition of ConstStr from "Blah" to "SomethingElse".
The annoying thing is that all currently used instances of the AOI still has ConstStr = "Blah", even though the definition is "SomethingElse". BAD.
But new instances of the AOI has "SomethingElse". GOOD.
Now, I understand why it does it. Because each instances has it's own memory, and the memory is not updated.
I was just wondering if anyone has a smart method of overcoming that?
It's just annoying to need to change every instance whenever I update the Definition. Certainly doesn't give me confidence that future changes I make, or someone else makes will be reflected in all the instances.
Thanks!
Found this annoying "feature" in RSLogix 5000. I'm using V17.
Wondering if there is a smart way around it.
I created an Addon instructions, which uses a strong constant. But because RSLogix can't really handle string constants, i defined a tag ConstStr = "Blah".
Then I used that addon several times (creating several instances).
When I was debugging, i found that the ConstStr was wrong. So I changed the Definition of ConstStr from "Blah" to "SomethingElse".
The annoying thing is that all currently used instances of the AOI still has ConstStr = "Blah", even though the definition is "SomethingElse". BAD.
But new instances of the AOI has "SomethingElse". GOOD.
Now, I understand why it does it. Because each instances has it's own memory, and the memory is not updated.
I was just wondering if anyone has a smart method of overcoming that?
It's just annoying to need to change every instance whenever I update the Definition. Certainly doesn't give me confidence that future changes I make, or someone else makes will be reflected in all the instances.
Thanks!