https://github.com/OpenAMSOrg/klipper_openams
Copy the latest sample config file to the klipper config folder (~/printer_data/config), and name it oams.cfg.
At the top of this file, replace the fps and mainboard canbus uuids with your own you noted during firmware setup of your boards. If you missed to note you can retrieve if needed using:
source ~/klippy-env/bin/activate
python ~/klipper/sripts/canbus_query.py can0
If you cannot distinguish between the uuids. Turn off the printer, disconnect the mainboard from the FPS, turn on printer and issue the query and make a note of the uuid and assign this to the [mcu fps]
. Then turn off the printer, connect the mainboard, turn on the printer and issue the query again, to obtain the [mcu oams1]
Infinite spooling is enabled through filament_groups
and allows uninterrupted printing by automatically switching to another spool of the same type (e.g., same color and material) when one spool runs out.
Here’s how it works:
filament_group
.This ensures continuous printing without requiring manual intervention to reload filament during the process.
A filament_group
defines the behavior of the OAMS (Optimized AMS Manager). When a toolchange command (e.g., T0
) is issued, the system loads filament from the bays specified in the group.
[filament_group T0]
group: oams1-0, oams1-1
In this example:
T0
directs the OAMS to load filament from the first spool (bay 0) of oams1
.oams1
.This configuration supports infinite spooling. While printing, the system can seamlessly switch between spools in the group. For instance:
[filament_group T0]
group: oams1-0, oams2-0
Here:
T0
includes bay 0 from both oams1
and oams2
.oams1-0
runs out, the system automatically switches to oams2-0
.[filament_group T1]
group: oams1-2, oams1-3, oams2-0, oams3-1
This configuration links:
oams1
oams2
oams3
The OAMS prioritizes bays in the order listed. If oams1-2
and oams1-3
are empty, it checks oams2-0
, then oams3-1
. If all bays are empty, the OAMS pauses printing.
T1
for filament_group T1
).RESUME
command to continue printing.