Forums.MrPLC.com: Indirect Tag Addressing - Forums.MrPLC.com

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Indirect Tag Addressing ^Tagname[x] in animation objects Rate Topic: -----

#1
User is offline   Nibroc 

  • Sparky
  • PipPipPip
  • Group: MrPLC Member
  • Posts: 454
  • Joined: 09-September 04
  • Location:Hawkes Bay
  • Country:New Zealand
    New Zealand
Hi all.

Using CX-Supervisor V3.0 (28), windows XPP.

I am trying to use the ^Tagname[xx] syntax to dynamically reference an element in a particular array. I have several I/O array points:

Array1
Array2
Array3

each of say 200 BOOL elements.

I have a dynamic 'Tagname' memory text point.

Set Tagname = "Array1"

Then say a Toggle Button with ^Tagname[10] works fine (per the manual) and does change the PLC value fine.

But animation blink property expression set to ^Tagname[10] doesn't work, no errors, no events etc, nothing happens?

Should it work? Manual gives example for Toggle button, does not mention whether this type of indirect addressing can be used for animation expressions? The script manual does mention this syntax can be used within expressions. If it does work, this will make a tidy project for me ...


Thanks,

Nibroc
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users