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 KRC4 CONTROLLER AS "SCANNER" OF S7-1200 PLC

  • IlFincoITA
  • January 17, 2023 at 3:25 PM
  • Thread is Unresolved
  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 17, 2023 at 3:25 PM
    • #1

    Hi! I've always used KUKA as device. Since you can add also KUKA as a scanner is it possible to have S7-1200 PLC as device?

    Images

    • KUKA.PNG
      • 39.78 kB
      • 1,012 × 599
      • 26
  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • January 17, 2023 at 4:23 PM
    • #2

    i don't see why not but note that in this case only standard data can be exchanged, since KRC is not a safety master.

    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
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • January 17, 2023 at 4:23 PM
    • #3

    Should be possible if your robot has the ProfiNet Scanner option installed. The PLC would have to be configured to act as PN Device, of course, and a matching GSD file imported into WorkVisual.

    KUKA has (at least) two different PN options for KRC4s: the cheaper option is Device only, while the more expensive one allows the robot to act as both a Scanner and Device.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • January 17, 2023 at 4:31 PM
    • #4

    For PROFINET it is called Controller and Device. The available options are PROFINET M/S (Controller and Device) and PROFINET -/S (only Device).

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • January 17, 2023 at 4:34 PM
    • #5

    guess what M and S are in "M/S" or "-/S"

    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

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • January 17, 2023 at 4:42 PM
    • #6

    There is basically also master (M) and slave (S) but the offical terminology for PROFINET is Controller (master) and Device (slave).

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • January 17, 2023 at 6:44 PM
    • #7

    yes, sensitive people get triggered by pretty much anything, including words referring to pieces of hardware. so companies tried coining new pairs of substitute terms like scanner/adapter, controller/device etc.

    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

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 17, 2023 at 10:32 PM
    • #8

    I have the KUKA.PROFINET MS.kop installed but it is not clear wich element of the hardware catalogue I must install into the SIEMENS Hardware configuration since I have just one and none of the GSDML inside the WorkVisual subdirectory have a description like "controller".

    Images

    • KUKA MS.png
      • 94.01 kB
      • 1,926 × 439
      • 12
    • KUKA MS1.png
      • 14.52 kB
      • 280 × 560
      • 7
  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • January 18, 2023 at 5:10 AM
    • #9

    not sure what is that you have installed how and where, what the software stand is etc.


    the topic name suggests adding S1200 as slave to KRC4 that is PNET master, but your screenshots show something else. you are making two networks (PLC to KRC, and another is KRC to KRC).

    each device in a fieldbus has a role... it is either master or slave.

    only master need to be aware of slaves. slaves are oblivious to presence of other nodes on the network. so if you want KRC to be a master, do not add another KRC as a slave. you need to add S1200 as slave:

    Since PLC is to be setup as a slave, it knows nothing about KRC and there is no KUKA GSDML to be imported into Siemens software or added to PLC config. You just need GSDML of S1200 added to WoV DTM.

    Btw if the roles were reversed, you would not add any slaves to KRC network. and you would need to integrate KUKA supplied GSDML files into Siemens catalog. They are found in WoV folder 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

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • January 18, 2023 at 7:37 AM
    • #10
    Quote from panic mode

    .. You just need GSDML of S1200 added to WoV DTM...

    This is the sticking point.

    AFAIK there exist no universal gsdml file for Siemens plc as device, you have to create it by your own, in Tia. It's much more complex than using plc as controller, one more source for errors, highly recommend using plc as controller.

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 18, 2023 at 7:50 AM
    • #11

    Yes! I've see my mistake... what I've inserted in VOW is simply another KRC as slave. I do not know how to find a GSDML who describes PLCS7-1200 as Device... nor if it is possible.

    I've seen just one example with CP1616, the GSDML is generated inside TIA Portal.

    Edited once, last by IlFincoITA (January 18, 2023 at 8:25 AM).

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • January 18, 2023 at 8:23 AM
    • #12

    I am not a TIA expert but try to add your S7-1200 PLC from the hardware catalogue in TIA Portal to devices & networks. After that, open the PN interface of the device, set operating mode to IO device and configure the transfer areas as needed. Below there is an "Export" button which allows you to export the GSDML file. This could work.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • January 18, 2023 at 8:26 AM
    • #13

    But I agree with hermann, in general it would be much easier to use the PLC as IO controller.

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 18, 2023 at 8:39 AM
    • #14

    Hi! Just found an option inside TIA Portal to configure a CPU as IO Device... it has been used with PLC to PLC Communication... I will try it...

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 18, 2023 at 9:34 AM
    • #15
    Quote

    I am not a TIA expert but try to add your S7-1200 PLC from the hardware catalogue in TIA Portal to devices & networks. After that, open the PN interface of the device, set operating mode to IO device and configure the transfer areas as needed. Below there is an "Export" button which allows you to export the GSDML file. This could work.


    That should be the way. Tomorrow I'll try it on site with the KUKA Robot.

    Edited once, last by IlFincoITA (January 18, 2023 at 11:11 AM).

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 20, 2023 at 2:58 PM
    • #16

    So far I had no success... tried few different GSDML generated inside TIA PORTAL. Asked KUKA for help we'll see...

    Images

    • IO_Device1.png
      • 39.48 kB
      • 958 × 810
      • 14
    • IO_Device2.png
      • 40.91 kB
      • 955 × 366
      • 14
  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • January 20, 2023 at 3:57 PM
    • #17

    Can you tell us the reason why you want to use it this way, and not the other way with plc as controller?

    Just because it's possible? To waste some time? Can't imagine any sense making reason.

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 21, 2023 at 7:20 AM
    • #18

    The reason is simple. The robot is a slave of another PLC. That PLC is not mine. Now I need to exchange data with this robot too. So I thought that if my s7 PLC can act as a simple I-Device... I could exchange whatever I want with a simple profinet cable...

    Anyway KUKA (Italy) has never encounter a scenario like this and can't help me. They suggest me to experiment a bit with the .xml file generated by SIEMENS. It is not clear if it works or not.

    I'll see if I have some time to spend to experiment...

  • IlFincoITA
    Reactions Received
    4
    Trophies
    3
    Posts
    204
    • January 21, 2023 at 9:56 AM
    • #19

    Just tried the GSDML to establish a connection with two PLCs and it worked like a charm...

  • fcardao
    Trophies
    2
    Posts
    7
    • January 22, 2023 at 1:35 AM
    • #20

    Hi there, I’m maybe a little bit late but I program robots and PLC, so I think I can help you. Kuka with ProfiNET M/S can be a “master” and have profinet “slaves” but S7 Siemens plc GSDML isn’t easy to find… so this isn’t the best option to go with. If you just need to communicate with another PLC that is a S7 PLC, you just need to add the other plc to your TIA-Portal project (within the same profinet network and correct IP settings) and use the PUT/GET system function. This is the best way to communicate with two S7 PLC because if one PLC is shutdown, the other will not stop because missing module like it would if is set has an I-Device or an IO-Device.

    If you need to communicate with the robot, just send data from your PLC, to the master PLC (with PUT/GET commands) and make sure the master PLC will send that data to the robot and vice-versa.

    If you have more question you can ask. Ty

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