Change Tag - Controller Address

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
ParthDesai
Posts: 9
Joined: Fri Jan 15, 2016 4:00 am

Change Tag - Controller Address

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

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Change Tag - Controller Address

Post by Russ C. »

Hi Parth,

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

Regards,
Russ
Attachments
IndexRegister_Example.zip
(46.36 KiB) Downloaded 839 times
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

ParthDesai
Posts: 9
Joined: Fri Jan 15, 2016 4:00 am

Re: Change Tag - Controller Address

Post 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

Post Reply