Question details

800xA Reading Hardware 'Control Properties' into PG2

Good morning community,

I was wondering if anyone knows of a way to read properties from 'Control Properties' into a Graphic Display PG2. I've tried using a late bound property ref array to read all of the properties into a "Property List" graphic primative, but it doesn't not return any properties:

LateBoundPropertyRefArray(".","Control Properties","*",0)

In particular, I'm trying to get a reference to:

1) What Application IO Varaible the channel is connected to ("X_Var_Conn")

2) The Description of the IO channel ("X_Description")

If I open the control properties for any instance of the an IO card, I can see the values I want to access, however I can't seem to retrieve them in the graphics editor. Suggestions welcome

Answers

0

Those are not OPC Properties and therefore you cannot access them via LateboundPropertyRefArray.

You could only show the Aspect View itself or something like the AC800M Status Monitoring (or similar name, i think its a new Feature with SV6) Aspect to have the Variable name (and links to the Faceplates).

Only other way would be to create something via a script accessing the Control Properties via COM Interface but that is not possible only from PG2.

Agreed with backdraft. If you are using 800xA version which is 5.1 FP4 or later, you can use AC 800M Status Monitoring software to link the hardware status in PG2 graphics (Variable name, description, status of channel, errors / warnings if any) also, you can acheive the tag navigation directly from Hardware unit to the IO Variable (if it has a faceplate).