I have questions about the config file

Machine: Artsign 3060U
Cohesion3d newest
smoothie and configuration files are the latest.
My X and Y are opposite.

I will copy and paste the portion of the config file.

The first question is why are gamma, delta, epsilon and zeta all for Z?
The second is why are current for X and Y different. shouldn’t they be the same?
The third question is Are delta, epsilon and zeta settings for X, Y and Z

The paste of the config file. The source of the questions. If you look at what I pasted you will see what I’m talking about.

# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
alpha_step_pin                             2.0                   # Pin for alpha stepper step signal
alpha_dir_pin                                0.5                   # Pin for alpha stepper direction
alpha_en_pin                                 0.4                  # Pin for alpha enable pin
alpha_current                                **0.4**                  # X stepper motor current
alpha_max_rate                            24000.0          # mm/min
alpha_acceleration                       2500                # mm/sec²

beta_step_pin                              2.1                     # Pin for beta stepper step signal
beta_dir_pin                                 0.11                    # Pin for beta stepper direction
beta_en_pin                                 0.10                   # Pin for beta enable
beta_current                                 **0.6**                     # Y stepper motor current
beta_max_rate                             24000.0             # mm/min
beta_acceleration                        2500                   # mm/sec²

gamma_step_pin                             2.2                  # Pin for gamma stepper step signal
gamma_dir_pin                                0.20!               # Pin for gamma stepper direction
gamma_en_pin                                0.19                # Pin for gamma enable
gamma_current                                0.6                 # Z stepper motor current
gamma_max_rate                            24000.0          # mm/min
gamma_acceleration                       2500               # mm/sec²

# A axis
delta_steps_per_mm                    157.5              # may be steps per degree for example
delta_step_pin                               2.3                 # Pin for delta stepper step signal
delta_dir_pin                                 0.22                # Pin for delta stepper direction
delta_en_pin                                 0.21                # Pin for delta enable
delta_current                                0.6                    **# Z stepper** motor current
delta_max_rate                            12000               # mm/min
delta_acceleration                       1000                  # mm/sec²

# B axis
epsilon_steps_per_mm                   100                # may be steps per degree for example
epsilon_step_pin                              xx                  # Pin for delta stepper step signal
epsilon_dir_pin                                 xx                  # Pin for delta stepper direction
epsilon_en_pin                                 xx                  # Pin for delta enable
epsilon_current                                1.5                 **# Z stepper** motor current
epsilon_max_rate                            300.0             # mm/min
epsilon_acceleration                       500.0              # mm/sec²

# C axis
zeta_steps_per_mm                       100                # may be steps per degree for example
zeta_step_pin                                  xx                 # Pin for delta stepper step signal
zeta_dir_pin                                     xx                 # Pin for delta stepper direction
zeta_en_pin                                     xx                 # Pin for delta enable
zeta_current                                    1.5                **# Z stepper** motor current
zeta_max_rate                                300.0            # mm/min
zeta_acceleration                            500.0            # mm/sec²

Thanks for taking the time to look. Any help would be appreciated.

I have the same issue X and Y reversed and X and Y bed size is smaller.

I feel for you buddy! watching for an answer!

Hi Ron, it’s been a while since we’ve seen your machine, so a few photos of how it is wired up might be helpful.

I think I see what you are asking about, specifically how the comment # Z stepper motor current is in the sections for gamma, delta, epsilon, and zeta.

The Smoothie firmware is used for a lot of different machines, including 3D printers which sometimes have two extruders (epsilon and zeta.)

What we care about is:

  • X (alpha)
  • Y (beta)
  • Z (gamma) - if you have a Z table
  • A (delta) - if you have a rotary device

The comment # Z stepper motor current in the delta, epsilon, and zeta may just be a simple typo or copy/ paste error. The comments have no affect on the machine, and just serve to help (or confuse) humans.

The current for X may be lower than for Y because it typically is moving less mass (the laser head versus the whole gantry.) The values set are conservative, and work for most K40 lasers, but may need adjusting (especially for larger lasers.)

When you say opposite do you mean X moves left when you want it to move right, and Y moves towards the front when you want it to move to the rear - OR - do you mean trying to move X left and right really moves Y forward and back?

Are the directions X and Y move reversed or are the movements of X and Y swapped?

