Closed webnerdnick closed 3 years ago
Please try to send commands like G0X100 or G1X100F100 to see it the motors move. I'm not sure if Grbl is compatible with the jog commands of OpenBulids Control. You should also try if permanently enabling the stepper drivers with a jumper wire helps.
Hello, had a working configuration with the original mks sbase firmware and using external stepper controllers. My original config.txt looked like this:
`# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin ) alpha_step_pin 2.0 # Pin for alpha stepper step signal alpha_dir_pin 0.5 # Pin for alpha stepper direction alpha_en_pin 0.4 # Pin for alpha enable pin alpha_current 0.5 # X stepper motor current alpha_max_rate 7000.0 # mm/min
beta_step_pin 2.1 # Pin for beta stepper step signal beta_dir_pin 0.11! # Pin for beta stepper direction beta_en_pin 0.10 # Pin for beta enable beta_current 0.5 # Y stepper motor current beta_max_rate 7000.0 # mm/min
gamma_step_pin 2.2 # Pin for gamma stepper step signal gamma_dir_pin 0.20 # Pin for gamma stepper direction gamma_en_pin 0.19 # Pin for gamma enable gamma_current 0.5 # Z stepper motor current gamma_max_rate 500.0 # mm/min`
I flashed the grbl-lpc firmware using the beta10_4axes/mks_sbase_firmware.bin renamed to firmware.bin, and am using Openbuilds CONTROL software. When connecting, board responds with:
[15:21:15] [ connect ] Firmware Detected: grbl version 1.1f on COM5 [15:21:16] [ ] Grbl 1.1f ['$' for help] [15:21:16] [ ] [MSG:Check Limits] [15:21:16] [ ] [MSG:'$H'|'$X' to unlock] [15:21:16] [ ] [MSG:Caution: Unlocked] [15:21:16] [ ] ok
So everything looks good there.
I've set $140-$142 with the value of 0.5, since I'm using external stepper controllers and I properly set the steps per mm as well. Any attempts to jog and the machine just sits there.
Current config looks like this given $$:
[15:31:49] [ $$ ] $0=10 ;Step pulse time, microseconds [15:31:49] [ $$ ] $1=255 ;Step idle delay, milliseconds [15:31:49] [ $$ ] $2=0 ;Step pulse invert, mask [15:31:49] [ $$ ] $3=4 ;Step direction invert, mask [15:31:49] [ $$ ] $4=1 ;Invert step enable pin, boolean [15:31:49] [ $$ ] $5=0 ;Invert limit pins, boolean [15:31:49] [ $$ ] $6=0 ;Invert probe pin, boolean [15:31:49] [ $$ ] $10=1 ;Status report options, mask [15:31:49] [ $$ ] $11=0.020 ;Junction deviation, millimeters [15:31:49] [ $$ ] $12=0.002 ;Arc tolerance, millimeters [15:31:49] [ $$ ] $13=0 ;Report in inches, boolean [15:31:49] [ $$ ] $20=0 ;Soft limits enable, boolean [15:31:49] [ $$ ] $21=1 ;Hard limits enable, boolean [15:31:49] [ $$ ] $22=1 ;Homing cycle enable, boolean [15:31:49] [ $$ ] $23=3 ;Homing direction invert, mask [15:31:49] [ $$ ] $24=100.000 ;Homing locate feed rate, mm/min [15:31:49] [ $$ ] $25=1000.000 ;Homing search seek rate, mm/min [15:31:49] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds [15:31:49] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters [15:31:49] [ $$ ] $30=1000 ;Maximum spindle speed, RPM [15:31:49] [ $$ ] $31=0 ;Minimum spindle speed, RPM [15:31:49] [ $$ ] $32=0 ;Laser-mode enable, boolean [15:31:49] [ $$ ] $33=5000.000 ;undefined [15:31:49] [ $$ ] $34=0.000 ;undefined [15:31:49] [ $$ ] $35=1.000 ;undefined [15:31:49] [ $$ ] $36=100.000 ;undefined [15:31:49] [ $$ ] $100=160.000 ;X-axis steps per millimeter [15:31:49] [ $$ ] $101=160.000 ;Y-axis steps per millimeter [15:31:49] [ $$ ] $102=160.000 ;Z-axis steps per millimeter [15:31:49] [ $$ ] $103=160.000 ;undefined [15:31:49] [ $$ ] $110=24000.000 ;X-axis maximum rate, mm/min [15:31:49] [ $$ ] $111=24000.000 ;Y-axis maximum rate, mm/min [15:31:49] [ $$ ] $112=24000.000 ;Z-axis maximum rate, mm/min [15:31:49] [ $$ ] $113=24000.000 ;undefined [15:31:49] [ $$ ] $120=2500.000 ;X-axis acceleration, mm/sec^2 [15:31:49] [ $$ ] $121=2500.000 ;Y-axis acceleration, mm/sec^2 [15:31:49] [ $$ ] $122=2500.000 ;Z-axis acceleration, mm/sec^2 [15:31:49] [ $$ ] $123=2500.000 ;undefined [15:31:49] [ $$ ] $130=300.000 ;X-axis maximum travel, millimeters [15:31:49] [ $$ ] $131=200.000 ;Y-axis maximum travel, millimeters [15:31:49] [ $$ ] $132=50.000 ;Z-axis maximum travel, millimeters [15:31:49] [ $$ ] $133=100.000 ;undefined [15:31:49] [ $$ ] $140=0.500 ;undefined [15:31:49] [ $$ ] $141=0.500 ;undefined [15:31:49] [ $$ ] $142=0.500 ;undefined [15:31:49] [ $$ ] $143=0.000 ;undefined [15:31:49] [ $$ ] ok