[FluidNC Issue#1527] Problem: How to switch whole axes (not directions) in CoreXY

未分类 bolang 4个月前 (10-14) 39次浏览

Issue #1527 | 状态: 已关闭 | 作者: tomasz90 | 创建时间: 2025-07-21


Wiki Search Terms

CoreXY, Kinematics

Controller Board

DLC32

Machine Description

TheAnt CNC. CoreXY.

Input Circuits


Configuration file

board: MKS-DLC32 V2.1
name: K40 Laser
meta: (01.01.2022) by Skorpi

kinematics: corexy: stepping: engine: I2S_STATIC idle_ms: 0 pulse_us: 4 dirdelayus: 1 disabledelayus: 0 axes: sharedstepperdisable_pin: I2SO.0

x: stepspermm: 157.750 maxratemmpermin: 12000.000 accelerationmmper_sec2: 300.000 maxtravelmm: 220.000 soft_limits: true homing: cycle: 1 positive_direction: true mpos_mm: 0.000 feedmmper_min: 100.000 seekmmper_min: 100.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100

motor0: limitnegpin: gpio.36 hard_limits: false pulloff_mm: 2.000 stepstick: step_pin: I2SO.1 direction_pin: I2SO.2

y: stepspermm: 157.750 maxratemmpermin: 18000.000 accelerationmmper_sec2: 1500.000 maxtravelmm: 325.000 soft_limits: true homing: cycle: 1 positive_direction: true mpos_mm: 0.000 feedmmper_min: 100.000 seekmmper_min: 100.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100

motor0: limitnegpin: gpio.35 hard_limits: false pulloff_mm: 2.000 stepstick: step_pin: I2SO.5 direction_pin: I2SO.6:low

z: stepspermm: 157.750 maxratemmpermin: 12000.000 accelerationmmper_sec2: 500.000 maxtravelmm: 80.000 soft_limits: true homing: cycle: 0 positive_direction: false mpos_mm: 0.000 feedmmper_min: 100.000 seekmmper_min: 100.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100

motor0: limitnegpin: gpio.34 hard_limits: false pulloff_mm: 1.000 stepstick: step_pin: I2SO.3 direction_pin: I2SO.4

i2so: bck_pin: gpio.16 data_pin: gpio.21 ws_pin: gpio.17

spi: miso_pin: gpio.12 mosi_pin: gpio.13 sck_pin: gpio.14

sdcard: cs_pin: gpio.15 carddetectpin: NO_PIN

control: safetydoorpin: NO_PIN resetpin: NOPIN feedholdpin: NO_PIN cyclestartpin: NO_PIN macro0_pin: gpio.33:low:pu macro1pin: NOPIN macro2pin: NOPIN macro3pin: NOPIN

macros: startup_line0: startup_line1: macro0: $SD/Run=lasertest.gcode macro1: $SD/Run=home.gcode macro2: macro3:

coolant: floodpin: NOPIN mistpin: NOPIN delay_ms: 0

probe: pin: gpio.22 checkmodestart: true

Laser: pwm_hz: 5000 #L on Beeper / IN on TTL output_pin: gpio.32 enable_pin: I2SO.7 disablewiths0: false s0withdisable: false tool_num: 0 speed_map: 0=0.000% 0=12.500% 1700=100.000%

135=0mA 270=5mA 400=10mA 700=16mA

user_outputs: analog0pin: NOPIN analog1pin: NOPIN analog2pin: NOPIN analog3pin: NOPIN analog0_hz: 5000 analog1_hz: 5000 analog2_hz: 5000 analog3_hz: 5000 digital0pin: NOPIN digital1pin: NOPIN digital2pin: NOPIN digital3pin: NOPIN

start: must_home: false

5,18,19,22,23,25,26,27,32,33,39,I2SO.7

SDA 0 / SCL 4

Startup Messages

MSG:INFO: FluidNC v3.9.7 https://github.com/bdring/FluidNC]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:INFO: Configuration file:config.yaml]
[MSG:INFO: Machine K40 Laser]
[MSG:INFO: Board MKS-DLC32 V2.1]
[MSG:INFO: I2SO BCK:gpio.16 WS:gpio.17 DATA:gpio.21Min Pulse:2us]
[MSG:INFO: SPI SCK:gpio.14 MOSI:gpio.13 MISO:gpio.12]
[MSG:INFO: SD Card cspin:gpio.15 detect:NOPIN freq:8000000]
[MSG:INFO: Stepping:I2S_STATIC Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Shared stepper disable I2SO.0]
[MSG:INFO: Axis X (-135.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:I2SO.1 Dir:I2SO.2 Disable:NO_PIN]
[MSG:INFO:  Pos Limit gpio.36]
[MSG:INFO: Axis Y (0.000,155.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:I2SO.5 Dir:I2SO.6 Disable:NO_PIN]
[MSG:INFO:  Pos Limit gpio.35]
[MSG:INFO: Axis Z (-20.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     stepstick Step:I2SO.3 Dir:I2SO.4 Disable:NO_PIN]
[MSG:INFO:  Pos Limit gpio.34]
[MSG:INFO: macro0_pin gpio.33:low:pu]
[MSG:INFO: Kinematic system: CoreXY]
[MSG:INFO: Connecting to STA SSID:Gargoyle]
[MSG:INFO: Connecting.]
[MSG:INFO: Connecting..]
[MSG:INFO: Connected - IP is 192.168.2.202]
[MSG:INFO: WiFi on]
[MSG:INFO: Start mDNS with hostname:http://fluidnc.local/]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]
[MSG:INFO: PWM Spindle Ena:NOPIN Out:gpio.32 Dir:NOPIN Freq:50Hz Period:1048575]
[MSG:INFO: Probe gpio.22]
ok

User Interface Software

No response

What happened?

I am struggling with setting up axes in CoreXY. Right now my X axis is Y and Y is X. I tried to change cables, set different combinations of positive_direction as well as witching whole sections x to y and nothing is helping. What it does it is only switching directions along each axis, but not whole axes itself.

GCode File

No response

Other Information

No response


评论 (2)

#1 – bdring 于 2025-07-21

Try the process in the wiki.

http://wiki.fluidnc.com/en/config/kinematics#getting-the-directions-right


#2 – tomasz90 于 2025-07-21

> Try the process in the wiki.
>
> http://wiki.fluidnc.com/en/config/kinematics#getting-the-directions-right

Thanks this worked :low


原始Issue: https://github.com/bdring/FluidNC/issues/1527

喜欢 (0)