开源改变世界!!

MKS DLC32 V2.1 的 TMC2208 配置问题 #692

推推 grbl 2年前 (2023-02-05) 160次浏览
关闭
FMD14 开启了这个问题 2022 年 11 月 1 日 · 1条评论
关闭

MKS DLC32 V2.1 的 TMC2208 配置问题#692

FMD14 开启了这个问题 2022 年 11 月 1 日 · 1条评论

评论

MKS DLC32 V2.1 的 TMC2208 配置问题 #692

控制板

MKS DL32

机器描述

NEJE Corexy 激光切割机,带 3 线限位开关的 TMC2208

输入电路

没有反应

配置文件

board: MKS-DLC32 V2.1
name: CoreXY Laser NJE 30W
meta: 29/10/2022 FMD14

kinematics:
  corexy:

stepping:
  engine: I2S_STATIC
  idle_ms: 0
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0
axes:
  shared_stepper_disable_pin: I2SO.0
  x:
    steps_per_mm: 80
    max_rate_mm_per_min: 18000.000
    acceleration_mm_per_sec2: 1500.000
    max_travel_mm: 325.000
    soft_limits: true
    homing:
      cycle: 1
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 5000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.36
      hard_limits: false
      pulloff_mm: 2.000
      tmc_2208:
       step_pin: I2SO.1
       direction_pin: I2SO.2
      #stepstick:
      #  step_pin: I2SO.1
      #  direction_pin: I2SO.2

  y:
    steps_per_mm: 80
    max_rate_mm_per_min: 12000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 220.000
    soft_limits: true
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 5000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.35
      hard_limits: false
      pulloff_mm: 2.000
      tmc_2208:
       step_pin: I2SO.3
       direction_pin: I2SO.4
      #stepstick:
      # step_pin: I2SO.5
      #  direction_pin: I2SO.6

  z:
    steps_per_mm: 157.750
    max_rate_mm_per_min: 12000.000
    acceleration_mm_per_sec2: 500.000
    max_travel_mm: 80.000
    soft_limits: true
    homing:
      cycle: 0
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 1000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.34
      hard_limits: false
      pulloff_mm: 1.000
      stepstick:
        step_pin: I2SO.5
        direction_pin: I2SO.6

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
  card_detect_pin: NO_PIN

control:
  safety_door_pin: NO_PIN
  reset_pin: NO_PIN
  feed_hold_pin: NO_PIN
  cycle_start_pin: NO_PIN
  macro0_pin: gpio.33:low:pu
  macro1_pin: NO_PIN
  macro2_pin: NO_PIN
  macro3_pin: NO_PIN

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

coolant:
  flood_pin: NO_PIN
  mist_pin: NO_PIN
  delay_ms: 0

probe:
  pin: gpio.22
  check_mode_start: true

Laser:
  pwm_hz: 5000
  #L on Beeper / IN on TTL
  output_pin: gpio.32
  enable_pin: I2SO.7
  disable_with_s0: false
  s0_with_disable: false
  tool_num: 0
  speed_map: 0=0.000%  1000=100.000%
# 135=0mA 270=5mA 400=10mA 700=16mA

user_outputs:
  analog0_pin: NO_PIN
  analog1_pin: NO_PIN
  analog2_pin: NO_PIN
  analog3_pin: NO_PIN
  analog0_hz: 5000
  analog1_hz: 5000
  analog2_hz: 5000
  analog3_hz: 5000
  digital0_pin: NO_PIN
  digital1_pin: NO_PIN
  digital2_pin: NO_PIN
  digital3_pin: NO_PIN

start:
  must_home: false

# 5,18,19,22,23,25,26,27,32,33,39,I2SO.7
# SDA 0 / SCL 4

启动消息

Grbl 3.6 [FluidNC v3.6.4-pre3 (wifi) '$' for help]
[MSG:INFO: Configuration is invalid. Check boot messages for ERR's.]
FluidNC filename [fmd14_corexy.yaml]:
XModem Upload D:\FluidNC\FluidNC-main\example_configs\fmd14_corexy.yaml fmd14_corexy.yaml
$Xmodem/Receive=fmd14_corexy.yaml
[MSG:INFO: Received 3165 bytes to file /spiffs/fmd14_corexy.yaml]
ok
$bye
[MSG:INFO: Restarting]
ok
[MSG:INFO: WiFi Disconnected]
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:12812
load:0x40080400,len:3032
entry 0x400805e4

[MSG:INFO: FluidNC v3.6.4-pre3]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.1-1-gb8050b365e]
[MSG:INFO: Local filesystem type is spiffs]
[MSG:INFO: Configuration file:fmd14_corexy.yaml]
[MSG:ERR: Initialization error at /axes/x/motor0/tmc_2208: TrinamicUartDriver must have a uart: subsection]
[MSG:ERR: Initialization error at /axes/y/motor0/tmc_2208: TrinamicUartDriver must have a uart: subsection]
[MSG:INFO: Configuration is invalid]
[MSG:INFO: Using default configuration]
[MSG:INFO: Axes: using defaults]
[MSG:ERR: Initialization error at /stepping: I2SO bus must be configured for this stepping type]
[MSG:INFO: Configuration is invalid]
[MSG:INFO: Connecting to STA SSID:Livebox-19B4]
[MSG:INFO: Connecting.]
[MSG:INFO: Connected - IP is 192.168.1.21]
[MSG:INFO: WiFi on]
[MSG:INFO: Start mDNS with hostname:http://fluidnc.local/]
[MSG:INFO: SSDP Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]

Grbl 3.6 [FluidNC v3.6.4-pre3 (wifi) '$' for help]
[MSG:INFO: Configuration is invalid. Check boot messages for ERR's.]

用户界面软件

激光GRBL LightBurn

发生了什么?

我被要求配置 TrinamicUartDriver must have a uart: subsection
Can you help me

其他信息

没有反应

MKS DLC32 V2.1 的 TMC2208 配置问题 #692 FMD14 更改了标题 MHS DLC32 V2.1 的 TMC2208 配置问题 MKS DLC32 V2.1 的 TMC2208 配置问题 2022 年 11 月 1 日
MKS DLC32 V2.1 的 TMC2208 配置问题 #692

MKS DLC32 不支持 TMC2208 的 UART 模式。您必须在独立模式下使用 TMC2208 驱动程序。在独立模式下,TMC2208 驱动程序的行为类似于普通的“stepstick”驱动程序,因此配置文件应显示为“stepstick:”而不是“tmc2208:”