
How to configure Profinet communication on Kuka robots using WorkVisual
Importing Profinet option packageIn the disk D of the robot where the Profinet option is installed, look for a folder named something like PROFINET PROFISAFE DEVICE, this might be in the KUKA_OPT folder. In that folder, there should be another folder named KukaOptionPachages or KOP, in which it is possible to find a file qith .kop extension. Copy that file in your PC. In WorkVisual, open the Option Package Management. Click Add new option package from a file. Select the .kop file you copied from the robot folder and, after a quick installation, the Profinet option will be installed in Workvisual. Profinet configuration on robot sideSet the controller as active, for the Profiten you want to configure, as shown in the picture below. Look for the Profinet node in the tree view and open its settings. In the settings tab, define the following data.
If the robot is SLAVE, keep Activate PROFINET device stack checked.
Set DeviceName as the same device's name that the PLC set in its settings.
Select the Number of safe I/Os, if used.
Select the Number of I/Os as the number of bits used for the communication between robot and PLC.
If necessary, set the Profinet version as the same version that is present in the Profinet node in the tree view.
Configure Profinet Safety ID for safety controlIn order to configure the Profinet Safety ID, open the Safety control in the tree view of the controller by double clicking on the corresponding node. In Common tab, select Communication Parameters in the left menu and insert the number to be set as Profinet Safety ID. This number must be the same number set in the PLC. See the image below, to better understand all the operations that need to be performed. Import GSDML file for PLCAfter configuring the robot side, it is necessary to import the GSDML configuration file in the PLC. This file could be found in the CD or USB key containing the software and the documentation that comes with the robot. If you do not have access to them, the file could be also found in the PC where WorkVisual is installed. The path is the following: *user installation path*\WorkVisual\DeviceDescriptions\GSDML Look for the corresponding version of the Profinet; in this example the used version is the 3.3 so the correct file would be: GSDML-V2.32-KUKA-KRC4-ProfiNet_3.3-20170131.xml Some of the files might seem duplicated, but the difference stands between KRC4 and VKRC4. The correct ones are the KRC4 files. Import this file in the PLC for its configuration. Disable the ProfinetIf the PLC is not configured for the communication but the robot is, the robot could be unable to operate. To temporary disable the Profinet, go to the Profinet settings and just uncheck the Activate PROFINET device stack option. Get the safety Activation codeIf the PLC requires the activation code for safety, check for this code in the robot pendant: Menu → Configuration → SafetyConfiguration
PLEASE NOTE: each time a change in the safety configuration of the robot is made, this code changes and need to be updated in the PLC.Important notes
The first bit of the first byte coming form the PLC in the robot should always be 1.
The correct setting for safety bit could be found in the manual located inside robot disk D, at the path: D:\KUKA_OPT\PROFINET KRC-NEXXT\DO
Profinet configuration errorsCommunication slot bit errorThis error happens when the Profinet communication bits are not aligned between robot and PLC. Communication error ProfiNet DeviceThis error happens if the ProfinetSafetyID is different between robot and PLC, and also if the procedure to Safe reset is done wrongly by the PLC. #KUKA



















Comments
Start the Conversation
That's a great post!!
Valuable Information, Thank you!