Repetier-Server Manual

Installation

First you should download the latest version of Repetier-Server from our homepage at http://www.repetier-server.com.

  1. Open the downloaded installer.
  2. Click on Yes to start installation.
  3. Click Next > to continue.
  4. Click I Agree to agree to our licence agreement and to continue.
  5. Select the destination folder and click Next > to continue.
  6. Click Finish to lose setup.
  7. Repetier-Server starts automatically a new browser window.
    The local URL is: http://localhost:3344

Important

Data Storage

By default the server stores all data in a global directory, which is normally located at C:\ProgramData\Repetier-Server\. This directory gets never deleted by updating or uninstalling the server to prevent data loss. If you want to backup your current state, just backup this directory.

Start, Stop and Rerstart Repetier-Server

The Server works as a background service. For this reason, you will never see it in the list of running programs and you never start it directly. It will be started automatically at startup of windows, so you can access it any time with your browser. To start, stop or restart it manually, follow these steps:

  1. Right click on the Windows Taskbar and start Task Manager.
  2. Click Open Services at the bottom of the Services tab of the Task Manager.
  3. Right click on RepetierServer and select start, stop or restart. That's all.

  1. Open the downloaded file.
  2. Click Continue to skip introduction page.
  3. You get a read me with short introduction, click on Continue.
  4. You see the EULA, click Continue.
  5. Click Agree to continue.
  6. Choose the install location and click Install.
  7. Enter your username and passwort to allow installation and click Install Software.
  8. Wait a while for the installation to finish.
  9. Click Close to finish installation.

Important

Data Storage

By default the server stores all data in a global directory, which is normally located at /Library/Application Support/Repetier-Server/. This directory gets never deleted by updating or uninstalling the server to prevent data loss. If you want to backup your current state, just backup this directory.

Start and Stop Repetier-Server

The Server works as a background daemon. For this reason, you will never see it in the list of running programs and you never start it directly. It will be started automatically start with the first initated connection with your browser. To start and stop it manually, open a terminal windows and enter


# Stop server
sudo launchctl unload /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
# Start server
sudo launchctl load /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
									

To install a new version of Repetier-Server download the version matching your computer and open a terminal and go to the download directory. There you enter:

sudo dpkg -i NewRepetierServerVersion.deb

After this, the server should already be running and you can access the interface with http://localhost:3344 or http://<ip address>:3344 if you are running it on a remote linux computer.

Important

Data Storage

By default the server stores all data in a global directory, which is normally located at /var/lib/Repetier-Server/. This directory gets never deleted by updating or uninstalling the server to prevent data loss. If you want to backup your current state, just backup this directory.

Start, Stop and Rerstart Repetier-Server

The Server works as a background daemon. It will be started automatically at startup of linux, so you can access it any time with your browser. To start, stop or restart it, enter the following command in a terminal:


# Start server
/etc/init.d/RepetierServer start
# Stop server
/etc/init.d/RepetierServer stop
# Restart server
/etc/init.d/RepetierServer restart
									

Configuration

Upload Config File

The easiest way to set up a new printer is to upload an existing config file. Go to -> Actions and click on Upload Printer Configuration. Enter a printer name, select the configuration file and click Create Printer. That's all. Maybe you must select the COM port.

To set the port, select your new printer on the left side and go to Settings -> Printer Settings.

To create a configuration file, go to Dashboard and click Actions -> Download Configuration in the printer overview.

Configuration Wizard

