I have a question about setting up the HAL for a 3 axis stepper type machine. My drivers take 3 inputs STEP, DIR, and ENABLE. I have a config that pegs the enables high and that works but it means the motors are drawing current all the time. Is there a way to tie the enable pins to some signal that is only active when a given axis is actually moving?
alex_joni is now known as NSA-1
NSA-1 is now known as alex_joni
I need some advice with regards to a 3 phase motor that I wish to connect to 240v coverted supply. The main motor on my mill is 240 / 440 6 lead so no worries there but the cross feed power appears to be rated at 440 only and only has 3 leads. What do i need to do to be able to run this motor from my 240v rotary converter?
I can think of a few methods, from cheap brave to costs
cheap..is get inside it see if it can be modded to 6 wire
archivist: That was what I thinking but thought I'd get confermation here.
I guess the other is to hook up a transformer to convert 240v in to 440v ???
is it one of those hang off the end of the table types, can the motor be changed, is it really 3ph
Yes it hangs off the end but I dont think its a standard flange so mounting another motor will take some doing.
I also have a suds pump which I am guesing may also be 440v but It's tucked away so I have not been able to confirm it as yet!
change to a servo ready for cnc :)
Catch yo soon.... heading back to the shop....
if you need an adapter...you have a milling machine....
True. Just need to rewire the main motor :-)
CU soon archivist
jepler has gdepth been built on recent 8.04 I get a bunch of errors http://pastebin.ca/1270478
archivist_emc: I remember 8.04 having python2.5 on it..
hmm looks like its set up with 2.5
at least looking in synaptic
but the makefile for gdepth might be hardcoded for 2.4
that was it!
now to debug gdepth.py, the error message i get does not help me a lot
0.ngc:0: Bad character 'g' used
using a file from truetype tracer
man this hurts
cant find the error message in the source
except in streamer_usr.c and that has a lower case B
* alex_joni looks
sounds like a borken keyboard controller
just dug out two keys to remove crud
well.. it imports 'gcode' which is the emc2 python interface to access g-code
get full of brass filings needs a vacuum really
do you get a python trace?
did you look at the pastebin
didn't see one..
sorry no there is no backtrace for that error
can you put a log on pastebin?
did you try spiral.ngc ?
although I notice that jepler mentions that 2.2.x doesn't work with gdepth
that would be it then , need to find out why
spiral.ngc:0: Bad character 'g' used
maybe gcode.parse() has changes syntax?
gdepth.py: code, seq = gcode.parse(args, Canon(), 'g20 g17 g64', '')
yeah it bitrotted and I never figured out why
it's probably something that will be obvious in retrospect
I bet it's the change to uvw
def straight_traverse(self, x, y, z, a, b, c): (from gdepth.py)
I think that needs to be (self, x,y,z,a,b,c,u,v,w):
* alex_joni is just speculating though
archivist: think you can try that out?
you need to do that for all similar functions
that would be a serious edit
hmm.. can't see others
tool stuff changed names
readme says to comment out tool commands
if calls changed names I would expect a better crash
try adding this in class canon: def get_axis_mask(self): return 7
no change, before/after any particular def
* jepler shrugs
somebody should fix it
any idea how to make it more verbose?
poor me doesnt know which it is broke
* alex_joni starts his MV
havnt seen and MV's for a while
don't have any bright ideas, sorry
jepler: tool.max = inf isn't right.. right?
alex_joni: beats me. I wrote that program several years ago and have barely used it
either -inf or +inf is "normal", because it represents the part of the tool's enclosing rectangle where no cutting takes place
is there any way of single stepping python
you can't single step this
it goes into gcode.parse()
which is in src/emc/rs274ngc/gcodemodule.cc
I didnt find the error message in there though, I find similar message in streamer_usr.c else I cannot find where the error could be raised from
it's from the interpreter
the interpreter only sends the error number (228)
and then it gets converted to text: gcode.strerror(code))
raise SystemExit, "%s:%d: %s" % ...
first %s is filename, %d line number, %s error message
so where is the list of error messages as I grepped tunk and cant find
rs274_errors or soemthing like that
228: "Place holder for NCE_VARIABLE: shoult not occur" :-)
13 is bad character
yeah, something doesn't match
also odd is the g is mid error message how has that happened
that gets preformatted somehow
change Canon(), 'g20 g17..' to something else
like 'a20' and you'll get Bad character 'a' ..
so definately something is borken in gcode-parse
changing to empty string in the canon() line still gets a g
but a got a as the error
* JymmmEMC taking a break... howdy!
I said HEEEEEEEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLO!
what are you taking a break from JymmmEMC
DanielFalck: Inventorying all the stuff that I'll be selling with the CNC machine =(
dont be silly, just fix it and use it
he has been trying to do that for a couple years
archivist: It's time to move on
to what? lasers?
I just don'r even have the time for it any more.
DanielFalck: Well, that's the intension. But pre-made, not home built.
DanielFalck: Considering one of these... http://www.ulsinc.com/english/laser_systems/product_line/VersaLaser.html
archivist: fsck if I know what's wrong :/
I decided that since the kernel got updated, I might as well reboot
alex_joni, thanks for trying, do you thing it affects anything else
instead of waiting a couple months like I usually do
* archivist been waiting
I dont want to reboot....
jmkasunich: Heh, it seems like ubuntu is turning more and more like M$ in reboots after updates it seems (not including kernel updates)
now I'm restarting and updating the seven VMs that are the compile farm
JymmmEMC: I haven't seen it request a reboot unless it was a kernel update
firefox is a bugger for wanting reboots of itself as well
jmkasunich: the last update I did (3d ago) wants an update
"itself" you mean restart firefox, or restart the whole box
JymmmEMC: you sure that didn't include a kernel update?
archivist Well, DUH!
jmkasunich: something about headers
archivist: well, you can try this, no guarantees (but it runs for me again, albeit on a 6.06 system and I didn't try the preview, just the png output) http://emergent.unpy.net/index.cgi-files/sandbox/gdepth-0.2.1.tar.gz
jepler: what did you change?
jepler: "Good answer! Good Answer!" LOL
around Canon() ?
here's most of the change: http://pastebin.ca/1270622
probably would have missed the tool_offset(x,y,w) :/
I did notice set_origin_offsets though
after awhile it started giving different (better) tracebacks
wee it runs thanks jepler
I think the gcode.strerror() has some problems too
we require screen shots... :)
at least for this case it did
alex_joni: hey, you and archivist are lucky you got me to look this close
* JymmmEMC goes make to inventorying...
jepler: I know, I know..
otoh, you wrote it.. so you get to fix it :D
* alex_joni hardly follows it
* JymmmEMC knows jepler's solution.... rm -rf *
jepler: since you looked closely.. can you fill me in why arc_feed() is not part of Canon() ?
alex_joni: it's provided by ArcsToSegmentsMixin, which turns it into a series of straight_feed calls
oh crap.. didn't see that in Canon (...)
Translated takes care of offsets & whatnot?
rs274.interpret.Translated I mean
it turns out to be a fragile system, but it's how it ended up
works here too
var file that caused the silence
it was the var*
well.. off to bed for me
good night all
jepler just run it on my 64 bit box as well
how can one find the release name of a system
Linux hp 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
huh, same here
but it still doesn't work for me
you probably don't have any (TOOL,) comments in your gcode
live dangerouly, comment nothing
a (TOOL) comment can switch from the tool specified on the commandline to another one
its running on truetype tracer ngc output
that I will have to do to get the vform i want
I suspect that you will see errors when you do
'python arraytest.py' will show an AssertionError if the underlying bug exists on your system, or print nothing if your system is OK
I wonder if my video link will make Olusegun rethink his plans?
jepler, I get an error ValueError: Arrays have incompatible shapes
archivist: yeah that's exactly the error I get
I am pretty sure it's a bug in the 'numarray' module that manifests on 64 bit systems only
i get the error on the p4 box as well
Linux cnc 2.6.24-16-rtai #1 Tue Sep 30 22:54:33 EEST 2008 i686 GNU/Linux
I have only compared 6.06/32-bits to 8.04/64-bits
obviously that's not the whole story
jmkasunich: you should see what a 24" auger does to an underground 4160v line
jepler found another way of crashing it python gdepth.py -x "0 1" -y "0 1" -z "0 1" -r 75 -t .5 1.ngc
archivist you found it, you fix it!
jepler: Hey, now I know why you do that! It shuts em up pretty quick =)