开源改变世界!!

问题:Fluid NC 报告 NO SD Card with Error 60 #666

推推 grbl 2年前 (2023-02-05) 159次浏览
关闭
3 个任务中的第 1 个
enarges 打开了这个问题 2022 年 10 月 13 日 · 25条评论
关闭
3 个任务中的第 1 个

问题:Fluid NC 报告 NO SD Card with Error 60#666

enarges 打开了这个问题 2022 年 10 月 13 日 · 25条评论

评论

问题:Fluid NC 报告 NO SD Card with Error 60 #666

控制板

6包

董事会供应商的帮助

  • 是的
  • 不适用

机器描述

带有双 X、Y 和单 Z 挡块的 MP CNC。继电器和 PWM 主轴。

输入电路

没有反应

配置文件

board: 6 Pack
name: 6 Pack TMC2130 XXYYZ
stepping:
  engine: I2S_STREAM
  idle_ms: 250
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0

axes:
  shared_stepper_disable_pin: NO_PIN
  x:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 5000.000
    acceleration_mm_per_sec2: 200.000
    max_travel_mm: 420.000
    soft_limits: false
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0.0
      feed_mm_per2min: 1500.000
      seek_mm_per_min: 2000.000
      settle_ms: 200
      seek_scaler: 1.100
      feed_scaler: 1.100
    motor0:
      limit_neg_pin: gpio.33:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2130:
        cs_pin: i2so.3
        run_amps: 0.750
        hold_amps: 0.5
        microsteps: 32
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_StealthChop: 3
        run_mode: CoolStep
        homing_mode: CoolStep
        use_enable: false
        step_pin: I2SO.2
        direction_pin: I2SO.1
        disable_pin: I2SO.0

    motor1:
      limit_neg_pin: gpio.32:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2130:
        cs_pin: i2so.6
        run_amps: 0.75
        hold_amps: 0.20
        microsteps: 32
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_StealthChop: 3
        run_mode: CoolStep
        homing_mode: CoolStep
        use_enable: false
        step_pin: I2SO.5
        direction_pin: I2SO.4
        disable_pin: I2SO.7

  y:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 5000.000
    acceleration_mm_per_sec2: 200.000
    max_travel_mm: 320.000
    soft_limits: false
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0.0
      feed_mm_per2min: 1500.000
      seek_mm_per_min: 2000.000
      settle_ms: 200
      seek_scaler: 1.100
      feed_scaler: 1.100
    motor0:
      limit_neg_pin: gpio.35:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2130:
        cs_pin: i2so.11
        run_amps: 0.750
        hold_amps: 0.5
        microsteps: 32
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_StealthChop: 3
        run_mode: CoolStep
        homing_mode: CoolStep
        use_enable: false
        step_pin: I2SO.10
        direction_pin: I2SO.9
        disable_pin: I2SO.8

    motor1:
      limit_neg_pin: gpio.34:high
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2130:
        cs_pin: i2so.14
        run_amps: 0.75
        hold_amps: 0.20
        microsteps: 32
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_StealthChop: 3
        run_mode: CoolStep
        homing_mode: CoolStep
        use_enable: false
        step_pin: I2SO.13
        direction_pin: I2SO.12
        disable_pin: I2SO.15

  z:
    steps_per_mm: 800
    max_rate_mm_per_min: 80.000
    acceleration_mm_per_sec2: 100.000
    max_travel_mm: 85.000
    soft_limits: false
    homing:
      cycle: 1
      positive_direction: true
      mpos_mm: 150.000
      feed_mm_per_min: 200.000
      seek_mm_per_min: 400.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: NO_PIN
      limit_pos_pin: gpio.25:high
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 3.000
      tmc_2130:
        cs_pin: i2so.19
        run_amps: 0.50
        hold_amps: 0.20
        microsteps: 16
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_StealthChop: 3
        run_mode: CoolStep
        homing_mode: CoolStep
        use_enable: false
        step_pin: I2SO.18
        direction_pin: I2SO.17:low
        disable_pin: I2SO.16

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

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

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN

pwm:
  pwm_hz: 5000
  direction_pin: NO_PIN
  output_pin: gpio.26
  enable_pin: gpio.14
  disable_with_s0: false
  s0_with_disable: true
  spinup_ms: 0
  spindown_ms: 0
  tool_num: 0
  speed_map: 0=0.000% 3000=25% 6000=50% 9000=75% 12000=100.000%

probe:
  pin: NO_PIN
  check_mode_start: true

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

start:
  must_home: false

启动消息

rst:0x1 (POWERON_RESET),boot:0x13 (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.3]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.1-1-gb8050b365e]
[MSG:INFO: Local filesystem type is spiffs]
[MSG:INFO: Configuration file:config.yaml]
[MSG:WARN: Ignored key feed_mm_per2min]
[MSG:WARN: Ignored key feed_mm_per2min]
[MSG:INFO: Machine 6 Pack TMC2130 XXYYZ]
[MSG:INFO: Board 6 Pack]
[MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21]
[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]
[MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN]
[MSG:INFO: Stepping:I2S_stream Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:250ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (0.000,420.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc_2130 Step:I2SO.2 Dir:I2SO.1 CS:I2SO.3 Disable:I2SO.0 Index:-1 R:0.110]
[MSG:INFO:  X Neg Limit gpio.33]
[MSG:INFO:   Motor1]
[MSG:INFO:     tmc_2130 Step:I2SO.5 Dir:I2SO.4 CS:I2SO.6 Disable:I2SO.7 Index:-1 R:0.110]
[MSG:INFO:  X2 Neg Limit gpio.32]
[MSG:INFO: Axis Y (0.000,320.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc_2130 Step:I2SO.10 Dir:I2SO.9 CS:I2SO.11 Disable:I2SO.8 Index:-1 R:0.110]
[MSG:INFO:  Y Neg Limit gpio.35]
[MSG:INFO:   Motor1]
[MSG:INFO:     tmc_2130 Step:I2SO.13 Dir:I2SO.12 CS:I2SO.14 Disable:I2SO.15 Index:-1 R:0.110]
[MSG:INFO:  Y2 Neg Limit gpio.34]
[MSG:INFO: Axis Z (65.000,150.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc_2130 Step:I2SO.18 Dir:I2SO.17:low CS:I2SO.19 Disable:I2SO.16 Index:-1 R:0.110]
[MSG:INFO:  Z Pos Limit gpio.25]
[MSG:ERR: X Axis TMC driver not detected - expected 0x11 got 0x0]
[MSG:ERR: X2 Axis TMC driver not detected - expected 0x11 got 0x0]
[MSG:ERR: Y Axis TMC driver not detected - expected 0x11 got 0x0]
[MSG:ERR: Y2 Axis TMC driver not detected - expected 0x11 got 0x0]
[MSG:ERR: Z Axis TMC driver not detected - expected 0x11 got 0x0]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: PWM Spindle Ena:gpio.14 Out:gpio.26 Dir:NO_PIN Freq:5000Hz Period:8191]
[MSG:INFO: Using spindle PWM]
[MSG:INFO: Connecting to STA SSID:Sirius]
[MSG:INFO: Connecting.]
[MSG:INFO: Connected - IP is 192.168.86.29]
[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]

用户界面软件

没有反应

发生了什么?

尝试使用 FAT32 格式的 SD 卡会导致:

E (33918) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) 返回 0x108
[MSG:ERR: sdmmc_card_init 失败代码 0x108]
无 SD 卡
错误:60

其他信息

没有反应

问题:Fluid NC 报告 NO SD Card with Error 60 #666

可能与 SD 问题无关,但您也可以修复配置文件中的拼写错误:
[MSG:WARN: Ignored key feed_mm_per2min]
[MSG:WARN: Ignored key feed_mm_per2min]

问题:Fluid NC 报告 NO SD Card with Error 60 #666
所有者

关闭电源,尝试卸下步进驱动器。然后重新通电测试。步进驱动器可能会产生干扰。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
  1. 你有外部电源所以绿灯亮吗?
  2. VCC 跳线是否设置为 3.3V?
  3. 为 TMC 驱动程序选择的三个跳线是否为 TMC 设置了步进模式选择?
问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

移除所有步进驱动器后,检测到 SD 卡

问题:Fluid NC 报告 NO SD Card with Error 60 #666
所有者

发送一张司机的特写照片。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

问题:Fluid NC 报告 NO SD Card with Error 60 #666
问题:Fluid NC 报告 NO SD Card with Error 60 #666

问题:Fluid NC 报告 NO SD Card with Error 60 #666
所有者

它们看起来是正确的类型。

将它们全部放入控制器中,然后发送整个控制器通电时的高分辨率照片。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

问题:Fluid NC 报告 NO SD Card with Error 60 #666

问题:Fluid NC 报告 NO SD Card with Error 60 #666
所有者

第一次观察。

  • Vcc 应在 3.3V 侧。
问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

重新安装所有驱动程序,现在所有 SD 卡都可以正常工作了。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
所有者

如果在第一篇文章中主电源打开?

司机不工作的事实让我觉得他们出了问题。他们现在报告OK了吗?

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

主电源已关闭。只需将 micro usb 连接到板上的 esp。我把它从商店里拿出来调试这个问题。

问题:Fluid NC 报告 NO SD Card with Error 60 #666

错误插入的驱动程序会加载 SPI 总线上的共享信号并阻止 SD 卡工作。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

奇怪的是现在 Y 会跑一分钟回家,然后 Y1 步进器会随机反转。也许是一个坏的步进驱动器,虽然在我删除它们之前它工作正常,但没有 SD。

问题:Fluid NC 报告 NO SD Card with Error 60 #666

如果您有归位问题,请使用 FluidTerm 进行测试。设置 $message/level=debug 并发出 $hy 之类的归位命令。向我们展示来自终端的消息。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

Grbl 3.6 [FluidNC v3.6.3 (wifi) ‘$’ 寻求帮助]
ok
ok
$10=1
ok
$message/level=debug
ok
$hy
[MSG:DBG: Homing Cycle Y]
[MSG:DBG: Y Axis Coolstep]
[ MSG:DBG: Y2 轴 Coolstep]
[MSG:DBG: Homing nextPhase FastApproach]
[MSG:DBG: Starting from 0.000,-252.000,0.000]
[MSG:DBG: Planned move to 0.000,-604.000,0.000 @ 2000.000]
[MSG :DBG: CycleStop FastApproach]
[MSG:DBG: Y 轴冷却步骤]
[MSG:DBG: Y2 轴冷却步骤]
<Home|MPos:0.000,-604.000,0.000|FS:0,0|Ov:100,100,100>
ALARM:9

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者
鼓励 评论了 2022 年 10 月 13 日  

同时 $hx 报告:
[MSG:DBG: Homing Cycle X]
[MSG:DBG: X Axis Coolstep]
[MSG:DBG: X2 Axis Coolstep]
[MSG:DBG: Homing nextPhase FastApproach]
[MSG:DBG: Starting from 0.000, -604.000,0.000]
[MSG:DBG: Planned move to -462.000,-604.000,0.000 @ 2000.000]
[MSG:DBG: X2 Neg Limit 1]
[MSG:DBG: Homing limited X2]
[MSG:DBG: X Neg Limit 1]
[MSG:DBG: Homing limited X X2]
[MSG:DBG: Homing nextPhase Pulloff0]
[MSG:DBG: Starting from -10.020,-604.000,0.000]
[MSG:DBG: Planned move to -0.020,-604.000, 0.000 @ 50.000]
[MSG:DBG: X Neg Limit 0]
[MSG:DBG: X2 Neg Limit 0]
[MSG:DBG: CycleStop Pulloff0]
[MSG:DBG: Homing nextPhase SlowApproach]
[MSG:DBG: Starting from -0.020,-604.000,0.000]
[MSG:DBG: Planned move to -11.020,-604.000,0.000 @ 50.000]
[MSG:DBG: X2 Neg Limit 1]
[MSG:DBG: Homing limited X2]
[MSG:DBG: X Neg Limit 1]
[MSG:DBG: Homing limited X X2]
[MSG:DBG: Homing nextPhase Pulloff1]
[MSG:DBG: 从 -9.400 开始, -604.000,0.000]
[MSG:DBG: Planned move to 0.600,-604.000,0.000 @ 50.000]
[MSG:DBG: X Neg Limit 0]
[MSG:DBG: X2 Neg Limit 0]
[MSG:DBG: CycleStop Pulloff1]
[MSG:DBG: Homing nextPhase Pulloff2]
[MSG:DBG: mpos 为 0.600,-604.000,0.000]
[MSG:DBG: mpos 变为 0.000,-604.000,0.000]
[MSG:DBG: mpos transformed 0.000,-604.000,0.000]
[MSG:DBG: X Axis Coolstep]
[MSG:DBG: X2 Axis Coolstep]
[MSG:DBG: Homing done]

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

现在,当 Y 归位时,它移动了大约 50-100 毫米,然后其中一个 Y 步进器反转方向,它们开始互相争斗。这在以前没有发生过。95% 的时间慢跑 Y 是正常的,现在随机表现出相同的行为。

问题:Fluid NC 报告 NO SD Card with Error 60 #666

它到达y限位开关了吗?

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

不,距离很远(100-150 毫米)

问题:Fluid NC 报告 NO SD Card with Error 60 #666

这似乎是 Y2 方向引脚上的连接不良。

问题:Fluid NC 报告 NO SD Card with Error 60 #666

所有这些问题都可以用不可靠的焊点来解释,其中 6 块板连接到驱动程序插入的插头插座。

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者

问题似乎出在步进驱动器上。我用 Z 交换了 Y1,现在 z 随机反转,Y 和 X 正常工作。我会换掉它。

问题:Fluid NC 报告 NO SD Card with Error 60 #666

那些 2130 驱动器上的走线和 IC 焊盘非常小。令人惊奇的是,他们曾经工作过。我们可以关闭这张票吗?

问题:Fluid NC 报告 NO SD Card with Error 60 #666
作者
鼓励 评论了 2022 年 10 月 13 日 通过电子邮件