[FluidNC Issue#1485] command (M47)

未分类 bolang 4个月前 (10-14) 48次浏览

Issue #1485 | 状态: 已关闭 | 作者: IgorUTch | 创建时间: 2025-04-28


Wiki Search Terms

G-code

Controller Board

ESP32

Machine Description

Cutting machine with automatic feeding of workpieces

Input Circuits


Configuration file

board: ESP32
name: FluidNC
stepping:
  engine: RMT
  idle_ms: 250
  pulse_us: 4
  dirdelayus: 0
  disabledelayus: 0
  segments: 12
spi:
  miso_pin: gpio.19
  mosi_pin: gpio.23
  sck_pin: gpio.18
sdcard:
  cs_pin: gpio.5
  carddetectpin: NO_PIN
  frequency_hz: 8000000
kinematics: {}
axes:
  sharedstepperdisable_pin: gpio.13:pd
  sharedstepperresetpin: NOPIN
  homing_runs: 2
  x:
    stepspermm: 80
    maxratemmpermin: 5000
    accelerationmmper_sec2: 20
    maxtravelmm: 3000
    soft_limits: false
    motor0:
      limitnegpin: NO_PIN
      limitpospin: NO_PIN
      limitallpin: NO_PIN
      hard_limits: false
      pulloff_mm: 1
      standard_stepper:
        step_pin: gpio.12
        direction_pin: gpio.14
        disablepin: NOPIN
  y:
    stepspermm: 80
    maxratemmpermin: 5000
    accelerationmmper_sec2: 20
    maxtravelmm: 3000
    soft_limits: false
    motor0:
      limitnegpin: NO_PIN
      limitpospin: NO_PIN
      limitallpin: NO_PIN
      hard_limits: false
      pulloff_mm: 1
      standard_stepper:
        step_pin: gpio.26
        direction_pin: gpio.15
        disablepin: NOPIN
coolant:
  floodpin: NOPIN
  mistpin: NOPIN
  delay_ms: 0
macros:   
start:
  must_home: false
  deactivate_parking: true
  check_limits: false
parking:
  enable: false
  axis: Z
  targetmposmm: -5
  ratemmper_min: 800
  pulloutdistancemm: 5
  pulloutratemmpermin: 250
user_outputs:
  analog0pin: NOPIN
  analog1pin: NOPIN
  analog2pin: NOPIN
  analog3pin: NOPIN
  analog0_hz: 5000
  analog1_hz: 5000
  analog2_hz: 5000
  analog3_hz: 5000
  digital0pin: NOPIN
  digital1pin: NOPIN
  digital2pin: NOPIN
  digital3pin: NOPIN
  digital4pin: NOPIN
  digital5pin: NOPIN
  digital6pin: NOPIN
  digital7pin: NOPIN
user_inputs:
  analog0pin: NOPIN
  analog1pin: NOPIN
  analog2pin: NOPIN
  analog3pin: NOPIN
  digital0pin: NOPIN
  digital1pin: NOPIN
  digital2pin: NOPIN
  digital3pin: NOPIN
  digital4pin: NOPIN
  digital5pin: NOPIN
  digital6pin: NOPIN
  digital7pin: NOPIN
arctolerancemm: 0.002
junctiondeviationmm: 0.01
verbose_errors: true
report_inches: false
enableparkingoverride_control: false
uselinenumbers: false
planner_blocks: 16
PWM:
  output_pin: gpio.2
  enable_pin: gpio.22
  s0withdisable: true

Startup Messages

It works great.

User Interface Software

No response

What happened?

Good day. In my projects, I came across the need to use the G-code for cyclic program restart (M47). Is it possible to implement it?

GCode File

No response

Other Information

No response


评论 (5)

#1 – MitchBradley 于 2025-04-28

You can do it this way http://wiki.fluidnc.com/en/features/gcodeparametersexpressions#looping . It only works if you are running the program from an SD card. If you are using a GCode sender, the sender would have to implement the repeat logic.


#2 – IgorUTch 于 2025-04-28

Thank you very much, I will try.

 
>Понедельник, 28 апреля 2025, 11:01 +03:00 от Mitch Bradley @.*>:

>MitchBradley left a comment (bdring/FluidNC#1485)
>You can do it this way http://wiki.fluidnc.com/en/features/gcodeparametersexpressions#looping . It only works if you are running the program from an SD card. If you are using a GCode sender, the sender would have to implement the repeat logic.
>—
>Reply to this email directly, view it on GitHub , or unsubscribe .
>You are receiving this because you authored the thread. Message ID:
 
 
Best regards
@.*
 


#3 – betuss2345 于 2025-05-08

Hello,

I have an MKS DLC32 MAX V1.0 board equipped with an ESP32-S3 module. I’m aiming to control my CNC machine, including the probe functionality, using either FluidNC or Grbl_ESP32 firmware.

However, it appears that ESP32-S3 is not currently supported by either firmware. The FluidNC developers suggested reaching out to MKS directly for support.

Therefore, I have two questions:

Is there any firmware available (even experimental) that supports the ESP32-S3 version of the MKS DLC32 MAX V1.0, including CNC and probing features?

If not, is it feasible to replace the ESP32-S3 module with a standard ESP32-WROOM module to make the board compatible with FluidNC or Grbl_ESP32?

Thank you very much for your assistance!


#4 – breiler 于 2025-05-08

@betuss2345 What does this question have to do with this issue? Why are you reposting the same question when you already got the answer?


#5 – IgorUTch 于 2025-05-08

I’m sorry, but I didn’t do it.

Отправлено из Mail для Android четверг, 08 мая 2025г., 16:20 +03:00 от Joacim Breiler @.* :

>breiler left a comment (bdring/FluidNC#1485)
>@betuss2345 What does this question have to do with this issue? Why are you reposting the same question when you already got the answer?
>—
>Reply to this email directly, view it on GitHub , or unsubscribe .
>You are receiving this because you authored the thread. Message ID: @ github . com>


原始Issue: https://github.com/bdring/FluidNC/issues/1485

喜欢 (0)