1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. KUKA Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Problems with Profinet connection from KUKA to Siemens PLC

  • nickmichiels100
  • January 12, 2023 at 11:16 AM
  • Thread is Resolved
  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 12, 2023 at 11:16 AM
    • #1

    Dear all,

    I have a problem configuring Profinet/Profisafe connectien from KUKA to Siemens PLC.

    I want to make the PLC master over the KUKA robot.

    The following:

    Robot:

    KUKA KRC4 R2700 KR240 PRIME

    KSS 8.2.19

    PROFINET KRC-NEXT 2.2.4 installed

    WOV 6.0

    Ip: 192.168.1.238

    Siemens PLC:

    S7 1215F DC/DC/DC

    Ip:192.168.1.240

    To start, these are the error messages that I get:

    picture 1

    robot-forum.com/attachment/36500/

    I have configured the following in Wov:

    picture 2

    robot-forum.com/attachment/36496/

    After that I did the io mapping.

    The next thing I did is importing the GSDML file into Tia Portal:

    picture 3picture 24

    robot-forum.com/attachment/36501/

    I changed the profinet name of KUKA to 'krc4', like I did in WOV.

    After this I placed a networkcable from the PLC to the robot (KLI port).

    In Wov I am able to see the PLC:

    picture 4

    robot-forum.com/attachment/36502/

    Where the problem begins to start is that the PLC is unable to reach the KUKA robot.

    picture 5

    robot-forum.com/attachment/36503/

    In accessible devices the Kuka is not to be found and the profinet io system is not able to reach the robot.

    It seems that beacause the PLC can not find the Robot the error messages appear.

    Somehow uploading the pictures didn't work, so i added zip file with the pictures

    Is someone know with this problem, please help.

    Kind regards

    pictures.zip

  • Online
    Carleton Hall
    Reactions Received
    1
    Trophies
    3
    Posts
    20
    • January 12, 2023 at 7:14 PM
    • #2

    It's a good idea to ping the IP of the robot (192.168.1.238) to ensure you are able to reach the robot from the computer at least (since you can upload the WV project I imagine this isn't an issue, just a sanity check)

    Also within TIA portal under the properties of your 64 safe digital I/O (can be seen in the device view of KRC4), make sure the F_Dest_Add matches the device number configured in WorkVisual, I believe these defaults to 7 which should work fine.

  • Online
    DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • January 12, 2023 at 9:01 PM
    • #3
    Quote from nickmichiels100

    After this I placed a networkcable from the PLC to the robot (KLI port).

    Did you correctly configure the KLI interface for the use of PROFINET?

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 13, 2023 at 8:10 AM
    • #4

    I am able to ping the robot.

    F_Dest_Add also corresponds.

    DS186 I am not sure what you mean by correctly configure KLI interface, can you explain in more detail please?

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 13, 2023 at 8:19 AM
    • #5

    I have attached zip file with pictures of my network config.

    Files

    network config.zip 1.51 MB – 62 Downloads
  • Online
    DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • January 13, 2023 at 8:23 AM
    • #6

    Do you have the system integrators manual? The procedure on how to do this is described in the KSS8.x SI manual.

  • Online
    DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • January 13, 2023 at 9:14 AM
    • #7
    Quote from nickmichiels100

    robot-forum.com/attachment/36518/

    Not this one. I am not sure if it is allowed to share the manual here. You got a PM with the KSS8.2 SI manual.

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 13, 2023 at 11:26 AM
    • #8

    Still not working after following the manual..

  • Online
    DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,075
    • January 13, 2023 at 12:44 PM
    • #9

    Are you using the correct GSDML file? Which error messages are displayed? Did you already create the reintegration logic for the robot on the PLC side, e.g. by using ACK_GL?

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 13, 2023 at 2:26 PM
    • #10

    The following error messages are displayed:

    The GSDML file I use is KRC4-Profinet_2.3, should be the one.

    To be honest I didn't try ack_gl yet.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • January 13, 2023 at 4:27 PM
    • #11

    you did not set things correctly....


    in your case KLI has two interfaces, virtual5 and virtual6 which is fine.

    virtual5 is used for ProfiNET and has network settings 172.31.1.234, 255.255.255.0

    virtual6 is the windows interface using 192.168.2.238, 255.255.255.0

    your PLC must be in the same network as the virtual5, not virtual 6.

    PLC configured to IP address 192.168.1.240 will never be able to communicate with KRC using 172.31.1.234.


    subnet mask tells how the IP addresses are used (where the split between LAN address and node address in IP address is). subnet mask value really should be looked at in the binary form - all "1"s are on the left and signify bits that form the LAN address. all "0"s must be on the right and signify bits that represent individual node within the LAN. all participants in LAN must have same subnet mask, same LAN address and unique node address.

    in case of subnet mask value 255.255.255.0 that first three octets of the IP address must be the same (this is the LAN address) and the last octet must be different (this part is the node address). so perhaps try configuring PLC to use 172.31.1.240 (if robot virtual5 is to stay on 172.31.1.234),

    or

    change virtual5 address to 192.168.1.234 (if PLC is to stay on 192.168.1.240)

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 16, 2023 at 12:24 PM
    • #12

    panic mode, you are right, I did some things wrong.

    I am going to try again:

    PLC:

    ip = 172.31.1.235

    subnet = 255.255.255.0

    KUKA:

    virtual 5 ip = 172.31.1.234

    virtual 5 subnet = 255.255.255.0

    virtual 6 = 192.168.1.234

    virtual 6 subnet = 255.255.254.0

    After configuring this , still not able to see KUKA from PLC side.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • January 16, 2023 at 2:49 PM
    • #13

    network address is one of things that need to match. there is more to this. KUKA has relevant fieldbus training. there is a reason this is a 4 day course and not 30min lunch and learn.

    you still need to look at all other settings side-by-side. the pictures you posted show somewhat fragmented view of the config so one cannot tell with certainty if other things are correct or not.

    1. IP addressing - matched (probably good this time, unless someone also messed with filter settings)

    2. node name matched (not sure, robot side name is 'krc4', the same has to be used in S7 config but it looks like in S7 config you are using 'kuka-noname')

    3. IO block size has to match (not sure, robot side is 256, plc side is ...?)

    4. physical connection need to be correct (probably ok, as previously it was possible to ping virtual6 on the KLI but who knows...)

    5. used GSDML need to be correct one...

    6. refresh rate need to be correct... (if my memory is correct 2.3 is good for 8ms but not faster)

    7. safety address must match

    8. standard IO mapping need to be done on the robot side

    9. safety IO need to be used in the PLC safety task

    etc.

    so read the manual and choose correct settings. and when posting screenshots, try to display more useful info and less space. empty space in screenshots does not help. for example pic3.jpg in your first ZIP file shows huge central part of the image dedicated to network image and tons of unused screen space while the more important part (the actually interesting info - Network overview) is squeezed into a corner. Device settings are not shown at all. How is anyone supposed to decipher what you have there if you are not going to show relevant details. this is why i put together READ FIRST to try steering people asking for help in the right direction but plenty of people just wing it, do no preparation or thinking about what may be useful.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • nickmichiels100
    Trophies
    1
    Posts
    13
    • January 19, 2023 at 9:27 AM
    • #14

    Turns out the installed profinet 2.2.4 was corrupted. Upgraded to a higher version and it worked. The configuration Wov turned out to be correct.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • KRC5 Profinet IO Device not reachable

    • luccaleao
    • August 3, 2021 at 9:26 PM
    • KUKA Robot Forum
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download