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
console-commands [2019/09/28 23:34]
wolfmanjm
console-commands [2021/02/22 17:48] (current)
Line 44: Line 44:
 commands: commands:
 version version
-mem [-v] +mem [[-v|]
-ls [-s]|[folder]+ls [[-s|]]|[[folder|]]
 cd folder cd folder
 pwd pwd
-cat file [limit]|[-d 10]+cat file [[limit|]]|[[-d|10]]
 rm file rm file
 mv file newfile mv file newfile
 remount remount
-play file [-v]+play file [[-v|]]
 progress - shows progress of current play progress - shows progress of current play
 abort - abort currently playing file abort - abort currently playing file
Line 58: Line 58:
 dfu - enter dfu boot loader dfu - enter dfu boot loader
 break - break into debugger break - break into debugger
-config-get [<configuration_source>] <configuration_setting> +config-get [[<configuration_source>|]] <configuration_setting> 
-config-set [<configuration_source>] <configuration_setting> <value> +config-set [[<configuration_source>|]] <configuration_setting> <value> 
-get [pos|wcs|state|status|fk|ik] +get [[pos|wcs|state|status|fk|ik|]
-get temp [bed|hotend]+get temp [[bed|hotend|]]
 set_temp bed|hotend 185 set_temp bed|hotend 185
-switch name [value]+switch name [[value|]]
 net net
-load [file] - loads a configuration override file from specified name or config-override +load [[file|]] - loads a configuration override file from specified name or config-override 
-save [file] - saves a configuration override file as specified filename or as config-override+save [[file|]] - saves a configuration override file as specified filename or as config-override
 upload filename - saves a stream of text to the named file upload filename - saves a stream of text to the named file
-calc_thermistor [-s0] T1,R1,T2,R2,T3,R3 - calculate the Steinhart Hart coefficients for a thermistor+calc_thermistor [[-s0|]] T1,R1,T2,R2,T3,R3 - calculate the Steinhart Hart coefficients for a thermistor
 thermistors - print out the predefined thermistors thermistors - print out the predefined thermistors
 md5sum file - prints md5 sum of the given file md5sum file - prints md5 sum of the given file
Line 78: Line 78:
 <kbd>ls</kbd> <kbd>ls</kbd>
 <code> <code>
-ls [[-s]|[folder]]+ls [[-s]|[[folder|]]]
 </code> </code>
  
Line 123: Line 123:
  
 <code> <code>
-cat file [limit]+cat file [[limit|]]
 </code> </code>
  
Line 138: Line 138:
  
 <code> <code>
-play file [-v]+play file [[-v|]]
 </code> </code>
  
Line 295: Line 295:
 <kbd>config--get</kbd> <kbd>config--get</kbd>
 <code> <code>
-config-get [<configuration_source>] <configuration_setting>+config-get [[<configuration_source>|]] <configuration_setting>
 </code> </code>
 Outputs the value of this configuration setting to the standard output. The value is taken from the //config// file. Outputs the value of this configuration setting to the standard output. The value is taken from the //config// file.
Line 359: Line 359:
  
 And be very careful as this command will leave your laser on indefinitely, it is the only thing that can do that, and it is dangerous. And be very careful as this command will leave your laser on indefinitely, it is the only thing that can do that, and it is dangerous.
 +
 +=== Host commands
 +These are commands designed to return information to a Host program like Smoopi. Some are instant and reply regardless of the state of the buffers.
 +
 +<key>$G</key> return gcode state eg ''[[GC:G0|G54 G17 G21 G90 G94 M0 M5 M9 T0 F15000.0 S0.8000]]''
 +
 +<key>$I</key> same as $G but sends no ok and is instant
 +
 +<key>$H</key> Home
 +
 +<key>$J</key> [[Xnnn|]] [[Ynnn|]] [[Znnn|]] [[Snnn|]] issue jog command, axis can be XYZABC optional S is scale of max_rate
 +
 +<key>$S</key> [[switches|]] return switch state(s) for the named switches
 +
 +<key>$X</key> release ALARM state
 +
 +<key>$#</key> returns the WCS states and values
 +
 +<key>?</key> instantly returns the current running state, axis positions, feedrates and temperatures eg ''<Idle|MPos:0.0000,0.0000,470.7656,85.1522|WPos:0.0000,0.0000,470.5656|F:15000.0,279.0|T:22.2,0.0|B:22.2,0.0>''
 +
  
 === Stopping Smoothie === Stopping Smoothie
  
 {{page>stopping-smoothie}} {{page>stopping-smoothie}}