Skip to content

Instantly share code, notes, and snippets.

@openhoangnc
Last active April 23, 2023 10:07
Show Gist options
  • Select an option

  • Save openhoangnc/43ea0dcbe0fbf805bde3bfa0c265a4ef to your computer and use it in GitHub Desktop.

Select an option

Save openhoangnc/43ea0dcbe0fbf805bde3bfa0c265a4ef to your computer and use it in GitHub Desktop.
FluidNC config for Sculpfun S30 pro max
$0=10
$1=25
$2=0
$3=4
$4=0
$5=1
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=7
$24=200.000
$25=3000.000
$26=250.000
$27=2.000
$30=1000.000
$31=0.000
$32=1
$41=0.000
$40=0.000
$100=80.000
$101=80.000
$102=250.000
$103=100.000
$104=100.000
$105=100.000
$110=6000.000
$111=6000.000
$112=1000.000
$113=1000.000
$114=1000.000
$115=1000.000
$120=1000.000
$121=1000.000
$122=1000.000
$123=200.000
$124=200.000
$125=200.000
$130=400.000
$131=410.000
$132=200.000
$133=300.000
$134=300.000
$135=300.000
$0=10
$1=25
$2=0
$3=4
$4=0
$5=1
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=7
$24=200.000
$25=3000.000
$26=250.000
$27=2.000
$30=1000.000
$31=0.000
$32=1
$41=0.000
$40=0.000
$N1=
$N0=
$28=1000.000
$34=0.000
$35=0.000
$36=100.000
$100=80.000
$101=80.000
$102=250.000
$103=100.000
$104=100.000
$105=100.000
$110=6000.000
$111=6000.000
$112=1000.000
$113=1000.000
$114=1000.000
$115=1000.000
$120=1000.000
$121=1000.000
$122=1000.000
$123=200.000
$124=200.000
$125=200.000
$130=400.000
$131=410.000
$132=200.000
$133=300.000
$134=300.000
$135=300.000
$140=0.250
$141=0.250
$142=0.250
$143=0.250
$144=0.250
$145=0.250
$150=0.125
$151=0.125
$152=0.125
$153=0.125
$154=0.125
$155=0.125
$160=16
$161=16
$162=16
$163=16
$164=16
$165=16
$170=16
$171=16
$172=16
$173=16
$174=16
$175=16
$Radio/Mode=BT
$Bluetooth/Name=Sculpfun
$Message/Level=None
$User/Macro0=
$User/Macro1=
$User/Macro2=
$User/Macro3=
$Homing/Cycle0=XY
$Homing/Cycle1=
$Homing/Cycle2=
$Homing/Cycle3=
$Homing/Cycle4=
$Homing/Cycle5=
$Report/StallGuard=
$Stepper/Enable/Delay=0
$Stepper/Direction/Delay=0
$Stepper/Pulse=10
$Stepper/IdleTime=25
$Stepper/StepInvert=
$Stepper/DirInvert=Z
$Stepper/EnableInvert=Off
$Limits/Invert=On
$Probe/Invert=Off
$Report/Status=1
$GCode/JunctionDeviation=0.010
$GCode/ArcTolerance=0.002
$Report/Inches=Off
$Firmware/Build=
$Limits/Soft=Off
$Limits/Hard=Off
$Homing/Enable=On
$Homing/DirInvert=XYZ
$Homing/Squared=
$Homing/Feed=200.000
$Homing/Seek=3000.000
$Homing/Debounce=250.000
$Homing/Pulloff=2.000
$GCode/MaxS=1000.000
$GCode/MinS=0.000
$Laser/FullPower=1000
$GCode/LaserMode=On
$GCode/Line1=
$GCode/Line0=
$Spindle/Enable/Invert=Off
$Spindle/Enable/OffWithSpeed=Off
$Coolant/Delay/TurnOn=1.000
$Spindle/Delay/SpinDown=0.000
$Spindle/Delay/SpinUp=0.000
$Spindle/PWM/Invert=Off
$Spindle/PWM/Frequency=1000.000
$Spindle/PWM/Off=0.000
$Spindle/PWM/Min=0.000
$Spindle/PWM/Max=100.000
$Spindle/Type=LASER
$X/StepsPerMm=80.000
$Y/StepsPerMm=80.000
$Z/StepsPerMm=250.000
$A/StepsPerMm=100.000
$B/StepsPerMm=100.000
$C/StepsPerMm=100.000
$X/MaxRate=6000.000
$Y/MaxRate=6000.000
$Z/MaxRate=1000.000
$A/MaxRate=1000.000
$B/MaxRate=1000.000
$C/MaxRate=1000.000
$X/Acceleration=1000.000
$Y/Acceleration=1000.000
$Z/Acceleration=1000.000
$A/Acceleration=200.000
$B/Acceleration=200.000
$C/Acceleration=200.000
$X/Home/Mpos=-2.000
$Y/Home/Mpos=-2.000
$Z/Home/Mpos=0.000
$A/Home/Mpos=0.000
$B/Home/Mpos=0.000
$C/Home/Mpos=0.000
$X/MaxTravel=400.000
$Y/MaxTravel=410.000
$Z/MaxTravel=200.000
$A/MaxTravel=300.000
$B/MaxTravel=300.000
$C/MaxTravel=300.000
$X/Current/Run=0.250
$Y/Current/Run=0.250
$Z/Current/Run=0.250
$A/Current/Run=0.250
$B/Current/Run=0.250
$C/Current/Run=0.250
$X/Current/Hold=0.125
$Y/Current/Hold=0.125
$Z/Current/Hold=0.125
$A/Current/Hold=0.125
$B/Current/Hold=0.125
$C/Current/Hold=0.125
$X/Microsteps=16
$Y/Microsteps=16
$Z/Microsteps=16
$A/Microsteps=16
$B/Microsteps=16
$C/Microsteps=16
$X/StallGuard=16
$Y/StallGuard=16
$Z/StallGuard=16
$A/StallGuard=16
$B/StallGuard=16
$C/StallGuard=16
$Errors/Verbose=Off
$Limits/Invert=On (Default=Off)
$Homing/Enable=On (Default=Off)
board: Sculpfun S30
name: XY-DLC32-MC V1.1
meta: (02/16/2023) M. Isken / diode-laser-wiki.com
arc_tolerance_mm: 0.002
junction_deviation_mm: 0.01
verbose_errors: false
report_inches: false
stepping:
engine: RMT
idle_ms: 25
pulse_us: 4
dir_delay_us: 0
disable_delay_us: 0
segments: 12
axes:
shared_stepper_disable_pin: gpio.25
shared_stepper_reset_pin: NO_PIN
x:
steps_per_mm: 80.000
max_rate_mm_per_min: 6000.000
acceleration_mm_per_sec2: 1000.000
max_travel_mm: 374.000
soft_limits: true
homing:
cycle: 1
allow_single_axis: true
positive_direction: false
mpos_mm: 0.000
feed_mm_per_min: 200.000
seek_mm_per_min: 3000.000
settle_ms: 250
seek_scaler: 1.100
feed_scaler: 1.100
motor0:
limit_neg_pin: gpio.34:low
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: true
pulloff_mm: 1.000
stepstick:
step_pin: gpio.27
direction_pin: gpio.26
y:
steps_per_mm: 80.000
max_rate_mm_per_min: 6000.000
acceleration_mm_per_sec2: 1000.000
max_travel_mm: 362.000
soft_limits: true
homing:
cycle: 1
allow_single_axis: true
positive_direction: false
mpos_mm: 0.000
feed_mm_per_min: 200.000
seek_mm_per_min: 3000.000
settle_ms: 250
seek_scaler: 1.100
feed_scaler: 1.100
motor0:
limit_neg_pin: gpio.35:low
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: true
pulloff_mm: 1.000
stepstick:
step_pin: gpio.33
direction_pin: gpio.32
start:
must_home: false
coolant:
flood_pin: gpio.21
delay_ms: 0
Laser:
pwm_hz: 3000
output_pin: gpio.4
enable_pin: NO_PIN
disable_with_s0: false
s0_with_disable: true
tool_num: 0
speed_map: 0=0.000% 1000=100.000%
off_on_alarm: true
[19:32:06] [ ] Grbl 1.1h ['$' for help]
[19:32:08] [ $$ ] $0=10 ;Step pulse time, microseconds
[19:32:08] [ $$ ] $1=25 ;Step idle delay, milliseconds
[19:32:08] [ $$ ] $2=0 ;Step pulse invert, mask
[19:32:08] [ $$ ] $3=4 ;Step direction invert, mask
[19:32:08] [ $$ ] $4=0 ;Invert step enable pin, boolean
[19:32:08] [ $$ ] $5=1 ;Invert limit pins, boolean/mask
[19:32:08] [ $$ ] $6=0 ;Invert probe pin, boolean
[19:32:08] [ $$ ] $10=1 ;Status report options, mask
[19:32:08] [ $$ ] $11=0.010 ;Junction deviation, millimeters
[19:32:08] [ $$ ] $12=0.002 ;Arc tolerance, millimeters
[19:32:08] [ $$ ] $13=0 ;Report in inches, boolean
[19:32:08] [ $$ ] $20=0 ;Soft limits enable, boolean
[19:32:08] [ $$ ] $21=0 ;Hard limits enable, boolean
[19:32:08] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)
[19:32:08] [ $$ ] $23=7 ;Homing direction invert, mask
[19:32:08] [ $$ ] $24=200.000 ;Homing locate feed rate, mm/min
[19:32:08] [ $$ ] $25=3000.000 ;Homing search seek rate, mm/min
[19:32:08] [ $$ ] $26=250.000 ;Homing switch debounce delay, milliseconds
[19:32:08] [ $$ ] $27=2.000 ;Homing switch pull-off distance, millimeters
[19:32:08] [ $$ ] $30=1000.000 ;Maximum spindle speed, RPM
[19:32:08] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM
[19:32:08] [ $$ ] $32=1 ;Laser-mode enable, boolean
[19:32:08] [ $$ ] $100=80.000 ;X-axis steps per millimeter
[19:32:08] [ $$ ] $101=80.000 ;Y-axis steps per millimeter
[19:32:08] [ $$ ] $102=250.000 ;Z-axis steps per millimeter
[19:32:08] [ $$ ] $103=100.000 ;A-axis steps per degree
[19:32:08] [ $$ ] $104=100.000 ;unknown
[19:32:08] [ $$ ] $105=100.000 ;unknown
[19:32:08] [ $$ ] $110=6000.000 ;X-axis maximum rate, mm/min
[19:32:08] [ $$ ] $111=6000.000 ;Y-axis maximum rate, mm/min
[19:32:08] [ $$ ] $112=1000.000 ;Z-axis maximum rate, mm/min
[19:32:08] [ $$ ] $113=1000.000 ;A-axis maximum rate, deg/min
[19:32:08] [ $$ ] $114=1000.000 ;unknown
[19:32:08] [ $$ ] $115=1000.000 ;unknown
[19:32:08] [ $$ ] $120=1000.000 ;X-axis acceleration, mm/sec^2
[19:32:08] [ $$ ] $121=1000.000 ;Y-axis acceleration, mm/sec^2
[19:32:08] [ $$ ] $122=1000.000 ;Z-axis acceleration, mm/sec^2
[19:32:08] [ $$ ] $123=200.000 ;A-axis acceleration, deg/sec^2
[19:32:08] [ $$ ] $124=200.000 ;unknown
[19:32:08] [ $$ ] $125=200.000 ;unknown
[19:32:08] [ $$ ] $130=400.000 ;X-axis maximum travel, millimeters
[19:32:08] [ $$ ] $131=410.000 ;Y-axis maximum travel, millimeters
[19:32:08] [ $$ ] $132=200.000 ;Z-axis maximum travel, millimeters
[19:32:08] [ $$ ] $133=300.000 ;A-axis maximum travel, degrees
[19:32:08] [ $$ ] $134=300.000 ;unknown
[19:32:08] [ $$ ] $135=300.000 ;unknown
[19:32:08] [ $$ ] ok
[19:32:09] [ $I ] [VER:1.1h.20220925:]
[19:32:09] [ $I ] [OPT:V,15,128]
[19:32:09] [ $I ] ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment