Lenze 2130IB User Manual

Page 46

Advertising
background image

L

44

The parameter communication with the controller has the following
sequence:

Read service
1.

Determine user-data range of the controller; i.e. the location of the
DP user data in the host.

2.

Enter address of the desired parameter in the field "index and
subindex" (DP output data)

3.

Service/service = Read service and the bit "service/handshake"
must be exchanged (DP output data).

4.

Check if the bit "service/handshake" of the DP input data and
DP output data is identical. If this is the case, the reply has been
received. It is useful to implement a time monitoring.

5.

Check if the bit "service/status" is set. If this is not the case, the field
"data/error" contains the desired parameter value. If the bit
"service/status" is set, the read service has not been carried out
correctly, and the field "data/error" contains error information.

Write service
1.

Determine user-data range of the controller; i.e. the location of the
DP user data in the host.

2.

Enter address of the desired parameter in the field "index and
subindex" (DP output data)

3.

Enter parameter value in the field "data/error".

4.

Service/service = Read service and the bit "service/handshake"
must be exchanged (DP output data).

5.

Check if the bit "service/handshake" of the DP input data and
DP output data is identical. If this is the case, the reply has been
received. It is useful to implement a time monitoring.

6.

Check if the bit "service/status" is set. If this is the case, the service
has not been carried out correctly, and the field "data/error" contains
error information. Otherwise, the service has been carried out
correctly.

Advertising