E Axis controls in LightBurn for Z Table?

I have the OMTech K40+ Smoothieware controller. In general, it’s been good and reliable.

Unfortunately it’s relatively new, so support for it isn’t amazing yet.

I built a Z-table, and I can’t drive the motors running from the Z axis port on the board. Apparently they only put 5 volts on the Z port. Their support tells me they put 24V .6A on the E axis port.

The question is, does anybody have any idea how to control the E axis port for Z table functions in LightBurn?

Side note, for anybody considering this board: it’s been reliable in general other than Z table needs. Once working with Z table stuff, it’s questionable. First, not enough power, and second, it has issues hanging when sending console commands from LightBurn. If I send a config_get command, it might work once, but after a 2nd or 3rd command is sent, I need to disconnect USB, and power cycle the laser to get communication back.

Thanks,
Josh

I think you might have better luck trying to see if you can reconfigure the E port to work as Z. Not certain but looks like this is configurable in Smoothieware.

You would need to identify the pin associated with E axis and assign with gamma_step_pin:

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

This way LightBurn would be none the wiser and would use Z as normal. The board would then just use “E” port for Z axis moves.

More information here:
laser-cutter-guide [Smoothieware]

Thanks, that’s a smart solution! I totally forgot about the pin designations. Now all I need to do is figure out what the heck the pins are for E.

Thanks,
Josh

It may be printed on the board. Or may be already listed in a configuration file.

Unfortunately, not there. The config has alpha, beta, gamma with pin numbers, then it has delta, epsilon, zeta with no pin numbers (all say xx). The latter 3 say A, B, C axis, so it would be guessing which is supposed to be E anyway. The board just says 1a 1b etc., no pin numbers.

I wonder if that means that no other ports are currently configured.

I see this in the K40+ manual:

I guess this means that it should be addressable from U. Try plugging Z motor into E and try this in Console to see if you get movement:

G0 U5

What are the listed pins for X, Y, Z?

If they are 2.0, 2.1, 2.2 respectively I think there’s a good chance that E will follow this:
image

or

image

These are for E0 (delta) and E1 (epsilon) respectively on Smoothieboard which I assume K40+ is partly based on.

This is from my config file:

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.10! # Pin for alpha stepper direction
alpha_en_pin 0.11 # 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.2 # Pin for beta stepper step signal
beta_dir_pin 0.21 # Pin for beta stepper direction
beta_en_pin 0.20 # 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.1 # Pin for gamma stepper step signal
gamma_dir_pin 0.19 # Pin for gamma stepper direction
gamma_en_pin 2.8 # 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 xx # Pin for delta stepper step signal
delta_dir_pin xx # Pin for delta stepper direction
delta_en_pin xx # 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²

Hmm… different enough where it would be hard to make an informed guess.

Were you able to get the motor to spin with the “G0 U5”? It would be whatever axis is used for your rotary.

I’ll try G0 U5 in bit, got a couple things on my “honey do” list first. :wink:

I’m not sure how that would do anything though without pins set?

Well, I’m hoping it’s already configured in some way. The manual doesn’t indicate any configuration required for rotary use so… wishful thinking?

Unfortunately the command didn’t do anything without pins designated.

It’s frustrating they give you no information for how to configure this. I see no mention of pinout in the manual.

Is it possible it’s printed on the other side of the PCB?

You may need to end up asking OMTech for a pinout or to understand how to configure this.

lol, if it says it on the other side, I’ll never find out. I’m not unmounting it.

I did ask OMT’s tech to find out the pinout. But the boards were made for OMT, not by OMT, so they’ll have to ask somebody, as they don’t know jack about the boards yet.

I’m still waiting to hear back about the pins. The OMTech Tech said he’s going to message the people that made the board for them.

I ordered a stepper driver to see if that will work with this. Unfortunately the 5 pin ports on the board aren’t labeled either. :person_facepalming:

You’re saying the pins on the driver? Can you find it in documentation?

The physical pins on the board, and where they’re supposed to connect. The documentation is TERRIBLE. That information doesn’t exist. At least not publicly.

Another rep sent the following:

Upon consulting the manufacturer, here are the pin description for the E-axis.
delta_step_pin 2.3 # Pin for delta stepper step signal
delta_dir_pin 0.0 # Pin for delta stepper direction
delta_en_pin 0.1 # Pin for delta enable

But that didn’t work in delta or gamma to affect the stepper motor from Z in LB.

Just to confirm, you setup gamma like this?

gamma_step_pin 2.3 # Pin for gamma stepper step signal
gamma_dir_pin 0.0 # Pin for gamma stepper direction
gamma_en_pin 0.1 # Pin for gamma enable

You may also need to tweak these once things are working:

gamma_current 1.5
gamma_max_rate 300.0
gamma_steps_per_mm  3169

How did you test? Can you try something like this in Console?

G91
G0 Z10