Another very simple way to add a new printer is our Configuration Wizard. Go to and click on + Add new Printer.

  1. Step 1: Naming
    In the first step you just have to enter the printer name and click Continue with Step 2 .
  2. Step 2: Connecting printer
    Here you have to select, which firmware is used, you have to set the Device / Port. The boud rate can be set to autodetect, which will test the typical rates. In case autodetect fails, you have to set it yourself.

    To speed up communication, the server sends as many commands as possible in a row. To prevent data loss, it is essential to know how many bytes the firmware can store, before the firmware buffer overflows. All known firmwares support at least 63 bytes. AVR based firmwares normally support 127 bytes.

    Click Continue with Step 3 to connect the printer.

    The configuration wizard now tries to read as many data as possible from the firmware. Whatever it detects gets set to the detected values. In the following detected values are marked with grene circles.
  3. Step 3: Geometry
    Here you can set the dimensions and bed shape of your printer. Then click Continue with Step 4 .
  4. Step 4: Extruders and bed
    Set the number of extruders and the filament diameter. Typical filament diameters are 1,75 mm and 2,85 mm. Then click Continue with Step 5 .
  5. Step 5: Features
    Check if you have installed a fan, a sd card reader and if you can enable main power with software command. Then click Finizsh Wizard . That's all.

Settings

Select your printer on the left side and go to Settings -> Printer Settings or call it from your Dashboard at Actions -> Printer Settings.

Here you can set all printer related parameter. So it is a good idea, to check these settings once your printer works. The settings are split into several categories to make navigation easier. To save the changed settings, press Save Configuration. If you leave settings without saving, you will get a security question to prevent accidential data loss. For parameters which may be difficult to understand you get a popover with detailed information when you click on the text field.

Here you find a manual how to set up a webcam in Repetier-Server.

Heatup and Cooldown Wizard

To calculate exact printing times, you should run the Heatup and Cooldown Wizard. This feature measures heating and cooling speed needed for accurate printing time prediction.

  1. Go to Settings -> Printer Settings -> Extruder and click Start Wizard.
  2. Make sure your printer has power! Then enter the temperatures for extriders and beds, then click Start Measurement.
  3. Now you have to wait. The wizard tracks the warming and cooling speeds, which will take some time, especially the cooling of the bed is time intensive.
  4. When sou see Heating and cooling speeds were computed and stored., the wizard is ready. The exact values for Heatup Speed and Cooldown Speed are stored autamatically.

Push Messages

3D printing is cool, but it always takes some time and nobody wants to spend all the time sitting next to the printer. This is where the Repetier-Informer app (the required app is available for Android and iOS devices) enters the scene. This will give you the desired status reports via fast and free push messages to your smartphone and/or tablet.

Click at top right of the browser window on the gear and choose Push Messages to configure your push messages. Here you have to enter a informer group you have created in your app and you can specify for which events messages are sent:

  • Print finished
  • Print started
  • Print paused
  • Print stopped
  • Severe error

Preview Images

Repetier-Server creates preview images for all uploaded g-codes and STL files, so that you can easily browse through your models and see them. To set the quality and colors, go to and choose Global Settings -> Preview Images.

Here you can set the material colors for each extruder. The color settings are used for all printers, so here may be more extruder displayed as you have.


To set the color you can enter the rgb values in hexadecimal format, use our color picker or click Select predefined colors and choose one of our color proposals.


Normally you just have to choce between hard and soft shadows for STL files (G-Codes always have hard shadows). Soft shadows take much more time for rendering. If you select Individual Advanced Settings, you can set all parameters like antialaising quality, shadows, refelctions, colors of bed and horizon, lights, ... manually. Note that some settings can extremely increase the computing time. For all the parameters you will get examples by clicking on .


Printing Costs

With Repetier-Server you can calculate in advance what a print will cost. Click at top right of the browser window on the gear and choose Global Settings -> Prining Costs to configure your price calculation.

Here you can set your currency, a handling fee (for professional offers) and costs per hour (e.g. electricity prices, hourly usage charge and printer wear). Then you can create any number of filament types and for each a price per cm³ and a weight per cm³.

Connectivity

API Key

With the API key in your Global Settings you can get complete access to the server. This is used to allow servers to communicate with each others or to add connectivity with other software without the use of login/password. Keep it secret or change it if you think it got compromised. To change the API Key, klick the button Replace with new API Key.

If you do not want to give complete access to the server, use the API Key from a User at User Profiles. Here the server gets the same rights as the choosen user.

Alternative Servers

