3 api functions, 1 functions of the interface dll, Api functions – Lenze 3241C User Manual

Page 7: Functions of the interface dll, Api functions 3, 3api functions

Advertising
background image

API

functions

3

5

3

API functions

The programming interface is based on the backplane bus device driver and provides
an interface for the transmission/reception of process data (PDOs) and configuration
data (SDOs).
By means of this interface, a cyclic thread is created, copying the process data from/to
the I/O modules. The grouping for the customer application interface is simplified, so
that there only is one group. During transmission this group contains all output data,
and during reception it contains all input data.

3.1

Functions of the interface DLL
The following functions are provided:

Function

Description

BpbApiOpen

Log on application on application interface

BpbApiClose

Log off application on application interface

BpbApiGetVersion

Returns the version

BpbApiGetStates

Read out status of the backplane bus (BPB)

BpbApiResetBpb

Carries out a reset on the BPB controller

BpbApiGetError

Read last error message of the BPB

BpbApiResetError

Resets the error memory in the BPB controller

BpbApiReadSdo

Reading out the input buffer

BpbApiWriteSdo

Writing to the output buffer

BpbApiSetOperational

Starts free-running BPB operation

BpbApiReadPdo

Imports the process image

BpbApiWritePdo

Writes the process image

In the following the functions listed above are specified.

Advertising