Browse Source

now velocities are also set in mm/sec in gcode.

Bernhard 13 years ago
parent
commit
b58787a367
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/Marlin.pde

+ 5
- 5
Marlin/Marlin.pde View File

@@ -913,7 +913,7 @@ inline void process_commands()
913 913
     #endif
914 914
     case 203: // M203 max feedrate mm/sec
915 915
       for(int8_t i=0; i < NUM_AXIS; i++) {
916
-        if(code_seen(axis_codes[i])) max_feedrate[i] = code_value()*60 ;
916
+        if(code_seen(axis_codes[i])) max_feedrate[i] = code_value();
917 917
       }
918 918
       break;
919 919
     case 204: // M204 acclereration S normal moves T filmanent only moves
@@ -924,11 +924,11 @@ inline void process_commands()
924 924
       break;
925 925
     case 205: //M205 advanced settings:  minimum travel speed S=while printing T=travel only,  B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk
926 926
     {
927
-      if(code_seen('S')) minimumfeedrate = code_value()*60 ;
928
-      if(code_seen('T')) mintravelfeedrate = code_value()*60 ;
927
+      if(code_seen('S')) minimumfeedrate = code_value();
928
+      if(code_seen('T')) mintravelfeedrate = code_value();
929 929
       if(code_seen('B')) minsegmenttime = code_value() ;
930
-      if(code_seen('X')) max_xy_jerk = code_value()*60 ;
931
-      if(code_seen('Z')) max_z_jerk = code_value()*60 ;
930
+      if(code_seen('X')) max_xy_jerk = code_value() ;
931
+      if(code_seen('Z')) max_z_jerk = code_value()s ;
932 932
     }
933 933
     break;
934 934
     case 220: // M220 S<factor in percent>- set speed factor override percentage

Loading…
Cancel
Save