2 parameter communication with the controller, Parameter communication with the controller, Parameter setting – Lenze 2131IB User Manual

Page 30

Advertising
background image

Parameter setting

6-7

BA2131EN

Fault messages in the error field (Data/Error)

Error class Error

code

Additional
code [hex]

Meaning

0

0

00

No fault

6

3

00

No access permission

6

5

10

Inadmissible job parameter

6

5

11

Invalid subindex

6

5

12

Data too long

6

7

00

The object does not exist

6

8

00

Data types are not identical

8

0

21

Cannot be executed because of local control

8

0

22

Cannot be executed because of unit status

8

0

30

Leave value range

8

0

40

Collision with other values

8

0

20

Service cannot be executed currently

6.3.2

Parameter communication with the controller

Read job

1. Determine the user data of the controller: i. e. determine the location of the DP user data in

the host.

2. Enter the address of the desired parameter in the field ” Index and subindex“ (DP output

data).

3. Job/service = Read job and the bit “ job/handshake“ must be changed (DP output data).

4. Check, whether the bit “ job/handshake“ is the same for the DP input data and the DP output

data. If the bit “ job/handshake“ is the same, the response has been received. You should
implement a time monitoring.

5. Check, whether the bit “ job/status“ is set. If the bit “ job/status“ is not set, the field

“ data/error“ contains the required parameter value. If the bit “ job/status“ is set, the reading
job is not executed properly and the field “ data/error“ contains an error information.

Write job

1. Determine the user-data range of the controller, i. e. determine the location of the DP

user-data in the host system.

2. Enter the address of the desired parameter in the field “ Index and subindex“ (DP output

data).

3. Enter the parameter value into the field Data/Error.

4. Job/Service = Write job and the bit job/handshake must be changed (DP output data).

5. Check, whether the bit “ job/handshake“ is the same for the DP input data and the DP output

data. If the bit “ job/handshake“ is the same, the response has been received. You should
implement a time monitoring.

6. Check, whether the bit “ job/status“ is set. If the bit “ job/status“ is not set, the job has not

been executed properly and the field “ data/error“ contains an error information. Otherwise,
the job has been executed without any faults.

Show/Hide Bookmarks

Advertising