Home › Forums › TinyG › TinyG Support › Trouble Shooting Setup
- This topic has 17 replies, 4 voices, and was last updated 3 years, 6 months ago by SteveP.
-
AuthorPosts
-
September 6, 2020 at 2:42 pm #11878cheshirecncParticipant
I posted yesterday with problems with stepper motor making noise but not moving. I did manage to solve that problem.
I have a Shapeoko 3 from Sparkfun. I could never get it to work with Limit or Homing switches. It was suggested to me to switch to Tinyg. I have things very nearly working. Can move XY and Z. I can pass the Test=1 (Smoke) and Test=2 (Homing) But on Test 3 (Squares) The Z axis will hit the upper limit switch and shut down the Machine. I am including a dropbox link to a folder with my settings and the output from the test. Thanks in advance for your help.
https://www.dropbox.com/sh/ub9sw5y471p0c5q/AADvx8F3PmiPuVLAHOoH4kIBa?dl=0
September 6, 2020 at 2:56 pm #11879cmcgrath5035ModeratorHelpful way to communicate, but unfortunately the upper half of the $$ parameter dump is missing from the file.
Missing from this info are the Z axis settings.
By FW design, the level at top of Z , the Z limit switch, is Z=0 and all Z motion should be negative from there.
My Guess is that your Z zero is not set right ore the Zmax value is >0 ?
You need to determine the actual range of Z motion f.or your setup, then set $zmn and $zmx accordinglySee if you can move a full $$ dump to the dropbox
September 6, 2020 at 3:08 pm #11880cheshirecncParticipantHello,
Sorry, I thought it was there. I just put another file with the dump in it. I had set Z max to a positive number. I changed it to a negative number however the test still fails.
September 6, 2020 at 4:43 pm #11881cmcgrath5035ModeratorIf you are homing the machine before you run tests to set the 0,0,0 point,
then $ztn should be -32 and $ztm should be 0.0I am off to find the Gcode for Test 3, Squares, to see what it specify’s for maximum z level. Have never run it myself.
Note that $ztn and $ztm really only matter if you use soft limits.
Since $sl=0, soft limits are offTry turning homing and limits off, i.e. $xsn=$xsm=$ysn=$ysm=$zsn=$zsm=0.
Jog or manually move your gantry to where you think 0,0,0 should be and hit the tinyG reset, which will make that location 0,0,0.
then run squares.Can I assume you have read
https://github.com/synthetos/tinyg/wiki/Homing-and-Limits-Description-and-Operation
? It is not necessarily intuitive, until you have been here for a while- This reply was modified 4 years, 2 months ago by cmcgrath5035.
September 6, 2020 at 7:12 pm #11883pereira.newton@ymail.comParticipanthey man,
Not an expert, but my guess is your $xSX – Maximum switch mode is set to 3.
I would keep it set to 3 and try a different “square” test with the retract height lesser that what the Test 3 has….
September 7, 2020 at 10:44 am #11884cheshirecncParticipantI have read the section on homing and limits. I was very happy to to get the machine to home. I also turned off limits. The test will complete. However it slams the z axis top and bottom several times. It also makes a lot of growing noises allthow it does not seem to be making the belt slip. I also adjusted a lot of other settings suggested on the shapeoko page at TinyG. I will put the new settings in the dropbox folder.
Is there a way to save and then reload settings into the tinyG or do you have to change or reset by hand.
I was wondering if you have a hello world Gcode file for tiny G?
Thanks again for your help.
https://www.dropbox.com/sh/ub9sw5y471p0c5q/AADvx8F3PmiPuVLAHOoH4kIBa?dl=0
September 7, 2020 at 12:17 pm #11885cmcgrath5035ModeratorWhat method do you use to send Gcode?
Terminal app, Chilipeppr, cnc.js, etc ?.
Chilipeppr has a logo file that performs a graphical hello world of sortsIf you are planning to use Z homing (to top of range), then $ztm = -50 and $ztm = 0 and you need to build you Gcode appropriately.
Most folks don’t use the Z limit Switch. It can create a lot of confusion for users who run auto level with PCB milling.If you command Z axis to move 10mm, does it move just 10mm?
OK, found it , code is here https://github.com/synthetos/TinyG/blob/master/firmware/tinyg/tests/test_003_squares.h
Not exactly Gcode, but you can see what is going on.
It is not compatible with ShapeOKO, attempts to traverse 10,20 and 40mm cubes.
Code probably pre-dates the shapeokoSeptember 7, 2020 at 1:27 pm #11886cheshirecncParticipantWhat is the command to move z 10 mm? I have set up chillipepper. It connects to my Pi json server. I can send $$ command and ge feed back from the tinyG. When I pull down the play sample run. Nothing happens. The image in the browser starts to move but nothing happens on the shapeoko. I did get a message about a tool change but I could not find any control for that.
September 7, 2020 at 1:28 pm #11887cheshirecncParticipantI could also send a file with Coolterm.
September 7, 2020 at 2:02 pm #11888cheshirecncParticipantHello,
I watched a tutorial on how to use chilipeppr and I am able to sent the gone to the shapeoko. It still seems like there is something wrong with my z axis. when it moves it moves bam to the top limit. And then Bam to the bottom limit. I would still like to know the command that would move the z axis 10 mm.
September 7, 2020 at 2:23 pm #11889cmcgrath5035ModeratorLets focus on Chilipeppr setup, the one I am most familiar with
Easiest way to move Z is to use the Jog widget. based on settings, you can move axis up or down with fine or coarse adjustments.
I think your M4 parameters are OK, $4tr=1.25 is typical but depends on what thread is used on the gantry
Make sure to reset the tinyG after making parameter changes to make sure the changed parameters are installed.Are you using external stepper drivers by chance?
September 7, 2020 at 2:26 pm #11890cmcgrath5035ModeratorBTW
a G0Z10 would move the Z axis to 10mm position in absolute mode, or up 10mm in incremental mode.Enter the G0Z10 in the Serial Port Console widget, typically lower left corner of screen
September 8, 2020 at 2:21 pm #11891cheshirecncParticipantGetting closer. I have figured out how to jog with chillyPepper. When I use the jog the z axis seems function as expected. When I enter into the command like a G0Z10 or any other number. Most of the time slams the z axis to the top. And then I have to reset TinyG. Or it slams to the bottom and I have to reset TinyG. Not sure if it is safe to continue? What do you think?
September 9, 2020 at 9:14 am #11892cmcgrath5035ModeratorThe Chillipepr Jog widget has a setting for how far to move with each click.
When you click to make one jog move, you should see a G0Zxx command in the serial port console.
So if you set jog granularity to 1 mm, then a 1mm jog should show in the Serial Port Console as a G0Z1 command.Are you seeing that?
Do other axes jog accurately?
Are you sure you stepper motor parameters are correctly entered?You issue implies that too many step pulses are being sent to the motor or that the motor is moving too far per step pulse
September 9, 2020 at 9:31 am #11893cmcgrath5035ModeratorIs your Dropbox parameter list still accurate?
-
AuthorPosts
- You must be logged in to reply to this topic.