Martin, please create a new post so we can focus on your specific issue. Every machine is different so separate posts help keep things a little less confusing. :slight_smile:

Hello Pete. I understand about the remarks not affecting it work, and I’m not saying this to be a jerk. I’m just frustrated with trying to figure out what they mean. With limited reference to make the machines work with this config file. I would hope it to be correct. Or maybe a document that explains what the settings mean should be made avaliable.

My axis are switched. The Y is the long left and right movement and the X is the short front to rear. I went in and changed the pins for the axis and it made it work but homed to the wrong corner and also the machine still thinks its moving the opposite axis. My machine uses a ribbon cable with end stops combined and a single cable going to the Y plug on the board. I am unable to swap them using the cables.
My other issue is that my Z axis does not use the end stops to stop the Z. Zmin Zmax It will continue moving until it starts skipping on the belt. I did check the end stops. I also tried swapping the end stops. And I verified wiring using the M119 code and swapping the end stops and moving the bed to ensure both were working.

I appreciate the help. Thanks for getting back to me! 20200706_175654|281x500


Ron, I’ve added your photo because for some reason the one you uploaded was not displaying properly. (Other photos are here.)

If you want to dig deeper into how Smoothie works, the config, etc. check out smoothieware.org

Okay, so did you correct the config and now X is left and right movement and Y is forward and back movement?

As it sounds like you’ve made some changes to your config file, it might be helpful to see what it looks like now.

To post the config file in a reply here please surround it with 3 backticks (that’s the key at the top left of your keyboard where the tilde is) like so:

```

paste your config file here

```

It will make the code nicely formatted like this...
alpha_steps_per_mm            157.575          # Steps per mm for alpha stepper
beta_steps_per_mm             157.575          # Steps per mm for beta stepper
gamma_steps_per_mm            157.575          # Steps per mm for gamma stepper

(Alternatively, you may paste the config file to Pastebin, Dropbox, or Google Drive and provide the link here.)

The files was changed but did not help. I changed the pins for x and y. The axis moved corectly but homed to the wrong corner and caused head crashes. So I went back to the original config file. It also was a moving x but the board thought it was moving y. I found this out using the M119 command and watching the end stops. I am running the original config file now.

OK simple to understand question number 1 — Z does not use or recognize end stops. How do i make it use the end stops

How do I make the Z-axis use or recognize the end stops? I have verified the end stops work using M119 and have tried reversing them. The Z will move past the stop and run till the belt skips. They are hooked to Z MIN and Z MAX. Orignal config file being used.

OK simple to understand question number 2 ---- X and y are switched

My X is front to rear and the Y is left to right as standing in front of the machine. How do I change this to X moving from left to right as standing in front of the machine and Y moving front to rear? original config file. My X is the ribbon cable with end stops and the Y is plugged into the Y.

Ron, this is very odd. Clearly the X motor is on the ribbon cable, and the Y motor is on the 4 pin connector. At least based on the photos from your original board at least, unless something really weird was happening, or things were mislabeled, etc. (As you can imagine, we’ve seen some strange things.)

The default LaserBoard config file (which you can get here: LaserBoard SD Card Stock Files) expects this setup, with X on the ribbon cable connector, and Y on the 4 pin connector. But let’s try a test… starting with the default config file, you should see these two chunks of code:

# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
alpha_step_pin                               2.0              # Pin for alpha stepper step signal
alpha_dir_pin                                0.5              # Pin for alpha stepper direction
alpha_en_pin                                 0.4              # Pin for alpha enable pin

beta_step_pin                                2.1              # Pin for beta stepper step signal
beta_dir_pin                                 0.11            # Pin for beta stepper direction
beta_en_pin                                  0.10             # Pin for beta enable

Make the following edits, so that the X connector drives the Y motor, and the Y connector drives the X motor.

# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
alpha_step_pin                               2.1              # Pin for alpha stepper step signal
alpha_dir_pin                                0.11              # Pin for alpha stepper direction
alpha_en_pin                                 0.10              # Pin for alpha enable pin

beta_step_pin                                2.0              # Pin for beta stepper step signal
beta_dir_pin                                 0.5            # Pin for beta stepper direction
beta_en_pin                                  0.4             # Pin for beta enable

Make just these changes, and then see if your X and Y are doing the right thing… with X going left to right, and Y going forward and back.

