Nibroc Posted April 15, 2010 Report Posted April 15, 2010 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now