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

Kuka KR C4 Compact - Siemens S7 1200 Plc Connection

  • kukauser1
  • July 26, 2024 at 10:33 AM
  • Thread is Resolved
  • kukauser1
    Posts
    12
    • July 26, 2024 at 10:33 AM
    • #1

    Hello guys,

    We try to connect kuka and S7-1200 (1214C-DC/DC/DC-V3.0) using PROFINET. We configure kuka profinet interface correctly; naming device, IO mapping and IP setting but still can't connect. We can see PLC from KUKA's PROFINET list. Could you suggest any other advice we can do? Details in attachment. Thanks in advance.

  • kukauser1
    Posts
    12
    • July 26, 2024 at 1:45 PM
    • #2

    Any idea?

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • July 26, 2024 at 2:49 PM
    • #3

    Thats not how to connect them.
    You should have "Device description files" / GSD files for the KUKA profinet and you load them in TIA portal.

    So in TIA, in the tree under "devices and networks" you are able to see your robot controller. You assign a IP address and a profinet name for this controller in TIA portal.

    Then you map your PGNO and EXT_START and PGNO_VALID and DRIVES_ON and all others to some Profinet addresses in Kuka WorkVisual software.

    Once this WorkVisual project is deployed to the KUKA controller you are able to see the tag values in TIA protal and write the outputs.

    In the robot controller you can have EXT_START declared as INPUT[1000] ... you map this to profinet_input nr 1. In TIA portal you set up the KUKA controller to start taking addresses starting from byte 100 and then the first bit of this byte you know is your EXT_START with the address Q100.0
    Its going to be an output on the PLC side of things.


    So in summary. Get the GSD files for Profinet and add them to TIA portal (You can get them from inside the controller if you minimize to the windows environment or from inside the WorkVisual program folder). Add the new device KUKA controller. Map all the inputs and outputs you need. Check the Integrator manual signal diagram to figure out what bits you need and when to switch them.

    Edited 2 times, last by Koppel (July 26, 2024 at 2:56 PM).

  • kukauser1
    Posts
    12
    • July 26, 2024 at 3:09 PM
    • #4

    We added gsdml files to the tia portal but do we need to add gsd files to tia portal? We should add them at the same time or just gsd files? And where we can find them in minimize hmi panel in robot folders?

  • Online
    panic mode
    Reactions Received
    1,295
    Trophies
    11
    Posts
    13,130
    • July 26, 2024 at 4:36 PM
    • #5

    which device description file you need, depends on what fieldbus you use

    GSD files are for ProfiBus.

    GSDML files are for ProfiNet (where ProfiNet is "profibus over Ethernet")

    but... though incorrect, pretty often term is used loosely so "GSD" term is still sometimes meant to refer to GSDML

    just like term "fieldbus".... the term "fieldbus" comes from actual bus topology. ProfiBus, CanBus, DeviceNet, CompoBus, DH+ etc are all examples of a real bus (all derived from 422/485 serial bus). in a fieldbus nodes are daisy chained (electrically in parallel) by tapping into same cable - without additional electronic devices.

    and still, Ethernet networks are also often called "fieldbus" even though they are not really a bus, they are connected differently and require additional hardware (such as Ethernet switch). in a network of 20 nodes, terminals of those 20 nodes are not simply wired in parallel as it is the case of the bus.


    KUKA distributes device description files with WorkVisual and are normally found in folder such as:

    C:\Program Files (x86)\KUKA\WorkVisual 6.0\DeviceDescriptions

    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

  • kukauser1
    Posts
    12
    • July 26, 2024 at 4:41 PM
    • #6

    Okay I got it. I think I added the true gsdml files to the tia portal. But where is the problem Panic Mode I need some help to connect this devices. We cannot connect them effectively.

  • Online
    panic mode
    Reactions Received
    1,295
    Trophies
    11
    Posts
    13,130
    • July 26, 2024 at 5:11 PM
    • #7

    the problem is that you are trying to do something you are not trained to do. KUKA offers fieldbus training which is 4 days just for one type of network (ProfiNet for example). book the course, take a week off, spend the $3000 and you will learn all you need - and have chance to ask trainer any questions. same goes for Siemens PLC training...

    short of taking such courses, or hiring someone knowledgeable, you are forced to stumble in the dark.... so may as well forget about connecting them 'effectively'. you will bump, trip and fall plenty of times until you stumble upon something that works. getting there may be a long road since forum is not a substitute for formal training.

    you can get answer to a quick question but nobody is going to give you complete step by step instructions for your application to spend time teaching you something that takes weeks to acquire. so you need to pick and choose what are you asking, may want to check previous discussions to gather some info...

    do you want robot to act as master? and plc to be the slave? or the other way around? PLC must be master if you want to exchange both standard IO and also safety signals.

    whichever side is acting as a master, that side must have some sort of a "scan list". that is basically a list/configuration showing info on each slave. this way master knows all the slaves...and can start talking to each of them. each entry in this list includes node address, type, size of IO etc. slaves know nothing. they may see other slaves and hear traffic meant for other slaves but they do nothing until asked. they only respond when spoken to, and master does all asking and ordering around...


    and for the record... you did not show even the robot side configuration. all you have shown is what nodes WorkVisual can see (network scan). this is not configuration and it says nothing about what the actual settings are.

    so if you want PLC to be the master, you need to configure it like that. it means you need to import KUKA GSDML file(s) into TIA portal. that just adds them to the library of all devices. then you still need to insert it from the library into the PLC project.

    btw. one PLC can connect to multiple robots. in this case you would need to create new instance for each of robot (insert it from library). and each would still need to be parametrized.

    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

  • Online
    panic mode
    Reactions Received
    1,295
    Trophies
    11
    Posts
    13,130
    • July 26, 2024 at 5:24 PM
    • #8

    this is an example of Communication settings on the robot side. one still need to map IO, transfer project to KRC and activate it.... then the robot side is done. and one has to do equivalent setup on the PLC side but that one is of course to be setup as a master.

    Images

    • image.png
      • 61.42 kB
      • 894 × 575
      • 13

    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

  • Online
    panic mode
    Reactions Received
    1,295
    Trophies
    11
    Posts
    13,130
    • July 26, 2024 at 5:34 PM
    • #9

    each platform uses own terminology....


    in case of TIA portal, device library is called "hardware catalog"
    in case of WorkVisual it is called "DTM catalog" etc.

    but the idea is the same. if you want product to act as master, you need to populate the library. then you can take things from library and add into your project...


    what you see here in the middle of the screen is a "scan list" (a version as it appears in TIA portal, it will look different in other software products but serve the same purpose).

    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

  • kukauser1
    Posts
    12
    • July 30, 2024 at 10:21 AM
    • #10

    Thank you so much Panic Mode we can connecting to the slave and master to each other so the problem is solved. Our main problem was there is a program in the Krc4 and it always trying to connect previous PLC. If you want to connect kuka to plc second time you should reset your kuka or delete the previous project on your robots memory. Thank you again!

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
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • 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
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  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