(I know you’ve got other issues, but let’s work through one at a time so we aren’t making changes that conflict with other things.)

thanks for answering. Yes, this is what I did before I started asking for help. So I just performed the pin change as you asked. It does work but when jogging X to the right it moves to the left. Same with Y. So I went back in and added the ! after the alpha and beta direction pins. Now things move as commanded but this brings up the next problem. The end stops are backward. ugg!

I think I’m going to wear out the sd card from inserting and removing so much. But I figured it out. After pin reversal, I had to go in and change the end stops. I had to work on one at a time but was able to experiment with pins and stops to get it all to work. It homes correctly and bed size is now set. 320x600. the origin also works and after simulating a project it homed to the front left corner. Is that correct?

Now the Z it is set to home to the Z min(top) The bed does not home at all. It does not move. I did verify with the M119 command that when the Z reaches the top Z min shows 0and when moved off of min it shows 1.

so I need to ask how do i get Z to home and How do i get it to use the end stops.

I’m going to attach my current config file so you can see what I have changed. look at the alpha, beta and gamma. and also at the end stops. That’s where it really made a difference.

#Cohesion3D LaserBoard v0.2

# NOTE Lines must not exceed 132 characters
## Robot module configurations : general handling of movement G-codes and slicing into moves
default_feed_rate                            4000             # Default rate ( mm/minute ) for G1/G2/G3 moves
default_seek_rate                            24000            # Default rate ( mm/minute ) for G0 moves
mm_per_arc_segment                           0.0              # Fixed length for line segments that divide arcs 0 to disable
mm_max_arc_error                             0.01             # The maximum error for line segments that divide arcs 0 to disable
                                                              # note it is invalid for both the above be 0
                                                              # if both are used, will use largest segment length based on radius
#mm_per_line_segment                         5                # Lines can be cut into segments ( not usefull with cartesian
                                                              # coordinates robots ).

# Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
alpha_steps_per_mm                           157.575          # Steps per mm for alpha stepper
beta_steps_per_mm                            157.575          # Steps per mm for beta stepper
gamma_steps_per_mm                           157.575          # Steps per mm for gamma stepper

# Planner module configuration : Look-ahead and acceleration configuration
planner_queue_size                           32               # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
acceleration                                 2500             # Acceleration in mm/second/second.
#z_acceleration                              500              # Acceleration for Z only moves in mm/s^2, 0 uses acceleration which is the default. DO NOT SET ON A DELTA
junction_deviation                           0.05             # Similar to the old "max_jerk", in millimeters,
                                                              # see https://github.com/grbl/grbl/blob/master/planner.c
                                                              # 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
#z_junction_deviation                        0.0              # for Z only moves, -1 uses junction_deviation, zero disables junction_deviation on z moves DO NOT SET ON A DELTA
#minimum_planner_speed                       0.0              # sets the minimum planner speed in mm/sec

# Stepper module configuration
microseconds_per_step_pulse                  2                # Duration of step pulses to stepper drivers, in microseconds
base_stepping_frequency                      100000           # Base frequency for stepping

# Cartesian axis speed limits
x_axis_max_speed                             24000            # mm/min
y_axis_max_speed                             24000            # mm/min
z_axis_max_speed                             24000            # mm/min

# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
alpha_step_pin                               2.1              # Pin for alpha stepper step signal
alpha_dir_pin                                0.11!             # Pin for alpha stepper direction
alpha_en_pin                                 0.10             # Pin for alpha enable pin
alpha_current                                0.4              # X stepper motor current
alpha_max_rate                               24000.0          # mm/min
alpha_acceleration                           2500             # mm/sec²

beta_step_pin                                2.0              # Pin for beta stepper step signal
beta_dir_pin                                 0.5!              # Pin for beta stepper direction
beta_en_pin                                  0.4              # Pin for beta enable
beta_current                                 0.6                # Y stepper motor current
beta_max_rate                                24000.0          # mm/min
beta_acceleration                            2500             # mm/sec²

gamma_step_pin                               2.2              # Pin for gamma stepper step signal
gamma_dir_pin                                0.20!             # Pin for gamma stepper direction
gamma_en_pin                                 0.19             # Pin for gamma enable
gamma_current                                0.6                # Z stepper motor current
gamma_max_rate                               24000.0          # mm/min
gamma_acceleration                           2500             # mm/sec²

