fluidNC help

I have my TMC2209 Pen/Laser Controller - by Bart running FluidNC 3.6.5. The problem with that is that it is in cartesian and my motors move diagonally instead of straight. I have tried to find other setups to install but I can’t get the install scripts to work to upload someone else’s version where it is in corexy. Does anyone have a version of fluidNC where the install scripts work to install it. Or, is there an easy way to change it from cartesian.

Sorry idk if this is of any help I am very new and just saw some talk about this a while ago.
I will be getting fluid nc board hopefully soon so wanted to learn off you a bit as well.

I’m still working on this problem, I’m not sure if it’s a firmware or config file problem. I’m not sure why my motors only move in 45 degree movements. I did notice when programing my esp32 it said it was in catesian mode. I’ve tried several different config files and nothing has worked. It still only moves at a 45 degree.

Even with inputting a gcode for x movement only?
Like g1 x30 ?
I am assuming it’s when both x and y move as instructed to?

Have you been to Kinematics | Wiki.js?

1 Like

Here’s my working config. The corexy mode is set at the very top with the kinematics: line. To install on the ESP follow the guide using the scripts (assuming you’re on windows like me) and then upload this config once you get into the FluidNC webui (image at bottom of post)

Edit: I uploaded a zip of the config at the bottom since tabs/spaces are important in YAML and they aren’t appearing with my copy and paste here:

name: Sand Table
board: TMC2209 Pen Laser

kinematics:
  corexy:

stepping:
  engine: RMT
  idle_ms: 250
  dir_delay_us: 0
  pulse_us: 3
  disable_delay_us: 0

axes:
  shared_stepper_disable_pin: gpio.13:high
  x:
    steps_per_mm: 100.000
    max_rate_mm_per_min: 8000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 985.00
    soft_limits: true
    homing:
      cycle: 2
      mpos_mm: 0.000
      positive_direction: false
      settle_ms: 250.000
      seek_mm_per_min: 2000.000
      feed_mm_per_min: 1000.000
      seek_scaler: 1.100
      feed_scaler: 5.000
    motor0:
      limit_neg_pin: gpio.39:high
      hard_limits: false
      tmc_2209:
        uart:
          txd_pin: gpio.17
          rxd_pin: gpio.16
          rts_pin: NO_PIN
          cts_pin: NO_PIN
          baud: 115200
          mode: 8N1
        addr: 0
        direction_pin: gpio.12
        step_pin: gpio.14
        r_sense_ohms: 0.110
        run_amps: 0.500
        hold_amps: 0.325
        microsteps: 16
        stallguard: 0
        stallguard_debug: false
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false

    motor1:
      null_motor:
  y:
    steps_per_mm: 100.000
    max_rate_mm_per_min: 8000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 585.70
    soft_limits: true
    homing:
      cycle: 1
      mpos_mm: 0.000
      positive_direction: false
      settle_ms: 250.000
      seek_mm_per_min: 2000.000
      feed_mm_per_min: 1000.000
      seek_scaler: 1.100
      feed_scaler: 5.000
    motor0:
      limit_neg_pin: gpio.36:high
      hard_limits: false
      tmc_2209:
        addr: 1
        direction_pin: gpio.26
        step_pin: gpio.25
        r_sense_ohms: 0.110
        run_amps: 0.500
        hold_amps: 0.325
        microsteps: 16
        stallguard: 0
        stallguard_debug: false
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: false

    motor1:
      null_motor:
  z:
    steps_per_mm: 100.000
    max_rate_mm_per_min: 1000.000
    acceleration_mm_per_sec2: 200.000
    max_travel_mm: 300.000
    soft_limits: false
    motor0:
      null_motor:
    motor1:
      null_motor:

spi:
  miso_pin: gpio.19
  mosi_pin: gpio.23
  sck_pin: gpio.18

sdcard:
  cs_pin: gpio.5

control:

coolant:
  delay_ms: 1000.000

probe:
  check_mode_start: false

macros:
  startup_line0: 
  startup_line1: 
  macro0: 
  macro1: 
  macro2: 
  macro3: 

start:
  must_home: false
  check_limits: true
  deactivate_parking: false

user_outputs:
arc_tolerance_mm: 0.002
junction_deviation_mm: 0.010
verbose_errors: false
report_inches: false
enable_parking_override_control: false
use_line_numbers: false 


config.zip (919 Bytes)

Edit 2: thanks to the formatting genie! :stuck_out_tongue:

Thanks, the new config file fixed my problems. I can’t thank you enough.

1 Like

Thanks for your help. It works now. One quick question, what do you use to start and end in sandify before exporting your drawing?

Currently I have:

Start:

$H
G92 X0 Y0 
G1 X1 Y1 F1000

This homes, sets the carriage position to (0,0), moves out 1mm (X,Y) (due to initial testing when I had issues with the carriage starting while still on the endstops), and sets the speed to 1000

End:

M30

However, with this I am still having issues with the board erroring out most of the time when the patterns finish. There was a discussion about this in another thread, but I haven’t had much time to mess with things beyond trying a few different ending gcode variations (M2, M30, etc – from the other thread).

1 Like