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. Fanuc 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

External axis: Mastering, UN-Mastering, and changing gear ratio

  • SkyeFire
  • June 7, 2022 at 4:49 PM
  • Thread is Unresolved
  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 7, 2022 at 4:49 PM
    • #1

    (R30iB+, V 9.3)

    G'day, all. Today, I'm doing my first fresh-from-the-box setup of a Fanuc with an independent (Group 2) 7th axis. It's just running a rotary index table, shouldn't be anything too hard.

    Now, I've managed to Master and calibrate G2A1, and it moves fine, but: The customer wants the axis "zero" to be different from what I originally set, and my default gear ratio is obviously way off -- the turntable only rotates about 10deg when the pendant POSN display shows it moving 100. I'm still waiting on the gearing ratio data from the gearbox manufacturer, but once I get it, what's the process to change that setting in the robot?

    To un-Master, do I just set the DMR_GRP[2].$MASTER_DONE to False?

  • Go to Best Answer
  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • June 7, 2022 at 7:05 PM
    • #2

    The gear ratio should be in the Maintenance menu while in a controlled start.

    You don't really need to 'unmaster' it. Just remaster it with a single axis master in the new 0 position. Setting master done to false disables the current mastering but does not delete it.

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 7, 2022 at 7:38 PM
    • #3

    Ah! Okay, I'm used to KUKAs, where you have to explicitly un-Master an axis before you can re-Master it.

    Anyway, I did the Single Axis Master and it looks fine. Which leads me to my next question: this turntable, as built, has a Mastering vernier/marking-set from the manufacturer... but this zero doesn't line up with the "zero" that the customer wants. I was thinking that, under Controlled Start>Maintenance, the "Mastering Position" setting would allow me to create an offset between the "Mastering" position and the "zero deg" position. But it doesn't seem to work that way, when I tried it. Do I need to just ignore the vernier marks, jog the axis to the 0deg the customer wants, and re-Master it again?

    On a related note, I did find the Gear Ratio setting under Maintenance, and changed it to match the turntable gearbox.

    On another related note: under the Controlled Start>Maintenance menu, does the setting Motion Sign let you reverse the +/- direction of an axis? I got lucky with my axis, but for a bit I was thinking I might have to invert/negate it.

  • Hazard
    Reactions Received
    15
    Trophies
    3
    Posts
    55
    • June 7, 2022 at 8:27 PM
    • #4

    Just put new vernier marks that line up with your new zero. No one will ever know the difference.

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,505
    • June 7, 2022 at 9:13 PM
    • #5

    Yes, the motion sign is a bit of a crap shoot. It works exactly as you think it does.

    If you want to make the Vernier useful without moving them, zero master where the customer wants it, then jog so that the Vernier is lined up. Record this position. Then go back through the maintenance setup at controlled start, and when it ask for the mastering position, enter that value. When you do a single axis master now that will be the default zero position.

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 7, 2022 at 10:05 PM
    • #6
    Quote from pdl

    If you want to make the Vernier useful without moving them, zero master where the customer wants it, then jog so that the Vernier is lined up. Record this position. Then go back through the maintenance setup at controlled start, and when it ask for the mastering position, enter that value. When you do a single axis master now that will be the default zero position.

    Hah! Thank you! That worked perfectly (once I remembered to to the Calibrate after the Single Axis Master).

    Quote from pdl

    Yes, the motion sign is a bit of a crap shoot. It works exactly as you think it does.

    Thanks. I'll keep that in mind for the future.

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,505
    • June 7, 2022 at 11:39 PM
    • #7

    Glad to hear that worked. I've never had the chance to do it before, but I always thought it would work.

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 8, 2022 at 2:51 PM
    • #8
    Quote from pdl

    Glad to hear that worked. I've never had the chance to do it before, but I always thought it would work.

    :icon_eek:

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,505
    • June 9, 2022 at 5:35 AM
    • #9

    Normally I would make sure to remind people to take backups and be cautious, but it's pretty obvious from your post in this thread, not to mention your 7k+ other ones, that you know what you're doing with this procedure.

    Besides, I'm sure you had a backup already :winking_face:

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 9, 2022 at 3:32 PM
    • #10
    Quote from pdl

    Besides, I'm sure you had a backup already :winking_face:

    :icon_eek: :sadsmiley:

    No, just kidding! :gibbo: I definitely did have backups before I started meddling.

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • June 13, 2022 at 2:44 PM
    • Best Answer
    • #11

    If I may add, you don't need any gearbox or reducer data to calculate the gear ratio.

    1) declare and master the external axis in Controlled start under maintenance, use the Vernier marks for zero as this mastering is only temporary.
    2) Boot into Cold Start, go to STATUS > PULSE. Be sure to choose Group 2 from UTIL menu and write down the Pulse count. Your external axis should be aligned to the Vernier marks.
    3) Jog the external axis 1 full rotation until it is realligned with the Vernier marks. Substract the pulse count of the full rotation from the pulse count obtained from the previous step and divide by 1.000.000.
    I am 90% certain, αi/βi series motors use 1 million pulses/revolution encoders but you can verify that on the motor manual and the manual number is posted on the motor sticker.
    4) By dividing the difference in pulses for a full rotation by the ppr (pulses per revolution) of the encoder you get the motor shaft revolutions required for a full rotation, you return to maintenance in Controlled start and modify the gear ratio of the motor you added.

    5) you can now remaster your axis by performing a Cold Start and jogging the axis to your prefered position.

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • June 13, 2022 at 2:49 PM
    • #12
    Quote from ps0f0r

    3) Jog the external axis 1 full rotation until it is realligned with the Vernier marks.

    That's what I ended up doing -- as it turns out, the mfgr data for the gearbox was incorrect or incomplete.

    Although I simply rotated it 360deg until the vernier lined up again, calculated the ratio between 360 and the POSN value the pendant showed for J7, then adjusted the gear ratio again. Worked a treat (well, the second time -- the first try, I got the ratio backwards and made the problem worse).

    Now, at 0 and 360, the verniers line up perfectly. I imagine that if the axis were to be used in an infinite-rotation style (which is is physically capable of), any rounding errors would build up over distance, but this application has J7 limited to between 0 and +360deg, so it's not an issue.

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • June 13, 2022 at 3:02 PM
    • #13
    Quote from SkyeFire

    That's what I ended up doing -- as it turns out, the mfgr data for the gearbox was incorrect or incomplete.

    Although I simply rotated it 360deg until the vernier lined up again, calculated the ratio between 360 and the POSN value the pendant showed for J7, then adjusted the gear ratio again. Worked a treat (well, the second time -- the first try, I got the ratio backwards and made the problem worse).

    Now, at 0 and 360, the verniers line up perfectly. I imagine that if the axis were to be used in an infinite-rotation style (which is is physically capable of), any rounding errors would build up over distance, but this application has J7 limited to between 0 and +360deg, so it's not an issue.

    Pulsecoders never lie. You just need to be sure about the ppr of the motor.

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,505
    • June 13, 2022 at 3:30 PM
    • #14
    Quote from ps0f0r

    Pulsecoders never lie. You just need to be sure about the ppr of the motor.

    But a Vernier read by human eyes does lie, if only just a little.

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • June 13, 2022 at 3:46 PM
    • #15
    Quote from pdl

    But a Vernier read by human eyes does lie, if only just a little.

    For the procedure I mentioned above you dont care about the human error involved when you use the verniers to identify the gear ratio from the pulse coder count. That is because even if you miss the vernier by lets say .2 mm you still get the gear ratio by dividing the pulses by the ppr of the motor. The division will give you something like 5,04 or 5,0008 but you have still identified the gear ratio being 5.

  • Matthew Brincefield
    Trophies
    1
    Posts
    1
    • February 19, 2024 at 5:48 PM
    • #16
    Quote from SkyeFire

    Now, at 0 and 360, the verniers line up perfectly. I imagine that if the axis were to be used in an infinite-rotation style (which is is physically capable of), any rounding errors would build up over distance, but this application has J7 limited to between 0 and +360deg, so it's not an issue.

    Similar to the OP but I have an application where this is used in an infinite rotation style (continuous turn). How would I correct for the rounding errors?

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • February 19, 2024 at 8:24 PM
    • #17
    Quote from Matthew Brincefield

    Similar to the OP but I have an application where this is used in an infinite rotation style (continuous turn). How would I correct for the rounding errors?

    Well, there's probably no way to completely eliminate them. However, they can probably be eliminated over a reasonable working range. Instead of rotating once and setting the ratio, rotate multiple times, check the vernier, and adjust the gear ratio accordingly. It's the same process, but with a longer baseline. The more rotations, the longer the baseline and the less rounding error. At some point, you'll hit the mathematical precision limit of the controller, but that will depend a lot on your physical gearing.

  • Sarang Patel
    Posts
    3
    • January 21, 2025 at 8:46 PM
    • #18
    Quote from SkyeFire

    (R30iB+, V 9.3)

    G'day, all. Today, I'm doing my first fresh-from-the-box setup of a Fanuc with an independent (Group 2) 7th axis. It's just running a rotary index table, shouldn't be anything too hard.

    Now, I've managed to Master and calibrate G2A1, and it moves fine, but: The customer wants the axis "zero" to be different from what I originally set, and my default gear ratio is obviously way off -- the turntable only rotates about 10deg when the pendant POSN display shows it moving 100. I'm still waiting on the gearing ratio data from the gearbox manufacturer, but once I get it, what's the process to change that setting in the robot?

    To un-Master, do I just set the DMR_GRP[2].$MASTER_DONE to False?

    which cable did you used for j7 in the controller?

  • Online
    SkyeFire
    Reactions Received
    1,039
    Trophies
    12
    Posts
    9,375
    • January 21, 2025 at 9:38 PM
    • #19
    Quote from Sarang Patel

    which cable did you used for j7 in the controller?

    I don't know. The robot was ordered with the 7th axis from Fanuc, and assembled before I arrived on-site.

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