# A axis
delta_steps_per_mm                           157.5           # may be steps per degree for example
delta_step_pin                               2.3              # Pin for delta stepper step signal
delta_dir_pin                                0.22             # Pin for delta stepper direction
delta_en_pin                                 0.21             # Pin for delta enable
delta_current                                0.6                # Z stepper motor current
delta_max_rate                               12000            # mm/min
delta_acceleration                           1000             # mm/sec²

# B axis
epsilon_steps_per_mm                         100              # may be steps per degree for example
epsilon_step_pin                             xx               # Pin for delta stepper step signal
epsilon_dir_pin                              xx               # Pin for delta stepper direction
epsilon_en_pin                               xx               # Pin for delta enable
epsilon_current                              1.5              # Z stepper motor current
epsilon_max_rate                             300.0            # mm/min
epsilon_acceleration                         500.0            # mm/sec²

# C axis
zeta_steps_per_mm                            100              # may be steps per degree for example
zeta_step_pin                                xx               # Pin for delta stepper step signal
zeta_dir_pin                                 xx               # Pin for delta stepper direction
zeta_en_pin                                  xx               # Pin for delta enable
zeta_current                                 1.5              # Z stepper motor current
zeta_max_rate                                300.0            # mm/min
zeta_acceleration                            500.0            # mm/sec²

## System configuration
# Serial communications configuration ( baud rate defaults to 9600 if undefined )
uart0.baud_rate                              115200           # Baud rate for the default hardware serial port
second_usb_serial_enable                     false            # This enables a second usb serial port (to have both pronterface
                                                              # and a terminal connected)
#leds_disable                                true             # disable using leds after config loaded
#play_led_disable                            true             # disable the play led

# Kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
kill_button_enable                           true             # set to true to enable a kill button
kill_button_pin                              2.12             # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)

#msd_disable                                 false            # disable the MSD (USB SDCARD) when set to true (needs special binary)
#dfu_enable                                  false            # for linux developers, set to true to enable DFU
#watchdog_timeout                            10               # watchdog timeout in seconds, default is 10, set to 0 to disable the watchdog

# Only needed on a smoothieboard
currentcontrol_module_enable                 true             #

## Extruder module configuration
extruder.hotend.enable                          false          # Whether to activate the extruder module at all. All configuration is ignored if false
extruder.hotend.steps_per_mm                    157.575        # Steps per mm for extruder stepper
extruder.hotend.default_feed_rate               60000          # Default rate ( mm/minute ) for moves where only the extruder moves
extruder.hotend.acceleration                    3000           # Acceleration for the stepper motor mm/sec?
extruder.hotend.max_speed                       1000           # mm/s

extruder.hotend.step_pin                        2.3              # Pin for extruder step signal
extruder.hotend.dir_pin                         0.22             # Pin for extruder dir signal
extruder.hotend.en_pin                          0.21             # Pin for extruder enable signal

# extruder offset
#extruder.hotend.x_offset                        0                # x offset from origin in mm
#extruder.hotend.y_offset                        0                # y offset from origin in mm
#extruder.hotend.z_offset                        0                # z offset from origin in mm

# firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using the defaults
#extruder.hotend.retract_length                  3               # retract length in mm
#extruder.hotend.retract_feedrate                45              # retract feedrate in mm/sec
#extruder.hotend.retract_recover_length          0               # additional length for recover
#extruder.hotend.retract_recover_feedrate        8               # recover feedrate in mm/sec (should be less than retract feedrate)
#extruder.hotend.retract_zlift_length            0               # zlift on retract in mm, 0 disables
#extruder.hotend.retract_zlift_feedrate          6000            # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
#delta_current                                    1.8              # First extruder stepper motor current

# Second extruder module configuration
#extruder.hotend2.enable                          true             # Whether to activate the extruder module at all. All configuration is ignored if false
#extruder.hotend2.steps_per_mm                    140              # Steps per mm for extruder stepper
#extruder.hotend2.default_feed_rate               600              # Default rate ( mm/minute ) for moves where only the extruder moves
#extruder.hotend2.acceleration                    500              # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
#extruder.hotend2.max_speed                       50               # mm/s

#extruder.hotend2.step_pin                        2.8              # Pin for extruder step signal
#extruder.hotend2.dir_pin                         2.13             # Pin for extruder dir signal
#extruder.hotend2.en_pin                          4.29             # Pin for extruder enable signal

