Using Test Scripts

In order to fully test your SMuFF...

I've integrated a testing engine into the firmware. This testing engine is fueled by executing test scripts. When instructed, the SMuFF will load a selected test script and run it infinitely, while reporting the test results on the display.

The Scripts...

are plain simple ASCII files, which you can easily create yourself using any kind of text editor (i.e. Notepad, VS-Code, gedit). A preset of useful test scripts is already located in the test folder of the SMuFF firmware on Github.

To create a new script, open a file with a filename of your choice and the extension .gcode. Put the GCode commands you want the SMuFF to execute in this file, one line for each command.

Head over to "Talk to the SMuFF" in order to get an overview of the commands available.

Comments (lines starting with a semicolon ';') shall help you to keep track on what this test script is being used for.

If needed, you can place a randomize macro after a T command, which will randomly generate the tool index, for example:

T{RNDT} - will generate a new number between 0 and the maximum tools available

After you have created one...

simply copy over the new script file to the test folder of your SD-Card on the SMuFF and open the Testrun menu in order to select and run it.

Please notice: The file extension .gcode is being stripped from the names shown in the list.