Advertisement
Helmi

smoothie laser config

Mar 8th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.61 KB | None | 0 0
  1. # enable CoreXY
  2. arm_solution corexy
  3. alpha_max_rate 10000
  4. beta_max_rate 10000
  5.  
  6. # Robot module configurations : general handling of movement G-codes and slicing into moves
  7. default_feed_rate 10000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  8. default_seek_rate 10000 # Default rate ( mm/minute ) for G0 moves
  9. mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for these segments. Smaller values mean more resolution, higher values mean faster computation
  10. mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
  11.  
  12. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  13. alpha_steps_per_mm 75 # Steps per mm for alpha stepper
  14. beta_steps_per_mm 75 # Steps per mm for beta stepper
  15. #gamma_steps_per_mm 1600 # Steps per mm for gamma stepper
  16.  
  17. # Planner module configuration : Look-ahead and acceleration configuration
  18. planner_queue_size 64 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum.
  19. acceleration 3000 # Acceleration in mm/second/second.
  20. acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
  21. junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  22. # and https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8 . Lower values mean being more careful, higher values means being faster and have more jerk
  23. # Stepper module configuration
  24. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  25. minimum_steps_per_minute 1200 # Never step slower than this
  26. base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
  27.  
  28. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  29. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  30. alpha_dir_pin 0.5 # Pin for alpha stepper direction
  31. alpha_en_pin 0.4 # Pin for alpha enable pin
  32. alpha_current 0.5 # X stepper motor current
  33. x_axis_max_speed 30000 # mm/min
  34.  
  35. beta_step_pin 2.1 # Pin for beta stepper step signal
  36. beta_dir_pin 0.11 # Pin for beta stepper direction
  37. beta_en_pin 0.10 # Pin for beta enable
  38. beta_current 0.5 # Y stepper motor current
  39. y_axis_max_speed 30000 # mm/min
  40.  
  41. #gamma_step_pin 2.2 # Pin for gamma stepper step signal
  42. #gamma_dir_pin 0.20 # Pin for gamma stepper direction
  43. #gamma_en_pin 0.19 # Pin for gamma enable
  44. #gamma_current 0.5 # Z stepper motor current
  45. #z_axis_max_speed 300 # mm/min
  46.  
  47. # Serial communications configuration ( baud rate default to 9600 if undefined )
  48. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  49. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  50.  
  51. # Laser module configuration
  52. laser_module_enable true # Whether to activate the laser module at all. All configuration is ignored if false.
  53. #laser_module_pin 2.7 # this pin will be PWMed to control the laser
  54. #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
  55. #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
  56.  
  57. # Switch module for fan control
  58. switch.fan.enable true #
  59. switch.fan.input_on_command M106 #
  60. switch.fan.input_off_command M107 #
  61. switch.fan.output_pin 2.6 #
  62.  
  63. #switch.misc.enable true #
  64. #switch.misc.input_on_command M42 #
  65. #switch.misc.input_off_command M43 #
  66. #switch.misc.output_pin 2.4 #
  67.  
  68. # Switch module for spindle control
  69. #switch.spindle.enable false #
  70.  
  71. # Endstops
  72. endstops_enable true # the endstop module is enabled by default and can be disabled here
  73. corexy_homing true # set to true if homing on a hbit or corexy
  74. alpha_min_endstop 1.24^! # add a ! to invert if endstop is NO connected to ground
  75. alpha_max_endstop 1.25^! #
  76. alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
  77. alpha_min 0 # this gets loaded after homing when home_to_min is set
  78. alpha_max 400 # this gets loaded after homing when home_to_max is set
  79. #beta_min_endstop 1.26^! #
  80. beta_max_endstop 1.26^! #
  81. beta_homing_direction home_to_max #
  82. beta_min 0 #
  83. beta_max 400 #
  84. gamma_min_endstop 1.28^! #
  85. gamma_max_endstop 1.28^! #
  86. gamma_homing_direction home_to_min #
  87. gamma_min 0 #
  88. gamma_max 200 #
  89.  
  90. alpha_fast_homing_rate_mm_s 100 # feedrates in mm/second
  91. beta_fast_homing_rate_mm_s 100 # "
  92. gamma_fast_homing_rate_mm_s 10 # "
  93. alpha_slow_homing_rate_mm_s 25 # "
  94. beta_slow_homing_rate_mm_s 25 # "
  95. gamma_slow_homing_rate_mm_s 2 # "
  96.  
  97. alpha_homing_retract_mm 5 # distance in mm
  98. beta_homing_retract_mm 10 # "
  99. gamma_homing_retract_mm 1 # "
  100.  
  101. # Pause button
  102. pause_button_enable true #
  103.  
  104. # Only needed on a smoothieboard
  105. currentcontrol_module_enable true #
  106.  
  107. return_error_on_unhandled_gcode false #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement