Device tree

The device tree in TNCdiag provides an overview of the existing drives and devices.

The top level of the tree is constituted by the Drives and MC nodes. In Drives, TNCdiag offers an overview of the individual drives on a functional level; in MC, TNCdiag shows a topological view of the devices.

Drives

TNCdiag displays the drives in parallel to the devices. Thus, you can obtain a functional overview of the information that is required for driving a physical axis.

There is no subdivision below the drive level.

Devices

Starting with the MC node, TNCdiag displays a topology of all connected devices. The topology is subdivided according to the various buses.

As far as possible, TNCdiag uses the same device tree structure and the same device symbols as IOConfig.

Toolbar

The device tree window has its own toolbar with the following functions:

Searches for the previous faulty device, starting from the selected device

Searches for the next faulty device, starting from the selected device

Opens or closes the search toolbar

Opens the current node and all its child nodes in the tree

Closes the current node and all its child nodes in the tree

If you select a device tree node in the main view, this function selects the same node in the secondary view, and vice versa.

The device trees in the main and secondary views are synchronized.

The "Identify Device" function will be started if the respective device supports it. In order to find the device more quickly, it starts flashing in the electrical cabinet.

Searching the device tree

With the icon in the toolbar, you can toggle the display of the search bar.

The search bar contains the following functions:

Searches for the previous device, starting from the selected device

Searches for the next device, starting from the selected device

[...]

Search term

If this icon is selected, the search will be context sensitive

If this icon is selected, the search must fully match the search term

If this icon is selected, the term will be interpreted as a regular expression

TNCdiag updates the search results as you start typing and highlights all matches in yellow. Starting from the selected node, TNCdiag jumps to the first matching node and selects it.

You can show or hide the search results by toggling the search bar.