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

Rotary angle does not match

  • happytriger2000
  • December 9, 2013 at 11:48 AM
  • Thread is Resolved
  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 9, 2013 at 11:48 AM
    • #1

    I'm having problem with the rotary gear ratio, I jog the rotary axis (8th axis) E2 to 90 degree but it gives me around 52 degree, How do I correct this?

  • Greedy
    Guest
    • December 9, 2013 at 12:04 PM
    • #2

    ask to designer for gear box ratio and write correct values to below line at $machine.dat

    $RAT_MOT_AX[8]={N 0,D 1} ;UEBERSETZUNG MOTOR-ACHSE N = ZAEHLER, D = NENNER

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 9, 2013 at 1:09 PM
    • #3

    Thanks.
    I had a look at the Machine data and $RAT_MOT_AX[8] is:

    $RAT_MOT_AX[8]={N 3119556,D 10000}.
    Tweak around the N value, when set N = 185, then jog the rotary axis to 90, it gives 32.5 degree.
    then tried $RAT_MOT_AX[8]={N 512.30,D 1}, gives 86 degree.
    $RAT_MOT_AX[8]={N 5135.30,D 10}, 88degree~89degree....
    Is this method accurate?

    Edited once, last by happytriger2000 (November 18, 2015 at 3:18 PM).

  • eusty
    Reactions Received
    6
    Trophies
    4
    Posts
    721
    • December 9, 2013 at 1:16 PM
    • #4
    Quote from happytriger2000


    Thanks.
    I had a look at the Machine data and $RAT_MOT_AX[8] is:

    $RAT_MOT_AX[8]={N 3119556,D 10000}.
    Tweak around the N value, when set N = 185, then jog the rotary axis to 90, it gives 32.5 degree.
    then tried $RAT_MOT_AX[8]={N 512.30,D 1}, gives 86 degree.
    $RAT_MOT_AX[8]={N 5135.30,D 10}, 88degree~89degree....
    Is this method accurate?

    Display More

    What that actually references is the reduction ratio, meaning your external table has a 513.53:1 ratio. I think $RAT_MOT_AX is an integer so {N 51353, D 100} would be the correct way to express this.

    As has been said check the gearbox ratio :icon_smile:

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 9, 2013 at 5:21 PM
    • #5

    Eusty,
    It meant to be N5135, D10 not N 5135.30,D 10, :icon_wink:.. , I'm aware of the integer.
    Browsing through my photo library to see if I can find the rotary image with spec. sticker on it, this is the closest one:

    I mentioned about this gear reducer before, it was taken from a KR125 A3 joint, need some info. on this Kuka gear reducer.

    Edited once, last by happytriger2000 (November 17, 2015 at 8:30 AM).

  • eusty
    Reactions Received
    6
    Trophies
    4
    Posts
    721
    • December 9, 2013 at 6:33 PM
    • #6

    We have used KR125's in the past, so I'll check an archive tomorrow...just got to remember!!

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 10, 2013 at 12:54 AM
    • #7

    Thanks man, really need to get this done so I can test all 8 axes for milling.

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • December 10, 2013 at 3:49 AM
    • #8

    My old backup for a KR125 says $RAT_MOT_AX[3]={N -185,D 1}. Which seems quite far off from what you're getting experimentally.

    Working out $RAT_MOT_AX empirically is entirely legitimate. I've done it many times. The trick is that you have to have a means of measuring the actual physical rotation of the axis accurately. Your calibration will be only as good as your measurements, obviously.

    Are you sure that's an A3? It sure doesn't look like an A3, more like A4 or A6. Are you using the same motor, or a different motor? The motors also have internal gearing, declared in $RAT_MOT_ENC. If you've swapped motors around, that would be an additional factor. KUKA motors generally have a RAT_MOT_ENC of 1/3 or 1/4.

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 10, 2013 at 5:02 AM
    • #9

    Hi sky,
    That gear reducer was purchased from a ex kuka Tw technician and he said it is a A3 of KR125 and the MADA for this axis is: $RAT_MOT_AX[8]={N185, D 1} before dis-assembled.
    My measuring equipment is this inclinometer, I wouldn't say is an accurate measuring tool but good enough for rough measurement:

    The diameter is very close to A3 on KR2210, can't be A4 or A6. I measured it just now:
    It is around 323mm Diameter

    The servo motor of E2:


    Edited once, last by happytriger2000 (November 18, 2015 at 3:20 PM).

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 10, 2013 at 7:52 AM
    • #10

    While I was tweaking the $RAT_MOT_AX[8] N value when save and exit return to navigator screen, highlight R1---> Program it loads very slow, even when highlighting other folder, then I use crtl + ESC to restart windows...REBOOTING.... after entering KSS on thr right screen where the window shows all axis value in X, Y, Z, E1, E2 all described Invalid value....the numbers appeared after I started jogging -Y, but only A4 rotates no matter I jog X Y Z, so what's going on here?

  • Fubini
    Reactions Received
    283
    Trophies
    9
    Posts
    1,904
    • December 10, 2013 at 9:12 AM
    • #11

    Undefined tool/base after boot up + Alpha 5 singularity and cartesian jogging?

  • eusty
    Reactions Received
    6
    Trophies
    4
    Posts
    721
    • December 10, 2013 at 1:31 PM
    • #12

    KR125, KRC1 controller

    s/n 787483

    Code
    $RAT_MOT_AX[1]={N -184,D 1}
    $RAT_MOT_AX[2]={N -184,D 1}
    $RAT_MOT_AX[3]={N -185,D 1}
    $RAT_MOT_AX[4]={N 1284,D 11}
    $RAT_MOT_AX[5]={N 108,D 1}
    $RAT_MOT_AX[6]={N -1575,D 22}

    Older version with (I think) TJ gearbox

    s/n 724633

    Code
    $RAT_MOT_AX[1]={N -1904,D 10}
    $RAT_MOT_AX[2]={N -1904,D 10}
    $RAT_MOT_AX[3]={N 1904,D 10}
    $RAT_MOT_AX[4]={N 1284,D 11}
    $RAT_MOT_AX[5]={N 108,D 1}
    $RAT_MOT_AX[6]={N -1575,D 22}
  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 10, 2013 at 3:21 PM
    • #13
    Quote from eusty


    KR125, KRC1 controller

    s/n 787483

    Code
    $RAT_MOT_AX[1]={N -184,D 1}
    $RAT_MOT_AX[2]={N -184,D 1}
    $RAT_MOT_AX[3]={N -185,D 1}
    $RAT_MOT_AX[4]={N 1284,D 11}
    $RAT_MOT_AX[5]={N 108,D 1}
    $RAT_MOT_AX[6]={N -1575,D 22}

    Older version with (I think) TJ gearbox

    s/n 724633

    Code
    $RAT_MOT_AX[1]={N -1904,D 10}
    $RAT_MOT_AX[2]={N -1904,D 10}
    $RAT_MOT_AX[3]={N 1904,D 10}
    $RAT_MOT_AX[4]={N 1284,D 11}
    $RAT_MOT_AX[5]={N 108,D 1}
    $RAT_MOT_AX[6]={N -1575,D 22}


    Thanks Eusty.
    $RAT_MOT_AX[3]={N -185,D 1}
    $RAT_MOT_AX[3]={N 1904,D 10}
    My current N value is $RAT_MOT_AX[8]={N 514,D 1} and it is very near to 90 degree when E2 is jogged to 90.004xx.
    I have to jog E2 every time I change the N value to check the inclinometer, how do I run a program that turn E2 only to 90, 180, 270 degree?

  • eusty
    Reactions Received
    6
    Trophies
    4
    Posts
    721
    • December 10, 2013 at 3:33 PM
    • #14

    PTP {E2 90.0} etc


    Sent using Tapatalk 4

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • December 10, 2013 at 4:05 PM
    • #15

    A kr125/1 A 3 is
    N 1904, D 10 if that sounds more like it
    :angel:

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 10, 2013 at 4:15 PM
    • #16

    Thank you all, will try that tomorrow.

  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • December 10, 2013 at 6:35 PM
    • #17
    Quote from eusty


    PTP {E2 90.0} etc


    Sent using Tapatalk 4

    However, make sure to always put the axis at 0 before you change $RAT_MOT_AX, otherwise that PTP {E2 90} command will not accurately reflect what the axis is actually doing. Basically, changing $RAT_MOT_AX when the axis is not physically at 0 will throw off your zero position until you re-master.
    PTP_REL {E2 90} will generate a purely relative move starting from wherever the axis is when the command is executed, without needing to worry about the axis' absolute position.

  • the leg
    Reactions Received
    4
    Trophies
    4
    Posts
    643
    • December 10, 2013 at 7:14 PM
    • #18

    THe last one i did i rotated it to 360 then just adjusted the value till i got the figure i wanted in monitor robot position then it was all ok never had to remaster mmm

    i might need to check it again !

    but the external kinamatics worked fine as well ???

  • happytriger2000
    Trophies
    4
    Posts
    327
    • December 11, 2013 at 2:40 AM
    • #19
    Quote from SkyeFire

    However, make sure to always put the axis at 0 before you change $RAT_MOT_AX, otherwise that PTP {E2 90} command will not accurately reflect what the axis is actually doing. Basically, changing $RAT_MOT_AX when the axis is not physically at 0 will throw off your zero position until you re-master.
    PTP_REL {E2 90} will generate a purely relative move starting from wherever the axis is when the command is executed, without needing to worry about the axis' absolute position.

    I forgot to say when the E2 return to Home position is not actually @ 0 degree, it is 1 degree off, to correct this do I jog E2 to 0 degree then Setup > Master > Dial?

    "The motors also have internal gearing, declared in $RAT_MOT_ENC. If you've swapped motors around, that would be an additional factor. KUKA motors generally have a RAT_MOT_ENC of 1/3 or 1/4."
    I will try these $RAT_MOT_AX[3]={N -185,D 1} and $RAT_MOT_AX[3]={N 1904,D 10} and see what I get in the inclinometer, if it turns out to be somewhere between 50~70 degree, then does it mean I have to do something with RAT_MOT_ENC?.
    Is it correct if I say the N value is equivalent to pulse?, like those in Stepper motor drive where stepper motor turn 1.8 degree per pulse and 360 degree = 200 pulse.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • December 11, 2013 at 5:40 AM
    • #20
    Quote


    "The motors also have internal gearing, declared in $RAT_MOT_ENC. If you've swapped motors around, that would be an additional factor. KUKA motors generally have a RAT_MOT_ENC of 1/3 or 1/4"

    there is no internal gearing (inside motor). this is motor/encoder position ratio which is number of poles of the motor (because for Kuka, motor and resolver must have same number of poles). in other words, on a 4 pole motor, 90deg motor shaft rotation produces full period sin/cos (2*pi) on resolver. kuka motors are actually built by Siemens. name plate of the motor contains both Siemens (1FK...) and Kuka part numbers (article number xx-xxx-xxx). you can download datasheet from Siemens website and confirm number of poles if you like.

    one motor pole (one period of sin/cos on resolver) is 4096 counts (12-bit) on a KRC2. for comparison, on a KRC4 it is 16-bit (65536 counts).
    so if we have a 3-pole motor, then one full motor revolution is 3x4096=12288 counts.
    and if we have a 4-pole motor, then one full motor revolution is 4x4096=16384 counts.

    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

    Edited once, last by panic mode (December 11, 2013 at 5:48 AM).

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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