TinyG2 not working right…

Home Forums TinyG TinyG Support TinyG2 not working right…

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #5642
    jmascote
    Member

    So I have my Shapeoko 2 up and running and it works, but not exactly as I had hoped. I purchased some geared NEMA 17 motors (5:1) so the default flash for the GShield makes everything 1/5 the intended scale but it seems to work perfectly.

    So I change the values for the travel per revolution ($1tr & $2tr) to 7.311mm (from 36.540mm) which makes a single square exactly the dimensions that were sent.

    Here comes the BUT…. It does not seem be able to move the x axis to the correct position after this change. For example, the hello world test for Shapeoko is the word “SHAPEOKO 2”. It writes the “S”, looks good, but then it moves down/up and writes the rest of the letters all over the place in a very small area (all jumbled looking).

    Something like this, but the letters overlap and it travels very little in left or right:

    SAE
    HP
    K02

    I drew a single 1 inch square and if I only draw one it works fine, 2 and they overlap by about 1/4 inch on top of each other. Very confusing…

    If I do the single 1 inch square it is dimensionally perfect after I change the “tr” values. If I have 2 single squares side by side, it doesn’t draw the inbetween space correctly.

    Here is the config output ($$):

    1 map to axis              0 [0=X,1=Y,2=Z...]
    [1sa] m1 step angle               1.800 deg
    [1tr] m1 travel per revolution    7.311 mm
    [1mi] m1 microsteps               8 [1,2,4,8]
    [1po] m1 polarity                 1 [0=normal,1=reverse]
    [1pm] m1 power management         0 [0=disable,1=power in cycle,2=power when moving]
    [1pl] m1 power level             25.00 [0-100]
    [2ma] m2 map to axis              1 [0=X,1=Y,2=Z...]
    [2sa] m2 step angle               1.800 deg
    [2tr] m2 travel per revolution    7.311 mm
    [2mi] m2 microsteps               8 [1,2,4,8]
    [2po] m2 polarity                 0 [0=normal,1=reverse]
    [2pm] m2 power management         0 [0=disable,1=power in cycle,2=power when moving]
    [2pl] m2 power level             25.00 [0-100]
    [3ma] m3 map to axis              2 [0=X,1=Y,2=Z...]
    [3sa] m3 step angle               1.800 deg
    [3tr] m3 travel per revolution    5.000 mm
    [3mi] m3 microsteps               4 [1,2,4,8]
    [3po] m3 polarity                 1 [0=normal,1=reverse]
    [3pm] m3 power management         1 [0=disable,1=power in cycle,2=power when moving]
    [3pl] m3 power level             25.00 [0-100]
    [4ma] m4 map to axis              3 [0=X,1=Y,2=Z...]
    [4sa] m4 step angle               1.800 deg
    [4tr] m4 travel per revolution  360.000 mm
    [4mi] m4 microsteps               8 [1,2,4,8]
    [4po] m4 polarity                 0 [0=normal,1=reverse]
    [4pm] m4 power management         0 [0=disable,1=power in cycle,2=power when moving]
    [4pl] m4 power level             25.00 [0-100]
    [5ma] m5 map to axis              4 [0=X,1=Y,2=Z...]
    [5sa] m5 step angle               1.800 deg
    [5tr] m5 travel per revolution  180.000 mm
    [5mi] m5 microsteps               8 [1,2,4,8]
    [5po] m5 polarity                 0 [0=normal,1=reverse]
    [5pm] m5 power management         1 [0=disable,1=power in cycle,2=power when moving]
    [5pl] m5 power level             25.00 [0-100]
    [6ma] m6 map to axis              5 [0=X,1=Y,2=Z...]
    [6sa] m6 step angle               1.800 deg
    [6tr] m6 travel per revolution  180.000 mm
    [6mi] m6 microsteps               8 [1,2,4,8]
    [6po] m6 polarity                 0 [0=normal,1=reverse]
    [6pm] m6 power management         1 [0=disable,1=power in cycle,2=power when moving]
    [6pl] m6 power level             25.00 [0-100]
    [xam] x axis mode                 1 [standard]
    [xvm] x velocity maximum      16000.000 mm/min
    [xfr] x feedrate maximum      16000.000 mm/min
    [xtm] x travel maximum          220.000 mm
    [xtn] x travel minimum            0.000 mm
    [xjm] x jerk maximum           5000 mm/min^3 * 1 million
    [xjh] x jerk homing           10000 mm/min^3 * 1 million
    [xjd] x junction deviation        0.0100 mm (larger is faster)
    [xsn] x switch min                1 [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        3000.000 mm/min
    [xlv] x latch velocity          100.000 mm/min
    [xlb] x latch backoff            20.000 mm
    [xzb] x zero backoff              3.000 mm
    [yam] y axis mode                 1 [standard]
    [yvm] y velocity maximum      16000.000 mm/min
    [yfr] y feedrate maximum      16000.000 mm/min
    [ytm] y travel maximum          220.000 mm
    [ytn] y travel minimum            0.000 mm
    [yjm] y jerk maximum           5000 mm/min^3 * 1 million
    [yjh] y jerk homing           10000 mm/min^3 * 1 million
    [yjd] y junction deviation        0.0100 mm (larger is faster)
    [ysn] y switch min                1 [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        3000.000 mm/min
    [ylv] y latch velocity          100.000 mm/min
    [ylb] y latch backoff            20.000 mm
    [yzb] y zero backoff              3.000 mm
    [zam] z axis mode                 1 [standard]
    [zvm] z velocity maximum        800.000 mm/min
    [zfr] z feedrate maximum        800.000 mm/min
    [ztm] z travel maximum          100.000 mm
    [ztn] z travel minimum            0.000 mm
    [zjm] z jerk maximum             50 mm/min^3 * 1 million
    [zjh] z jerk homing            1000 mm/min^3 * 1 million
    [zjd] z junction deviation        0.0100 mm (larger is faster)
    [zsn] z switch min                0 [0=off,1=homing,2=limit,3=limit+homing]
    [zsx] z switch max                1 [0=off,1=homing,2=limit,3=limit+homing]
    [zsv] z search velocity         800.000 mm/min
    [zlv] z latch velocity          100.000 mm/min
    [zlb] z latch backoff            20.000 mm
    [zzb] z zero backoff             10.000 mm
    [aam] a axis mode                 1 [standard]
    [avm] a velocity maximum      60000.000 deg/min
    [afr] a feedrate maximum      48000.000 deg/min
    [atm] a travel maximum          400.000 deg
    [atn] a travel minimum           -1.000 deg
    [ajm] a jerk maximum          24000 deg/min^3 * 1 million
    [ajh] a jerk homing           24000 deg/min^3 * 1 million
    [ajd] a junction deviation        0.1000 deg (larger is faster)
    [ara] a radius value              1.0000 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        6000.000 deg/min
    [alv] a latch velocity         1000.000 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.000 deg/min
    [bfr] b feedrate maximum       3600.000 deg/min
    [btm] b travel maximum           -1.000 deg
    [btn] b travel minimum           -1.000 deg
    [bjm] b jerk maximum             20 deg/min^3 * 1 million
    [bjd] b junction deviation        0.0100 deg (larger is faster)
    [bra] b radius value              1.0000 deg
    [bsn] b switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [bsx] b switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [bsv] b search velocity        6000.000 deg/min
    [blv] b latch velocity         1000.000 deg/min
    [blb] b latch backoff             5.000 deg
    [bzb] b zero backoff              2.000 deg
    [bjh] b jerk homing              20 deg/min^3 * 1 million
    [cam] c axis mode                 0 [disabled]
    [cvm] c velocity maximum       3600.000 deg/min
    [cfr] c feedrate maximum       3600.000 deg/min
    [ctm] c travel maximum           -1.000 deg
    [cjm] c jerk maximum             20 deg/min^3 * 1 million
    [ctn] c travel minimum           -1.000 deg
    [cjd] c junction deviation        0.0100 deg (larger is faster)
    [cra] c radius value              1.0000 deg
    [csn] c switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [csx] c switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [csv] c search velocity        6000.000 deg/min
    [clv] c latch velocity         1000.000 deg/min
    [clb] c latch backoff             5.000 deg
    [czb] c zero backoff              2.000 deg
    [cjh] c jerk homing              20 deg/min^3 * 1 million
    [cam] c axis mode                 0 [disabled]
    [cvm] c velocity maximum       3600.000 deg/min
    [cfr] c feedrate maximum       3600.000 deg/min
    [ctm] c travel maximum           -1.000 deg
    [cjm] c jerk maximum             20 deg/min^3 * 1 million
    [ctn] c travel minimum           -1.000 deg
    [cjd] c junction deviation        0.0100 deg (larger is faster)
    [cra] c radius value              1.0000 deg
    [csn] c switch min                1 [0=off,1=homing,2=limit,3=limit+homing]
    [csx] c switch max                0 [0=off,1=homing,2=limit,3=limit+homing]
    [csv] c search velocity        6000.000 deg/min
    [clv] c latch velocity         1000.000 deg/min
    [clb] c latch backoff             5.000 deg
    [czb] c zero backoff              2.000 deg
    [cjh] c jerk homing              20 deg/min^3 * 1 million
    [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             110.000 mm
    [g55y] g55 y offset             110.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             110.000 mm
    [g56y] g56 y offset              20.000 mm
    [g56z] g56 z offset             -10.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> 
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.