Back to Blog
Applications and How-Tos

Profinet Communication Setup with a KEB Drive

Admin | August 23rd, 2024


This guide provides step-by-step instructions for setting up Profinet communication between a KEB S6 drive and a Siemens PLC. It begins with an overview of the required hardware and software, then walks you through configuring Profinet in KEB’s COMBIVIS 6 programming software. Finally, it covers how to connect to the KEB device in Siemens’ TIA Portal using the X6 GSDML file.

Important: Profinet is supported on S6 and F6 devices with control type A and P.

The following hardware and software were used in this document:
• KEB Combivis 6
• KEB S6A drive
• KEB USB to Serial Adapter
• KEB X6 GSDML file (Zip File for S6 A)
• KEB X6 GSDML file (Zip File for S6 P)
• Siemens TIA Portal v15 (download here)
• Siemens 1215C CPU

 

S6 Profinet Combivis Setup

This section overviews the steps to setup Profinet communication for S6 and F6 devices using Combivis 6.

 

1. Combivis Diagnostic Communication Setup

Connect the USB to serial communications cable to the X4A port and power up the device. Start up Combivis 6 and create a new empty project.

 

how to open a new project in KEB COMBIVIS programming software
Figure 1: Combivis New Project

 
Select the magnifying glass on the menu to scan for devices.

 

scan for device screenshot icon in COMBIVIS software
Figure 2: Combivis scan for devices

 
Verify the serial interface you have connected and select “Start search.”

 

Start device search in COMBIVIS software
Figure 3: Combivis start device scan

 
Select the device and add it to the project by clicking the “Add selected devices” button.

 

add selected devices in Combivis 6 software
Figure 4: Combivis add the selected device

 
Important: If the device is not found, verify that the hardware connections are correct and that the device is powered on. Also, check to see if another program on your PC is currently using the desired COM port. The device will be added to the Navigator window. Double-click the device to open it in the Device editor. From here you can adjust settings of the device.

 

2. Fieldbus Selection

In the device editor select the “Wizards” tab and open “Fieldbus.” Set the fieldbus to Profinet from the drop down menu.

 

Selecting Profinet Combivis Fieldbus configuration
Figure 5: Selecting Profinet in the Combivis Fieldbus configuration

 
After changing the fieldbus type select the “run software reset” button to restart control board.

 

Combivis select the "run software reset" button
Figure 6: Combivis select the “run software reset” button

 
Important: The control must restart after changing the fieldbus type.

 

3. Process Data Mapping

The transit and receive process data can be setup using the Fieldbus wizard. A default data mapping or a custom data mapping can be used. The default data mapping uses the standard CiA 402 process data.

This example uses the default process data mapping. Click on the “Stored mappings” button on the lower right side of the Wizard screen and select “standard PD mapping (F6/H6/S6).”

Custom data mappings can be added by selecting the desired parameters from “Available parameters” window and dragging them onto the available transmit and recieve process data slots.

 

Figure 7: Combivis default process data

 
The process data mapping will update displaying the default process data in the transmit and receive PDOs. Select the two “Active PDO” checkboxes.

 

Activate process data in COMBIVIS 6 software
Figure 8: Activate process data in COMBIVIS 6

 

4. Rotary Switch Configuration

The device node ID, and Profinet device name is influenced by the rotary switches S1, and S2. The value defined by the rotary switches can be found in fb100 node ID switch value. Alternatively, the node ID can be defined by fb101 adjusted node ID value if the S1 and S2 rotary switches are set to 0. For this example, set the S1 and S2 rotary switches to 0.

 

Set S6 drive rotary switch for Profinet communication with S1 and S2 positions at 0
Figure 9: Set S6 drive rotary switch to “0” on S1 and S2 for this configuration of Profinet communication

 
Note: See the “Selection of the node address of the fieldbus system” section in the KEB Fieldbus Systems Programming Manual and ”Rotary coding switch” section in the KEB Realtime Ethernet Module manual for more information.

 

5. IP Configuration

To configure the IP address of the device, navigate to the device parameters and locate the fieldbus parameter group. Adjust the Profinet IP address by adjusting the Basic IP configuration fb109.

 

Combivis basic IP configuration for Profinet protocol
Figure 10: basic IP configuration in KEB’s COMBIVIS 6

 
Profinet supports Combivis access over Ethernet. This allows for parameter configuration and diagnostics via an Ethernet connection instead of using the X3A diagnostic serial port. Adjust fb108 Ethernet over fieldbus IP configuration to set the IP address of the diagnostic over ethernet port.

Important: For Profinet operation, a Profinet device with 2 ports requires three MAC addresses. Each interface port uses a MAC address. The Combivis over ethernet channel uses the additional MAC address. Therefore, fb108 and fb109 must be assigned a unique IP address for Profinet communication.

 

6. Profinet Configuration

The Profinet device name is used by the PLC to identify the device. The PLC can be configured to set the Profinet device name or use the name defined by the device. Warning: The Profinet device name in the PLC configuration must correspond to the KEB device.

