Welcome to Our Community

Some features disabled for guests. Register Today.

Looking for some help on GShield V5 (TinyG2) Due combo (noob) or maybe just general help?

Discussion in 'Controller Boards' started by Josh Mascote, Mar 16, 2014.

  1. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9
    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... I can post my config file if that helps...

    Anyway, was hoping someone would be kind, take pity on my noobness and guide me to understand these issues. Thanks in advance. -Josh
     
  2. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    I have not used the gsheild but if it runs grbl then the values you need to adjust are $0 and $1 , $2 is the z axis
    Mind you how it does the first square I have no idea if it was a axis mix up like I'm thinking
     
  3. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9

    So 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 ($$):
    Code:
    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> 
     
  4. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    The fact that it draws the squares dimensionally correct I believe your issue is code or software not the step settings
     
  5. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9
    Yeah, I am really scratching my head on this one. If I leave the TR values at the default 36.540 (shapeoko defaults) it draws the separation in between things, but they are 1/5 scale. I just don't understand how modifying the TR values would result in things drawing on top of each other.
     
  6. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    From looking at the file you posted "$$" I'm starting to think that the gsheild runs a custom version of grbl with a different way of executing motor control.
    I am thinking there must be another setting that you must adjust, almost seems as if the jog ratio does not match to you milling setting, so when it is not exacting code and jogs to the next position it's done in the 1/5 scale still
    Hope that makes sense to you
     
  7. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9
    It does make sense, but I am at a loss currently to find any setting or software to correct it. So far I have tried CoolTerm, Chrome G-Code Sender (fairly nice for what it is), Universal Gcode Sender (doesn't work well yet, 07 version is supposed to support Tinyg), tgFX (doesn't work on the Gshield version yet). I posted over in the synthetos Gshield forums as well, no luck yet.

    Edit: Thank you Robert for trying to help. :D)
     
  8. Robert Hummel

    Robert Hummel Custom Builder
    Moderator

    Joined:
    Nov 14, 2013
    Messages:
    978
    Likes Received:
    715
    Have you tried changing all tr values 1-6 to be the same , grabbing at straws here lol
     
  9. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9
    I have not, but will give it a go when I get home.
     
  10. Josh Mascote

    Builder

    Joined:
    Jan 30, 2014
    Messages:
    39
    Likes Received:
    9
    Ok, so I figured it out. It was mostly that the X, Y, and Z axis velocity max and feedrate max were set too high despite being a suggested starting value. Once I toned those down (X&Y to 2000 mm/min, and Z to 100mm/min) the results started behaving. Also, my particular stepper motors have a .35 step angle.

    Basically what was happening was that the controller was wanting the stepper motors to move so fast they literally could not move or not move enough in the time allotted. Next task is to find a decent software package. Also, how to make all these changes and not have to type them in manually every time I power the board.
     
    Mark Carew likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice