开源改变世界

第四轴不工作… #75

推推 grbl 2年前 (2023-02-05) 316次浏览
关闭
nsiatras 打开了这个问题 2021 年 10 月 24 日 · 4条评论
关闭

第四轴不工作…#75

nsiatras 打开了这个问题 2021 年 10 月 24 日 · 4条评论

评论

第四轴不工作... #75

我的配置如下

name: "4-Axis CNC Motherboard v1.2"
board: "4-Axis CNC Motherboard v1.2"

stepping:
  engine: RMT
  idle_ms: 255
  dir_delay_us: 1
  pulse_us: 10
  disable_delay_us: 0

axes:
  shared_stepper_disable_pin: gpio.15:low
  
    x:
        steps_per_mm: 400
        max_rate_mm_per_min: 4000
        acceleration_mm_per_sec2: 80
        max_travel_mm: 302
        soft_limits: true
        homing:
          cycle: 2
          mpos_mm: 0
          positive_direction: false
          seek_mm_per_min: 1500.000
          feed_mm_per_min: 200.000

        motor0:
          limit_all_pin: gpio.36:high
          hard_limits: false
          pulloff_mm: 2.000
          
          standard_stepper:
            direction_pin: gpio.33
            step_pin: gpio.0
            
        motor1:
          null_motor:

    y:
        steps_per_mm: 400
        max_rate_mm_per_min: 4000
        acceleration_mm_per_sec2: 80
        max_travel_mm: 202
        soft_limits: true
        homing:
          cycle: 2
          mpos_mm: 0
          positive_direction: false
          seek_mm_per_min: 1500.000
          feed_mm_per_min: 200.000

        motor0:
          limit_all_pin: gpio.39:high
          hard_limits: false
          pulloff_mm: 2.000
          
          standard_stepper:
            direction_pin: gpio.26
            step_pin: gpio.25
            
        motor1:
          null_motor:

    z:
        steps_per_mm: 400
        max_rate_mm_per_min: 3000
        acceleration_mm_per_sec2: 80
        max_travel_mm: 180
        soft_limits: true
        homing:
          cycle: 1
          mpos_mm: 180
          positive_direction: true
          seek_mm_per_min: 1500.000
          feed_mm_per_min: 200.000
          

        motor0:
          limit_all_pin: gpio.34:high
          hard_limits: false
          pulloff_mm: 2.000
          
          standard_stepper:
            direction_pin: gpio.14:low
            step_pin: gpio.27
            
        motor1:
          null_motor:
      
    a:
        steps_per_mm: 800.000
        max_rate_mm_per_min: 5000.000
        acceleration_mm_per_sec2: 100.000
        max_travel_mm: 300.000
        soft_limits: false
        homing:
          cycle: 3
          positive_direction: true
          mpos_mm: 150.000
          feed_mm_per_min: 100.000
          seek_mm_per_min: 800.000
          debounce_ms: 500
          seek_scaler: 1.100
          feed_scaler: 1.100

        motor0:
          limit_neg_pin: NO_PIN
          limit_pos_pin: NO_PIN
          limit_all_pin: NO_PIN
          hard_limits: false
          pulloff_mm: 1.000
          standard_stepper:       
            step_pin: gpio.12
            direction_pin: gpio.13
      
spi:
  miso_pin: NO_PIN
  mosi_pin: NO_PIN
  sck_pin: NO_PIN

sdcard:
  cs_pin: NO_PIN
  card_detect_pin: NO_PIN

coolant:
  flood_pin: NO_PIN
  mist_pin: NO_PIN

        
probe:
  pin: gpio.32:low:pu

PWM:
  pwm_hz: 5000
  output_pin: gpio.21
  enable_pin: NO_PIN
  direction_pin: gpio.2
  disable_with_s0: false
  s0_with_disable: true
  spinup_ms: 0
  spindown_ms: 0
  tool_num: 0
  speed_map: 0=0% 10000=100%

X、Y 和 Z 轴工作正常。状态报告消息中甚至看不到 A 轴
<Idle|MPos:0.000,0.000,0.000|FS:0.000,0>

有任何想法吗?

第四轴不工作... #75
所有者

发布您的启动消息。

加入 discord 以获得更好的支持
https://discord.gg/XH8tz6ag

第四轴不工作... #75

18:23:41 – rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
18:23:41 – configsip:0, SPIWP:0xee
18:23:41 – clk_drv:0x00,q_drv:0x00,d_drv:0x00, cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:23:41 – 模式:DIO,时钟 div:1
18:23:41 – 负载:0x3fff0018,len:4
18:23:41 – 负载:0x3fff001c,len: 1044
18:23:41 – 加载:0x40078000,len:10124
18:23:41 – 加载:0x40080400,len:5856
18:23:41 – 条目 0x400806a8
18:23:41 – [MSG:INFO: FluidNC v3.2.2 ]
18:23:41 – [MSG:INFO: Compiled with ESP32 SDK:v3.3.5-1-g85c43024c]
18:23:41 – [MSG:INFO: 配置文件:config.yaml]
18:23:41 – [ MSG:ERR: Skipping key x indent 4 thisIndent 2]
18:23:41 – [MSG:ERR: Skipping key steps_per_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 max_rate_mm_per_min 缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 acceleration_mm_per_sec2 缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过key max_travel_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key soft_limits indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key homing indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键循环缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 mpos_mm 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 positive_direction 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key seek_mm_per_min indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key feed_mm_per_min indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过 key motor0 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key limit_all_pin indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key hard_limits indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key pulloff_mm indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key standard_stepper indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 direction_pin 缩进 12 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 step_pin 缩进 12 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 motor1 缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key null_motor indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key y indent 4 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key steps_per_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_rate_mm_per_min indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key acceleration_mm_per_sec2 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_travel_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key soft_limits indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键归位缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键循环缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 mpos_mm 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key positive_direction indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key seek_mm_per_min indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key feed_mm_per_min indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key motor0 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key limit_all_pin indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key hard_limits indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key pulloff_mm indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 standard_stepper 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 direction_pin 缩进 12 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 step_pin 缩进 12 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key motor1 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key null_motor indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过 key z indent 4 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key steps_per_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_rate_mm_per_min indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key acceleration_mm_per_sec2 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_travel_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 soft_limits 缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键归位缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键循环缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key mpos_mm indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key positive_direction indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 seek_mm_per_min 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 feed_mm_per_min 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过key motor0 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key limit_all_pin indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key hard_limits indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 pulloff_mm 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 standard_stepper 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 direction_pin 缩进 12 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key step_pin indent 12 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key motor1 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key null_motor indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key a indent 4 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key steps_per_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_rate_mm_per_min indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key acceleration_mm_per_sec2 indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key max_travel_mm indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key soft_limits indent 8 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key homing indent 8 thisIndent ] 2]
18:23:42 – [MSG:ERR: Skipping key cycle indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key positive_direction indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 mpos_mm 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 feed_mm_per_min 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过key seek_mm_per_min indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key debounce_ms indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key seek_scaler indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 feed_scaler 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 motor0 缩进 8 thisIndent 2]
18:23:42 – [MSG:ERR: 跳过键 limit_neg_pin 缩进 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key limit_pos_pin indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key limit_all_pin indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key hard_limits indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key pulloff_mm indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key standard_stepper indent 10 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key step_pin indent 12 thisIndent 2]
18:23:42 – [MSG:ERR: Skipping key direction_pin indent 12 thisIndent 2]
18:23:42 – [MSG:INFO: Control: using defaults]
18:23:42 – [MSG:INFO: Configuration is valid]
18:23:42 – [MSG:INFO: Machine SourceRabbit 4-Axis CNC Motherboard v1.2]
18: 23:42 – [MSG:INFO: Board SourceRabbit 4-Axis CNC Motherboard v1.2]
18:23:42 – [MSG:INFO: SPI not defined]
18:23:42 – [MSG:INFO: Stepping:RMT Pulse:10us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]
18:23:42 – [MSG:INFO: Axis count 3]
18:23:42 – [MSG:INFO: 共享步进器禁用 gpio.15:low]
18:23:42 – [MSG:INFO: Axis X (-1000.000,0.000)]
18:23:42 – [MSG:INFO: Axis Y (- 1000.000,0.000)]
18:23:42 – [MSG:INFO: Z 轴 (-1000.000,0.000)]
18:23:42 – [MSG:INFO: PWM 主轴 Ena:NO_PIN Out:gpio.21 Dir:gpio。 2 Freq:5000Hz Res:13bits]
18:23:42 – [MSG:INFO: Using spindle PWM]
18:23:42 – [MSG:INFO: Probe Pin: gpio.32:low:pu]
18:23:43 – [MSG:INFO: BT 以 FluidNC 开始]
18:23:43 – 串行连接已建立!
18:23:43 – Grbl 3.2 [FluidNC v3.2.2 (bt) ‘$’ 寻求帮助]

第四轴不工作... #75
所有者

尝试重新格式化 yaml 文件。每个缩进应为 2 个空格。看一些例子。缩进级别非常重要,因为它们显示哪些项目属于哪些组。

x: 应该是从轴开始的 1 个缩进(2 个空格):

axes:
  shared_stepper_disable_pin: gpio.25:high
  
  x:
    steps_per_mm: 800
    max_rate_mm_per_min: 5000
    acceleration_mm_per_sec2: 100
    max_travel_mm: 300
第四轴不工作... #75

谢谢。似乎现在工作