#extruder.hotend2.x_offset                        0                # x offset from origin in mm
#extruder.hotend2.y_offset                        25.0             # y offset from origin in mm
#extruder.hotend2.z_offset                        0                # z offset from origin in mm
#epsilon_current                                  1.5              # Second extruder stepper motor current


## Laser module configuration
laser_module_enable                           true            # Whether to activate the laser module at all. All configuration is
                                                              # ignored if false.
laser_module_pin                              2.5             # this pin will be PWMed to control the laser. Only P2.0 - P2.5, P1.18, P1.20, P1.21, P1.23, P1.24, P1.26, P3.25, P3.26
                                                              # can be used since laser requires hardware PWM
laser_module_maximum_power                    1.0             # this is the maximum duty cycle that will be applied to the laser
laser_module_minimum_power                    0.0             # This is a value just below the minimum duty cycle that keeps the laser
                                                              # active without actually burning.
#laser_module_default_power                   0.8             # This is the default laser power that will be used for cuts if a power has not been specified.  The value is a scale between
                                                              # the maximum and minimum power levels specified above
laser_module_pwm_period                       200             # this sets the pwm frequency as the period in microseconds

switch.laserfire.enable                       false
switch.laserfire.output_pin                   2.6
switch.laserfire.output_type                  digital
switch.laserfire.input_on_command             M3
switch.laserfire.input_off_command            M5

## Temperature control configuration
# First hotend configuration
temperature_control.hotend.enable            false            # Whether to activate this ( "hotend" ) module at all.
                                                              # All configuration is ignored if false.
temperature_control.hotend.thermistor_pin    0.23             # Pin for the thermistor to read
temperature_control.hotend.heater_pin        2.7              # Pin that controls the heater, set to nc if a readonly thermistor is being defined
temperature_control.hotend.thermistor        EPCOS100K        # see http://smoothieware.org/temperaturecontrol#toc5
#temperature_control.hotend.beta             4066             # or set the beta value
temperature_control.hotend.set_m_code        104              #
temperature_control.hotend.set_and_wait_m_code 109            #
temperature_control.hotend.designator        T                #
#temperature_control.hotend.max_temp         300              # Set maximum temperature - Will prevent heating above 300 by default
#temperature_control.hotend.min_temp         0                # Set minimum temperature - Will prevent heating below if set

# safety control is enabled by default and can be overidden here, the values show the defaults
#temperature_control.hotend.runaway_heating_timeout      900   # max is 2040 seconds, how long it can take to heat up
#temperature_control.hotend.runaway_cooling_timeout      900   # max is 2040 seconds, how long it can take to cool down if temp is set lower
#temperature_control.hotend.runaway_range                20    # Max setting is 63?C

#temperature_control.hotend.p_factor         13.7             # permanently set the PID values after an auto pid
#temperature_control.hotend.i_factor         0.097            #
#temperature_control.hotend.d_factor         24               #

#temperature_control.hotend.max_pwm          64               # max pwm, 64 is a good value if driving a 12v resistor with 24v.

# Second hotend configuration
#temperature_control.hotend2.enable            true             # Whether to activate this ( "hotend" ) module at all.
                                                              # All configuration is ignored if false.

#temperature_control.hotend2.thermistor_pin    0.25             # Pin for the thermistor to read
#temperature_control.hotend2.heater_pin        1.23             # Pin that controls the heater
#temperature_control.hotend2.thermistor        EPCOS100K        # see http://smoothieware.org/temperaturecontrol#toc5
##temperature_control.hotend2.beta             4066             # or set the beta value
#temperature_control.hotend2.set_m_code        104              #
#temperature_control.hotend2.set_and_wait_m_code 109            #
#temperature_control.hotend2.designator        T1               #

#temperature_control.hotend2.p_factor          13.7           # permanently set the PID values after an auto pid
#temperature_control.hotend2.i_factor          0.097          #
#temperature_control.hotend2.d_factor          24             #

#temperature_control.hotend2.max_pwm          64               # max pwm, 64 is a good value if driving a 12v resistor with 24v.

temperature_control.bed.enable               false             #
temperature_control.bed.thermistor_pin       0.24             #
temperature_control.bed.heater_pin           2.5              #
temperature_control.bed.thermistor           Honeywell100K    # see http://smoothieware.org/temperaturecontrol#toc5
#temperature_control.bed.beta                3974             # or set the beta value

