Administration

Connection setup

To determine which instances of a class exist, you can query the ADS address of the first element (IndexOffset = 0x0) by means of a READ&WRITE access.

Querying the existing instances of a class

The IndexGroup and IndexOffset ADS address is returned. No instance of the class exists if (0, 0) is returned as the address.

If an instance exists, all further existing elements of the instance can be determined by incrementing the IndexOffset.

The individual attributes (name, type, data length, unit, etc.) can be read out once all existing elements of an instance have been found.

Programming exampleADS address query

IndexGroup = 0x23900 = 0x20300 + <class = HLD> + <address> 0x20300 + 0x3000 + 0x600
Input : Channel = 1, Axis = 0
Output : IndexGroup = 0x23301, IndexOffset = 0x0
Administration 1: