Reading Control Properties with VBA
I am trying to read parameter connections to Control modules with VBA-code using Aspect Integrator Platform library in VBA (800Xa 5.0 SP2 and AC800M).
I am able to read many parameters, but the problem is to get the name of global variables connected to parameters in Control modules in Control Builder.
Attached pdf-file shows details and different methodes in VBA I have tried attemting to fetch the the name of the variable connected to the parameter "Y" of type BOOLIO.
When opening the aspect Control Properties, I am able to see it with the parameter name Y_Par_Conn. So I dont understand why I cant reach it with VBA.
When reading the count of parameters in the aspect "Control Properties" in VBA, it find no properties even thoug I can see them in Plant Explorer Workplace.
How can i reach this connection with VBA?
Answers
Rob is right, the AIP does probably only permit accessing properties available in the OPC DA domain (ie what is listed in AnyObject -> Right Click -> Details... -> Properties -> Subscribe for live data).
Add new comment