Automated way to extract OPC path in 800xA surrogate server
Any best and easy methode to extract the OPC path from the 800xA surrogate server .
Using Bulk manager example
There ought to exist some OPC client capable of returning all item IDs it comes across when browsing an arbitrary OPC server. Sorry no example.
Something similar should be possible by using BDM and some manual efforts. Again, no examples.
I would try to experiment with the latter; use generic mode; drag a Control Connection aspect of your choice eg a Function Block from AC 800M Connect; tick the OPC properties then drag some objects of same type from the Control Structure and see what BDM discovers and go from there; Excel is in fact an impressing piece of software from Microsoft... :-)
The OPC Access Path for any property is known as the "Item ID" in the Control Module or Function Block aspects. BDM cannot display the "Item ID" for an Object property - it can only retrieve the Value of a property using the item ID.
If you want to access data using the AfwSurrogateServer, the Item ID is irrelevant anyway - just ask for the ObjectName:AspectName:Property and the AfwSurrogateServer will resolve the request into the ItemID and return the value you require.
If what you really want to do is get a list of all OPC Access Paths for every property in the AC800MC_OpcDaServer then you are probably out of luck. The amount of items in this server is MASSIVE, and browsing it to scrape all the data can take a VERY long time. The last time I tried it it took about 500ms to return each path and I gave up after about 24 hours. Performance improvements for the OPC server have been promised, I'm not sure if the later versions are any better.
What is it that you actually want to do and why ?
Your latest comment to Rob's answer sheds some extra light on the problem (my answer would have been a bit different if you had put this piece of important information in your first question).
Rob is absolutely correct.
We need to keep things apart, especially when it comes to the representation of ItemIDs.
The AC 800M OPC server uses this format:
The *very same* item have a different reading inside 800xA:
GUID2=AspectID (in this case the Function Block)
PropertyID is in plain text here, but it can also be represented with a GUID, GUID3.
The GUID format is much faster and more economic to handle for a computer. Strings are human readable but the handling, comparison, etc. is slow since the lengths can become VERY long (several hundreds of characters). Also special characters and national characters makes interpretation more difficult, etc.)
I can offer you a method to obtain the 800xA item IDs (in GUID format) - but please remember that the method is not officially documented in any way and the use of applog is not part of the regular product support scope. Improper use may cause arbitrary problems and/or software crashes in the system.
1. Login to an arbitrary client or server in the system as a user member of the IndustrialITAdmin group in Windows
2. Start->Run... afwapplogviewer
3. Select a node where a *client* to these IEC61850 properties is actively subscribing(I chose the Basic History service which I knew has some, but not all items subscribed).
4. Select the client process, e.g. AdvHtHistorySrv (Basic History)
5. Select the Operations push button (top middle)
6. Select the OPC Communicator - Statistics component/operation
7. Enter argument "D" in the upper right box
8. Click the Invoke button
All items subscribed by this client (e.g. Basic History) is now output to the operation results window (lower right) but can be saved to a text file for further processing
9. File -> Save Operation Results as...
I have attached an example output of the Statistics operation