Exchanging Data cyclically

To configure the gateway component, you have to perform the appropriate settings with the configuration software of your PROFINET -Controller.

The gateway component is equipped with virtual slots (installation positions). PROFINET controllers use these slots to address selected process data. Each slot contains one module. You can assign process data to these modules that are to be exchanged.

Slot

Module

Id

Offset

0

DAP

0x80050000

—

1

Input 16

0x00000005

Output Off 0

2

Input 16

0x00000005

Output Off 16

3

Input 32

0x00000006

Output Off 32

4

Input 32

0x00000006

Output Off 64

5

Input 32

0x00000006

Output Off 96

6

Input 64

0x00000007

Output Off 128

7

Input 64

0x00000007

Output Off 192

8

Input 64

0x00000007

Output Off 256

9

Output 16

0x00000050

Input Off 0

10

Output 16

0x00000050

Input Off 16

11

Output 32

0x00000060

Input Off 32

12

Output 32

0x00000060

Input Off 64

13

Output 32

0x00000060

Input Off 96

14

Output 64

0x00000070

Input Off 128

15

Output 64

0x00000070

Input Off 192

16

Output 64

0x00000070

Input Off 256

Info!The gateway component supports only a submodule with data per module.

In the following tables you will find a detailed overview of all modules.DAP (Device Acess Point)

Description

DAP

Module ID

0x80050000

Usable in Slot

0

Total Number of Input Bytes

0

Total Number of Output Bytes

0

Number of Submodules

3

Submodule for Record Access

Submodule ID

0x00000001

Subslot

0x0001

Number of Input Bytes

0

Number of Output Bytes

0

Submodule that represents the entire Profinet Device

Submodule ID

0x0000000a

Subslot

0x8000

Number of Input Bytes

0

Number of Output Bytes

0

Submodule that represents Port 1

Submodule ID

0x0000000b

Subslot

0x8001

Number of Input Bytes

0

Number of Output Bytes

0

Submodule that represents Port 2

Submodule ID

0x0000000c

Subslot

0x8002

Number of Input Bytes

0

Number of Output Bytes

0

Input 16 Byte

Description

Input 16 Byte

Module ID

0x00000005

Usable in Slot

1 – 8

Total Number of Input Bytes

16

Total Number of Output Bytes

0

Number of Submodules

1

Submodule ID

0x00000001

Subslot:

0x0001

Number of Input Bytes

16

Number of Output Bytes

0

Input 32 Byte

Description

Input 32 Byte

Module ID

0x00000006

Usable in Slot

1 – 8

Total Number of Input Bytes

32

Total Number of Output Bytes

0

Number of Submodules

1

Submodule ID

0x00000001

Subslot

0x0001

Number of Input Bytes

32

Number of Output Bytes

0

Input 64 Byte

Description

Input 64 Byte

Module ID

0x00000007

Usable in Slot

1 – 8

Total Number of Input Bytes

64

Total Number of Output Bytes:

0

Number of Submodules

1

Submodule ID

0x00000001

Subslot

0x0001

Number of Input Bytes

64

Number of Output Bytes

0

Output 16 Byte

Description

Output 16 Byte

Module ID

0x00000050

Usable in Slot

1 – 8

Total Number of Input Bytes

0

Total Number of Output Bytes

16

Number of Submodules

1

Submodule ID

0x00000001

Subslot

0x0001

Number of Input Bytes

0

Number of Output Bytes

16

Output 32 Byte

Description

Output 32 Byte

Module ID

0x00000060

Usable in Slot

1 – 8

Total Number of Input Bytes

0

Total Number of Output Bytes

32

Number of Submodules

1

Submodule ID

0x00000001

Subslot

0x0001

Number of Input Bytes

0

Number of Output Bytes

32

Output 64 Byte

Description

Output 64 Byte

Module ID

0x00000070

Usable in Slot

1 – 8

Total Number of Input Bytes

0

Total Number of Output Bytes

64

Number of Submodules

1

Submodule ID

0x00000001

Subslot:

0x0001

Number of Input Bytes

0

Number of Output Bytes

64

Exchanging Data acyclically

The gateway component supports records. This access type is useful for all events that do not have to be repeated regularly (e.g. sending parameter data in the start-up phase).

Another benefit of records is due to the fact that you can write continuously ascending areas at once.

You can use all 512 bytes of the input and output area to read or write records.

PLEASE NOTE

Bear in mind that the first 320 bytes of the input and output area are used for cyclical data transmission.

Records that you address with index 0x0000 – 0x00ff or 0x1000 – 0x10ff, can be overwritten by the cyclical data Transmission.

Addressing

All records are addressed via API 0, Slot 0, Subslot 1. The data is transferred in Little Endian format. In the case of Big-Endian format, the higher-value bytes are first transmitted and stored at the memory locations with the lowest addresses.

Sign up to our newsletter and be among the first to hear about the latest development.

We use double opt-in for our newsletter subscription so we are 100% sure we aren't spamming anyone. Please pay attention to the confirmation email, you get after your signup. If you don`t confirm your email address, your newsletter subscription won`t be activated. If you don`t get any confirmation email, it may be in your Junk or Spam mailbox. If not, please email us at admin@kunbus.de to confirm your email subscription.