User Tools

Site Tools


wifi:g-code_file

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
wifi:g-code_file [2017/06/29 13:47]
Matthew Upp corrected some typos
wifi:g-code_file [2020/05/22 00:02]
Matthew Upp
Line 15: Line 15:
   - The printer will go through a short routine. The fan turning on/off and movement of the X & Y axis is to let the user know that process has started and that is has ended. ​ i.e. The important parts are the two lines that contain M550 & M551   - The printer will go through a short routine. The fan turning on/off and movement of the X & Y axis is to let the user know that process has started and that is has ended. ​ i.e. The important parts are the two lines that contain M550 & M551
     - The fan will turn on to signify start     - The fan will turn on to signify start
-    ​- X & Y axis will move to home position to signify start +    - SSID & Password will be sent and saved to the printer 
-    ​- SSID & Password will be saved to the printer +    - The fan will turn off for one second and then pulse on and off a few times to signify completion 
-    - The hotend will move to the center of the bed +    - Sometimes the LCD doesn'​t show the job as complete but you can cancel the job or power cycle the printer. This seems to happen when there is not a blank/empty line at the end of the gcode file.
-    - The fan will turn off to signify completion +
-    - Sometimes the LCD doesn'​t show the job as complete but you can cancel the job or power cycle the printer.+
  
 ** Limitations ** \\ ** Limitations ** \\
Line 27: Line 25:
  
 <file gcode wifi_setup.gcode>​ <file gcode wifi_setup.gcode>​
-; G-Code generated by Matthew Upp +; G-Code generated by Matthew Upp of GigDigit.com 
-; WiFi SSID & Password ​for Malyan M200 MP Select Mini +; 
-+; Set WiFi SSID & Password 
 +
 +; This gcode file will work with the following 3D printers: 
 +Malyan ​- M100, M200, M300, M310, M320, MA10, MA10 Mini 
 +; Monoprice - MP10, MP10 Mini, MP Mini Delta, ​MP Select Mini 
 +; 
 +;
 ; Look below and replace "​SSID"​ with the name of your WiFi network - don't leave spaces after the SSID name ; Look below and replace "​SSID"​ with the name of your WiFi network - don't leave spaces after the SSID name
 ; Look below and replace "​PASSWORD"​ with the password for your WiFi network - don't leave spaces after the password ; Look below and replace "​PASSWORD"​ with the password for your WiFi network - don't leave spaces after the password
 ; This method will not work if WiFi password contains a semicolon “;” ; This method will not work if WiFi password contains a semicolon “;”
 ; This method will not work for configuring open system WiFi networks with no password ; This method will not work for configuring open system WiFi networks with no password
-; Lines with only a semicolon are for making line separations only +
-; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should ​end with a single blank line at the end.+; Lines with only a semicolon are for making line separations only. 
 +; Please add a blank line to the end of the file while editing. 
 +; If you don't add the blank line but the print  
 +; completed screen will not appear and will require turning the  
 +; printer off and back on to proceed.  
 +; (DokuWiki Code Blocks deletes blank lines at the end of the block but  
 +g-code files typically ​end with a single blank line at the end.
 +
 +; This file is much longer than it needs to be but is like this to  
 +; show what is going on. 
 +
 +; If when "​printing"​ this file it does not show as completed on the  
 +; display but the fan pulsed on and off a few times then the commands  
 +; to set the SSID and password were successfully ran and saved.  
 +; You can turn the printer off and on. 
 +;
  
-;  +
-M106 S0 ; turn fan off in case it was already on +; BEGIN 
-M106 S200 ; turn fan on to signify start +M107 ; turn fan off in case it was already on 
-G28 X Y home X & Y to signify start +M106 S237 ; turn fan on to signify start 
-;  +
- +
 +The next two lines are the only actual commands that are needed to 
 +; store the wifi networks SSID and password.
 M550 SSID M550 SSID
 M551 PASSWORD M551 PASSWORD
-;  +
-;  +
-G1 X60 Y60 F1000 CENTER bed to signify completion +PULSE FAN TO SIGNIFY COMPLETION 
-M106 S0 ; turn fan off to signify completion+M107 ; turn fan off 
 +G4 S1 ; wait 1 second 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +G4 P250 ; wait 0.25 seconds 
 +M106 S255 ; fan at full speed 
 +G4 P500 ; wait 0.5 seconds 
 +M107 ; fan off 
 +
 +
 +M400 ; wait for current moves to finish 
 +M107 ; turn fan off to signify completion
 M84 ; disable motors M84 ; disable motors
 +; END
  
 </​file>​ </​file>​
wifi/g-code_file.txt · Last modified: 2020/05/22 00:02 by Matthew Upp