Activating the DPV1 Functions

The DPV1 functions can be activated in the parameter data (GSD, GSE). These functions are deactivated in the default setting. (Prm. byte 0 bit 15=1 activated, bit 15 =0 [default] deactivated)

DPV1 Functions

The IP/IL modules and the Economy Plus Bus Coupler (BK3120) support the following functions in the DPV1 services. The maximum length of the DP-V1 services is 48 bytes.

IP/IL configuration (IP-Link only)

The configuration of the extension modules can be read from the IP-Link coupler module. A word (of 16 bits) is transferred for each connected extension module (IExxxx). This contains the type of the module in the case of the analog modules, and the size and type of the digital extension modules.

Bit

Value: description of the digital module

0-1

If bit 4 = 0: number of 2-bit outputs, if bit 4 = 1: number of 8-bit outputs

2-3

If bit 4 = 0: number of 2-bit inputs, if bit 4 = 1: number of 8-bit inputs

4

0: Bit size 2, 1: bit size 8

5-6

0: Standard: Inputs and outputs do not have the same starting address
1: Combined I/O: Inputs and outputs to have the same starting address
2: Reserved
3: Outputs with diagnostics

7-15

always 0

The module configuration can be read with the following DPV1 parameters: (KS2000 Table 9) The modules are entered in the sequence in which they are connected at the IP-Link.

Slot number

Index

Byte

Description

0

9

0-1

Bus Coupler/module identifier

0

9

2-3

Module -1

0

9

...

...

0

9

46-47

Module 23

0

10

0-1

Module 24

0

10

...

...

0

10

46-47

Module 47

0

11

0-1

Module 48

0

...

...

...

0

13

46-47

Module 95

0

14

0-1

Module 96

0

14

...

...

0

14

30-31

Module 119

This information can also be written by DPV1. If the written configuration does not agree with the configuration contained in the table, a DPV1 error message is received.

Module Register

The register of extension modules can be read or written:

Slot number

Index

Description

1

0

Register 0 of module 1, channel 1

1

...

...

1

63

Register 63 of module 1, channel 1

1

64

Register 0 of module 1, channel 2

1

...

...

1

255

Register 63 of module 1, channel 4

2

0

Register 0 of module 2, channel 1 (from here only for IP-Link)

...

...

...

255

255

Register 63 of module 255, channel 4

IP-Link Reset

The IP-Link reset can be activated with the following DPV1 parameters: (Following an interruption of the IP-Link and its correction, the IP-Link can be started again)

Slot number

Index

Byte

Value

0

99

0

2

0

99

1

1

0

99

2

0

0

99

3

0

Measuring the IP-Link cycle time

Starting and stopping the IP-Link cycle time is set by the following DPV1 parameters:

Slot number

Index

Byte

Value

0

99

0

4

0

99

1

1

0

99

2-3

0: Stop, >0: Start

The cycle time can be read, and to reset the values it can also be written with the following DPV1 parameter:

Slot number

Index

Byte

Description

0

98

0-1

Minimum IP-Link cycle time (in µs)

0

98

2-3

Maximum IP-Link cycle time (in µs)

0

98

4-5

Current IP-Link cycle time (in µs)

0

98

6-7

Mean IP-Link cycle time (in µs)

Manufacturer’s setting

The following DPV1 parameters must be written in order to adopt the manufacturer's settings:

Slot number

Index

Byte

Value

0

99

0

1

0

99

1

4

0

99

2

0

0

99

3

0