If your server runs on a slow machine, it might be useful to do delegate cpu or memory intensive tasks to other Repetier-Server instances on other computers. It is not necessary, that the other instance is configured for any printer. It must be running, that is all that is required. So if you have a pc that runs anyway you might want to add the pc to the list. If no other server in this list is reachable, the server tries to run it locally.

To add an new Repetier-Server instance, click the button Add, enter a name, the API key of the instance, an IP address and the port and click the button Apply Changes.

Why Adding a User

Repetier-Server has a user management to assign individual users specific legal rights. Anyone who uses Repetier-Server alone and only in the home network does not necessarily need a user management. But if you would like to have access to Repetier-Server over the internet from anywhere, you should definitely create a user account, otherwise hackers may have access to the your server.

The first created user is a superuser with all rights. Then more users can be created which special rights so that they eg can not change the printer settings.

Add a User

Click at top right of the browser window on the gear and choose User Profiles. To add a new user click Create User. You just have to set a user name and a password, mark the wanted rights and click Create User. The first created user is a superuser with all rights.

After you have created a user, you need to sign in to get access to Repetier-Server.

API Key

Every user has an API key. With this API key you can get access to the server with the selected rights. This is used to allow servers to communicate with each others or to add connectivity with other software without the use of login/password. Keep it secret or change it if you think it got compromised. To change the API key, click the Edit button for the user and then click the button Create new Key.



Password Forgotten

If you have forgotten a user password, you can reset it if you have another user with configuration rights. As the last radical solution follow these steps:
  1. Stop Repetier-Server (see installation)
  2. Delete the file storagedirectory/database/user.sql
  3. Start Repetier-Server

Access a device from everywhere is a bit tricky, if you haven't done it before. First you should make sure that the computer running the server always has the same ip address. You can give it a static ip address or you teach your DHCP server to give it always the same ip address. For this, DHCP servers can bind a ip address to the computers MAC address. You can see the MAC in network settings. On linux systems ifconfig or ip addr show your settings and include also the MAC address. For those still wondering where this DHCP server is - it is typically a part of your network router connecting you to the internet. You should run this step even you do not want a worldwide access, simply to make it easy to access your printer and your webcam inside your house with the same URL.

Your router has only one external ip, so it is normally not possible to access any device behind this from outside. Most routers allow a trick called network address translation. Lets assume your server computer always gets the local ip address 192.168.0.22 and runs there on port 3344. Now we add a new entry in the NAT table on your router. We say it should map port 2000 to 192.168.0.22:3344. From this time it is now possible to enter your external ip with port 2000 and you will see the server user interface. If you have a webcam you need to forward the ports as well or you can not see the webcam from outside. Moreover you need to set the external webcam url in your configuration.

If you do not have a static ip address, like most of us, you are still in trouble. Your ip might change any time and then you can not connect from outside. The solution here is DynDNS. It allows a nameserver to change the ip, when your router gets a new ip address. Most routers support DynDNS out of the box for some systems. If it does not or if you want a free DynIP solution, have a look at https://duckdns.org. They provide a free entry and also show how to set it up for many platforms. Once you have set up your DynDNS solution, you have a simple url that works as long as your router is online and the server computer running. It could then look like mycoolprinter.dyndns_vendor.org:2000. The name comes from your DynDNS setup and the 2000 is the port you have set in your router NAT table.

Notice: When a printer is marked as active, the server will automatically connect to the printer. This implicates that you can not connect with any other software like Repetier-Host to the printer. If you want to do this, deactivate that printer. For the time it is deactivated, you can upload new firmware or use other hosting software with the printer.

Printer Control



In the top navigation bar, you can access the following menu items:
  • : Here you can switch between full screen and normal view in the browser.
  • : Here you can select your language.
  • : Here you get messages for special events like print finished or paused. You need to delete them in the menue by clicking the red button. In case of a paused message, the print will continue when you click on the red button.
  • : Click here to go to the dashboard.
  • : Here you get to the main configurations, register the pro version, open the manual and you can log out.
  • : Here you can switch between all printers. You also see the current printer status of all printers.

This is the starting point where you get a quick overview of all printer activities. For each printer you see:
  • The color of the headline indicates the connection status (green = online, red = offline, grey = deactivated, orange = connected, but no communication).
  • The Actions menu allows you to activate / deactivate the printer, chance, download or replace printer settings and removing the printer.
  • The temperature graph shows the temperature of the current extruder.
  • The progress bar shows the printing progress and job being processed.
  • The Go to Printer button sends you directly to the printer control page.
Above you see how much disk space is still available, so that you can act in time if it is running out.

In this area you can upload new G-Codes with the Upload G-Code button and you get information for stored G-Codes. To upload and start printing directly, use the Direct Print button.

The search box allows you to search by file name. The results are automatically displayed as you type.

Here you can select the display types of your G-Codes:

G-Code information without images
G-Code information with small images
256 pixel wide images without G-Code information
512 pixel wide images without G-Code information


By clicking a heading you can sort all entries ascending or descending.

Click to start printing. If a job is already running, this will add the job to the print queue.
Click to get a G-Code preview.
Click to get detailed information including price calculation:


When a job is running, you see a progress bar with ETA (Estimated Time of Arrival) and ETE (Estimated Time Enroute) and you can pause or stop the job.

If you start more than one job, you get a print queue. After a job is finished, you have to start the next job by clicking .

G-Code Preview


Here you can check and visualize your G-Code before you print. In 2D Preview you always see the currently selected single layer. That way we can visualize even very big G-Codes, which normally would not fit into RAM. The server also only downloads the currenty viewed layer to minimize traffic.

With you can slide through the layers or use for exact layer navigation.
With you see the move order for this layer. Click an 3D Preview to see a rendered Image of the model.
When you click on G-Code you see the complete G-Code of the current layer. To switch back to preview click 2D Preview.

You find these basic controls on all printer pages ( Print, Control, Console and Webcam). If you click on the respective button, the corresponding control panel will open.
  • If software power enabled (and supported) you can turn main power on and off.
  • Opens the exact movements dialog. Here you can move the head to exact coordinates.
  • Turns motor power off. Any movement will turn the power on again.
  • The Commands menu shows your predefined G-Codes scripts. Selecting one of them sends the stored G-Code to the printer.

Speed

You can quickly change the speed with the round slider or by clicking on the number in the middle. The speed is relative to the G-Code speed, so 100 means original speed and 150 means 50% faster than planed. Changing the speed will not changed the calculated times correctly. If you have changed your speed, you do not have to change the flow. Increasing speed may reduce the print quality.

Flow

You can quickly change the flow with the round slider or by clicking on the number in the middle. The flow changes the amount of extruded filament. If you see that you get not enough extrusion, you can increase the value. If you see filament piling up to high you should reduce it. Ideally your slicer should contain the right flow multiplier, so that you always print with 100%. If you change the ypeed, you do not have to change the flow.

Fan

You can quickly change the fan speed with the round slider or by clicking on the number in the middle. If you are printing, the G-Code may contain fan controlling commands which can overwrite your settings. Below the slider you can switch the fan power on and off without changing the value.


On this page you can control and visualize your printer. The left top shows your print bed with current coordinates. If you are not printing, you also see three sliders which you can use to move your head. Make sure you have homed before you do this!

On this page you find these additional controls:
  • Zooms to fit the complete bed.
  • Zoom out
  • Zoom in
  • Enables scroll wheel for zooming.
  • Homes the selected axis.
At the bottom you can control your heaters and see the temperature curves. You can quickly change the temperatures with the round slider or by clicking on the temperature in the middle. Each heater has also a menu, where you can select a predefined temperature, turn heater off and in case of extruders open the Extrude & Retract dialog.
The console gives you direct access to the firmware. With the Commands and ACK switch you can set which part of the communication you want to see. You will always see special firmware responses.
ACK filters background handshake which is normally of no interest.
If Commands is enabled, you will see all comands send to the printer.
The Pause Log switch pauses logging until disabled. This allows you to scroll through the last stored lines.

Below the switches comes the command input. Enter your G-Code and enter Return or click Send to submit your G-Code. The Commands menu allows you to send predefined scripts to the firmware.

When you have configurated a webcam in your printer settings (Open Configurations for Windows, Linux or Mac), you can watch your printer at work from everywhere. You can choose Single Images or Video to save traffic.

If your printer runs Repetier-Firmware, you can change many firmware options in the printer EEPROM page. Click Settings -> Printer EEPROM in your current printer. This option appears only if your printer runs Repetier-Firmware.

Sometimes it is needed to check what exactly happend. For this reason the server logs the communication with the printer. The standard log is called connected. If you have a running job, the communication gets logged into a file with the name of the job. You reach your logs in your printer pages over settings -> Print Logs.

With these printer logs it is easy to find the log which contains the communication you are interested in. The number of logs is limited to 5, so if the limit is reached and a new log gets created, the oldest log gets deleted automatically. The log which is currently being written is marked by a before log name. To see a log you have to download it and watch it with an external text editor. The text file is with unix file separators, so you need a text editor that handles this correctly (not Notepad, but WordPad works).

Advanced Themes

If you have a printer with touchscreen, the operability of the regular pages of Repetier-Server can be too complicated and depending on hardware and screen resolution too complex and memory intensive. For this reason we have developed customized interfaces for common touchscreen sizes with different resolutions.



The surfaces are optimized for the selected resolution and can be operated intuitively. The design can be easily adapted in size and design with HTML and CSS knowledge, which is particularly interesting for printer manufacturers who want to offer this with their own branding. More about adapting can be found on our website.

The touchscreen web pages can be accessed at the following URLs:

1024 x 600 pixels: http://localhost:3344/mod/front/1024x600/index.html
1024 x 800 pixels: http://localhost:3344/mod/front/1024x800/index.html
1280 x 800 pixels: http://localhost:3344/mod/front/1280x800/index.html

Important: As soon as a user has been created, the touchscreen interface can only be accessed with http://localhost:3344. For all other IP addresses automatic authorization is missing.

Note: Repetier-Server runs smoothly on Windows tablets like eg Dell Venue 8 Pro. Since the resolution relative to the size is very high, this can partially better be handled using this touchscreen inteface.

On this page we show you how to set up a Linux pc like Raspberry Pi to boot and start the front end on a connected display.

Calling External Commands

Sometimes it is usefull to be able to call some external commands from the web interface. For example if you are running the server from a Raspberry-PI and want to shut it down, it would b econvenient to do so savely without opening a ssh terminal. For that reason you can extend the top right menu with external commands, which then appear there. On the other side you might want to run some commands on special positions of the print. The server therefor has the @execute command allowing to call an external programm. For security reasons it is not possible to call arbitrary commands. Instead you have to write a extcommands.xml file which you drop in your databbase subdirectory inside your storage directory (see installation where this is for your os).

Below you see an example of such a code. After adding/changing the file, you need to restart the server. Make sure your file keeps valid!


<config>
	<!--
       If you want to run external commands, enter them in this configuration with
       full path. You will see them in the main menu. Copy this file into the
       <storage>/database directory.

       Security consideration: The reason there is no online editor for this is simply
       security. The commands you enter here are executed with the privileges of the
       daemon running the server. If you would allow online configuration, a hacker could
       simply add any command he needs to hack your system.
    -->
	<command>
		<name>Shutdown Server</name>
		<execute>sudo /sbin/shutdown -h now</execute>
		<confirm>Really shut down the server?</confirm>
	</command>
	<command>
		<name>Reboot Server</name>
		<execute>sudo /sbin/shutdown -r now</execute>
		<confirm>Really reboot the server?</confirm>
	</command>

	<!--
        G-code files can contain
        @execute cmd param1 param2
        commands. To prevent external users from executing unwanted or dangerous commands,
        only commands defined here are allowed to execute. More over, only the shortcuts
        defined here are to be used as cmd in @execute. Prevent parameter where ever possible.
    -->
	<execute name="play" allowParams="true">/usr/bin/afplay</execute><!-- play the sound file on moc os x -->
