Skip to content

Unit, lanes and hubs

The ACE's settings are in ace/ace-pro.cfg or ace/ace-2-pro.cfg in the config folder (see Turning it on). Change them in Fluidd or Mainsail and restart Klipper to apply.

The unit

[AFC_ACE2 ACE_1]          # [AFC_ACE ACE_1] for an ACE Pro
serial_port: auto
mode: direct
feed_speed: 100
retract_speed: 100
insert_feed_to_toolhead: True

The table gives the module's default. Where OpenCreator's ace-pro.cfg and ace-2-pro.cfg set something else, that is noted.

Option Default What it does
serial_port auto finds the ACE on USB, or give the device path. With auto, an ACE 2 Pro is any CH34x serial device (USB vendor 1a86) and an ACE Pro is an ANYCUBIC device link.
ace_index 1 Which ACE this is, when there is more than one.
mode combined direct: each slot feeds its own head (the Creator 5 setup). combined: slots share a hub.
feed_speed / retract_speed 100 Feed and wind-back speed in mm/s. Capped at max_feed_speed.
max_feed_speed 100 Upper limit for the speeds above. Stock ACE firmware refuses feeds faster than 100; raise it only on firmware that allows more.
unload_head_first 50 On unload the head pulls back at least this many mm on its own before the ACE starts winding.
prep_ready_timeout 90 Seconds to wait for the unit's own load cycle to finish.
feed_departure_timeout 3 Seconds a feed or wind-back may take to start moving before it counts as not started.
insert_feed_to_toolhead False Feed a new spool to its head's switch on insert (on in the Creator 5 config). Off: it is only parked dist_hub out of the unit.
insert_feed_step 10 The last part of that feed goes in steps of this many mm, checking the switch after each.
insert_feed_extra 250 How far past the expected switch position it keeps stepping before giving up and winding back.
load_approach_length / load_approach_speed 30 / 50 The last stretch before the switch goes this far at this slower speed, so the rollers don't grind the filament. 0 feeds the whole way at feed_speed. The Creator 5 config sets 50 / 25.
load_retry_pulse / load_retry_timeout 100 / 10 If the switch has not triggered after the feed, pulse this many mm for up to this many seconds.
sensor_to_gears 0 After the switch, push this far on to the gears. The Creator 5 config sets 700.
sensor_to_gears_speed 25 Speed for that push. The Creator 5 config sets 100.
sensor_to_gears_catch 0 The last this-many mm of it run with the extruder turning at the head's tool_load_speed, so the gears catch the tip. The Creator 5 config sets 150.
use_feed_assist True The ACE keeps feeding while the active head prints, so the extruder does not drag filament through the tube.
assist_watchdog True Turns feed assist back on if it drops out during a print.
stuck_spool_detection True (ACE 2), False (ACE Pro) Pause the print on a tangle. The ACE Pro trips when feed assist has run non-stop for stuck_time; the ACE 2 Pro trips on its firmware's own stuck, tangled, assist or motor error for the active slot.
stuck_time 4 Seconds before that counts as stuck (ACE Pro). At least 2.
eject_buffer 475 Extra mm to wind back on eject, past dist_hub, to pull the filament fully into the unit.
max_dryer_temperature 70 (ACE 2), 55 (ACE Pro) The highest dryer temperature. Higher TEMP= values are capped to it.
dryer_default_duration 120 Minutes a drying cycle runs when you start it from the dashboard's temperature row, which has no duration of its own.
dry_rotate_length / dry_rotate_speed / dry_rotate_interval 150 / 15 / 300 With AFC_ACE_DRY ROTATE=1: every dry_rotate_interval seconds each empty slot winds back dry_rotate_length mm at dry_rotate_speed mm/s, so the spool turns.
fallback_without_ace True With no ACE on USB, start without it (the heads work as their own lanes) instead of failing. See Running without the ACE.
missing_ace_wait 20 Seconds to wait for the ACE to appear after a boot before running without it.
serial_log False Log every ACE message to AFC_ACE_serial.log. Only for debugging: the ACE is polled several times a second, so the log grows by about 10 MB every few hours and costs Klipper CPU time.
baud_rate 230400 (ACE 2), 115200 (ACE Pro) Serial speed.
feed_check_length / feed_error_length 200 / 185 ACE 2 only: the feed check the firmware runs against its encoder. feed_error_length must be smaller than feed_check_length. AFC_ACE_FEED_INFO helps tune them.

The options for feeding several slots into one head are on Multiplexing.

The lanes, hubs and heads

Each slot is a lane, with a hub (the tube to its head) and the head itself:

[AFC_lane lane1]
unit: ACE_1:1          # unit and slot
extruder: extruder0    # the head this slot feeds
hub: ACE_1_hub1
map: T0
dist_hub: 60           # mm from the slot to the park point just out of the unit

[AFC_hub ACE_1_hub1]
switch_pin: virtual
afc_bowden_length: 900          # park point to the head's switch
afc_unload_bowden_length: 900   # how far to wind back on unload

[AFC_extruder extruder0]
tool_stn: 70           # switch/gears to the nozzle on load
tool_stn_unload: 100   # how far the head pulls back on unload
tool_load_speed: 6
tool_unload_speed: 10

afc_bowden_length can be on the short side: the load pulses on until the switch triggers. To measure it, run AFC_ACE_CALIBRATE UNIT=ACE_1 LANE=lane1 with the head empty. It feeds until the switch triggers and saves the length.

The hubs use switch_pin: virtual: there is no sensor where the tubes leave the ACE. That is why dist_hub is a fixed 60 mm in the shipped config, and why AFC_ACE_CALIBRATE_HUB refuses to run on it.