TinyG2 homing crashes

7 views
Skip to first unread message

Lisandro B

unread,
May 20, 2016, 4:11:56 PM5/20/16
to TinyG Development
From time to time, my tinyg2 due will start running at the limit switch but will not stop even when it latchs, It does it on X and Y axis, somethimes one,sometimes the other.
I don't think this is a noise related issue, because  when the switch get triggered, it remains that way but the steppers keeps going at the same speed, no change in speed or direction

txs in advance
Message has been deleted
Message has been deleted

Lisandro B

unread,
May 20, 2016, 4:27:45 PM5/20/16
to TinyG Development
{"r":{"fv":0.98,"fb":83.08,"hp":3,"hv":0,"id":"0213-0215-d433","msg":"SYSTEM REA
DY"},"f":[1,0,0]}
                                                             
tinyg [mm] ok>
                                                               
[fb]  firmware build             83.08
                                        
[fv]  firmware version            0.98
                                        
[cv]  configuration version       7.00
                                        
[hp]  hardware platform           3.00
                                        
[hv]  hardware version            0.00
                                        
[id]  TinyG ID       0213-0215-d433
                                           
[ja]  junction acceleration 2000000 mm
                                        
[ct]  chordal tolerance           0.0100 mm
                                   
[sl]  soft limit enable           0 [0=disable,1=enable]
                      
[lim] limit switch enable         1 [0=disable,1=enable]
                      
[saf] safety interlock enable     1 [0=disable,1=enable]
                      
[mt]  motor idle timeout          2.00 seconds
                                
[spep] spindle enable polarity    1 [0=active_low,1=active_high]
              
[spdp] spindle direction polarity 0 [0=CW_low,1=CW_high]
                      
[spph] spindle pause on hold      1 [0=no,1=pause_on_hold]
                    
[spdw] spindle dwell time         1.0 seconds
                                 
[cofp] coolant flood polarity     1 [0=low is ON,1=high is ON]
                
[comp] coolant mist polarity      1 [0=low is ON,1=high is ON]
                
[coph] coolant pause on hold      0 [0=no,1=pause_on_hold]
                    
[tv]  text verbosity              1 [0=silent,1=verbose]
                      
[ej]  enable json mode            0 [0=text,1=JSON]
                           
[jv]  json verbosity              2 [0=silent,1=footer,2=messages,3=configs,4=li
nenum,5=verbose]
                                                              
[js]  json serialize style        1 [0=relaxed,1=strict]
                      
[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           250 ms
                                        
[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   40.0000 mm
                                   
[1mi] m1 microsteps               8 [1,2,4,8,16,32]
                           
[1po] m1 polarity                 1 [0=normal,1=reverse]
                      
[1pm] m1 power management         2 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[1pl] m1 motor power level        0.375 [0.000=minimum, 1.000=maximum]
        
[2ma] m2 map to axis              1 [0=X,1=Y,2=Z...]
                          
[2sa] m2 step angle               1.800 deg
                                   
[2tr] m2 travel per revolution   40.0000 mm
                                   
[2mi] m2 microsteps               8 [1,2,4,8,16,32]
                           
[2po] m2 polarity                 0 [0=normal,1=reverse]
                      
[2pm] m2 power management         2 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[2pl] m2 motor power level        0.375 [0.000=minimum, 1.000=maximum]
        
[3ma] m3 map to axis              2 [0=X,1=Y,2=Z...]
                          
[3sa] m3 step angle               1.800 deg
                                   
[3tr] m3 travel per revolution  178.1600 mm
                                   
[3mi] m3 microsteps               8 [1,2,4,8,16,32]
                           
[3po] m3 polarity                 0 [0=normal,1=reverse]
                      
[3pm] m3 power management         1 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[3pl] m3 motor power level        0.375 [0.000=minimum, 1.000=maximum]
        
[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.0000 mm
                                   
[4mi] m4 microsteps               8 [1,2,4,8,16,32]
                           
[4po] m4 polarity                 0 [0=normal,1=reverse]
                      
[4pm] m4 power management         2 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[4pl] m4 motor power level        0.375 [0.000=minimum, 1.000=maximum]
        
[5ma] m5 map to axis              4 [0=X,1=Y,2=Z...]
                          
[5sa] m5 step angle               1.800 deg
                                   
[5tr] m5 travel per revolution  360.0000 mm
                                   
[5mi] m5 microsteps               8 [1,2,4,8,16,32]
                           
[5po] m5 polarity                 0 [0=normal,1=reverse]
                      
[5pm] m5 power management         2 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[5pl] m5 motor power level        0.000 [0.000=minimum, 1.000=maximum]
        
[6ma] m6 map to axis              5 [0=X,1=Y,2=Z...]
                          
[6sa] m6 step angle               1.800 deg
                                   
[6tr] m6 travel per revolution  360.0000 mm
                                   
[6mi] m6 microsteps               8 [1,2,4,8,16,32]
                           
[6po] m6 polarity                 0 [0=normal,1=reverse]
                      
[6pm] m6 power management         2 [0=disabled,1=always on,2=in cycle,3=when mo
ving]
                                                                         
[6pl] m6 motor power level        0.000 [0.000=minimum, 1.000=maximum]
        
[xam] x axis mode                 1 [standard]
                                
[xvm] x velocity maximum     400000 mm/min
                                    
[xfr] x feedrate maximum     400000 mm/min
                                    
[xtn] x travel minimum            0.000 mm
                                    
[xtm] x travel maximum          385.000 mm
                                    
[xjm] x jerk maximum           1500 mm/min^3 * 1 million
                      
[xjh] x jerk homing           20000 mm/min^3 * 1 million
                      
[xjd] x junction deviation        0.1000 mm (larger is faster)
                
[xhi] x homing input              1 [input 1-N or 0 to disable homing this axis]

                                                                              
[xhd] x homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[xsv] x search velocity         500 mm/min
                                    
[xlv] x latch velocity       100.00 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     100000 mm/min
                                    
[yfr] y feedrate maximum     100000 mm/min
                                    
[ytn] y travel minimum            0.000 mm
                                    
[ytm] y travel maximum          355.000 mm
                                    
[yjm] y jerk maximum             85 mm/min^3 * 1 million
                      
[yjh] y jerk homing           20000 mm/min^3 * 1 million
                      
[yjd] y junction deviation        0.1000 mm (larger is faster)
                
[yhi] y homing input              3 [input 1-N or 0 to disable homing this axis]

                                                                              
[yhd] y homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[ysv] y search velocity         500 mm/min
                                    
[ylv] y latch velocity       100.00 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    1000000 mm/min
                                    
[zfr] z feedrate maximum    1000000 mm/min
                                    
[ztn] z travel minimum          -28.000 mm
                                    
[ztm] z travel maximum           28.000 mm
                                    
[zjm] z jerk maximum           5000 mm/min^3 * 1 million
                      
[zjh] z jerk homing           20000 mm/min^3 * 1 million
                      
[zjd] z junction deviation        0.0100 mm (larger is faster)
                
[zhi] z homing input              6 [input 1-N or 0 to disable homing this axis]

                                                                              
[zhd] z homing direction          1 [0=search-to-negative, 1=search-to-positive]

                                                                              
[zsv] z search velocity         400 mm/min
                                    
[zlv] z latch velocity       100.00 mm/min
                                    
[zlb] z latch backoff             5.000 mm
                                    
[zzb] z zero backoff              0.000 mm
                                    
[aam] a axis mode                 3 [radius]
                                  
[avm] a velocity maximum    3600000 deg/min
                                   
[afr] a feedrate maximum    3600000 deg/min
                                   
[atn] a travel minimum           -1.000 deg
                                   
[atm] a travel maximum           -1.000 deg
                                   
[ajm] a jerk maximum          13500 deg/min^3 * 1 million
                     
[ajh] a jerk homing           13500 deg/min^3 * 1 million
                     
[ajd] a junction deviation        0.5000 deg (larger is faster)
               
[ara] a radius value              6.3662 deg
                                  
[ahi] a homing input              0 [input 1-N or 0 to disable homing this axis]

                                                                              
[ahd] a homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[asv] a search velocity         600 deg/min
                                   
[alv] a latch velocity       100.00 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
                     
[bjh] b jerk homing              20 deg/min^3 * 1 million
                     
[bjd] b junction deviation        0.5000 deg (larger is faster)
               
[bra] b radius value              1.0000 deg
                                  
[bhi] b homing input              0 [input 1-N or 0 to disable homing this axis]

                                                                              
[bhd] b homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[bsv] b search velocity        6000 deg/min
                                   
[blv] b latch velocity      1000.00 deg/min
                                   
[blb] b latch backoff             5.000 deg
                                   
[bzb] b zero backoff              2.000 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
                     
[cjh] c jerk homing              20 deg/min^3 * 1 million
                     
[cjd] c junction deviation        0.5000 deg (larger is faster)
               
[cra] c radius value              1.0000 deg
                                  
[chi] c homing input              0 [input 1-N or 0 to disable homing this axis]

                                                                              
[chd] c homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[csv] c search velocity        6000 deg/min
                                   
[clv] c latch velocity      1000.00 deg/min
                                   
[clb] c latch backoff             5.000 deg
                                   
[czb] c zero backoff              2.000 deg
                                   
[p1frq] pwm frequency               100 Hz
                                    
[p1csl] pwm cw speed lo            7900 RPM
                                   
[p1csh] pwm cw speed hi           12800 RPM
                                   
[p1cpl] pwm cw phase lo           0.130 [0..1]
                                
[p1cph] pwm cw phase hi           0.170 [0..1]
                                
[p1wsl] pwm ccw speed lo              0 RPM
                                   
[p1wsh] pwm ccw speed hi              0 RPM
                                   
[p1wpl] pwm ccw phase lo          0.100 [0..1]
                                
[p1wph] pwm ccw phase hi          0.100 [0..1]
                                
[p1pof] pwm phase off             0.100 [0..1]
                                
[chd] c homing direction          0 [0=search-to-negative, 1=search-to-positive]

                                                                              
[csv] c search velocity        6000 deg/min
                                   
[clv] c latch velocity      1000.00 deg/min
                                   
[clb] c latch backoff             5.000 deg
                                   
[czb] c zero backoff              2.000 deg
                                   
[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>
                                                               
                 

Riley Porter

unread,
May 21, 2016, 10:49:32 AM5/21/16
to devT...@googlegroups.com
Lisandro,

Most of the team is at the Makerfaire in California and will be out of touch for a week or so.  That being said can you trigger the condition in a controlled way?  Meaning can you setup a test where it always occurs?  This is what we are going to need to be able to test this out.

Riley

--
You received this message because you are subscribed to the Google Groups "TinyG Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devTinyG+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Lisandro B

unread,
May 22, 2016, 1:50:12 PM5/22/16
to TinyG Development

Hi Ril3y:
             I really tried to find the conditions in wich this happens, no luck its very erratic. I can send 20 g28.2 z0x0y0 and they migth not fail, but sometimes it suddenly does
Reply all
Reply to author
Forward
0 new messages