ON CHANGE command

tomrosetti

Member
Join Date
Jun 2013
Location
California
Posts
1
Forgive me if this has been asked and answered. I searched through the archives but could not find anything relevant.

I am programming in RSLogix 5000 and wish to perform an action when a STRING tag changes. The only only way I know how is to compare the new value to a different tag that has the old value, then move the new value into the old value tag.

This is very inelegant. Is there an "on change" command?

Thanks,
Tom
 
Not that I know of. I always use the compare method as you stated. You could probably roll you own with some type of add on instruction.
 
If you think about it, any ONCHANGE command for strings would have to do precisely the same thing you are doing. Far from inelegant it seems like the simplest way of achieving your goal.
 
If you weren't use a STRING then the DTR instruction would do the trick, but it is not valid on STRING tags. I think most use the compare method instead.

OG
 

Similar Topics

I am using Configuator 3 which is essentially a version of Crimson 2 to program a HMI CTVue 306A to talk to FMT from Emerison via a Modbus. I am...
Replies
8
Views
2,182
I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
1
Views
42
Hoping someone can give me some guidance or confirmation of what I need to do. We have a FactoryTalk SE program that I need to change the IP...
Replies
2
Views
88
Hey all, i have a panelview screen (image attached), with 4 items on it. Program 1, Program 2, ...3, ...4. The PLC i am using is a compactlogix...
Replies
5
Views
171
Greetings I have a problem, my system is the following: wincc v8.0 (demo), logo8.3, abb m2m analyzer. I created some pages to display the...
Replies
0
Views
63
Back
Top Bottom