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

Control connection between VFD and KRC2

  • PhunxamLinda
  • December 15, 2024 at 12:33 PM
  • Thread is Unresolved
  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 12:33 PM
    • #1

    Hello everyone, I know the topic I am about to discuss here has been asked by many people, and there have been many answers, I have also searched on this forum and many other forums, however, I found that this topic has not been fully supported and resolved. and most of the answers come from the administrators, very few other people who have completed it are willing to share. All administrators are good people and very busy, sometimes they are annoyed with repeated questions. So I would like to create another topic here, hoping to receive help from people who have experience completing similar projects, and of course, if the administrators have time to review and answer completely, that would be great. My topic is :
    With a project to build a CNC machine from an old KUKA (V)KRC2 ed05 robot from an Automotive equipment factory, (I think it was previously used for Welding purposes, as there are traces of Welding dust on it).
    Here are my available equipment.
    - Robot KUKA (V)KRC2 ed05 and the devices available in it and the External Turntable as described below:
    In this Robot I do not see the X11 Jack, but instead there are XS2 and XS3 Jacks cut off, a X22 Jack with 37 pins waiting, and on the CI3 board there is 1 X22 jack bridged to connect the pins to the pins together in the following order (Pin number 1 with 7; 2 with 9; 3 with 12; 4 with 10; 5 with 8; 6 with 11; 20 with 26; 21 with 28; 22 with 29; 23 with 27; 25 with 30). In addition, a signal and power connection wire from pin X801 of the MCF3 Card down to the Input Module DRT2-ID16-1 and Output XWT-OD16-1. (This module has been connected to 2 24V power wires).

    For VFD I have a Delta C2000 Inverter with model VFD110C43A connected to external power and connected to Spindle.
    An external 24V power source.
    A 24V Solenoid Valve to control the Pneumatic Tool Change.
    The question for this topic is:
    Apart from the available devices that I have listed above, is there any other additional device needed to control the Inverter on KRC2?
    How to connect the control signal pins on VFD and KRC2 to control (Spindle On and Off, Spindle Reverse and Forward, Spindle Speed Change).
    Connect the 24V pin of the Solenoid Valve.
    How to configure these I/O signals on KRC2.
    (I have read many documents, but this is my first time using a robot so I dare not connect without knowing for sure that it is safe, besides I do not have much finance to hire a foreign expert, I have also asked many experts in my country but they have not used KUKA and KRC2 so I am not sure). My English is not good so I use a translator so I hope you understand. I really hope to receive help from everyone and appreciate it. I will attach some pictures below, hope everyone takes the time to look at it.

    Images

    • KẾT NỐI TRUYỀN THÔNG1.jpg
      • 109.19 kB
      • 972 × 1,200
      • 16
    • KẾT NỐI TRUYỀN THÔNG2.jpg
      • 114.76 kB
      • 666 × 1,200
      • 17
  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 12:42 PM
    • #2

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 1:19 PM
    • #3

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 1:20 PM
    • #4

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 2:32 PM
    • #5

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 2:33 PM
    • #6

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 2:39 PM
    • #7

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 2:40 PM
    • #8

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 2:42 PM
    • #9

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 15, 2024 at 3:04 PM
    • #10

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 6:50 PM
    • #11

    signal to noise ratio is essential metric to determine quality of communication. the more noise is the signal, the lower the signal quality. some people are purposely introducing a lot of noise. they are called spammers. you may not be aware or do so on purpose but your communication contains a lot of noise. you question is actually several questions, each deserving own topic.

    Quote from PhunxamLinda

    In this Robot I do not see the X11 Jack, but instead there are XS2 and XS3 Jacks

    that was already discussed and you were told that your safety connector is XS2, and suitable jumper plug pinout for XS2 was shared.

    previous user did not want to deal with it. probably did not want to spend few hundred $$$ on Harting crimper and pin extractor tools. So he unplugged it, followed wires and made jumper plug on a lower cost DB plug. Job nicely done but unconventional.

    Quote from PhunxamLinda

    ...a signal and power connection wire from pin X801 of the MCF3 Card down to the Input Module DRT2-ID16-1 and Output XWT-OD16-1. (This module has been connected to 2 24V power wires).

    For VFD I have a Delta C2000 Inverter with model VFD110C43A connected to external power and connected to Spindle.

    ...

    Apart from the available devices that I have listed above, is there any other additional device needed to control the Inverter on KRC2?

    that depends on what you want to do. how do you want to control the VFD? if you only need start/stop you can use digital I/O. in fact the I/O you have on DRT2-ID16-1 and XWT-OD16-1 should do...

    if you also want to control the speed, it depends how many speeds you need. most VFDs will allow selecting 2 -4 different speeds using digital I/O. for more control you would need either an analog signal or have drive connected to fieldbus.

    and this is just standard connections (gray logic). this would allow control of the VFD. but this does not do anything for safety (which you have bypassed anyway, i guess safety is not a concern in your country).

    Quote from PhunxamLinda

    ...connect the 24V pin of the Solenoid Valve.

    the valve can connect directly to output(s) of XWT-OD16-1. if you need more I/O, you can add additional DRT2-ID16-1 and XWT-OD16-1. Just need to configure and map them to robot I/Os.

    Quote from PhunxamLinda

    How to configure these I/O signals on KRC2.

    DeviceNet configuration and I/O mapping is already discussed many times. You already have some DeviceNet I/O modules. Are they working already or need configuring? Check DevNet.INI and IOSYS.INI

    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

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 7:05 PM
    • #12

    your DeviceNet is not wired correctly - i see no terminating resistor on both sides of the bus.

    MFC side has one but i do not see the value:


    This is also needed at the other end of the BUS

    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

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 7:20 PM
    • #13

    Your I/Os have been assigned node address 10.

    i do not see anything to set bus speed so this product probably auto-detects bus speed used by MFC.


    since this is the only slave node your DevNet.ini should look something like:

    Code
    [krc]
    debug=0
    baudrate=500
    
    [1]
    macid=10


    and your IOSYS.INI should have DeviceNet driver enabled


    and the the I/O mapped.

    since you have

    DRT2-ID16-1 (16 digital inputs = 2 bytes worth of inputs) and
    XWT-OD16-1 (16 digital outputs = 2 bytes worth of outputs)

    the mapping in IOSYS.INI could look something like this:

    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

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 7:32 PM
    • #14

    that would be first milestone - testing I/O...

    if done correctly you should be able to control the outputs (toggle the on/off one by one).

    if this works you can connect solenoid valve to one of them, (say $OUT[1] is used for tool changer solenoid).

    you probably want to know if the tool changer is present... and if it is locked.

    this means connecting signals to inputs....

    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

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 7:40 PM
    • #15

    once the above is solved you can think of the next step... connecting VFD.

    if your VFD has DeviceNet option, you can add the VFD to DeviceNet network. In this case, the option is a module called CMC-DN01

    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

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 15, 2024 at 7:49 PM
    • #16

    if using THAT option you need to also:

    1. install/configure/enable that module in the VFD drive
    2. configure its DebviceNet settings. must use same speed as rest of the DeviceNet network (so far it was set to 500kbps) and must have unique node address (0 and 10 are already used, so maybe give it node address 11).
    3. modify DEVNET.INI so that second DeviceNet node is 11.
    4. in the IOSYS.INI map I/Os to node 11. make sure there is no overlap with mapping of signals for node 10.
    ...

    if NOT using that option, you can control VFD using I/O that was mapped in previous step - just like you did with tool changer.

    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

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 16, 2024 at 3:33 AM
    • #17

    Thanks admin for replying to me. Can you explain more about this? I really don't understand? about the I/O devices and the Jacks I haven't done anything on the control cabinet, I get it already like that? "signal to noise ratio is essential metric to determine quality of communication. the more noise is the signal, the lower the signal quality. some people are purposely introducing a lot of noise. they are called spammers. you may not be aware or do so on purpose but your communication contains a lot of noise".
    Here there is a resistor attached to the X801 jack.
    and the jack on the Omron IO Module I don't see? Do you think it is necessary to add a resistor there? It is already there like that but I haven't touched it yet.

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 16, 2024 at 3:43 AM
    • #18

    As for the X11 Jack or XS2, XS3 Jack, I understand what you meant before, I searched a lot of documents about KRC2 but I didn't see any documents talking about XS2, XS3 pins, maybe because I haven't found the right document for it. "that was already discussed and you were told that your safety connector is XS2, and suitable jumper plug pinout for XS2 was shared.

    previous user did not want to deal with it. probably did not want to spend few hundred $$$ on Harting crimper and pin extractor tools. So he unplugged it, followed wires and made jumper plug on a lower cost DB plug. Job nicely done but unconventional." On the X22 jack I saw that the pins were connected together and an external X22 waiting jack, so I was not sure to unplug the X22 and attach the X22 waiting Jack to it.

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • December 16, 2024 at 4:05 AM
    • #19
    Quote from PhunxamLinda

    Here there is a resistor attached to the X801 jack.
    and the jack on the Omron IO Module I don't see? Do you think it is necessary to add a resistor there?

    absolutely...


    you need terminating resistors at each end of the bus cable.

    the cable has two ends so you need resistor at each end.

    bus cable is essentially a transmission line. when signal is inserted, it travels along the cable in both directions away from insertion point. and once the signal reaches cable end, if reflects and goes back. then it reaches the other end of the cable and reflects again... this ringing is an interference that MUST be eliminated.

    one way to eliminate it is to use infinitely long cable. so signal will get weaker and weaker until it disappears completely. but infinitely long cables are not practical. so solution is to use special cable with known parameters. one of the parameters is characteristic impedance. for this cable that impedance is 121 Ohm. so if one places that resistor at the extreme ends of the bus, they simulate that cable is going to infinity and there is no reflection.

    but for this to work, one must place TWO resistors... one at each END of the bus cable.

    note, resistors are NOT placed at the ends of each cable segment. they are placed only at the far ends of the bus.


    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

  • PhunxamLinda
    Reactions Received
    1
    Posts
    171
    • December 16, 2024 at 4:13 AM
    • #20

    can you explain the meaning of this sentence to me? "note, resistors are NOT placed at the ends of each cable segment. they are placed only at the far ends of the bus." Thanks.

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

Similar Threads

  • replacement signal release part

    • Uros Marinkovic
    • November 20, 2024 at 3:54 AM
    • General Discussion of Industrial Robots Only
  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