|
Post by oliverc on Oct 11, 2017 9:01:04 GMT
The settings are hard coded so that will work. Thanks for mentioning that. Great first contribution! Glad I could help
|
|
|
Post by snarejdv01 on Oct 11, 2017 13:51:25 GMT
that did not work either. still going to back right corner and taking a nose dive. what I did find out is now when I hit the z button up I have it set to 1 mm but its going up 1/4 inch. when I do G90 G0 Z5 it moves it up and inch and a quarter. it doesn't make sense though I have checked the settings a million times and they are what they are supposed to be now after I corrected it
|
|
|
Post by Derek the Admin on Oct 11, 2017 14:54:39 GMT
EDIT: Looks like you edited your above post while I was typing this. Let's see your settings from grbl panel again. It still seems to have the 102=320 setting that Easel changed on your board.
I just want to clarify everything so we can best help you: When you run the file that you share called new.nc it ran to the back left and plunged deeply in Z? When you run our sample file it's moving to the back right and plunged deeply in Z? Is this the first movement it made, or did it run part of it and then do that?
In our sample file the first movement commands are as follows: G00 Z 5.0000 G00 X 166.0999 Y 28.4653
In the new.nc file you posted early, the first movement commands are this: G0 Z10 G0 X45.947 Y61.787
If the motor directions are correct, everything is zero'd right prior sending the g code, and there are no coordinate system changes in the g code (there are not any that I saw) they should not be heading different directions. The sample file should be moving about 6.5 inches right and about 1.125 inches up. The new.nc file you shared should be moving about 1.75 inches to the right and almost 2.5 inches up. Even if the steps/mm were off, they would still both be moving to the right.
There's just a disconnect somewhere. If it X moves 10 mm to the right when you press X+, if the bed comes towards you (towards the front of the machine) 10mm when you press Y+, the Z comes up 10mm when you press Z+ and vise versa on the other directions then it is stepping where it commanded to step.
Are you certain that it has retained the setting for the Z? You indicated previously that Grbl Panel was not accepting this setting. When you boot it up, is it showing a value of 80 for setting 102?
Is the end mill on top of the work piece towards the bottom left of the bed when you type G92 X0 Y0 Z0 and press enter? Do the work coordinates shown in Grbl Panel indicate that its at 0,0,0 after you do this?
|
|
|
Post by Derek the Admin on Oct 11, 2017 15:05:15 GMT
In addition to checking the setting, please confirm that you have two jumpers placed vertically at M0 and M1 underneath the Z stepper driver. Make sure you leave power off for about 60 seconds including removing the USB cable before trying to pull the stepper driver off please, or it will blow electronics from an arc. Also, let us know if you ever plugged the power cable into the port on the blue Uno board. That has been shown to mess up the driver's microstepping.
Regards
|
|
|
Post by snarejdv01 on Oct 11, 2017 15:23:05 GMT
sorry I misspoke on my first one. both files go to the back right corner. the weird thing is both files go to pretty much the exact same spot to start. and by the looks of the codes they should be quite a bit different starting position. The settings are staying now and are correct. I have closed and opened grbl panel about 10 times just to double check they are saved. 102 is set to 80. all the positions move the correct direction when they are pressed by not the correct amount. when I type in the G90 G0 Z5 it should move Z up 5 mm which is roughly a quarter of an inch but its not its going up over an inch which is what I cant figure out since the settings are correct.
|
|
|
Post by Derek the Admin on Oct 11, 2017 15:27:20 GMT
What about the question of the jumpers and about the power port on the uno board?
|
|
|
Post by oliverc on Oct 11, 2017 15:49:12 GMT
If I can suggest a thing, even if you have the two jumpers placed at M0 and M1 underneath the Z stepper driver, try to remove them and place them back to verify they are not to loose on the pins. You should feel a resistance when inserting them. Be sure to insert them well vertically in the exact same axis then the pins. If inserted with a small angle we may force on the internal contact and this can lead to bad contact afterward. If one the jumper have a bad contact this can multiply the movement by 2 or by 4 (depending which one have a bad contact), this look like the behavior you have. You said that you have an inch instead of a quarter inch move, in this case take a close look at M1 jumper.
I'm an electronic engineer and I'm playing with this small part everyday, and by experience I alreday had problems with jumpers, not often but it may happen.
Regards
|
|
|
Post by snarejdv01 on Oct 11, 2017 15:53:20 GMT
THAT WAS IT!!!!! I had the jumpers horizontal across 0 and 1 instead of vertical. THANK YOU VERY MUCH. man I cant tell you how frustrating that was
|
|
|
Post by Derek the Admin on Oct 11, 2017 16:04:07 GMT
Glad you are going along nicely now. Thanks to everyone for their input. Hat tip to Oliverc. Excellent contributions.
|
|
|
Post by aforww on Oct 11, 2017 16:30:09 GMT
Those jumpers, get people all the time.
|
|