开源改变世界!!

在工作中迷失方向 #804

推推 grbl 2年前 (2023-02-05) 128次浏览
打开
Prelo96 开启了这个问题 3小时前 · 0 条评论
打开

在工作中迷失方向#804

Prelo96 开启了这个问题 3小时前 · 0 条评论

评论

在工作中迷失方向 #804
Prelo96 评论了 3小时前  

控制板

自定义
光隔离输入 pd
npn 输出 5v 到光耦合器。

机器描述

步进/方向控制的龙门铣刀伺服驱动器

输入电路

没有反应

配置文件

name: "ESP32 Dev Controller V4"
board: "ESP32 Dev Controller V4"

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

axes:
  shared_stepper_disable_pin: gpio.13:low
  
  x:
    steps_per_mm: 400
    max_rate_mm_per_min: 3000
    acceleration_mm_per_sec2:80
    max_travel_mm: 600
    homing:
      cycle: 2
      allow_single_axis: true
      positive_direction: false
      mpos_mm: -15
      seek_mm_per_min: 1000
      feed_mm_per_min: 20
      seek_scaler: 1.0
      feed_scaler: 1.0
    
    motor0:
      limit_all_pin: gpio.17:high:pd
      standard_stepper:
        direction_pin: gpio.14:low
        step_pin: gpio.12
    motor1:
      null_motor:

  y:
    steps_per_mm: 400
    max_rate_mm_per_min: 3000
    acceleration_mm_per_sec2: 80
    max_travel_mm: 400
    homing:
      cycle: 2
      allow_single_axis: true
      positive_direction: false
      mpos_mm: -15
      seek_mm_per_min: 1000
      feed_mm_per_min: 20
      seek_scaler: 1.0
      feed_scaler: 1.0

    motor0:
      limit_all_pin: gpio.4:high:pd
      standard_stepper:
        direction_pin: gpio.15:low
        step_pin: gpio.26
    motor1:
      null_motor:

  z:
    steps_per_mm: 400
    max_rate_mm_per_min: 3000
    acceleration_mm_per_sec2: 80
    max_travel_mm: 135
    homing:
      cycle: 1
      allow_single_axis: true
      positive_direction: true
      mpos_mm: 15
      seek_mm_per_min: 1000
      feed_mm_per_min: 20
      seek_scaler: 1.0
      feed_scaler: 1.0

    motor0:
      limit_all_pin: gpio.16:high:pd
      standard_stepper:
        direction_pin: gpio.33:low
        step_pin: gpio.27
    motor1:
      null_motor:

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

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN

coolant:
  flood_pin: gpio.22
  mist_pin: NO_PIN

        
probe:
  pin: gpio.32:high:pd
  check_mode_start: true

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

启动消息

[MSG:INFO: FluidNC v3.6.8-pre1]
[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:INFO: Machine ESP32 Dev Controller V4]
[MSG:INFO: Board ESP32 Dev Controller V4]
[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:RMT Pulse:10us Dsbl Delay:0us Dir Delay:10us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Shared stepper disable gpio.13:low]
[MSG:INFO: Axis X (-15.000,585.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.12 Dir:gpio.14:low Disable:NO_PIN]
[MSG:INFO:  X All Limit gpio.17:pd]
[MSG:INFO:   Motor1]
[MSG:INFO: Axis Y (-15.000,385.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.26 Dir:gpio.15:low Disable:NO_PIN]
[MSG:INFO:  Y All Limit gpio.4:pd]
[MSG:INFO:   Motor1]
[MSG:INFO: Axis Z (-120.000,15.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     standard_stepper Step:gpio.27 Dir:gpio.33:low Disable:NO_PIN]
[MSG:INFO:  Z All Limit gpio.16:pd]
[MSG:INFO:   Motor1]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: PWM Spindle Ena:gpio.21:low Out:gpio.25 Dir:NO_PIN Freq:5000Hz Period:8191]
[MSG:INFO: Using spindle PWM]
[MSG:INFO: Flood coolant gpio.22]
[MSG:INFO: Probe Pin: gpio.32:pd]
[MSG:INFO: Connecting to STA SSID:TP-LINK_973A3E]
[MSG:INFO: Connecting.]
[MSG:INFO: Connecting..]
[MSG:INFO: Connecting...]
[MSG:INFO: Connected - IP is 192.168.0.100]
[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]

用户界面软件

网页界面

发生了什么?

在工作中有一系列缺失的步骤,当我回到机器中的 0 时,驱动器计数仍然为 0,所以没有电气问题或伺服计数必须是! 0

再次检查,当工具缩回并回到工作位置时,将负位置松开并进入工作位置下方,当我回到 0 设置时,ervo 始终为 0 没有硬件问题 inmo
我在 webui 中使用探针功能和还有 g38.2 g91 等用于 x 和 y 精归位

问题似乎从第 14167 行开始
(parallelo 1mm)
(T4 D=1 CR=0.5 – ZMIN=-0.053 – fresa sferica)
G90 G94
G17
G21
(将 Fusion 360 用于个人用途时,进给率)
(快速移动是减少以匹配切削进给率)
(移动,这会增加加工时间。不受限制的快速)
(移动可通过 Fusion 360 Subscription 使用。)
G28 G91 Z0
G90

(1mmParallelo2)
T4
S18000 M3
G54
G0 X109.006 Y12.878
Z12
G1 Z3.302 F5000
Z0.096
F333 X109.001 Y12.873 Z0.058 F5000
X108.986 Y12.858 Z0.026
….
… ..
X98.268 Y23.671 Z0.15
Z6.078
X103.619 Y29.314 Z5.643 Z0.122 F333
X103.613
Y29.308
Z0.084 F5000
X103.598 Y29.293 Z0.052

… ….
X23.317
Y87.586 Z0.082
Z12
G28 G91 Z0
G90
G28 G91 X0 Y0
G90
M5
M30
结束

错误的gcode解释?

重复 gcode
在 g28 的最后再次产生相同的错误 home 是错位的,就像松散的步骤但是检查并且驱动程序的计数始终为 0,
就像步进处理器错误

其他信息

我也会添加一些照片
https://drive.google.com/drive/folders/1fB7DPPuY2qw04L8eZZJZwzCYJLDn5Kso?usp=share_link

免费注册 在 GitHub 上加入此对话。已有帐户? 登录评论
标签
还没有
项目

还没有

发展

没有分支机构或拉取请求

1名参加者
在工作中迷失方向 #804

喜欢 (0)