Registering Noncyclical Data Areas

General

Data areas can be registered in the PROFIBUS DPV1 slave. Noncyclical queries (AsyncRead, AsyncWrite) to registered data areas are then automatically processed by the PROFIBUS DPV1 slave. A slot and an index are required in order to address a noncylical data area.

In order to create a noncyclical module, the structure ST_PROFIBUSDPV1AsyncDataModule is used. A slot and an index have to be entered into this structure as well as a pointer to a data area and the length of the data at this address.

Ensure that the pointer pbyData points to a memory area that actually exists during runtime and is not deleted. For this purpose, for example declare the array as a variable in the program. The data module structures do not have to be available permanently, since the contents of the structure are copied when registering the data module.

An example program for registering noncyclical data areas can be found here.

A list of all relevant methods and associated interfaces can be found under Relevant methods (Data area registration).