Results 1 to 4 of 4

Thread: Accumulated pulses?

  1. #1
    Registered
    Join Date
    May 2008
    Location
    USA
    Posts
    148
    Downloads
    0
    Uploads
    0

    Accumulated pulses?

    Long time lurker, first time poster. I checked the FAQ's and didn't find what I was looking for, but I'm sure its been covered somewhere.

    Does the 320 'accumulate' pulses if the pulses are coming faster than the motor is moving?

    The reason I ask, I have just picked up a CNC mill with a vintage 1980's control system which I want to retrofit. BTW Bostomatic has the most detailed documentation I've ever seen. They discuss pulses being 'added' to an error counter while encoder pulses 'subtract' from the error counter. The voltage to the DC servo motor is proportional to the number in the error counter.

    I'm sure many, many more questions to come.

    MattTheNoob


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22211
    Downloads
    0
    Uploads
    0
    No. The G320 tries to move the motor as the steps are received. The motor can lag behind the commanded position by up to 128 encoder counts, but if the motor is out of position by more than 128 counts, the drive will fault.

    However, after rereading your post a few times, I guess you could say that it does??

    The drive will always try to move the motor to the commanded position, but if the motor can't keep up, it's allowed to lag behind by up to 128 counts, but it'll always be trying to catch up if it can. I can't tell you how the drive does this internally, but they would appear to operate similarly.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    Page 5 of the PDF has a block diagram of the drive.
    http://www.geckodrive.com/upload/G320-REV-7-Manual.pdf

    The step/dir go the clock and up down inputs of an 8 bit up down counter and the phase signals from the encoder go to the clock and up down inputs of a second counter. the outputs of the two counters go to an adder where a summing operation happens (the encoder count subtracted from the step/dir count) to get a digital error signal. If the step/dir count is larger then the encoder count you get a positive error and need to speed up the motor, if the step/dir count is smaller the error is negative and the power to the motor needs to be reduced or even made negative to drive the motor in the opposite direction.
    These 8 bit counters and the adder are why the following error is limited to 128 counts, the max value of a signed 8 bit word.

    The error signal is converted to analog and then feed to the PID amplifiers and the resulting command signals are summed and feed to the PWM to drive the power amp to drive the motor.


  4. #4
    Registered
    Join Date
    May 2008
    Location
    USA
    Posts
    148
    Downloads
    0
    Uploads
    0
    Excellent! Thanks guys.

    It sounds like the servo systems of the Bostomatic work like the geckos, only rather than in a neat, palm-sized package, it's a refridgerator-sized electrical panel.


Similar Threads

  1. Newbie- Controlling Servo Drives With Pulses
    By Mert-G in forum Servo Motors and Drives
    Replies: 3
    Last Post: 02-04-2008, 05:50 PM
  2. MAZAK Accumulated Hours
    By Depoman in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 0
    Last Post: 01-30-2007, 10:09 AM
  3. What do the step and direction pulses do?
    By phantomcow2 in forum Stepper Motors and Drives
    Replies: 5
    Last Post: 03-21-2006, 12:32 PM
  4. Mach2, pulses per sec, inches per min
    By Bloy2004 in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 11-16-2004, 07:56 AM
  5. Step Pulses per second?
    By thielert in forum TurboCNC
    Replies: 2
    Last Post: 11-06-2003, 01:35 PM

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.