How to Configure RevPi Gate for PROFIBUS (Core)

To configure the gateway component, you have to perform the appropriate settings with the configuration software of your PROFIBUS Master (class 1).

The PROFIBUS gateway component is created as a so-called “modular DP-V0 Slave”. This means that the process data exchanged between the gateways can be structured application-specific on the profibus side.

The gateway component is equipped for this with virtual slots (installation positions). PROFIBUS controllers use these slots to address selected process data. Each slot can contain one module. Within these modules is the process data to be exchanged. Hence, you have the possibility of aggregating associated process data in one slot. This means, for example, that you can poll a compact process mapping of associated states.

If you do not want to use a slot, you can mark it with an empty module. You do not have to perform any further settings on the empty module.

The process data is accessed between the gateway components in separate memory areas for input and output data. The sequence order in which the access takes place depends on the configuration of the modules.

The data of the modules is stored directly in succession in the memory area for the data exchange between gateways (see example further below).

Info! The gateway component does not support any extended diagnosis data.

Byte order:

The bytes are transferred to the controller in Big Endian Format.

Module Configuration

A maximum of 64 slots, each with 244 bytes for input and output data, is available for the module configuration. The modules are preset in the GSD and cannot be changed.

The following modules are available for loading the Slots:

 

Module numberModule typeSize[Bytes/Words]Access
0Empty module0
1Output1Byte
2Output2Byte
3Output4Byte
4Output8Byte
5Output16Byte
6Input1Byte
7Input2Byte
8Input4Byte
9Input8Byte
10Input16Byte
11Input/Output1Byte
12Input/Output2Byte
13Input/Output4Byte
14Input/Output8Byte
15Input/Output16Byte
16Output1Word
17Output2Word
18Output4Word
19Output8Word
20Output16Word
21Input1Word
22Input2Word
23Input4Word
24Input8Word
25Input16Word
26Input/Output1Word
27Input/Output2Word
28Input/Output4Word
29Input/Output8Word
30Input/Output16Word

Example of Module Configuration

The following slots are to be configured:

SlotModule typeSize [Bytes/Words]AccessModule number
1Input1Byte6
2Input16Byte10
3Output16Byte5
4Empty module00
5Input1Byte6
6Output8Byte4
7Input4Byte8
8Input/Output4Byte13
9Empty module00
10Input/Output1Word26
11Output1Word16
12Input1Word21

The following tables provide the memory maps of the example and are thus used for data exchange with other gateways.

Input data

OffsetByte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7
0x0000Slot 1Slot 2Slot 2Slot 2Slot 2Slot 2Slot 2Slot 2
0x0008Slot 2Slot 2Slot 2Slot 2Slot 2Slot 2Slot 2Slot 2
0x0010Slot 2Slot 5Slot 7Slot 7Slot 7Slot 7Slot 8Slot 8
0x0018Slot 8Slot 8Slot 10 (L)*Slot 10 (H*)Slot 12 (L)*Slot 12 (H*)

 

Output data

OffsetByte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7
0x0000Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3
0x0008Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3Slot 3
0x0010Slot 6Slot 6Slot 6Slot 6Slot 6Slot 6Slot 6Slot 6
0x0018Slot 8Slot 8Slot 8Slot 8Slot 10 (L)*Slot 10 (H)*Slot 11 (L)*Slot 11 (H)*

*(L)=Low Byte, (H)=High Byte