cnc code

Discussion in 'General Electronics Chat' started by aac9876, Jan 29, 2011.

  1. aac9876

    Thread Starter Active Member

    Dec 9, 2006
    I looked at 10 different articles on cnc code and how it translates to gear tooth movement, Not 1 of them dealt with it...that is the actual why and how a point is reached by the code.....
    How does code move a gear tooth..??? is it 1 pulse from a capacitor equals
    one tooth?? or is it 1 millisecond moves a gear for so long along an axis??
    that is a 1 second code equals x amount length along the X axis...etc..
    what is the story..??
  2. BillB3857

    AAC Fanatic!

    Feb 28, 2009
    CNC (Computer Numerical Control) is based upon servo systems to generate motion. A series of command counters (one for each axis of motion) accept commands from the computer. A typical command would consist of motion data for each axis, a feed rate at which the vector of the motion should move, any acceleration or deceleration command, along with any auxiliary function such as spindle on/off, spindle speed, coolant on/off, etc. Depending upon whether the servo loop is digital or analog, the handling of the data is different. In the case of digital, stepper or brushless DC motors may be used. These devices accept step/direction commands where each step represents, through gearing, a particular amount of motion. Typical minimal commands are as small as 0.0002".

    Check out

    CNC, in the dark ages, was called Numerical Control and used punched paper tape as the data input.
    Someone decided that instead of having the computer punch a tape, it could be interfaced directly to the machine. Then the machine controls gained the ability to hold the programs internally, in their own computers.