board: XY-DLC32-MC V1.1 name: Sculpfun S30 meta: (06/20/2023) k. raab - S30 Pro Max 20w XY Extension - Refined Settings arc_tolerance_mm: 0.002 junction_deviation_mm: 0.01 verbose_errors: false report_inches: false start: must_home: false deactivate_parking: true check_limits: false stepping: engine: RMT idle_ms: 250 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: 24000.000 acceleration_mm_per_sec2: 3000.000 max_travel_mm: 890.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: 2.000 stepstick: step_pin: gpio.27 #change direction using direction_pin: gpio.26:low direction_pin: gpio.26 y: steps_per_mm: 80.000 max_rate_mm_per_min: 24000.000 acceleration_mm_per_sec2: 3000.000 max_travel_mm: 900.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: 2.000 stepstick: step_pin: gpio.33 #change direction using direction_pin: gpio.32:low direction_pin: gpio.32 coolant: flood_pin: gpio.21 delay_ms: 0 Laser: pwm_hz: 1500 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 #user outputs can be controlled with M64 P0 (turn P0 on) and M65 P0 (turn P0 off) #http://wiki.fluidnc.com/en/config/user_outputs #it seems only 4 ports work at a time, but all pins work #on command makes pin 3.3V (high), off command 0V (low) #available pins: 2, 13, 16, 17, 19, 22 user_outputs: # digital0_pin: gpio.2 # digital1_pin: gpio.13 # digital2_pin: gpio.16 # digital3_pin: gpio.17 #define user inputs control: #all the following pins can have be assigned those pins: #gpio.2:low:pu; # Pin 2, logic is active low (connected switch should pull to GND when pressed) and pull-up resistor activated #available pins: 2, 13, 16, 17, 19, 22 safety_door_pin: NO_PIN reset_pin: NO_PIN feed_hold_pin: NO_PIN cycle_start_pin: NO_PIN macro0_pin: gpio.22:low:pu macro1_pin: gpio.17:low:pu macro2_pin: gpio.2:low:pu macro3_pin: gpio.16:low:pu #executed when macro_pin is activated macros: startup_line0: startup_line1: #example commands to jog the laser +-10mm for x and y macro0: $J=G91 G21 F1000 Y10 macro1: $J=G91 G21 F1000 Y-10 macro2: $J=G91 G21 F1000 X10 macro3: $J=G91 G21 F1000 X-10 #if you want to connect a small display to the board, define I2C bus and oled sections #http://wiki.fluidnc.com/en/config/displays #this configuration uses the SDA/SCL labeled pins available on the DLC32 board.