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

Controlling Kuka With Siemens PLC Without MXAutomaion

  • kukauser1
  • July 30, 2024 at 10:24 AM
  • Thread is Unresolved
  • kukauser1
    Posts
    10
    • July 30, 2024 at 10:24 AM
    • #1

    Hey guys,

    We are trying to control our KRC4 Kuka robot with Siemens S7-1200 Plc. We don't have MxAutomation licence and we want to control without MxAutomation. How we can make this? Any idea of this topic?

  • kukauser1
    Posts
    10
    • July 30, 2024 at 10:26 AM
    • #2

    I actually wanted to do that getting the current location data from Kuka and making some math inside the TIA Portal and we can set the new location to robot. Is there a way to make this?

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • July 30, 2024 at 12:32 PM
    • #3

    Yes.

    Set up some group i/o, one group for each coordinate, send actual position over group outputs to plc, calculate position, send position over group outputs (view from plc, inputs view from Kuka) to Kuka.

    On Kuka write a program that reads new positions and move to them.

  • kukauser1
    Posts
    10
    • July 30, 2024 at 12:40 PM
    • #4

    Thank you for replying Hermann. Can you be more specific about how to set group i/o's and how to send them to kuka is there a document that I can look at?

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • July 30, 2024 at 1:25 PM
    • #5

    There should exist some examples here in the forum, as this is done many times from many programmers. Just search for it.

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,030
    • July 30, 2024 at 2:21 PM
    • #6

    not sure what the application is but my feeling that this is going to be ambitious for someone with limited robot experience. for example transmitting position value is not very practical.

    singe position element is 32-bit value so exchanging FRAME means 192 bits. and some moves are axis specific, so that is another 192 bits. and FRAME or POS only makes sense when tool and base are known. it does not take a genius to see that a lot of I/O is quickly consumed just to specify target position. so one need to be very selective in what info is to be transmitted.

    next, PLC does not have math capabilities to do anything complex. sure one can write own routines but have you looked at things like geometric operator and instruction like INVERSE?

    and assuming you have all math functions you need implemented, they can only work when having valid data. but that means transmitting even more values. not to mention that any data exchange is bound to have delays. and that will limit what one can do with multiplexing.

    to put it simply, there is a reason this functionality is put into instructions that are external library and not taxing the PLC interpreter.


    it may be better and easier to exchange simple handshake signals and let the robot take care of robot things. this is common in places like material handling.palletizing... all that PLC need to do is tell robot what to do (each instruction is another bit) and index values. this is easy to confirm and makes things more portable in case one need to use a different robot (or robot brand).

    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

  • RobotCNC
    Just some Joe
    Reactions Received
    2
    Trophies
    3
    Posts
    10
    • July 30, 2024 at 6:47 PM
    • #7

    Panic Mode is correct but on top of that there is a speed issue.

    If you post the coordinate from the PLC to the robot, the robot only cycles so fast (4ms?). You need to read the data, convert it to a REAL, confirm the data back the PLC, and then Read new data again. On top fo it you have a cycle or two going each direction for data handshaking to control data flow.

    Depending on the length of your moves, and the velocity at which you make those moves, the cyclic response my be too slow to not only keep up but to keep ahead.


    T

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • July 31, 2024 at 3:59 PM
    • #8
    Quote from kukauser1

    We are trying to control our KRC4 Kuka robot with Siemens S7-1200 Plc.

    1st question: what communication options does your KRC4 have?

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • August 1, 2024 at 8:14 AM
    • #9

    But if you use an external camera that is connected to the PLC, you do not have other options for transmitting the target locations to the KUKA controller. You have to send the X Y Z and Rotation angle using the 32 bit signals. Right?

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • August 1, 2024 at 4:46 PM
    • #10
    Quote from Koppel

    But if you use an external camera that is connected to the PLC, you do not have other options for transmitting the target locations to the KUKA controller. You have to send the X Y Z and Rotation angle using the 32 bit signals. Right?

    Not necessarily. I've done it in the past with 16- and even 8-bit signals. It depends on the range and resolution the application requires.

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,030
    • August 1, 2024 at 5:23 PM
    • #11

    it also depends on type of connection. signals are tied to IO points. IOs points are tied to a fieldbus and are refreshed cyclically. this is convenient when the other side is a PLC for example. but... that is not requirement... camera data does not need to be transmitted cyclically or through IO. it is not unusual that this exchange is done through TCP/IP and have target variables that are not some IOs. vision systems may connect to KRC through EKI for example.

    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

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