The KEB default value for the Profinet device name is defined by the device type (S6 or F6) and the value of the effective node address fb102. The node address can be configured by fb101 adjusted node ID value when the S1, and S2 rotary switches are set to 0. This example uses an S6 device and fb101 = 1. Therefore the default device name is kebs6-1. Set fb101 = 1.

 

screenshot showing how to adjust node ID with a Profinet device name
Figure 11: Adjust node ID in COMBIVIS

 
Note: See the “Profinet device name” section in the KEB Fieldbus Systems Programming Manual.

 

7. Restart Control

The control must restart to effect adjusted parameters. Navigate to the fieldbus wizard and select the “run software reset” button.

Important: The IP address and node ID require a control reboot to become active!

 

S6 Profinet Siemens Setup

This section overviews the steps to setup cyclic Profinet communication for S6 and F6 devices using TIA Portal.

 

1. Install KEB GSDML Files

Profinet communication uses GSDML files to describe Profinet devices. A device description for KEB devices is available for download in the download area of the KEB website. To install the KEB GSDML files in the TIA Portal project, select Options -> “Manage general station description files (GSD).”

 

X6_Profinet Communication Setup_TIA portal manage GSDML files
Figure 12: TIA Portal manage GSDML files

 
Next, enter the path of the GSDML files on your machine and select install.

 

Profinet Communication Setup_TIA portal install KEB GSDML files
Figure 13: TIA Portal install KEB GSDML files

 

2. Add KEB Device to Project

After successfully installing the KEB GSDML files, add the KEB device to the project and connect it to the PLC. Open the Devices & networks editor by double clicking on Devices & networks in the Project tree.

 

Siemens TIA portal devices and network view
Fig. 14: TIA Portal Devices and Network view

 
Next, find the desired KEB device in the TIA Hardware Catalog and drag it onto the Device & networks editor.

 

X6_Profinet Communication Setup in TIA screenshot of the Hardware Catalog
Figure 15: TIA Hardware Catalog

 
After adding the KEB device, create a connection by clicking on the PLC communication port and dragging the connection to the KEB communication port.

 

TIA Portal Connect KEB device to PLC
Figure 16: TIA Portal Connect KEB device to PLC

 
Once the connection between the PLC and KEB device has been successfully setup the KEB device Profinet settings can be configured.

 

Siemens X6 TIA Portal Connected KEB device to PLC
Figure 17: TIA Portal Connected KEB device to PLC

 

3. Configure Profinet Settings

Configure the KEB device settings in the TIA Portal project by double-clicking on “Device configuration” in the Project tree under the newly added KEB device.

 

TIA Portal Open KEB device configuration
Figure 18: TIA Portal Open KEB device configuration

 
Define the IP address by selecting “Ethernet addresses” and enter the IP address of the KEB device.

 

configure KEB device IP address in Siemens software TIA portal
Figure 19: TIA Portal configure KEB device IP address

 
Next, define the KEB device Profinet name.

 

Profinet Communication Setup in the TIA portal to configure KEB device name
Figure 20: TIA Portal configure KEB device Profinet name

 
Important: The KEB Profinet name and IP address must match fb107 and fb109!

 

4. Add Process Data

After defining the Profinet Settings, the process data can be modified to match the KEB device. Double-click on the KEB device node name in the Project Tree.

 

Profinet Communication Setup_21_TIA portal configure KEB device process data
Figure 21: TIA Portal configure KEB device process data

 
Next, determine the appropriate module in the Hardware Catalog with respect to the configured number of transmit and recieve PDO bytes in the KEB device. This can be found in the fieldbus wizard as shown below. Each module represents the total number of process data transmitted or received by the drive.

 

X6_Profinet Communication Setup_COMBIVIS KEB device process data
Figure 22: Combivis KEB device process data

 
Note: The input module corresponds to the “Receive PDOs,” the output module corresponds to the “Transmit PDOs.” To add the modules to the KEB device double click on the desired module. If a module is already attached to the KEB device it can be deleted before adding the correct input or output module.

 

Screenshot of how to add KEB device process data in TIA Portal
Figure 23: TIA Portal add KEB device process data

 
Important: The size of the input and output modules must match the configured KEB device! After configuring the process data the project can be compiled and downloaded to the PLC. The project is now ready to be downloaded and executed on the PLC.

Compile the PLC project and download the project to the PLC, then put the PLC into run mode. When the PLC is in run mode the status of the Profinet communication can be found in fb90 fieldbus state and f91 fieldbus error code.

 

Profinet Communication Setup_24_Combivis Profinet connection established
Figure 24: Combivis Profinet communication established.

 

Connection Complete

After you complete these steps, your Siemens PLC should successfully communicate with a KEB S6 or F6 drive. If you have any questions about how to perform this setup, please reach out to us at KEB America.

Contact Us

Let's Work Together

Connect with us today to learn more about our industrial automation solutions—and how to commission them for your application.

  • This field is for validation purposes and should be left unchanged.