I built an OX CNC using my v1 Smoothieboard 5XC and it’s working 99% right now. I just ran a test file and everything is moving in the correct direction with the correct distances.
Now that it works, it’s time to tune it up. The problem I’m having is with the Y stepper motors. In the attached photo Y is left to right. Those 3 squares should all be in a straight line, not staggered. One Y motor (the one with the longer wires) seems to be lagging the other Y motor in starting and stopping. At times the lagging (or lack of movement) is causing the opposite (leading motor) side, to misstep. I am at a loss of what I should try first. Are there known ‘safe’ configurations for steps, current, etc. that I should try in the config file. I doubt the belts are too tight since I can lift one end and the whole gantry will slide down to the other end. There are so many variables in this that I’m not sure what I should troubleshoot first.
SETUP:
My motors are MOTECH 2.8A 1.8deg/step motors and both sides are identical except for their opposite rotation.
I am taking the signal from the Beta Step, Enable, and Dir pins and running those in parallel to the negative inputs on 2 separate motor controllers on TB6600 motor controllers. The + on the TB6600s are going to the smoothie endstop ground pins. I originally tried to connect the motors in serial; from the smoothie to TB6600 (+Y) to TB6600 (-Y) with the same results.
The first question should probably be is my wiring OK? Can I tee off the commands and go to 2 motors? If not, can I go to 1 motor and then jumper the motors?
Once that is answered then are my config file settings OK? After that, I don’t know what to check. Any help is greatly appreciated!
Config file settings:
Robot module configurations : general handling of movement G-codes and slicing into moves
default_feed_rate 3000 # Default rate ( mm/minute ) for G1/G2/G3 moves
default_seek_rate 3000 # Default rate ( mm/minute ) for G0 moves
mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for
# these segments. Smaller values mean more resolution,
# higher values mean faster computation
mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian
# coordinates robots ).
Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
alpha_steps_per_mm 53.33 # Steps per mm for alpha stepper. 53.33 GT3 belt with 20T pulley
beta_steps_per_mm 53.33 # Steps per mm for beta stepper
gamma_steps_per_mm 400 # Steps per mm for gamma stepper
Planner module configuration : Look-ahead and acceleration configuration
planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
acceleration 3000 # Acceleration in mm/second/second. was 3000
z_acceleration 500 # Acceleration for Z only moves in mm/s^2, 0 uses acceleration which is the default. DO NOT SET ON A DELTA
acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
junction_deviation 0.05 # Similar to the old “max_jerk”, in millimeters,
# see https://github.com/grbl/grbl/blob/master/planner.c
# and Configuring Grbl v0.8 · grbl/grbl Wiki · GitHub
# Lower values mean being more careful, higher values means being
# faster and have more jerk
#z_junction_deviation 0.0 # for Z only moves, -1 uses junction_deviation, zero disables junction_deviation on z moves DO NOT SET ON A DELTA
#minimum_planner_speed 0.0 # sets the minimum planner speed in mm/sec
Stepper module configuration
microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
Cartesian axis speed limits
x_axis_max_speed 30000 # mm/min
y_axis_max_speed 30000 # mm/min
z_axis_max_speed 300 # mm/min
Stepper module pins ( ports, and pin numbers, appending “!” to the number will invert a pin )
alpha_step_pin 2.0o # Pin for alpha stepper step signal
alpha_dir_pin 0.5o # Pin for alpha stepper direction
alpha_en_pin 0.4o! # Pin for alpha enable pin
alpha_current 2.0 # X stepper motor current
alpha_max_rate 30000.0 # mm/min
beta_step_pin 2.1o # Pin for beta stepper step signal
beta_dir_pin 0.11o! # Pin for beta stepper direction
beta_en_pin 0.10o! # Pin for beta enable
beta_current 2.0 # Y stepper motor current
beta_max_rate 30000.0 # mm/min
gamma_step_pin 2.2o # Pin for gamma stepper step signal
gamma_dir_pin 0.20o # Pin for gamma stepper direction
gamma_en_pin 0.19o! # Pin for gamma enable
gamma_current 1.68 # Z stepper motor current
gamma_max_rate 300.0 # mm/min