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

KRC2 Error on writing , driver DN2DRV

  • bishoy naguib
  • June 27, 2019 at 12:36 PM
  • Thread is Resolved
  • bishoy naguib
    Trophies
    3
    Posts
    17
    • June 27, 2019 at 12:36 PM
    • #1

    Dear Sirs ,

    KUka KRC2 controller is connected to Fronius WElding machine through Devicenet connection

    there is krc2 error on writing , driver DN2DRV Error when i switch on any outputs related to this connection addresses from kuka controller side
    X801 is the responsible for this connection
    X801 have 5 pins
    pin1 ground
    pin2 can low
    pin 3 sheild
    pin 4 can high
    pin 5 +24 V

    when i measured the pins i found that pin 3 have 24 volt out from the controller module not from welding machine wago module ( 750-306 ).

    any help please ?

    thank you

    Edited once, last by bishoy naguib (June 27, 2019 at 6:26 PM).

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • June 27, 2019 at 2:29 PM
    • #2

    What is the history? Has this system been working until recently? Has anyone recently made any wiring changes?

    24V on Pin 3, relative to what other pins? What is the voltage between Pins 1 and 5?

    What are the status of the DeviceNet LEDs on the WAGO unit?

    What is supplying the 24VDC across Pins 1&5?

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • June 27, 2019 at 4:16 PM
    • #3

    bin?


    this is what Google thinks bin is and I agree:
    https://www.google.com/search?q=bin&r…iw=1170&bih=635

    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

  • bishoy naguib
    Trophies
    3
    Posts
    17
    • June 27, 2019 at 6:27 PM
    • #4

    Dear Panic mode

    I modified it

    thank you

    Edited once, last by bishoy naguib (June 27, 2019 at 6:45 PM).

  • bishoy naguib
    Trophies
    3
    Posts
    17
    • June 27, 2019 at 6:41 PM
    • #5

    Dear skyefire

    voltage between pin # 1 and pin # 5 is 24 volt DC
    the voltage between pin # 5 and pin # 3 is about 0VDC
    the voltage between pin # 1 and pin # 3 is about 24 VDC

    the voltage source of pin 1 & 5 is the KRC2 controller ( no external power supply )

    no new wiring for this controller , from long time ( from more than month ) i performed welding process on it and controlled outputs from controller to fronius through device net connection .
    first problem that may be loss its positions after switching off the power .
    second problem that i can't operate it autmatically ( only T1 - T2 ) with no errors
    then switched to another robot to complete the process and each time i went to site i switch on all robots even if no works on some of them


    from days i wanted to check the welding parameter so i noticed this error .


    the Devicenet LEDS ( LED1 and LED2 ) off
    WAGO Controller ( Connect led is flashing )

    thank you

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • June 27, 2019 at 8:47 PM
    • #6

    Shield need to be connected to GND at one point. So voltage 1-3 should be zero.
    Technically even if it is connected to positive rail, that should still work as DC supply has low internal resistance  (although... verrry awkward setup).

    My guess is that either cable is damaged somewhere (pinched or cut or burned through by weld spatter?). Maybe shield is just electrically floating (not connected) so there would still be something causing this bias (leakage current...?)

    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

  • Ferrous Ltd.
    Trophies
    1
    Posts
    1
    • April 8, 2023 at 3:51 PM
    • #7

    Hello, we have the same problem, we recently got the robot and we still can't launch it, do you have a solution?

  • chaszczu03
    Trophies
    1
    Posts
    2
    • April 8, 2023 at 8:03 PM
    • #8

    Hi,

    I'm also have a problems with connection between krc1 and beckhoff. If i have wrong connection between pin 1 (24v) and pin 5 (gnd) the beckhoff will start ( any light or live signals) ?

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • April 10, 2023 at 5:16 PM
    • #9
    Quote from Ferrous Ltd.

    Hello, we have the same problem, we recently got the robot and we still can't launch it, do you have a solution?

    Thread

    READ FIRST...

    how to post correctly:

    1. be a good citizen and follow common sense. this includes no sharing or asking for copyrighted material. such posts will get you banned (because we don't want Kuka legal team stepping in and request ban on all manuals). an example of something that will get you in trouble is any material from Kuka College.

    1.5 make SURE to post in the right forum section (manuals in manuals section, IIWA and Sunrise topics in IIWA section). see attached example for IIWA... sigh.. :tired:

    Please…
    panic mode
    June 5, 2016 at 4:30 PM

    IN order to provide any support, we need details first.

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • April 10, 2023 at 5:18 PM
    • #10
    Quote from chaszczu03

    I'm also have a problems with connection between krc1 and beckhoff. If i have wrong connection between pin 1 (24v) and pin 5 (gnd) the beckhoff will start ( any light or live signals) ?

    "Wrong connection" on what cable? Th DeviceNet cable?

    The Beckhoff bus coupler draws its power from the DeviceNet cable. So if the power is incorrect, the bus coupler will not operate, and will not activate any status lights.

  • Online
    panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,085
    • April 11, 2023 at 3:01 PM
    • #11

    it is amazing how many people are unable to express themselves and communicate the most basic things. and somehow they are entrusted in making modifications to production equipment including wiring, program and configuration changes etc.

    how is anyone supposed to help with question that does not contain a modicum of information? it does not take a genius to state few morsels along with problem description.

    what are the actual products?

    what are the interfaces?

    what are the settings?

    what is the wiring?

    what are the messages?

    cannot write or don't feel comfortable with English? use online translation and post photos. don't know what else one may offer...

    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

  • chaszczu03
    Trophies
    1
    Posts
    2
    • April 11, 2023 at 11:37 PM
    • #12

    You are rights. Many people don't feel fine when have to ask experts about something simple. I'm start my long journey whit kuka 2 week ago. Knowledge about robots - looks extra that's all. Who allows such a person to take care of the robot? ME! The owner of a extra small business.

    I bought scrap machines from the 70's 80's & 90's - repaired and upgraded them. Now I process 200 tons of steel a year. But I know one thing - it's better to ask a specialist about nonsense than to break something.

    Back to the main topic on the forum there is a lot of information that the beckhoff driver is connected backwards. I preferred to ask. after the answer came, I checked this connection. it doesn't work and nothing is burnt out.

    I will definitely be back with questions take more pictures and more correct english.

    Regards !

    Piotr

  • RoboCopo
    Trophies
    1
    Posts
    19
    • April 12, 2023 at 9:23 AM
    • #13

    Have you checked if all connected devices are connected and powered correctly? Had the same problem, welding machine didn't had supply.

    Kind regards.

  • ToccoEnorme
    Trophies
    1
    Posts
    34
    • October 4, 2023 at 10:03 AM
    • #14

    did you guys found the problem?

    I have a KRC2 - KR 100 2-PA

    I´m trying to use a WAGO device net 750-346, I have succesfully connected the device as the led "CONNECT" lights up green.(on devicenet)

    I can´t unfortunately see any INPUT and when I try setting an output I get the error message "Error on writing, driver: DN2DRV"

    My setup:

    Devicenet MACID = 10 so switch 2 and 4 are on

    Devicenet Baudrate 125k

    iosys.ini

    [DRIVERS]

    DEVNET=2,dnInit,dn2drv.o

    [DEVNET]

    OUTB0=10,0,x1 $DOUT[1-8]

    INB0=10,0,x1 $DOUT[1-8]

    (where should I expect my input and output? from bit 0 to bit 8 in my input/output list?)

    devnet.ini

    [krc]

    debug=0

    baudrate=125

    [1]

    macid=10

    [2]

    macid=12 (what is macid 2 used for??)

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • October 4, 2023 at 2:42 PM
    • #15
    Quote from ToccoEnorme
    Quote from ToccoEnorme

    devnet.ini

    [krc]

    debug=0

    baudrate=125

    [1]

    macid=10

    [2]

    macid=12 (what is macid 2 used for??)

    Display More

    DEVNET.INI contains a list of MACIDs to define the bus. Each [x] entry is for a different device. Is there a device present on the bus with a MACID of 12? If not, then delete the [2] entry entirely.

    Quote from ToccoEnorme

    [DEVNET]

    OUTB0=10,0,x1 $DOUT[1-8]

    INB0=10,0,x1 $DOUT[1-8]

    (where should I expect my input and output? from bit 0 to bit 8 in my input/output list?)

    OUTB0 is $OUT[1] to $OUT[8]

    INB0 is $IN[1] to $IN[8]

    Likewise, OUTB1 is $OUT[9] to $OUT[16], and INB1 is $IN[9] to $IN[16]

  • ToccoEnorme
    Trophies
    1
    Posts
    34
    • November 23, 2023 at 2:55 PM
    • #16
    Quote from SkyeFire

    DEVNET.INI contains a list of MACIDs to define the bus. Each [x] entry is for a different device. Is there a device present on the bus with a MACID of 12? If not, then delete the [2] entry entirely.

    OUTB0 is $OUT[1] to $OUT[8]

    INB0 is $IN[1] to $IN[8]

    Likewise, OUTB1 is $OUT[9] to $OUT[16], and INB1 is $IN[9] to $IN[16]

    Thank you skyfire!!

    I did canceled the second macID, it was something from the previus projekt the robot have been used for.

    I also wrote it as you said and it worked!

    my setup in iosys was :

    (9x2Channel DI

    2x2Channel DO)

    INB0=10,0,x3 ;$DIN[1-24]

    OUTB0=10,0,x1 ;$DOUT[1-8]

    "AT THIS POINT THE DEVICE NET WORKED UNTIL I HAD TO CHANGE SETUP"

    now I changed my setup as I needed more DI and DO, so now I have:

    (4x8Channel DI

    3x8Channel DO)

    INB0=10,0,x4 ;$DIN[1-32]

    OUTB0=10,0,x3 ;$DOUT[1-24]

    the devicenet is connected with no problem but I cannot see the input and cannot set output, but I don´t get any errors what so ever.

    any thoughts?

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • November 24, 2023 at 5:55 AM
    • #17

    Did you ever perform a cold boot since new config?

  • ToccoEnorme
    Trophies
    1
    Posts
    34
    • November 27, 2023 at 11:48 AM
    • #18
    Quote from hermann

    Did you ever perform a cold boot since new config?

    Yes I did, at least now, the robot have been off for the weekend.

    still no sign of input or output.

    would you also say that the syntax is right?

    can it be a defected module?

    I´m using wago 750-430 and 750-530

  • Online
    SkyeFire
    Reactions Received
    1,052
    Trophies
    12
    Posts
    9,429
    • November 27, 2023 at 3:19 PM
    • #19
    Quote from ToccoEnorme

    now I changed my setup as I needed more DI and DO, so now I have:

    (4x8Channel DI

    3x8Channel DO)

    INB0=10,0,x4 ;$DIN[1-32]

    OUTB0=10,0,x3 ;$DOUT[1-24]

    This looks correct. How are the various DI and DO slices arranged physically? Wago modules can be fussy about having all the input slices first, followed by the output slices (or vice versa, it's been a long time). You may want to dig into the Wago documentation, this will be in there (though not always easy to find).

    Quote from ToccoEnorme

    the devicenet is connected with no problem but I cannot see the input and cannot set output, but I don´t get any errors what so ever.

    any thoughts?

    What do the indicator lights on the Wago bus coupler show? If the KRC shows no errors, it's possible there's an issue between the Wago bus coupler and the DI/DO slices.

    IIRC, Wago slices get their communication power over the backplane (Data Contacts in the diagram), so they'll "talk" to the bus coupler, but they need power on the Power Jumper Contacts in order to actually perform I/O functions. If there's no power on those PJCs, that might explain what you're seeing.

    Most I/O slices I remember working with had separate wire terminals for I/O power (or at least the DO modules did), but the ones whose part numbers you listed appear not to. There may be a need for a separate "power" slice, in between the I/O slices and the bus coupler, to apply I/O power to the PJCs.

  • ToccoEnorme
    Trophies
    1
    Posts
    34
    • November 28, 2023 at 12:03 PM
    • #20

    I solved the problem by changing the input and output board, I don´t know why but the 8 channel module doesn´t work (it actually acted very strange, kind of black magic), I replaced them with 4 channel module instead, the 4 channel works as it should.

    it can be that the 4 channel module are powered individually while the 8 channel are powered by the pin on the back.

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

Users Viewing This Thread

  • 1 Guest
  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