</config>

All commands get executed with the user account and privileges the server daemon runs. So if you want to allow it to shutdown your computer, you need to add RepetierServer to the list of allowed users. To do this, open a shell and enter the following commands:


# sudo -s
# echo "repetierserver ALL=NOPASSWD: /sbin/shutdown" > /etc/sudoers.d/repetierserver-shutdown

Alternative Startup Configuration Settings

By default the installer creates a startup configuration file RepetierServer.xml, which defines most important start parameter like storage location and a port to listen to. Because this gets overwritten with each update, we provide a mechanism to change these parameters permanently. In addition to this config file, the server tries to load two more config files if present. These files are RepetierServer-extra.xml at the same location where RepetierServer.xml resides (installation directory/bin/ for Windows and intsallation directory/etc/ for Linux and Mac) and storage directory/database/RepetierServer.xml.

Sometimes you might want to initate actions at special positions of the G-Code beeing send. To allow this, you can add server commands inside the code. Server commands start with @ or ;@. Use the latter if the code should also woek without the server. Then it would be handled as a simple comment and gets ignored. You can also send these commands over the console panel.

@pause some text

Use this to pause at a predefined position. Add some text to give a hint on why you did pause. If push messages are enabled for pauses you will get also a message on your smartphone.

@message some text

Puts the message into the message queue. Usefull to get some timings or why ever you might want a message.

@pushmessage some text

Sends a push message if enabled with the text.

@execute cmd param1 param2

If you have set up a extcommands.xml with some execute statements, you can run them with @execute. cmd should match the name given with name attibute. Additional parameters are only added if this was allowed in extcommands.xml.

@isathome

Marks the current position as at home coordinates. Usefull if your printer has no endstops yet.

@kill

This command tries to reset the printer with the DTR/RTS signal toggle. Not all printers can be reset that way!

G-Codes

  • G0 X<xpos> Y<ypos> Z<zpos> E<epos> F<feedrate>
    Coordinated Movement X Y Z E, S1 disables boundary check, S0 enables it
  • G1 X<xpos> Y<ypos> Z<zpos> E<epos> F<feedrate>
    Coordinated Movement X Y Z E, S1 disables boundary check, S0 enables it
  • G4
    Dwell S<seconds> or P<milliseconds>
  • G20
    Units for G0/G1 are inches.
  • G21
    Units for G0/G1 are mm.
  • G28
    Home all axis or named axis.
  • G29 S<0..2>
    Z-Probe at the 3 defined probe points. S = 1 measure avg. zHeight, S = 2 store avg zHeight
  • G30 P<0..3>
    Single z-probe at current position P = 1 first measurement, P = 2 Last measurement P = 0 or 3 first and last measurement
  • G31
    Write signal of probe sensor
  • G32 S<0..2> P<0..1>
    Autolevel print bed. S = 1 measure zLength, S = 2 Measue and store new zLength
  • G90
    Use absolute coordinates
  • G91
    Use relative coordinates
  • G92
    Set current position to cordinates given
  • G131
    set extruder offset position to 0 - needed for calibration with G132
  • G132
    calibrate endstop positions. Call this, after calling G131 and after centering the extruder holder.

RepRap M Codes

  • M104
    Set extruder target temp
  • M105
    Read current temp
  • M106
    Fan on
  • M107
    Fan off
  • M109
    Wait for extruder current temp to reach target temp.
  • M114
    Display current position

