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

How can i use Zelio Logic PLC to control KR C2?

  • Temp22
  • February 4, 2025 at 4:43 PM
  • Thread is Unresolved
  • Temp22
    Posts
    19
    • February 4, 2025 at 4:43 PM
    • #1

    Hi, I want to use a Zelio Logic SR3 PLC to control a KUKA robot with a KR C2 controller. From what I’ve been researching, the Zelio Logic has two communication modules: Modbus RTU and Modbus TCP. However, the KR C2 uses Profinet and DeviceNet.

    I also need to track the data in IoT, so I need a solution that allows me to control the KR C2 and monitor the data.

    I think I can use a Modbus TCP to Profinet gateway, connect to the Modbus TCP network, and use software on a PC to collect the data and format it into OPC UA, but I'm not sure if this will work.

    If something is unclear, feel free to ask. I'm a rookie in industrial networks and industrial robotics.:help::guru:

  • panic mode February 4, 2025 at 5:02 PM

    Approved the thread.
  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • February 4, 2025 at 5:04 PM
    • #2

    the Zelios are smart relays (low end PLC). you will be spending 5x that much on a gateway....

    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

  • Temp22
    Posts
    19
    • February 4, 2025 at 5:18 PM
    • #3

    then, how should i do it?

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • February 4, 2025 at 5:25 PM
    • #4

    not sure what your goals are. i would just add I/Os to the robot and program everything in KRL. no need for small device like Zelio

    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

  • Temp22
    Posts
    19
    • February 4, 2025 at 6:48 PM
    • #5

    I need to use a conveyor, some presence and proximity sensors to control the process and the safety measures of the robotic cell. I thought that, because of safety regulations, I had to use a PLC to control everything and couldn’t use the robot's I/O. Also, I need to make it scalable for IoT.

    So, to use the robot's I/O I'm gonna need this documentation? https://www.robot-forum.com/attachment/24694-krc2-peri-en-pdf/ or do you have any other tutorial you could share? :help:

    Edited once, last by Temp22 (February 4, 2025 at 6:53 PM).

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • February 4, 2025 at 9:42 PM
    • #6

    both robot and Zelio have only standard IO (gray logic). neither of the two have safety I/O. so if application requires safety you need something external or use safety rated PLC with safety rated IO.

    KRC has handful of safe signals but those are not programmable, they have fixed functionality that is locked in. you cannot change it - you just have to live with it.

    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,042
    Trophies
    12
    Posts
    9,388
    • February 5, 2025 at 2:56 PM
    • #7
    Quote from Temp22

    KUKA robot with a KR C2 controller. From what I’ve been researching, the Zelio Logic has two communication modules: Modbus RTU and Modbus TCP. However, the KR C2 uses Profinet and DeviceNet.

    What options does this KRC2 have installed? KRC2s have DeviceNet by default, but ProfiNet is an add-in hardware&software option. Then there's the "advanced" DeviceNet option that adds additional bus cards.

    Above and beyond that, you need remote I/O modules to connect to either of those buses to bridge between the bus and real-world discrete signals.

    Quote from Temp22

    So, to use the robot's I/O I'm gonna need this documentation? https://www.robot-forum.com/attachment/24694-krc2-peri-en-pdf/ or do you have any other tutorial you could share?

    That document addresses the KRC2 Safety signals using X11. Using your DeviceNet or ProfiNet I/O each have their own manuals. The ProfiNet manual should be on the KRC's D: drive, under KUKA_OPT. DeviceNet has multiple manuals and discussions in the Forum archives.

    Probably the cheapest and simplest way to connect two incompatible networks would be an AnyBus Bridge module. Be careful, though -- at least one version I ran into needed an expensive piece of configuration software before it was anything more than a paperweight.

  • Temp22
    Posts
    19
    • February 5, 2025 at 3:43 PM
    • #8
    Quote from SkyeFire

    Then there's the "advanced" DeviceNet option that adds additional bus cards.

    What do you mean by 'advanced'? I still don't understand how DeviceNet works.

    Quote from SkyeFire

    What options does this KRC2 have installed?

    We're still planning the project, and we got offered a robot with that controller and that PLC at an affordable price (according to my boss). So, we're exploring options to make them compatible, and I found that we could use Profinet with the robot, so I thought it could be an option. Since we now know that the PLC won’t work for the robotic cell’s safety, we’ll try to use it somewhere else in the plant. But we’d still like to have a network to collect data from the PLCs and the robot.

    Quote from SkyeFire

    you need remote I/O modules to connect to either of those buses to bridge between the bus and real-world discrete signals.

    Oh, I thought the controller would have some I/O pins. In the university lab, there was a Kuka arm with those pins, but it had a different controller. So, I guess I’ll definitely have to buy a coupler to get I/O on my robot? Also, besides the coupler, are there any other options?

    Quote from SkyeFire

    at least one version I ran into needed an expensive piece of configuration software before it was anything more than a paperweight.

    That's baaaaad. Do you have any advice so this doesn’t happen to me and I don’t get fired?

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • February 5, 2025 at 11:26 PM
    • #9
    Quote from Temp22

    What do you mean by 'advanced'? I still don't understand how DeviceNet works.

    Okay, short version: KRC2 "naked" comes with zero "hardware" I/O, and only a single DeviceNet port, built into the MFC card. That DN port can only act as a DN Master, but it's fine for connecting DN Slave devices like this.

    The "advanced" DN option adds one (or up to three) LPDN cards, which each have two DN ports which can be configured as either Slave or Master. But you have to buy the cards and the software package, and KUKA no longer sells parts or software for KRC2s.

    Quote from Temp22

    So, we're exploring options to make them compatible, and I found that we could use Profinet with the robot,

    Only if you buy that option. Buying 2ndhand robots, especially old ones, is risky. They're often stripped of any/all options and sold in minimal configuration. In the case of KRC2s, the only place to find parts or software is on the used market, and ensuring you have 100% compatibility isn't easy. There were at least two different "generations" of KRC2s, three different motherboard generations, and 2-3 generations of MFC/DSE/RDC. And that's just scratching the surface -- don't get me started on "special" versions like the Volkswagen customizations. Getting details from whomever is offering this robot for sale is vital. Or else you're setting yourself up for failure.

    Quote from Temp22

    Oh, I thought the controller would have some I/O pins. In the university lab, there was a Kuka arm with those pins, but it had a different controller.

    Some of the KRC2 and KRC4 Compact series came with built-in I/O, but I believe it had to be ordered, it didn't come as part of the "bare minimum" KRC. Some of the small robots, like the Agilus series, also had a small number of I/O built into the arm itself, but it was quite limited.

    Quote from Temp22

    That's baaaaad. Do you have any advice so this doesn’t happen to me and I don’t get fired?

    It's all attention to detail. Before you buy anything in this market, ask those questions. The good news is, Anybus still sells and supports these modules, so you should be able to ask them and get an answer.

    As for the KUKAbot... I love KRC2s, I spent decades working on them, and I wouldn't mind owning one... but only if I could buy an identical unit to use as a spare-parts source. And I wouldn't count on being able to find advanced software or hardware options for sale.

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • February 5, 2025 at 11:33 PM
    • #10

    On a related note, that Zelio "PLC" doesn't appear to have any sort of bus/network communications. And only a handful of simple relay-style I/O built in. And it appears to require a special programming cable and software to actually program it, though there's mention of being able to program it by hand from the front panel? Look at the tech documents: https://www.se.com/us/en/product/…-clock-display/

    Also, that Zelio has no Safety rating. If you want to operate a robot without killing someone, you'll need to attend to wiring up the Safeties correctly, using Safety-rated components.

  • Temp22
    Posts
    19
    • February 13, 2025 at 6:44 PM
    • #11

    Hi,

    Thank you all for your answers. Now i'm convincing my boss to use couplers instead of that plc, it seems to be a lot easier that way.

    Regarding the safety part, at first, i'm going to use the x11 port and a safety relay to monitor the e-stop and gates.

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • February 14, 2025 at 4:23 PM
    • #12
    Quote from Temp22

    Regarding the safety part, at first, i'm going to use the x11 port and a safety relay to monitor the e-stop and gates.

    Gate and E-Stop need separate relays -- E-Stop disables the robot entirely, Gate only disables the robot in auto modes (AUT or EXT), but allows operation in T1 and T2.

    Quote from Temp22

    Thank you all for your answers. Now i'm convincing my boss to use couplers instead of that plc, it seems to be a lot easier that way.

    Couplers? You mean I/O modules? That can work, if you plan to have the robot operate in standalone (AUT) mode, with no PLC managing the overall operation.

  • Temp22
    Posts
    19
    • February 17, 2025 at 2:16 PM
    • #13
    Quote from SkyeFire

    Gate and E-Stop need separate relays -- E-Stop disables the robot entirely, Gate only disables the robot in auto modes (AUT or EXT), but allows operation in T1 and T2.

    I was thinking about that. The gates need to open to remove the pallet, but that doesn’t necessarily mean it has to be an emergency stop, and that might even damage the robot. To avoid that, there is a dedicated pin for gates on X11, right?

    Quote from SkyeFire

    Couplers? You mean I/O modules? That can work, if you plan to have the robot operate in standalone (AUT) mode, with no PLC managing the overall operation

    Yes, that's what I meant. I thought they were called couplers.

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • February 17, 2025 at 3:05 PM
    • #14
    Quote from Temp22

    I was thinking about that. The gates need to open to remove the pallet, but that doesn’t necessarily mean it has to be an emergency stop, and that might even damage the robot. To avoid that, there is a dedicated pin for gates on X11, right?

    Yes. E-Stop has one set of channels, Safety Gate (also called Operator Safety or Safeguard) has a separate set.

    Note: when the robot is in AUT or EXT, opening the Safety Gate circuit will have the same effect as hitting an E-Stop. So if you want to avoid that effect, standard practice is to use a standard non-Safety $IN input signal to have the robot pause before opening the safety gate.

    Quote from Temp22

    Yes, that's what I meant. I thought they were called couplers.

    Depends. Many I/O modules are just that. "Couplers" are (at least, in my experience) bus couplers that are part of a "sliced" I/O, like the image below. The unit on the far left, with the RJ-45 and RS-232 ports and the status LEDs, is the Bus Coupler, and each "slice" to the right is a specific type of Input, Output, or Power module. The entire package together is usually referred to as an "I/O Module".

    That said, different regions probably use different terminology for the same items, so...


    Files

    KRC1-KRC2_X11_external circuit.pdf 22.7 kB – 2 Downloads
  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • February 17, 2025 at 3:21 PM
    • #15

    fieldbus modules come in different varieties.


    "fixed" fieldbus nodes include in same unit handful of I/O points and a communication module. this is handy when I/Os are distributed, but... it is more expensive since each and every node needs to have own communication module built in. this is specially not practical of you need whole bunch of IO points in one place. term fixed suggests that functionality as well as number of I/O points per module cannot change.


    "modular" fieldbus module address this by separating IOs from the communication module. this way you get cheap IO modules. you can connect whole bunch o them to a single communication module. in this case communication module is called "bus coupler" it is used to connect (couple) plain IO slices that have no fieldbus awareness to a suitable fieldbus. IO slices are always the same regardless of fieldbus (easier to keep in stock). or when converting project from one fieldbus to another (say from DeviceNet to EthernetIP or whatever), you only need to replace single component - the bus coupler.

    Images

    • image.png
      • 356.5 kB
      • 1,286 × 948
      • 3

    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

  • Temp22
    Posts
    19
    • February 17, 2025 at 4:24 PM
    • #16
    Quote from SkyeFire

    opening the Safety Gate circuit will have the same effect as hitting an E-Stop. So if you want to avoid that effect, standard practice is to use a standard non-Safety $IN input signal to have the robot pause before opening the safety gate.

    Is that because it would stop suddenly when the gate opens? So, the best option would be to make the robot stop in a controlled manner before stopping due to the door signal?


    Thanks to both of you for taking the time to explain the I/O modules to me, I’m still struggling with industrial concepts.:ola:

  • Online
    SkyeFire
    Reactions Received
    1,042
    Trophies
    12
    Posts
    9,388
    • February 17, 2025 at 7:00 PM
    • #17
    Quote from Temp22

    Is that because it would stop suddenly when the gate opens? So, the best option would be to make the robot stop in a controlled manner before stopping due to the door signal?

    Pretty much. "Stopping distance" and Stop Category (0,1,2) is an entire subject of its own. But as a general rule, it's preferable to avoid safety-stopping the robot while it's moving quickly too often. A Category 0 stop will slam the motor brakes on instantly and wear the brakes down. Cat-1 tries to use electrodynamic braking first to reduce (not eliminate) break wear. Cat-2 is not safety rated.

  • Temp22
    Posts
    19
    • February 17, 2025 at 7:36 PM
    • #18
    Quote from SkyeFire

    Category 0 stop will slam the motor brakes on instantly and wear the brakes down. Cat-1 tries to use electrodynamic braking first to reduce (not eliminate) break wear. Cat-2 is not safety rated.

    I can imagine performing a Category 0 and 2 stop, but how would a Category 1 stop be done? Is it through programming or a dedicated pin? Is slowing down the velocity enough?

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • February 17, 2025 at 7:36 PM
    • #19

    yes... every single stop for a robot (or whatever machine you control) should be programmed/handled (a controlled stop).

    safety stops are not meant to stop or pause process. they are there to protect human life and limb... at any cost... even if the machine or robot themselves get damaged or destroyed.

    if it "had to" come to a safety stop - it means someone did screw up...

    and that is why some companies take it very seriously, they don't want their production to be run by or relying on screwups.


    leaving on a coffee break does not constitute an emergency so it does not justify pressing EStop or tripping light curtain... normally this is all addressed by proper training but when users are abusive, one may implement modifications that require pass code or a physical key to recover/resume. this way when safety devices are tripped, supervisor or authorized employee will need to come out to confirm if use was justified and if any further actions are needed (training , process change, disciplinary actions for repeat violators who just want to use shortcuts...).

    this is why keyed emergency stop buttons exist. you can use them any time - press the button and robot or machine stop. but you cannot release it... it may take 10min for person with the key and clipboard to arrive but the upside is that equipment does not get abused, operators are following procedures as trained, without taking shortcuts.

    similarly, instead of acknowledge button, a key switch can be used. or if ack is on HMI, it may need an authorization code.

    Baomain Red Sign Emergency Stop Switch Push Button Weatherproof Push Button Switch 660V with Box Pack of 1

    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,267
    Trophies
    11
    Posts
    13,037
    • February 17, 2025 at 7:37 PM
    • #20
    Quote from Temp22

    I can imagine performing a Category 0 and 2 stop, but how would a Category 1 stop be done? Is it through programming or a dedicated pin? Is slowing down the velocity enough?

    read the manual...

    stop0 and stop1 are safety stops - you do not program them - they are "hardwired" into safety of safety inputs.

    stop0 is normally performed when safety stop is triggered but malfunction or misconfiguration are detected. in that case robot applies brakes and motors are short circuited. this produces very violent stop and robot is in no way able to stay on programmed path. if initial velocity was high, robot may end up quite a way from programmed path. (like a derailed train)

    stop1 is normally performed when safety stop is triggered but other than that system is healthy. in that case robot will try to perform controlled stop for about 1 -1.2 seconds (KSS version and KRC hardware dependent). it means robot is decelerating while staying on the programmed path... until the mentioned time of about 1-1.2 second is expired. after that system switches behavior to that of stop 0 (brakes applied, motors short-circuited so no control). if robot did not come to a stop by now, it will derail too, but - since the speed by now is reduced, it is not going to get too far from path.

    stop2 is when programmed motion reaches target point (robot comes to stop and it is on path). this is NOT safety rated response.

    it is also possible that malfunction occurs during stop. for example Estop normally triggers stop1. but in case of malfunction (motor or drive burns out, or X20-X30 cable is disconnected or mains power goes out or similar) that occurs short time after stop was triggered (shorter than this ~1sec.). for example this happens after 0.378 seconds then situation is changed and system is defective or in no condition to continue controlling motors (and staying on path). in that case stop is promoted to stop0 immediately. normally this would mean quicker stop but earlier "derailment". in some cases stop may take longer too - for example if the brakes have failed

    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

Tags

  • KUKA
  • KR C2
  • Ethernet
  • MODBUS
  • Ethernet IP
  • Schneider
  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