bdring / FluidNC

The next generation of motion control firmware
Other
1.62k stars 386 forks source link

Problem: config. yaml file #1275

Closed Hooks321 closed 3 months ago

Hooks321 commented 4 months ago

Wiki Search Terms

yaml file help.

Controller Board

6 pack controller esp-wroom-32

Machine Description

Gantry laser 1300x900 diode 10w output.

Input Circuits

?

Configuration file

Wont paste.

Startup Messages

machine won't move.

User Interface Software

No response

What happened?

Machine won't move.

GCode File

No response

Other Information

Just need a standard laser config.yaml file/ 3 axis suit 10w diode laser/ motor steps-533.366616 . used for cutting and engraving.

bdring commented 4 months ago

We need to see your existing config file to be able to help.

Please cut and paste on a reply.

Hooks321 commented 4 months ago

Laser Home XYZ.txt

Hooks321 commented 4 months ago

20240728_111753 This is the boardThat I am trying to use.

bdring commented 4 months ago

I have no knowledge of that controller. It is not on our known hardware list.

Can you provide links to the schematic, datasheet and where you got it. Have you contacted the supplier for help?

I am pasting your file here. It has a lot of NO_PIN values, that we cannot help you with.

board: 6 Pack
name:Laser Home XYZ
meta: 2024 Gary
stepping:
  engine: I2S_stream
  idle_ms: 255
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0
  segments: 12

axes:
  shared_stepper_disable_pin: NO_PIN
  x:
    steps_per_mm: 533.366616
    max_rate_mm_per_min: 4000.000
    acceleration_mm_per_sec2: 80.000
    max_travel_mm: 900.000
    soft_limits: true
    homing:
      cycle: 2
      allow_single_axis: true
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 600.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: NO_PIN
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 3.000
      stepstick:
        step_pin: I2SO.2
        direction_pin: I2SO.1
        disable_pin: I2SO.0
        ms1_pin: NO_PIN
        ms2_pin: NO_PIN
        ms3_pin: I2SO.3
        reset_pin: NO_PIN

  y:
    steps_per_mm: 533.366616
    max_rate_mm_per_min: 4000.000
    acceleration_mm_per_sec2: 80.000
    max_travel_mm: 1300.000
    soft_limits: true
    homing:
      cycle: 2
      allow_single_axis: true
      positive_direction: true
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 600.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: NO_PIN
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: true
      pulloff_mm: 1.000
      stepstick:
        step_pin: I2SO.5
        direction_pin: I2SO.4
        disable_pin: I2SO.7
        ms1_pin: NO_PIN
        ms2_pin: NO_PIN
        ms3_pin: I2SO.6
        reset_pin: NO_PIN

  z:
    steps_per_mm: 533.366616
    max_rate_mm_per_min: 4000.000
    acceleration_mm_per_sec2: 50.000
    max_travel_mm: 20.000
    soft_limits: true
    homing:
      cycle: 1
      allow_single_axis: true
      positive_direction: true
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 600.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: NO_PIN
      limit_pos_pin: NO_PIN
      limit_all_pin: NO_PIN
      hard_limits: false
      pulloff_mm: 5.000
      standard_stepper:
        step_pin: I2SO.10
        direction_pin: I2SO.9
        disable_pin: I2SO.8

i2so:
  bck_pin: gpio.22
  data_pin: gpio.21
  ws_pin: gpio.17

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

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN

start:
  must_home: false

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
planner_blocks: 16
NoSpindle:
bdring commented 4 months ago

It might be this.

https://github.com/Macrobase-tech/CNC-Software/tree/main/6%20Axis%20Upgrade

It does not appear that they reply to issues. I did not see any source files. I did not open any of the .rar files. There is a config file here.

https://github.com/Macrobase-tech/CNC-Software/tree/main/6%20Axis%20Upgrade/Software%20instruction

I do not think it is worth our time to offer free support to this controller.

Hooks321 commented 4 months ago

Board.pdf Sorry it was night time down here when you guys replied. I have an old trimph C02 1300x900 laser which i am trying to convert to diode. Had it running on a mach3 board but didnt engrave well, so just thought i would try Fluidnc download . Any help with a config yaml file would be great as it is all very confusing. Thanks all.

MitchBradley commented 4 months ago

We spent a lot of time documenting and explaining the config file on the wiki, and provided numerous examples for different situations. Now you are asking us to spend even more time spoon-feeding the information to you, on behalf of barely-documented third-party hardware that hardly anyone else uses. If we created custom config files, for free, for every new user, development would come to a halt and it would not be long before the project died.

Hooks321 commented 4 months ago

I was only asking for help as it is so confusing on your website.

BlueOrangeLive commented 3 months ago

Here is the diagram from AliExpress.

Have a nice day. Macrobase_6Axes_Schematic.pdf

Hooks321 commented 3 months ago

Thanks for all your help, looks like I should back of this as it seems to complicated. Cheers.

bdring commented 3 months ago

That is probably best. Converting a laser can be complicated and dangerous on a lot of levels.

I have added the board to our hardware page for future reference.

