Skip to content

Power Macros and bed

Power Macros (option 6)

The Power Macros replace three Klipper configuration files with versions designed for the CFS:

  • gcode_macro.cfg
  • printer_params.cfg
  • box.cfg

The first originals stay saved in /usr/data/helper-script-backup/power-config/. If you reapply the module, the three files are replaced again; the saved originals remain the ones from the first time.

CFS loading and purge

In box.cfg the first load of a print pushes 200 mm of filament (Tn_extrude), which helps when the filament path is long. The cleaning lengths (box_first_clean_length, box_need_clean_length, box_need_clean_length_max) are 100 mm. Loading and purging are two different things.

The extra macros

Command What it does
CAMERA_OFF Turns the camera off
CAMERA_ON Turns the camera back on
RELOAD_CAMERA Restarts the camera
PID_HOTEND HOTEND_TEMP=250 PID calibration of the nozzle at the given temperature
STRESS_TEST Sequence of movements; accepts LOOPS, X_ACCEL_MAX, Y_ACCEL_MAX
PS_NOCFS_LOAD_FILAMENT Manual loading, purge and cleaning, without the CFS
PS_NOCFS_UNLOAD_FILAMENT Manual filament cut and retraction
PS_NOCFS_CLEAN_BRUSH Nozzle cleaning on the brush

With the camera off, the timelapse does not record frames.

Italian descriptions

The macros installed by the script have their description in Italian: it is the text Fluidd shows next to the name. In files already installed, only the original descriptions change; the ones you wrote by hand stay. You will see them from the first Klipper restart after opening the script.

The macros in Fluidd, split into categories

The macros in Fluidd, split into categories

In Fluidd you can split the macros into categories (Print, CFS, Calibration, Camera...) and hide the ones you do not use: Settings › Macros, or the gear next to each category in the Macros card.

Bed Coordinates Fix (option 7)

It corrects the bed values in printer.cfg for the K1C with CFS:

Part Values
Y axis ([stepper_y]) position_endstop: -0.5, position_min: -0.5, position_max: 227.5, gcode_position_max: 220
Brush cleaning X from 59 to 84, Y 223, length 25 mm, speed 70 mm/s
Mesh minimum 1,1, maximum 220,215

It only changes those values: the rest of printer.cfg stays as it is. On removal it puts back the original values.

If the script finds these fixes need redoing when it opens and the printer is printing, it waits: it applies them the next time, with the printer idle, and restarts Klipper only if printer.cfg has actually changed.

Other adjustments

Option Module What it does
9 Buzzer Support Adds the BEEP command
10 Nozzle Cleaning Fan Control Turns on the fans during nozzle cleaning (maximum speed 50%)
11 Save Z-Offset Macros Saves the Z offset (SET_GCODE_OFFSET Z=... and Z_ADJUST) and restores it at every startup
12 Screws Tilt Adjust Support With SCREWS_TILT_CALCULATE it tells you how much to turn the bed screws; it asks for the k1 or k1max profile