temperature_control.bed.set_m_code           140              #
temperature_control.bed.set_and_wait_m_code  190              #
temperature_control.bed.designator           B                #

#temperature_control.bed.bang_bang            false           # set to true to use bang bang control rather than PID
#temperature_control.bed.hysteresis           2.0             # set to the temperature in degrees C to use as hysteresis
                                                              # when using bang bang

## Switch module for fan control
switch.fan.enable                            true
switch.fan.input_on_command                  M106             #
switch.fan.input_off_command                 M107             #
switch.fan.output_pin                        2.4              #
switch.fan.output_type                       pwm              # pwm output settable with S parameter in the input_on_comand
#switch.fan.max_pwm                          255              # set max pwm for the pin default is 255

switch.misc.enable                           false             #
switch.misc.input_on_command                 M42              #
switch.misc.input_off_command                M43              #
switch.misc.output_pin                       2.4              #
switch.misc.output_type                      digital          # just an on or off pin

# Switch module for spindle control
#switch.spindle.enable                        false            #

## Temperatureswitch :
# automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# useful to turn on a fan or water pump to cool the hotend
#temperatureswitch.hotend.enable              true             #
#temperatureswitch.hotend.designator          T                # first character of the temperature control designator to use as the temperature sensor to monitor
#temperatureswitch.hotend.switch              misc             # select which switch to use, matches the name of the defined switch
#temperatureswitch.hotend.threshold_temp      60.0             # temperature to turn on (if rising) or off the switch
#temperatureswitch.hotend.heatup_poll         15               # poll heatup at 15 sec intervals
#temperatureswitch.hotend.cooldown_poll       60               # poll cooldown at 60 sec intervals


## Endstops
endstops_enable                              true             # the endstop module is enabled by default and can be disabled here
#corexy_homing                               false            # set to true if homing on a hbot or corexy
alpha_min_endstop                            1.27^            # add a ! to invert if endstop is NO connected to ground
alpha_max_endstop                            nc               # NOTE set to nc if this is not installed   1.25^
alpha_homing_direction                       home_to_min      # or set to home_to_max and set alpha_max
alpha_min                                    0                # this gets loaded after homing when home_to_min is set
alpha_max                                    700              # this gets loaded after homing when home_to_max is set
beta_min_endstop                             nc               #
beta_max_endstop                             1.24^            #
beta_homing_direction                        home_to_max      #
beta_min                                     0                #
beta_max                                     400              #
gamma_min_endstop                            1.28^            #
gamma_max_endstop                            1.29^            #
gamma_homing_direction                       home_to_min      #
gamma_min                                    0                #
gamma_max                                    150              #

alpha_max_travel                             700              # max travel in mm for alpha/X axis when homing
beta_max_travel                              400             # max travel in mm for beta/Y axis when homing
gamma_max_travel                             150             # max travel in mm for gamma/Z axis when homing

# optional order in which axis will home, default is they all home at the same time,
# if this is set it will force each axis to home one at a time in the specified order
#homing_order                                 XYZ              # x axis followed by y then z last
#move_to_origin_after_home                    false            # move XY to 0,0 after homing

# optional enable limit switches, actions will stop if any enabled limit switch is triggered
#alpha_limit_enable                          false            # set to true to enable X min and max limit switches
#beta_limit_enable                           false            # set to true to enable Y min and max limit switches
#gamma_limit_enable                          True             # set to true to enable Z min and max limit switches

alpha_fast_homing_rate_mm_s                  50               # feedrates in mm/second
beta_fast_homing_rate_mm_s                   50               # "
gamma_fast_homing_rate_mm_s                  4                # "
alpha_slow_homing_rate_mm_s                  25               # "
beta_slow_homing_rate_mm_s                   25               # "
gamma_slow_homing_rate_mm_s                  2                # "

alpha_homing_retract_mm                      5                # distance in mm
beta_homing_retract_mm                       5                # "
gamma_homing_retract_mm                      1                # "

#endstop_debounce_count                      100              # uncomment if you get noise on your endstops, default is 100