Skorpi08 commented 3 months ago

@Hooks321 try this Macrobase 6 Axis.zip

board: Macrobase 6 Axis
name: 6 Axis
meta: (29.07.2024) by Skorpi

kinematics:
  Cartesian:

stepping:
  engine: I2S_STATIC
  idle_ms: 255
  pulse_us: 4
  dir_delay_us: 1
  disable_delay_us: 0

axes:
  x:
    steps_per_mm: 533.366616 
    max_rate_mm_per_min: 8000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 1300.000
    soft_limits: true
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 1500.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.33:low
      hard_limits: false
      pulloff_mm: 4.000
      stepstick:
        ms3_pin: i2so.3
        step_pin: I2SO.2
        direction_pin: I2SO.1
        disable_pin: I2SO.0

  y:
    steps_per_mm: 533.366616 
    max_rate_mm_per_min: 8000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 900.000
    soft_limits: true
    homing:
      cycle: 3
      positive_direction: false
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 2000.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.32:low
      hard_limits: false
      pulloff_mm: 4.000
      stepstick:
        ms3_pin: i2so.6
        step_pin: I2SO.5
        direction_pin: I2SO.4
        disable_pin: I2SO.7

  z:
    steps_per_mm: 533.366616 
    max_rate_mm_per_min: 8000.000
    acceleration_mm_per_sec2: 300.000
    max_travel_mm: 20.000
    soft_limits: true
    homing:
      cycle: 1
      positive_direction: true
      mpos_mm: 0.000
      feed_mm_per_min: 300.000
      seek_mm_per_min: 500.000
      settle_ms: 500
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_neg_pin: gpio.35:low
      hard_limits: false
      pulloff_mm: 3.000
      stepstick:
        ms3_pin: i2so.11
        step_pin: I2SO.10
        direction_pin: I2SO.9
        disable_pin: I2SO.8

#  a:
#    steps_per_mm: 800.000
#    max_rate_mm_per_min: 8000.000
#    acceleration_mm_per_sec2: 300.000
#    max_travel_mm: 2500.000
#    soft_limits: true
#    homing:
#      cycle: 2
#      positive_direction: false
#      mpos_mm: 0.000
#      feed_mm_per_min: 300.000
#      seek_mm_per_min: 1500.000
#      settle_ms: 500
#      seek_scaler: 1.100
#      feed_scaler: 1.100
#
#    motor0:
#      limit_neg_pin: NO_PIN
#      hard_limits: false
#      pulloff_mm: 4.000
#      stepstick:
#        ms3_pin: i2so.14
#        step_pin: I2SO.13
#        direction_pin: I2SO.12
#        disable_pin: I2SO.15
#
#  b:
#    steps_per_mm: 800.000
#    max_rate_mm_per_min: 8000.000
#    acceleration_mm_per_sec2: 300.000
#    max_travel_mm: 2500.000
#    soft_limits: true
#    homing:
#      cycle: 2
#      positive_direction: false
#      mpos_mm: 0.000
#      feed_mm_per_min: 300.000
#      seek_mm_per_min: 1500.000
#      settle_ms: 500
#      seek_scaler: 1.100
#      feed_scaler: 1.100
#
#    motor0:
#      limit_neg_pin: NO_PIN
#      hard_limits: false
#      pulloff_mm: 4.000
#      stepstick:
#        ms3_pin: i2so.19
#        step_pin: I2SO.18
#        direction_pin: I2SO.17
#        disable_pin: I2SO.16
#
#  c:
#    steps_per_mm: 800.000
#    max_rate_mm_per_min: 8000.000
#    acceleration_mm_per_sec2: 300.000
#    max_travel_mm: 1250.000
#    soft_limits: true
#    homing:
#      cycle: 3
#      positive_direction: false
#      mpos_mm: 0.000
#      feed_mm_per_min: 300.000
#      seek_mm_per_min: 2000.000
#      settle_ms: 500
#      seek_scaler: 1.100
#      feed_scaler: 1.100
#
#    motor0:
#      limit_neg_pin: NO_PIN
#      hard_limits: false
#      pulloff_mm: 4.000
#      stepstick:
#        ms3_pin: i2so.22
#        step_pin: I2SO.21
#        direction_pin: I2SO.20
#        disable_pin: I2SO.23

i2so:
  bck_pin: gpio.22
  data_pin: gpio.21
  ws_pin: gpio.17

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

probe:
  pin: gpio.34
  check_mode_start: false

sdcard:
  cs_pin: gpio.5

coolant:
  flood_pin: i2so.24
  mist_pin: gpio.4
  delay_ms: 0

control:
  safety_door_pin: NO_PIN
  reset_pin: NO_PIN
  feed_hold_pin: gpio.36
  cycle_start_pin: NO_PIN

Laser:
  pwm_hz: 5000
  output_pin: gpio.27
  enable_pin: gpio.12
  disable_with_s0: false
  s0_with_disable: false
  tool_num: 0
  speed_map: 0=0.000% 1000=100.000%

start:
  must_home: false
  deactivate_parking: false
  check_limits: false