Introduction

Data of the CNC can be accessed via ADS. To this end, the element is defined via the ADS-NetId address, IndexGroup and IndexOffset.

Introduction 1:

Platform, channel, and axis

Depending on the class, the instance can be global throughout the platform (channel number =0, e.g. position controller) or can be created as a channel-specific instance (channel number>0).

Moreover, an instance can provide both its own elements and also axis-specific elements.

Axes of the platform

The number of axes that are global throughout the platform and also their logical itemization numbers are defined by the startup description at the time of configuration of the system and do not change during the run time. The ADS addressing information results from the fixed logical axis number and addressing via this address is possible at any time.

Axes of the channel

The axes of a channel are addressed via the index in the channel. Assignment of an axis in the channel can be modified to suit requirements or defined by the channel parameter definitions and axis replacement.

If an index of a channel axis is currently not occupied by an axis, it can be viewed by reading a "blank" data content. In this case the logical axis number = 0.

Spindles

Corresponding to a CNC channel which is responsible for the coordinated movement of several axes, the BF SPINDEL stands for the movement of a single independent axis (single axis interpolator). This means that, depending on the number of spindles created, these can also be referenced.

Introduction 2:

Here, the high-level driver (HLD, BF CHANNEL) is a special case. The HLD of the first channel drives all platform-global axes in the interface to the PLC in addition to the channel-specific elements. Therefore, the addresses of the axes are not changed by an axis replacement, but are fixed by the startup description.

Introduction 3:

IndexGroup = 0x20100 and 0x20200 are used as the base address for ADS access to internal CNC data of the port 0x553 (Task COM).Individual channels or axes can be queried via different values that are additive to this base address (IndexGroup).

Introduction 4:

IndexGroup = 0x20300 is defined as the base address for ADS access to internal CNC data of the port 0x552 (task SDA) and 0x551 (task GEO).Individual attributes of an element can be queried via different values that are additive to this base address (IndexGroup).

More: