开源改变世界

为 CNC_xPRO_V5_XYYZ_485_NC_SQR 翻译 Machine.h #1024

推推 grbl 2年前 (2023-01-31) 149次浏览
关闭
CraftyMyner 打开了这个问题 2022 年 1 月 2 日 · 1条评论
关闭

为 CNC_xPRO_V5_XYYZ_485_NC_SQR 翻译 Machine.h#1024

CraftyMyner 打开了这个问题 2022 年 1 月 2 日 · 1条评论

注释

为 CNC_xPRO_V5_XYYZ_485_NC_SQR 翻译 Machine.h #1024

此问题会自动将 Grbl_Esp32“machine.h”文件转换为 FluidNC YAML 格式。

将标题中的 YOUR NAME 更改为标识您的机器配置的某个字符串。

在此处附加您的 Machine.h 文件 – 但首先将 .h 扩展名更改为 .txt,因为 GitHub 不允许您附加具有 .h 扩展名的文件。提交问题,几分钟后,新评论将出现在 FluidNC YAML 文件中。

CNC_xPRO_V5_XYYZ_485_NC_SQR.txt

为 CNC_xPRO_V5_XYYZ_485_NC_SQR 翻译 Machine.h #1024
github-动作 机器人 评论了 2022 年 1 月 2 日

亲爱的 CraftyMyner,
我们将您的机器头文件 CNC_xPRO_V5_XYYZ_485_NC_SQR.txt 转换为相应的 fluidNc yaml 文件。
请将以下内容复制到您的config.yaml文件中,并将文件上传到您的 esp32。

name: CNC_xPRO_V5_XYYZ_485_NC_SQR
board: unknown

kinematics:
  Cartesian:

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

axes:
  x:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 2500.000
    acceleration_mm_per_sec2: 100.000
    max_travel_mm: 300.000
    soft_limits: false
    motor0:
      limit_all_pin: gpio.35:low
      hard_limits: false
      tmc_5160:
        direction_pin: gpio.14
        step_pin: gpio.12
        run_amps: 1.800
        hold_amps: 1.250
        microsteps: 8
        stallguard: 16
        stallguard_debug: false
        run_mode: Stallguard
        homing_mode: Stallguard
        use_enable: true
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        r_sense_ohms: 0.050
        cs_pin: gpio.17:low
        spi_index: 0
    motor1:
      null_motor:
  y:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 2500.000
    acceleration_mm_per_sec2: 100.000
    max_travel_mm: 300.000
    soft_limits: false
    motor0:
      limit_all_pin: gpio.34:low
      hard_limits: false
      tmc_5160:
        direction_pin: gpio.26
        step_pin: gpio.27
        run_amps: 1.800
        hold_amps: 1.250
        microsteps: 8
        stallguard: 16
        stallguard_debug: false
        run_mode: Stallguard
        homing_mode: Stallguard
        use_enable: true
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        r_sense_ohms: 0.050
        cs_pin: gpio.17:low
        spi_index: 1
    motor1:
      limit_all_pin: gpio.36:low
      hard_limits: false
      tmc_5160:
        direction_pin: gpio.32
        step_pin: gpio.33
        run_amps: 1.800
        hold_amps: 1.250
        microsteps: 8
        stallguard: 16
        stallguard_debug: false
        run_mode: Stallguard
        homing_mode: Stallguard
        use_enable: true
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        r_sense_ohms: 0.050
        cs_pin: gpio.17:low
        spi_index: 2
  z:
    steps_per_mm: 200.000
    max_rate_mm_per_min: 2500.000
    acceleration_mm_per_sec2: 100.000
    max_travel_mm: 300.000
    soft_limits: false
    motor0:
      limit_all_pin: gpio.39:low
      hard_limits: false
      tmc_5160:
        direction_pin: gpio.2
        step_pin: gpio.15
        run_amps: 1.800
        hold_amps: 1.250
        microsteps: 8
        stallguard: 16
        stallguard_debug: false
        run_mode: Stallguard
        homing_mode: Stallguard
        use_enable: true
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        r_sense_ohms: 0.050
        cs_pin: gpio.17:low
        spi_index: 3
    motor1:
      null_motor:

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

sdcard:
  cs_pin: gpio.5

control:
  safety_door_pin: gpio.16:pu
  macro0_pin: gpio.13:low:pu
  macro1_pin: gpio.0:low:pu

coolant:
  mist_pin: gpio.21
  delay_ms: 1000.000

probe:
  pin: gpio.22:low:pu
  check_mode_start: false

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

start:
  must_home: true
  check_limits: true
  deactivate_parking: false

user_outputs:

huanyang:
  spinup_ms: 0
  spindown_ms: 0
  tool_num: 0
  speeds: 0=0.0% 24000=100.0%
  uart:
    txd_pin: gpio.4
    rxd_pin: gpio.25
    baud: 9600
    mode: 8n1
arc_tolerance_mm: 0.002
junction_deviation_mm: 0.010
verbose_errors: false
report_inches: false
enable_parking_override_control: false
use_line_numbers: false