## Z-probe
zprobe.enable                                false           # set to true to enable a zprobe
zprobe.probe_pin                             1.28!^          # pin probe is attached to if NC remove the !
zprobe.slow_feedrate                         5               # mm/sec probe feed rate
#zprobe.debounce_count                       100             # set if noisy
zprobe.fast_feedrate                         100             # move feedrate mm/sec
zprobe.probe_height                          5               # how much above bed to start probe
#gamma_min_endstop                           nc              # normally 1.28. Change to nc to prevent conflict,

# associated with zprobe the leveling strategy to use
#leveling-strategy.three-point-leveling.enable         true        # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
#leveling-strategy.three-point-leveling.point1         100.0,0.0   # the first probe point (x,y) optional may be defined with M557
#leveling-strategy.three-point-leveling.point2         200.0,200.0 # the second probe point (x,y)
#leveling-strategy.three-point-leveling.point3         0.0,200.0   # the third probe point (x,y)
#leveling-strategy.three-point-leveling.home_first     true        # home the XY axis before probing
#leveling-strategy.three-point-leveling.tolerance      0.03        # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
#leveling-strategy.three-point-leveling.probe_offsets  0,0,0       # the probe offsets from nozzle, must be x,y,z, default is no offset
#leveling-strategy.three-point-leveling.save_plane     false       # set to true to allow the bed plane to be saved with M500 default is false

## Panel
panel.enable                                 true             # set to true to enable the panel code

# Example for reprap discount GLCD
# on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
# +5v is EXP1 pin 10, Gnd is EXP1 pin 9
panel.lcd                                   reprap_discount_glcd     #
panel.spi_channel                           0                 # spi channel to use  ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin                            0.16              # spi chip select     ; GLCD EXP1 Pin 4
panel.encoder_a_pin                         3.25!^            # encoder pin         ; GLCD EXP2 Pin 3
panel.encoder_b_pin                         3.26!^            # encoder pin         ; GLCD EXP2 Pin 5
panel.click_button_pin                      1.30!^            # click button        ; GLCD EXP1 Pin 2
panel.buzz_pin                              1.31              # pin for buzzer      ; GLCD EXP1 Pin 1
panel.back_button_pin                       2.11!^            # back button         ; GLCD EXP2 Pin 8

panel.encoder_resolution		    4

# pins used with other panels
#panel.up_button_pin                         0.1!              # up button if used
#panel.down_button_pin                       0.0!              # down button if used
#panel.click_button_pin                      0.18!             # click button if used

panel.menu_offset                            0                 # some panels will need 1 here

panel.alpha_jog_feedrate                     6000              # x jogging feedrate in mm/min
panel.beta_jog_feedrate                      6000              # y jogging feedrate in mm/min
panel.gamma_jog_feedrate                     200               # z jogging feedrate in mm/min

panel.hotend_temperature                     185               # temp to set hotend when preheat is selected
panel.bed_temperature                        60                # temp to set bed when preheat is selected

## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
# NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
#custom_menu.power_on.enable                true              #
#custom_menu.power_on.name                  Power_on          #
#custom_menu.power_on.command               M80               #

#custom_menu.power_off.enable               true              #
#custom_menu.power_off.name                 Power_off         #
#custom_menu.power_off.command              M81               #


## Network settings
network.enable                               false            # enable the ethernet network services
network.webserver.enable                     true             # enable the webserver
network.telnet.enable                        true             # enable the telnet server
network.ip_address                           auto             # use dhcp to get ip address
# uncomment the 3 below to manually setup ip address
#network.ip_address                           192.168.3.222    # the IP address
#network.ip_mask                              255.255.255.0    # the ip mask
#network.ip_gateway                           192.168.3.1      # the gateway address
#network.mac_override                         xx.xx.xx.xx.xx.xx  # override the mac address, only do this if you have a conflict

digipotchip	mcp4451 
digipot_factor	95.521	# DO NOT CHANGE FOR LASERBOARD 
digipot_max_current	1.2	# Maximum current (Amps) the digipot will allow for all axis 

switch.spread1.enable                        true
switch.spread1.output_pin                    2.6
switch.spread1.startup_state                 true

switch.spread2.enable                        true
switch.spread2.output_pin                    2.7
switch.spread2.startup_state                 true

switch.spread3.enable                        true
switch.spread3.output_pin                    2.8
switch.spread3.startup_state                 true