Custom M Codes

  • M20
    List SD card
  • M21
    Init SD card
  • M22
    Release SD card
  • M23
    Select SD file (M23 filename.g)
  • M24
    Start/resume SD print
  • M25
    Pause SD print
  • M26
    Set SD position in bytes (M26 S12345)
  • M27
    Report SD print status
  • M28
    Start SD write (M28 filename.g)
  • M29
    Stop SD write
  • M30 <filename>
    Delete file on sd card
  • M32 <dirname>
    create subdirectory
  • M42 P<pin number> S<value 0..255>
    Change output of pin P to S. Does not work on most important pins.
  • M80
    Turn on power supply
  • M81
    Turn off power supply
  • M82
    Set E codes absolute (default)
  • M83
    Set E codes relative while in Absolute Coordinates (G90) mode
  • M84
    Disable steppers until next move, or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled. S0 to disable the timeout.
  • M85
    Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
  • M92
    Set axisStepsPerMM - same syntax as G92
  • M99 S<delayInSec> X0 Y0 Z0
    Disable motors for S seconds (default 10) for given axis.
  • M104 S<temp> T<extruder> P1 F1
    Set temperature without wait. P1 = wait for moves to finish, F1 = beep when temp. reached first time
  • M105 X0
    Get temperatures. If X0 is added, the raw analog values are also written.
  • M112
    Emergency kill
  • M115
    Capabilities string
  • M116
    Wait for all temperatures in a +/- 1 degree range
  • M117 <message>
    Write message in status row on lcd
  • M119
    Report endstop status
  • M140 S<temp> F1
    Set bed target temp, F1 makes a beep when temperature is reached the first time
  • M163 S<extruderNum> P<weight>
    Set weight for this mixing extruder drive
  • M164 S<virtNum> P<0 = dont store eeprom,1 = store to eeprom>
    Store weights as virtual extruder S
  • M190
    Wait for bed current temp to reach target temp.
  • M201
    Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
  • M202
    Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000)
  • M203
    Set temperture monitor to Sx
  • M204
    Set PID parameter X => Kp Y => Ki Z => Kd S<extruder> Default is current extruder. NUM_EXTRUDER=Heated bed
  • M205
    Output EEPROM settings
  • M206
    Set EEPROM value
  • M207 X<XY jerk> Z<Z Jerk> E<ExtruderJerk>
    Changes current jerk values, but do not store them in eeprom.
  • M220 S<Feedrate multiplier in percent>
    Increase/decrease given feedrate
  • M221 S<Extrusion flow multiplier in percent>
    Increase/decrease given flow rate
  • M231 S<OPS_MODE> X<Min_Distance> Y<Retract> Z<Backlash> F<ReatrctMove>
    Set OPS parameter
  • M232
    Read and reset max. advance values
  • M233 X<AdvanceK> Y<AdvanceL>
    Set temporary advance K-value to X and linear term advanceL to Y
  • M251
    Measure Z steps from homing stop (Delta printers). S0 - Reset, S1 - Print, S2 - Store to Z length (also EEPROM if enabled)
  • M280 S<mode>
    Set ditto printing mode. mode: 0 = off, 1 = 1 extra extruder, 2 = 2 extra extruder, 3 = 3 extra extruders
  • M281
    Test if watchdog is running and working.
  • M300 S<Frequency> P<DurationMillis>
    play frequency
  • M302 S<0 or 1>
    allow cold extrusion. Without S parameter it will allow. S1 will disallow.
  • M303 P<extruder/bed> S<printTemerature> X0
    Autodetect pid values. Use P<NUM_EXTRUDER> for heated bed. X0 saves result in EEPROM.
  • M320
    Activate autolevel
  • M321
    Deactivate autolevel
  • M322
    Reset autolevel matrix
  • M323 S0/S1
    enable disable distortion correction P0 = not permanent, P1 = permanent = default
  • M340 P<servoId> S<pulseInUS>
    servoID = 0..3, Servos are controlled by a pulse with normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
  • M350 S<mstepsAll> X<mstepsX> Y<mstepsY> Z<mstepsZ> E<mstepsE0> P<mstespE1>
    Set microstepping on RAMBO board
  • M400
    Wait until move buffers empty.
  • M401
    Store x, y and z position.
  • M402
    Go to stored position. If X, Y or Z is specified, only these coordinates are used. F changes feedrate fo rthat move.
  • M500
    Store settings to EEPROM
  • M501
    Load settings from EEPROM
  • M502
    Reset settings to the one in configuration.h. Does not store values in EEPROM!
  • M908 P<address> S<value>
    Set stepper current for digipot (RAMBO board)