Scaling problem -GcodeCNCDemo4AxisCNCShield

Home Forum Everything Else Scaling problem -GcodeCNCDemo4AxisCNCShield

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29151
    jnk_ws
    Participant

    Hello,

    I am new here in the forum. I downloaded your code “GcodeCNCDemo4AxisCNCShield” to control my CNC milling machine. The milling machine is driven with a M8 threaded rod (pitch 1.25mm). The motors are in half-step mode. I have made the following settings in the software:

    #include <Arduino.h>
    #define VERSION              (2)                      // firmware version
    #define BAUD                 (115200)                 // How fast is the Arduino talking?(BAUD Rate of Arduino)
    #define MAX_BUF              (64)                     // What is the longest message Arduino can store?
    #define STEPS_PER_TURN       (400)                    // depends on your stepper motor. Motor wird im Halbschritt betrieben
    #define STEPS_PER_MM         (320)                // M8 Gewindestange = 1,25mm Steigung
    #define MAX_FEEDRATE         (1000)
    #define MIN_FEEDRATE         (1)
    #define NUM_AXIES            (8)

    Nevertheless, the resolution on the axes does not fit. Can someone help?

    Greetings
    Janik

    #29154
    Dan
    Keymaster

    Can you tell the motors to move enough to turn the screw one, exactly?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.