Page 1 of 1

Change Tag - Controller Address

Posted: Wed Apr 04, 2018 4:05 am
by ParthDesai
Hello,

I am trying to change the Tag Controller Address say for example 40000 -> 40001 in run time. I have tried by changing the Tag Item ID and by hitting break point in debug mode I can see Item ID has been changed then also values are not getting updated for updated Item ID.
How can I save this changed Item ID or How can I reflect values of Updated Item ID in run time ?

Re: Change Tag - Controller Address

Posted: Wed Apr 04, 2018 3:41 pm
by Russ C.
Hi Parth,

Have you looked into Index Registers?
Attached is an example project of how they work.

Regards,
Russ

Re: Change Tag - Controller Address

Posted: Fri May 18, 2018 2:34 am
by ParthDesai
Hello,

Is there any way we can do same without Index Register as we have only 8 Index registers.
On Hitting breakpoint I can see my ItemID has changed but values are not getting reflected for new addresses