I am connecting to this MKS SBASE board using a network cable from the computer to the MPCNC machine. It also does the same thing using the USB connection. I am able to manually move the motors with Repetier in the X, Y & Z. The problem comes in when I try to send a gcode file to it. It seems to start out ok, but then the Z motor seems to make a pulsing noise after it moves the Z-axis initially. Here is video I took showing that. You may have to turn your volume up near the end of the video to hear the noise. https://youtu.be/6k-c_yW2t18
Here is the simple gcode. It just draws a rectangle for the limits of the maze I am going to cut.
;Project 10x20_Outline_mm
;Created by Estlcam version 10 build 10.021
;Machining time about 01:14:42 hours
G90
G00 X0.0000 Y0.0000 Z0.0000
G00 Z2.0000
;No. 1: Engraving 1
G00 Z0.5000
G01 Z-1.0000 F6 S24000
G01 Y254.0000 F15
G01 X114.3000
G01 Y0.0000
G01 X0.0000
G00 Z2.0000
In Estlcam I used Marlin as the CNC program preset. I attached screen captures from the settings I used with Repetier-Host. I also tried using the Ping-Pong Communication method with the same result.
I am essentially using the config.txt file that Ryan created. I am not using limit switches for my testing to keep it simple.
Here are the only changes from Ryan’s file that I changed:
alpha_dir_pin 0.5!
beta_dir_pin 0.11!
gamma_dir_pin 0.20!
network.enable true
network.ip_address 192.168.1.100
network.ip_mask 255.255.255.0
network.ip_gateway 192.168.1.1 # the gateway address (address of laptop network card)
Anyone have any ideas as to what I am doing wrong?