Home › Forums › TinyG › TinyG Support › Zeroing/ test run
- This topic has 26 replies, 2 voices, and was last updated 8 years, 9 months ago by cmcgrath5035.
-
AuthorPosts
-
March 20, 2016 at 2:22 pm #9455aspadavecchiaMember
I am new to the whole CNC world so please bare with me. I have had a lot of help by from these forums so than you. The machine that I am working with is an OX 750X1500. I am running TinyG 440.20.
The issue that I am having is while trying to run a test cut on the machine goes straight to the far back right of the machine and acts like it wants to continue moving on the Y axis. I am sure that I have some settings wrong but have been going through all of the settings that I am able to understand and can not make the connection. Here are the current settings in the TinyG.[fb] firmware build 440.20
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00
[id] TinyG ID 3X3566-KPT
[ja] junction acceleration 100000 mm
[ct] chordal tolerance 0.0100 mm
[sl] soft limit enable 0
[st] switch type 0 [0=NO,1=NC]
[mt] motor idle timeout 0.10 Sec
[ej] enable json mode 0 [0=text,1=JSON]
[jv] json verbosity 2 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
[js] json serialize style 1 [0=relaxed,1=strict]
[tv] text verbosity 1 [0=silent,1=verbose]
[qv] queue report verbosity 0 [0=off,1=single,2=triple]
[sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
[si] status interval 500 ms
[ec] expand LF to CRLF on TX 0 [0=off,1=on]
[ee] enable echo 0 [0=off,1=on]
[ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
[baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
[net] network mode 0 [0=master]
[gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
[gun] default gcode units mode 1 [0=G20,1=G21]
[gco] default gcode coord system 1 [1-6 (G54-G59)]
[gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
[gdi] default gcode distance mode 0 [0=G90,1=G91]
[1ma] m1 map to axis 0 [0=X,1=Y,2=Z…]
[1sa] m1 step angle 1.800 deg
[1tr] m1 travel per revolution 1.2500 mm
[1mi] m1 microsteps 8 [1,2,4,8]
[1po] m1 polarity 1 [0=normal,1=reverse]
[1pm] m1 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[2ma] m2 map to axis 1 [0=X,1=Y,2=Z…]
[2sa] m2 step angle 1.800 deg
[2tr] m2 travel per revolution 1.2500 mm
[2mi] m2 microsteps 8 [1,2,4,8]
[2po] m2 polarity 1 [0=normal,1=reverse]
[2pm] m2 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[3ma] m3 map to axis 2 [0=X,1=Y,2=Z…]
[3sa] m3 step angle 1.800 deg
[3tr] m3 travel per revolution 1.2500 mm
[3mi] m3 microsteps 8 [1,2,4,8]
[3po] m3 polarity 0 [0=normal,1=reverse]
[3pm] m3 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[4ma] m4 map to axis 1 [0=X,1=Y,2=Z…]
[4sa] m4 step angle 1.800 deg
[4tr] m4 travel per revolution 1.2500 mm
[4mi] m4 microsteps 8 [1,2,4,8]
[4po] m4 polarity 0 [0=normal,1=reverse]
[4pm] m4 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 400 mm/min
[xfr] x feedrate maximum 800 mm/min
[xtn] x travel minimum 0.000 mm
[xtm] x travel maximum 650.000 mm
[xjm] x jerk maximum 20 mm/min^3 * 1 million
[xjh] x jerk homing 40 mm/min^3 * 1 million
[xjd] x junction deviation 0.0500 mm (larger is faster)
[xsn] x switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 500 mm/min
[xlv] x latch velocity 100 mm/min
[xlb] x latch backoff 5.000 mm
[xzb] x zero backoff 1.000 mm
[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 400 mm/min
[yfr] y feedrate maximum 800 mm/min
[ytn] y travel minimum 0.000 mm
[ytm] y travel maximum 1400.000 mm
[yjm] y jerk maximum 20 mm/min^3 * 1 million
[yjh] y jerk homing 40 mm/min^3 * 1 million
[yjd] y junction deviation 0.0500 mm (larger is faster)
[ysn] y switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 500 mm/min
[ylv] y latch velocity 100 mm/min
[ylb] y latch backoff 5.000 mm
[yzb] y zero backoff 1.000 mm
[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 800 mm/min
[zfr] z feedrate maximum 800 mm/min
[ztn] z travel minimum 0.000 mm
[ztm] z travel maximum 75.000 mm
[zjm] z jerk maximum 20 mm/min^3 * 1 million
[zjh] z jerk homing 40 mm/min^3 * 1 million
[zjd] z junction deviation 0.0500 mm (larger is faster)
[zsn] z switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 400 mm/min
[zlv] z latch velocity 100 mm/min
[zlb] z latch backoff 5.000 mm
[zzb] z zero backoff 1.000 mm
[aam] a axis mode 3 [radius]
[avm] a velocity maximum 230400 deg/min
[afr] a feedrate maximum 230400 deg/min
[atn] a travel minimum -1.000 deg
[atm] a travel maximum -1.000 deg
[ajm] a jerk maximum 5760 deg/min^3 * 1 million
[ajh] a jerk homing 11520 deg/min^3 * 1 million
[ajd] a junction deviation 0.0500 deg (larger is faster)
[ara] a radius value 0.1989 deg
[asn] a switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 600 deg/min
[alv] a latch velocity 100 deg/min
[alb] a latch backoff 5.000 deg
[azb] a zero backoff 2.000 deg
[bam] b axis mode 0 [disabled]
[bvm] b velocity maximum 3600 deg/min
[bfr] b feedrate maximum 3600 deg/min
[btn] b travel minimum -1.000 deg
[btm] b travel maximum -1.000 deg
[bjm] b jerk maximum 20 deg/min^3 * 1 million
[bjd] b junction deviation 0.0500 deg (larger is faster)
[bra] b radius value 1.0000 deg
[cam] c axis mode 0 [disabled]
[cvm] c velocity maximum 3600 deg/min
[cfr] c feedrate maximum 3600 deg/min
[ctn] c travel minimum -1.000 deg
[ctm] c travel maximum -1.000 deg
[cjm] c jerk maximum 20 deg/min^3 * 1 million
[cjd] c junction deviation 0.0500 deg (larger is faster)
[cra] c radius value 1.0000 deg
[p1frq] pwm frequency 5000 Hz
[p1csl] pwm cw speed lo 3000 RPM
[p1csh] pwm cw speed hi 6000 RPM
[p1cpl] pwm cw phase lo 0.000 [0..1]
[p1cph] pwm cw phase hi 1.000 [0..1]
[p1wsl] pwm ccw speed lo 0 RPM
[p1wsh] pwm ccw speed hi 2000 RPM
[p1wpl] pwm ccw phase lo 0.125 [0..1]
[p1wph] pwm ccw phase hi 0.200 [0..1]
[p1pof] pwm phase off 0.100 [0..1]
[g54x] g54 x offset 0.000 mm
[g54y] g54 y offset 0.000 mm
[g54z] g54 z offset 0.000 mm
[g54a] g54 a offset 0.000 deg
[g54b] g54 b offset 0.000 deg
[g54c] g54 c offset 0.000 deg
[g55x] g55 x offset 0.000 mm
[g55y] g55 y offset 0.000 mm
[g55z] g55 z offset 0.000 mm
[g55a] g55 a offset 0.000 deg
[g55b] g55 b offset 0.000 deg
[g55c] g55 c offset 0.000 deg
[g56x] g56 x offset 0.000 mm
[g56y] g56 y offset 0.000 mm
[g56z] g56 z offset 0.000 mm
[g56a] g56 a offset 0.000 deg
[g56b] g56 b offset 0.000 deg
[g56c] g56 c offset 0.000 deg
[g57x] g57 x offset 0.000 mm
[g57y] g57 y offset 0.000 mm
[g57z] g57 z offset 0.000 mm
[g57a] g57 a offset 0.000 deg
[g57b] g57 b offset 0.000 deg
[g57c] g57 c offset 0.000 deg
[g58x] g58 x offset 0.000 mm
[g58y] g58 y offset 0.000 mm
[g58z] g58 z offset 0.000 mm
[g58a] g58 a offset 0.000 deg
[g58b] g58 b offset 0.000 deg
[g58c] g58 c offset 0.000 deg
[g59x] g59 x offset 0.000 mm
[g59y] g59 y offset 0.000 mm
[g59z] g59 z offset 0.000 mm
[g59a] g59 a offset 0.000 deg
[g59b] g59 b offset 0.000 deg
[g59c] g59 c offset 0.000 deg
[g92x] g92 x offset 0.000 mm
[g92y] g92 y offset 0.000 mm
[g92z] g92 z offset 0.000 mm
[g92a] g92 a offset 0.000 deg
[g92b] g92 b offset 0.000 deg
[g92c] g92 c offset 0.000 deg
[g28x] g28 x position 0.000 mm
[g28y] g28 y position 0.000 mm
[g28z] g28 z position 0.000 mm
[g28a] g28 a position 0.000 deg
[g28b] g28 b position 0.000 deg
[g28c] g28 c position 0.000 deg
[g30x] g30 x position 0.000 mm
[g30y] g30 y position 0.000 mm
[g30z] g30 z position 0.000 mm
[g30a] g30 a position 0.000 deg
[g30b] g30 b position 0.000 deg
[g30c] g30 c position 0.000 deg
tinyg [mm] ok>
tinyg [mm] ok>March 21, 2016 at 6:28 am #9456cmcgrath5035ModeratorThere are many different ways to build an Ox, so theses are just some quick observations.
$mt should be something more like 10 seconds, not 0.1 seconds; $mt=10
Most new OX builds use NEMA23 motors, GT3 belts (3mm pitch) and 20 tooth pulleys. If that is what you have, then $tr (travel per motor revolution) should be $_tr=60 , which is 3mm x 20 teeth. Check your belts and pulleys, there are other combinations in the market.
$_tr = 1.25mm may be correct for your Z axis, depending on the thread pitch of your drive screw. There are many variations available there as well.
I think your jerk values are low, but will work for now.
More typical would be 5000 max, 10000 homin on X and Y axis.Give those parameters a try, then come back for some fine tuning.
$$ parameter sets are much easier to review if you put them into a cloud drive file and provide a link here.
Also – how do you connect to your machine? CoolTerm, Chilipeppr, etc.
- This reply was modified 8 years, 9 months ago by cmcgrath5035.
March 21, 2016 at 7:23 am #9460aspadavecchiaMemberThank you. I will try these settings out tonight when I get home from work. Currently I use coolterm to program the board and universal gcode sender to run the gcode. As far as the z axis screw I am unsure of the pitch of that. I bough this setup in a kit except I expanded the the Y axis to 1500mm. I am using the Nema 23’s on all axes, GT3’s and 20 tooth pulleys. I appreciate the help and i will let you now. I am unsure how to put my settings into a cloud drive.
March 21, 2016 at 2:37 pm #9462cmcgrath5035ModeratorDo you have a Cloud Drive Account?
Dropbox, Gdrive, etc. There are numerous free offers out there.Copy your CoolTerm screen to a text file, then place the text file in the cloud.
Get the URL for your shared file and post it here.Spindle may actually use $tr=1.25mm
March 21, 2016 at 3:07 pm #9463aspadavecchiaMemberIS THE $tr=60 OR $tr=1.25. OR IS THAT FOR DIFFERENT AXES.
LIKE:
X= $tr=60, Y= $tr=60, Z= $tr-1.25March 21, 2016 at 5:02 pm #9464cmcgrath5035ModeratorNope, $_tr is a motor parameter.
Motors get assigned to axes.You have $1ma=0, assigning it to x axis
So $1tr=60 sets motor 1, assigned to X axis, to move 60 mm/revolution.See:
March 21, 2016 at 9:41 pm #9466aspadavecchiaMemberok so I changed all of the settings that you suggested. My gears are 25 teeth with G3 belts, so that would put me at $tr=75. when I changed that the machine just moves very slow but still wants to continue moving. I looked at the link that you sent in the last response, from that link I change my travel min and max for the X and Y axes. I am still at a loss.
Here are the newest settings:
https://onedrive.live.com/redir?resid=9DA5250AA8FEA235!107&authkey=!ANtH_pVC2mN79pM&ithint=file%2crtfI hope this link works this is something new for me as well.
March 21, 2016 at 10:46 pm #9467cmcgrath5035ModeratorIf you can, save your parameters in plain text (saves me converting from rich text), but otherwise Onedrive worked fine.
Cloud drive a great way to share big files, pictures, etc.Very unusual parameters, where did you get them from?
Make these changes
$si=250
$qv=1
$3mi=4
$xvm=16000
$xfr=16000
$xjm=5000
$xjh=10000
$yvm=16000
$yfr=1600
$yjm=5000
$yjh=10000Settings for Xmin, Xmax,Ymin,Ymax are only meaningful when soft limits are enabled.
You are not ready for soft limits yet.Enter these new parameters, check that they entered correctly.
Then command moves for short distances, e.g. G0 X10 – motion will be a lot faster.
When you report back, post your updated parameter set.
March 22, 2016 at 1:59 pm #9474aspadavecchiaMemberDo you think this will fix my run away issue. I will be putting these in as soon as I get home from work. I really appreciate your help. Thank God for this forum.
March 22, 2016 at 3:15 pm #9475cmcgrath5035ModeratorDo you think this will fix my run away issue.
No, but it will runaway much faster.
1. Enter these parameters.
2. Then shutdown (powerdown) tinyG
3. Then manually drag your spindle to the middle of your worspace.
4. Power up tinyGStart up Coolterm and create a $$ report – look it over, verify you entered parameters correctly.
At this point, the 0,0 point for your machine is where the gantry is.
A reset, or power cycle, of tinyG resets 0,0 to the current location.Now enter the following command
G1 X20 F800
Gantry should move 20mm in +x direction at moderate speed
G1 Y10 F800
Gantry should move 20 mm in +Y direction at moderate speed.
(If it runs away in either x or y direction, put you parameter list on the cloud drive and send a not back here.)G0 X0 Y0
Gantry should return to starting point, x and y simultaneously, at twice
the moderate speed.What command did you vie the machine to initiate “running away”?
There are 2 ways to stop a machine from running away
1. Don’t tell it to runaway – give it reasonable goto commands
2. install limit switches – you don’t have them provisioned yet.Do you actually have limit switches?
Limit switches add an additional layer of complexity – good to master manual short distance movement first, to get your basic motion set correctly.Experiment with longer moves.
Experiment with the F parameter to go slower and faster.March 22, 2016 at 3:54 pm #9476aspadavecchiaMemberAs far as put in a command to make it runaway I put in a simple object in there to cut out which by what you are telling me sounds like it may not have been the best idea. I will do all of this and see what happens.
March 22, 2016 at 8:42 pm #9477aspadavecchiaMemberok, so I put in all the settings and confirmed them multiple times. After putting the settings in the machine will not move when I put in the G0 X20 or the G0 X20 F800 command. I am able to move it will universal gcode sender which is how I move it with my arrow keys but it is very “jerky”. I feel like we are getting closer though. By the way I will be getting limit switches but in the meantime just trying to get the machine up and running. Here are the new settings, I hope this is the text that you wanted.
March 22, 2016 at 9:38 pm #9478aspadavecchiaMemberAfter posting the last post I played around with a few settings at a time and found something that worked as far as allowing the small movements. All of the settings in the link are the same except the following.
$xjm=50
$xjh=100
$yjm=50
$yjh=100Now that it moves I brought the spindle back to the bottom left what everyone considers “zero” and reset tinyG there. When I put in a command there like G1 Y0.5 F100 it moves a total of 1 inch on a caliper. Now with that said I have the machine set to mm.
March 22, 2016 at 9:56 pm #9479cmcgrath5035ModeratorHmm, sounds like a parameter issue, unfortunately this new Onedrive link does not work, sends me to Microsoft trying to sign me up.
See if you can refresh the link
March 23, 2016 at 2:09 pm #9480 -
AuthorPosts
- You must be logged in to reply to this topic.