Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
g4 [2017/01/25 13:37]
arthur
g4 [2021/02/22 16:51] (current)
Line 1: Line 1:
-[[f>image https://upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Waiting_room_icon.svg/2000px-Waiting_room_icon.svg.png style="width:400px"]]+<html> 
 +<!-- Original Wikidot-time syntax, auto-replaced: «<html> 
 +<!-- Original Wikidot-time syntax, auto-replaced: «[[f>image https://upload.wikimedia.org/wikipedia/commons/thumb/a/ac/Waiting_room_icon.svg/2000px-Waiting_room_icon.svg.png style="width:400px"]]» --> 
 +<img src="/_media///external/https.upload.wikimedia.org.wikipedia.commons.thumb.a.ac.waiting.room.icon.svg.2000px.waiting.room.icon.svg.png" class="pull-right" style="width:400px"> 
 +</html>» --> 
 +<img src="/_media//external/https.upload.wikimedia.org.wikipedia.commons.thumb.a.ac.waiting.room.icon.svg.2000px.waiting.room.icon.svg.png" class="pull-right" style="width:400px"> 
 +</html>
  
-==G4 G-code+== G4 G-code
  
 G4 means "pause for a given duration of time". G4 means "pause for a given duration of time".
Line 9: Line 15:
 The command is used as such :  The command is used as such : 
  
-[[code]]+<code>
 G4 S5 G4 S5
-[[/code]]+</code>
  
-Which means : pause for 5 seconds.+Which means : pause for 5 seconds.
  
 This is useful for example to wait for spindles to ramp up to speed, or to wait for small layers to cool down on 3D printers. This is useful for example to wait for spindles to ramp up to speed, or to wait for small layers to cool down on 3D printers.
Line 19: Line 25:
 === Parameters === Parameters
  
-||~ Parameter ||~ Usage ||~ Example |+Parameter Usage Example | 
-|| {{S}} || Duration to wait in seconds || G4 S10 |+<kbd>S</kbd> | Duration to wait in seconds | G4 S10 | 
-|| {{P}} || Duration to wait in milliseconds ( thousandth of a second ) || G4 P100 ||+<kbd>P</kbd> | Duration to wait in milliseconds ( thousandth of a second ) | G4 P100 |
  
-Note that if {{grbl_mode}} is set to {{true}} then the {{P}} parameter is the duration to wait in seconds, not milliseconds, as a float value. This is to conform to G-Code standards.+Note that if <kbd>grbl_mode</kbd> is set to <kbd>true</kbd> then the <kbd>P</kbd> parameter is the duration to wait in seconds, not milliseconds, as a float value. This is to conform to G-Code standards.
  
 === Further reading === Further reading
  
 These resources are used as references for Gcode :  These resources are used as references for Gcode : 
-* [http://linuxcnc.org/docs/html/gcode.html LinuxCNC Gcode list] +[[http://linuxcnc.org/docs/html/gcode.html|LinuxCNC Gcode list]
-* [http://reprap.org/wiki/G-code Reprap Gcode list]+[[http://reprap.org/wiki/G-code|Reprap Gcode list]]