New DIY machine, simple BOB, Steppers lock but dont respond to controller/drivers?
Hello,
I built my first/new CO2 cutter, mostly with components from lightobject.com
My 3 phase, 3 wire XLE steppers lock up when the system is powered up but do not move when a command is sent.
I am running linuxCNC with the buildlog 2x laser GUI - modified for my steppers and pinout - still working a few bugs out.
To confirm that it is not an issue with linuxCNC I setup a dual boot and Mach3, Mech3 has the same result - lock and no movement.
Re: New DIY machine, simple BOB, Steppers lock but dont respond to controller/drivers
A 3 phase motor will run in the other direction if you reverse any two wires, but it will run.
In your picture you dont have the enable +- hooked up, this maybe needed to make the motor run, all depends on the signal it needs, if its high pulse or low pulse.
Hook up ena+ to the bob ena+ and the ena- to ground and try it again.
If you setup your inputs in mach3 then you need to do other things in order to make it run the drive motors.
In mach3 theres an option to emulate the Estop, bypassing it for testing, if you dont have a jumper from the Estop to ground on your bob you may need to do it in software.
Re: New DIY machine, simple BOB, Steppers lock but dont respond to controller/drivers
cgo,
I tried enable with no change and tried mach3 estop emulator with no luck.
I ran across a old thread: http://www.cnczone.com/forums/genera...EMC2%20ubuntu=
Seems that this may be the issue - I did not know to change the stepper type when I modified the buildlog .hal file
I have changed it to type 3 but now I get the following debug info when linuxCNC now fails to initilize:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.4
Machine configuration directory is '/home/cnc1/linuxcnc/configs/2x_laser'
Machine configuration file is '2x_Laser.ini'
INIFILE=/home/cnc1/linuxcnc/configs/2x_laser/2x_Laser.ini
PARAMETER_FILE=emc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
emc/iotask/ioControl.cc 752: can't load tool table.
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1590
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
2x_Laser.hal:83: parameter or pin 'stepgen.0.stepspace' not found
1590
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Re: New DIY machine, simple BOB, Steppers lock but dont respond to controller/drivers
You may want to post at linuxcnc.org if you have a config problem , not being able to see your setup I am not going to be able to help much.
Although linuxcnc is not as easy to setup, from my results I found its performance can be superior to any windows based software.
Mach3 was pretty easy to setup, the stepper setup pages must be right or its not going to work. Also look at the troubleshooting page for errors.
Looks like these 3 phase drivers are made to directly replace any standard 2 phase stepper, no need for any extra setup.
Also it says they are enabled by default so "ena" is optional on these drivers, I like to use them on my drivers.
The only thing left I can see is pulse high/low which would be how you wired the bob to driver (theres a picture of a typical setup in the pdf), or config/ini in software.
A simple LED and dropping resistor could be built to watch your bob outputs or if you have an oscilloscope you could check them while running commands in software.