8536IB1905EN-05

PROFIBUS Addressing

In PROFIBUS, the bus coupler is a modular DP server. PROFIBUS addresses modular devices using slot and index addressing. TeSys™ island divides the slot addressing space into two regions, one for avatars and one for devices. Slot 1 is used for the bus coupler and System Avatar. Within each slot, index values are used to access the different datasets.

After importing the General Station Description Markup Language (GSDML) file into your programming environment, add a TeSys island instance from the hardware catalog. The TeSys island is created with a System Avatar but no other modules.

NOTE: Empty slots also should be filled with empty slot.

Follow the instructions for your programming environment to populate the empty slots with avatars and devices using the information in PROFIBUS Slot Ranges below. For example:

  1. In CoDeSys v3.5, right click on an empty slot and choose Plug Device.

  2. Select the appropriate avatar or device from the catalog.

  3. When the island is fully defined, start creating tags for the data you need to access for each avatar.

TeSys™ island applies the slot ranges for physical and virtual modularity shown in the following table:

PROFIBUS Slot Ranges

Item Slot Comment

Bus Coupler / System Avatar

1

Avatars

2–22

Device, Load, and Application avatars

Bus Devices

101–121

Digital I/O Module (DIOM)

Analog I/O Module (AIOM)

Starters

SIL* Starters

Power Interface Module (PIM)

SIL Interface Module (SIM)

Voltage Interface Module (VIM)

Not Applicable 0, 23–99, 122–254

These slots are not used with TeSys island.

Example of Avatar Numbering

Order of Avatar in Digital Tool

PROFIBUS Avatar Slot

Description

Physical Order in island

1 2 3 4 5 6 7 8 9
1 1

System

BC

VIM

SIM

2 2

AIOM

AIOM

3 3

Motor Two Directions – SIL Stop, W. Cat 1/2*

SIL Starter

SIL Starter

4 4

Motor One Direction

Starter

5 5

Power Interface with I/O (Control)

DIOM

PIM

Example of PROFIBUS Physical Device Slots

Physical Order in island 1 2 3 4 5 6 7 8 9
PROFIBUS Physical Device Slot 0 101 102 103 104 105 106 107 108

DPV0 is used for configuration of the PROFIBUS connection, diagnostics related to the PROFIBUS communications, and for cyclic data exchange. DPV1 is used to exchange the acyclic datasets for avatars and devices.

As described in IEC 61158-5-3 §6.1.3.2.3.2 Module, slots not used by the configuration of the system are registered as empty slots and assigned Input and Output data lengths of 0, and identifier byte 0x00.

  • Each module is addressed by a slot number (1 to 254). Numbering is without gaps, ascending, beginning with 1. If a slot is not occupied with a module, an empty slot is registered under the corresponding slot number in the configuration.

  • For each module, a configuration identifier has to be assigned. Numbering is without gaps, ascending, beginning with 0. If a slot is not occupied with a module, a configuration identifier with the Input and Output Data length of 0 has to be assigned in the configuration (empty slot).

The TeSys island PROFIBUS interface recognizes all unused slots as empty, with assigned Input and Output data lengths of 0 and identifier byte value of 0x00.

The following table provide the values for TeSys island PROFIBUS interface MS1 (DPV1) communication protocol (acyclic communication with PROFIBUS Class 1 client (controller)).

PROFIBUS Interface MS1 DPV1 Protocol Values

Service Access Point (SAP)

Name

72

Idle

94

DPV1_Read

95

DPV1_ Write

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?