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

Understanding pulses, encoders and mastering.

  • paul892
  • January 20, 2023 at 2:27 PM
  • Thread is Unresolved
  • paul892
    Reactions Received
    2
    Trophies
    3
    Posts
    6
    • January 20, 2023 at 2:27 PM
    • #1

    Hello All,

    I'm using a standard positioner to spin my products around while I spray them with the robot. For convenience this can mean spinning them more than 360° on the positioner - sometimes more than 2 or 3 full revolutions. When the program finishes I don't want to wait while the positioner spins back 1080° or more so I found a method to allow me to simply move the positioner to the closest multiptle of 360 and then re-master it so that it's back at zero again. I did this a few years ago but the machine hasn't had any serious use until now. The word from my customer is that its home position is now not straight, and they think it is getting worse.

    So I now think that every time I remaster it there must be a small error - which when done again and again is leading to a noticeable issue. This is the code I use after I send the robot to the nearest multiple of 360:-

    17: WAIT ($DMR_GRP[2].$SPC_MOVE[1]=0) ;

    18: $MCR_GRP[2].$MASTER_TYPE=(1) ;

    19: $DMR_GRP[2].$MASTER_COUN[1]=($DMR_GRP[2].$SPC_COUNT[1]) ;

    20: $MCR_GRP[2].$CALIBRATE=(1) ;

    21: WAIT ($MCR_GRP[2].$CALIBRATE=0) ;

    So the idea is we wait till the robot has reached the position I send it to, then we set the master type. Then I copy the current encoder count into the master count variable and then activate the master flag. Then we wait till complete and we're good to go.

    Can anyone see any major error with what I've done? All I can think of is that if I send the positioner to 720.000 but it doesn't end up bang on then I'm introducing a small error. I was going to ask about the relationship between the encoder count and degrees, because if I knew exactly how many encoder count pulses was in a full revolution then I'd know if I had a small error.

    Thanks in advance for any advice!

    Cheers!

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

  • mastering
  • POSITIONER
  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