switch.spread4.enable                        true
switch.spread4.output_pin                    2.13
switch.spread4.startup_state                 true

#switch.spread1.input_on_command              M106     # any command that starts with this exact string turns this switch on
#switch.spread1.input_off_command             M107     # any command starting with this exact string turns off the switch

Okay, progress is good! Where is home on your laser? Where are the endstop switches located?

Home will always be where your endstop switches are, and machine origin will always be 0,0 at the front left of the laser.

Where your laser moves to after a job runs can be set in LightBurn. Check the documentation on that here: LightBurn Software Documentation - Coordinates and Job Origin

You mentioned doing the endstop tests, but I’d like you to go through them again.

The result, and feedback that we are looking for, is 3 clearly identified response strings.

  1. “Here is the result of M119 when no switches are being depressed”
  2. “Here is the result of M119 when the Z min switch is being depressed”
  3. “Here is the result of M119 when the Z max switch is being depressed”

Post the results in a reply here so we can understand what the switches are doing.

Thank you for such a fast response!
I read the documentation for lightburn finish position and will play with it later when I fine-tune. I just thought it was odd that it went to left front position. I might have clicked the button while messing around tho.

My home at 0, 0 is left rear. Xmin, Ymax, Zmin is the upper switch.

“Here is the result of M119 when no switches are being depressed”

X_min:0 Y_max:0 Z_min:0 pins- (X)P1.27:0 (Y)P1.24:0 (Z)P1.28:0 (Z)P1.29:0

“Here is the result of M119 when the Z min switch is being depressed”

X_min:0 Y_max:0 Z_min:1 pins- (X)P1.27:0 (Y)P1.24:0 (Z)P1.28:1 (Z)P1.29:0

“Here is the result of M119 when the Z max switch is being depressed”

X_min:0 Y_max:0 Z_min:0 pins- (X)P1.27:0 (Y)P1.24:0 (Z)P1.28:0 (Z)P1.29:1

Pins 128 and 129 both indicate correctly the best I can tell.

I also have the end stops set to true for using both min and max in the config file. From what I see they should be working.

FYI I’m leaving town tonight. I’ll be returning Sunday morning. I’ll be available to try any suggestions after work tonight and respond. But then I will need to go. Thank you again for the quick response! It feels great to make headway. I had started looking at new ones to purchase. I was about ready to give up.

Any ideas yet??

If the Z is not moving at all, let’s start from the beginning.

Go through the guide to set up the Z table:

Make sure it works properly. Once it does, reply here and let us know.

The guide does not address limit switches because they are uniquely different in every situation and we are still helping people with them on a case by case basis.

Once the basics are working, decide where you want to place a limit switch - at the top or bottom of travel or at both ends.

Then we shall adjust the config accordingly.

I thought we were beyond this. I have it set up. I have the limit switches in place. I can run the bed from inside the program. It does not home and it ignores the limit switches. and i have verified the switches exactly how you wanted and posted in a privous comment.

Sorry, Ron… it sounded like after you made changes the Z was not moving.

If I have it right, you can jog the Z up and down within LightBurn but the limit switch(es) do not stop it from moving. Let me dig into that specifically and see what we can recommend.

Ron, somehow I missed this! In your config files you have this:

#gamma_limit_enable                          True             # set to true to enable Z min and max limit switches

It looks like you may have set it to true but did not uncomment the line. Try to remove the # character at the front. It should look like so:

gamma_limit_enable                          true             # set to true to enable Z min and max limit switches

Also, just to be safe, stick to lower case for true. (I’m not sure if it will matter, but I know our config file has true and false as lower case in all instances.)

Thanks for getting back to me., Sorry about the delay. my dad’s having health issues so I’ve been gone. I tried it. The bed does not home. It does respond to the limit switches now. But for some reason, it alerts on switch connection and also disconnection. So when you trip the switch it stops everything and when i press stop and move the bed of the switch it alerts and stops everything again. I also learned that it takes 2 mm for the switch to change state. If you trip the switch by moving the bed 1 mm at a time. I find that I need to go the opposite direction 2mm for the switch to change state this is repeatable. I’m not sure if this has something to do with it. I thought the first couple of times it worked normally. Thanks for the help

I have been working on another project and have been away for months. For the Z limit stops using a micro switch do you need the 3 volts hooked up. I’m thinking just grounding the center pin is enough to do a stop.