another complain about DBUS and Bluetooth - http://gnumonks.org/~laforge/weblog/2007/
is there a tutorial on hookin up the wires to a motion control card like the mesa. Im going to label the wires on where they are supposed to go on the mesa cards before i put them in.
Gamma-X this is a real good chart for machining and materials http://www.niagaracutter.com/techinfo/millhandbook/speedfeed/chart1.gif
and to help you convert those into F and S numbers: http://timeguy.com/cradek/01198949282
jepler: love them charts, real simple to read
hi all anyone familiar with a mazak ajv32/405 machine.... cam2 control i believe?? im looking for a manual... anything with specs etc...
theres 1 in a warehouse... under power..but no one knows how to move it OFF it limit....
anyone have a lathe with a c axis
or ever program one
yes c axis lathe....
how would you turn an oval
we have an application where we want to move the X axis based on the C axis position, with the C axis turning at a constant speed
and I don't even know where to start in terms of getting that programmed
lots of short line segments.. between c and x
this is going to be done by hand, unfortunately
so i was hoping there was some elegant math solution
not in emc
well, you're screwed then
basic - or python..
it's some control that can do it
see, the C axis is going to be spinning at 50-100 rpm
and is constant, so i don't know how that will go over as short line segments
but that is definately an idea
(the spreadsheet/scripting idea)
50-100 errr that would prob excede xfeedrate
it's a 20" spindle nose
and the X axis doesn't have to move much
it's a very large radius we're trying to machine on a block
4" ballscrews and big feed motors, so I'm hoping we can get at least a decent feed out of it
it's an ooollld lathe though
I don't concider that a c axis then.. but I am just a armchair cncer.. I could see doing it with spindle synced motion in emc..
yeah, that might be the right way to do it
I've done some flats on a haas live tool but not cam or oval shaped
this isn't live tool, that's the thing
toastydeath: you could use subroutines..?
it's a boring operation
how would it work with the synchronized motion
can you synchronize an in/out X pulse per revolution?
i dont think so
i think it's only linear movements
you could hack something together in hal with siggen though
um, wait not siggen
oh, i guess you could set frequency to 0 and input C to siggen.offset
i'm pretty sure this control has the ability to program asymmetrically
i just don't know how to do it math-wise
the cam programs for it are really expensive and are hard to find
isnt an ellipse just a sinusoidal offset in polar coords?
i believe so
the one vain hope i have is that this machine apparently reads DXF files directly
so x = (major-minor)*sin(c) + minor
oh wait, that works for an ellipse, but what we are doing is a bigger bore
than the lathe can handle
in one side of a block
there's got to be an adaptation of that
[02:23:06] <fenn> http://mysite.du.edu/~jcalvert/math/ellipse.htm
with emc - you can do a bunch of short movements synced to the spindle.. Which I assume is something others can do.. so you would have a bunch of movements that blend togather to make the shape you want. (threading on steroids) It would be something to ask cradek.. I think he has a really good understanding of it as he wrote it. :)
the issue is that C is not programmable
if c isn't programmable then it's just a spindle, not an axis
i'm just going to have to wait and see
but basically, if you're asking hacky questions about a control nobody's ever used...
for whatever reason, asymmetric programming treats it as a c axis
and i was hoping someone who had used a lathe with asymmetric capability could shed some light on it because i've never looked at that kind of program before
skunkworks: hmm can you do arcs?
The way I understand it.. If you don't go faster than the axis can move.
(at least in my head)
but like I say - cradek is the one to ask
i think emc tries to go as fast as the spindle moves (ignoring joint constraints) (maybe)
uh, no that wouldnt' work because hal stuff has accel/vel constraints too
i'm not sure which is worse - violate joint constraints or break the part (and tool)
[02:30:40] <skunkworks> http://www.linuxcnc.org/docs/2.2/html/gcode_main.html#sec:G33,-G33.1:-Spindle-Synchronized
it's harder to think about stuff where your synchronized axis is a short linear move for less than one rotation
It is an error if:
the requested linear motion exceeds machine velocity limits due to the spindle speed
yes but that's in the interp
the spindle may or may not be going the requested speed
hmm - maybe I don't understand what you mean
your motors can do 10ipm: S1000 G33.1 Z-1 K0.1
I would assume you would get a joint following error if the axis can't keep up
uh, yes, but that's not what it means
you will get the error before the program runs
my example would request a 100ipm move right?
ah - I see what your saying - I think. If you say s1000 - doesn't mean that your spindle is going to go that speed. so the first check (interp) may allow it to run - but the spindle may actaully be going faster.
well, the interp would error in this example because the motors cant spin 100ipm
if you change it to S90 then interp lets it through, but the spindle hasn't slowed down yet and so you get a joint following error
unfortunately the man page is pretending to be some sort of language spec, and doesnt explain how emc2 actually does stuff
i would like to see an elliptical thread though :)
DIY forming tap
somebody needs to put emc on a tool and cutter grinder
gimme a grinder...
eliptical thread FORM?? or thread on an elipse??
thread on an ellipse
anyone with mesanet cards do u use the power coming from the 5i20 or an external power connecter?
you need both
power from the 5i20 drives the opto's on one side of your 7i37, and power from elsewhere drives the rest
fenn how would u jumper it properly then?
with the jumper its either or.
i have nfc
the jumper selects the power on the non-isolated side of the 7i37 board -- from pin 49 (or is it 50?) of the 50-pin connector, or from the 4-pin connector.
the isolated side doesn't require a "power supply" as such -- current on the inputs turns on the input optoisolators, and the outputs switch whatever loads you attach.
jepler are u using the mesa cards?
he's not, and he's not here
juanjo_ is now known as juanjo
tranzient is now known as notranc
alex_joni: have moment ?
micges: what's up?
my translations doesnt work :(
how did you try it?
my .mo files which I copy to LC_MESSAGES doesnt work
I run make emc
can you send me the file to see if it works here?
do you run emc installed or run-in-place?
file is rs274_err.mo which has translated interpreter messages
ok from begining
the .mo is the translated file
but you need to have the language designation in the name too
I must restart
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2008-01-17.txt
[14:43:57] <skunkworks_> http://www.cnczone.com/forums/attachment.php?attachmentid=48745&d=1197947544
[14:44:16] <skunkworks_> http://www.cnczone.com/forums/showpost.php?p=380884&postcount=8
skunkworks_: emc2 only requires a tiny bit of gnome. you certainly don't have to run the gnome desktop environment
did you see the picture? pretty techie looking.
yeah I've seen that desktop cube thingy
I had a problem with gdepth, some one could help me?
what is gdepth?
[14:59:11] <xemet> http://axis.unpythonic.net/01169521961
Hi cradek. http://axis.unpythonic.net/01169521961
xemet: I think that was a fun project jepler did, but he might not be interested in keeping it up to date - it might be up to you :-)
yes, but I need some indication....
it works with the old 2.1.7, but not in the 2.2.2
I get an error: spiral.ngc:0: Bad character 'g' used
the error is generated by a line I don't rememeber exactly in this moment, but is is something like gcode.parse(........)
so I think this gcode.parse has changed in the 2.2.2
Its snowing - again :)
here only rain http://www.albaria.com/mondellofoto.jpg
that is pretty
There's no documentation on what has changed in the 'gcode' interface from emc 2.1 to emc 2.2. However, by noting which functions have been changed or added here, you can get some idea of what differences there are: http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/emc/rs274ngc/gcodemodule.cc.diff?r1=1.12.2%3Av2_1_branch&tr1=1.1&r2=1.24.2%3Av2_2_branch&tr2=22.214.171.124
I haven't used or updated gdepth in months, and I have no plans to.
ok, thank you very much
hey JymmmEMC, you up?
SWPLinux: No, leave a msg at the beeeeeep.... how was your flight?
SWPLinux: Yes, I'm here.
JymmmEMC: too late.. he left a message
This looks good... http://www.cachecreek.com/dining/harvest_buffet/menu.aspx
I just had some really great pilaf http://en.wikipedia.org/wiki/Pilaf
it was interesting - the hotel had sushi-like stuff at breakfast
I got there about 10 minutes before closing, but there was still rice and miso soup
What, is that ... like turkey sushi???
JymmmEMC: raw unidentifiable thingies
I assume there was other stuff (there were condiments - wasabe and ginger and stuff)
too bad the coffee is cap
I'm going to head up to SFO for MacWorld, what's your schedule later today?
hmm.. just started listening to some really old CDs of mine
click click pop
SWPLinux: Just the optomitrist at 1pm - then I'm all yours baby!
(my old CDs have holes in the foil from some manufacturing problem :) )
I'll call you when I'm on the way back. when do you think it would be smart to avoid the roads southbound?
SWPLinux: I figured you wouldn't be back this way till around 4pm or so, but I could be wrong.
probably at least that
SWPLinux: you driving up?
I think so, but I may do a park/ride thing on CalTrain
looking up map now...
millbrae is the southernmost BART station
there also calTrain
the station is in Sunnyvale
I'm in Santa Clara, whatever that means
you type too damn fast
s o r r y
[17:32:30] <JymmmEMC> http://www.caltrain.org/news_2008_01_08_macworld_expo.html
SWPLinux: Now, I'm closest to the Blossom Hill station, so it's either you backtrack now, or drive thru traffic on the return trip.
hmmm. $15.00 round trip + $2 parking (or more, since there's a conference here)
SWPLinux: And traffic isn't THAT bad, but it's not pretty either.
hmmm, and then there's the cost of parking in San Fran, which is not cheap
macworld sucked -_-
nothing revolutionary released
just a ultraportable that weighs more then my ultraportable pc..
I'm more there to look at the peripheral stuff - storage servers, render farms, that kind of thing
I don't give a shit about Macs in general
heh.. but it is unix based!
I'd like a mac.
caltrain python yesterdays freshmeat http://freshmeat.net/projects/caltrainpy/?branch_id=72972&release_id=269822
they're not too bad as computers go, but they're not that great, and there are still all sorts of "hidden functions", even though the user interface is supposed to be perfect
(for instance, I minimized a Firefox or Safari window, and couldn't figure out how to get it back. I'm sure there's a keystroke that will do that though)
im sick of windows...
and well, the lack of great linux graphics drivers pisses me off,
buy a commercial X server then
Results 1 - 10 of about 153,000 for mac minimized how to get it back
well, I suppose I could have done a web search
SWPLinux: accelerated x didnt support ati last time i looked.
but I can do that on Linux too :)
but you can't search if it is minimized..
you can open another window
not last time i looked
click-and-hold on the hidden application’s dock icon. When the contextual menu appears, you’ll see all of that program’s windows listed at the top of the menu. Minimized windows have a gray diamond next to their name
that was my point though - it's no more obvious on the Mac than it is on Linux or Windows
SWPLinux: FYI http://www.caltrain.org/news_2008_01_08_macworld_expo.html
file -> new window still works, even if you can't find the minimized window
saw that, thanks
SWPLinux: Sorry, wasn't sure what link I gave previously
yay - BART is $8, with free parking at Millbrae :)
SWPLinux: Why BART?
it's faster (fewer stops), cheaper, and parking is free :)
CalTrian parking is free too.
no, it's $2 at most stations, more on conference days at the San Jose <whatever> station
at least that's what the website says
please if possible help me with the pluto board
wtf is pluto board
[18:06:05] <xemet> http://www.knjn.com/board_pluto-P.html
xemet: ask away
I've got the new pluto
the board works, I'm sure.
I cannot succeed in getting my servo turn in both directions
it is like the pwm works only in one direction
can you swap the pwm pins and see if it is the pluto or the amp?
sorry, girlfriend at telephone...
I'll be back in a minute
let's see if I can work now
skunk, the amp works, because if I use it with the parallel board everything works fine
have you used it in pwm+direction mode?
No. I use pwm+pwm
do you have a scope? or maybe even a multimeter would work
a servo amp is not a multimeter..
I've a multimeter
and I've seen
that when the pwm value is positive, the pwm pin has a +3.33 V
when the pwm vale became negative, the led on the board is on, but on the pin I've 0V
this explain why the motor does not turn...I think
I use pwm+direction
seems like you have it set to pwm+pwm
what environment do you use to program that pluto board?
but I've set the parameter pwmdir to true
I do not program it...
like, what language, and IDE, etc.
bill2or3: the firmware is written with altera quartus, but you dont need to mess with it to use the chip
bill2or3: you would download the (windows-only) Altera Quartus development system
windows makes me sadfaced
its altera's fault
anyone has use the pluto in pwm+direction mode?
what do you get on the other pwm pin?
ah...the direction pin...I've renounced to use it
My board needs two pin for direction. The classic Dir pin and the inverted
like this: http://emergent.unpythonic.net/projects/01142347802
I'had a lot of difficult in using the dir pin of the pluto, so for the moment I used two output pin and send them a dir signal generated with the comp component
comp has two inputs: I've set one to 0 and the other is linked with the pwm value
so the output of comp is the dir signal
jepler suggested this way to me
I link this signal to a output pin of the pluto and to another inverted
so I get the dir and the not-dir signal
and this works because I've measured it with the multimeter
the thing that does not work is the PWM signal
one direction is ok, other is always 0V
xemet: do you have a MIN_OUTPUT set in the ini file?
or MIN_DC or something like that
I don't think so
well, look :)
wait a moment
could you pastbin.ca your hal file?
uhm, I've it on the other PC, wait a moment, I transfer it here
[19:06:10] <xemet> http://www.pastebin.ca/858826
consider the X axis only
I do not have the Y at the moment
not off the top of my head.. Looks correct for pwm+dir. (as much as I can tell)
you could do the absolute value of the pwm value in hal (hacky)
well, I've to go now, I will try to ask again tomorrow, I've to find someone that used the pwm+dir
could you set it to pwm+pwm and see if one direction outputs on one pin - and the other direction outputs on the other?
fenn, yes, I've thought it
skunk, I will try...I will try everything...
I'm getting crazy with this pluto, it seems I'm the only one that cannot get it working :)
what's comp.0 supposed to do?
comp creates the dir signal, explained above
it gives a sign for the PWM command
err - from the command going to the PWM, that is
I need the dir signal and its inverted
so I used comp first to generate the inverted signal because I thought I could use the pluto dir signal
now I've used comp and not to generate a dir signal and its inverted,
with this configuration, If, like you suggested, I get the absolute value of pwm, it should work
so I will try this hack tomorrow. If it works, well, after I would like to succeed in getting it work in the right way...
ok, now I go, I will try again tomorrow, thank you all
? halscope to see the signal does change sign when it should? ( does the command to the hdwr actually change )
seems like it must if the comp output changes
the main issue is that the pwm pin only has pwm on it when the signal is positive.
tomp2's question is whether the input is actually going negative, or stopping at 0
ah looking at the pluto_servo.comp I think I've spotted a bug that prevents pwmdir from working properly
oh, that's helpful :)
I can't test this change right now, but it may help xemet: http://www.pastebin.ca/858870
if he comes back later and I'm not here, it'd be nice if somebody could point him at it
man gtk file chooser dialog sucks
is xemet == manfredi?
typing ~ always goes to a nonexistent path
and actually typing out the filename doesn't open it
i dont have manfredi's email of today, but someone could just send him a quik note
(just flushed the email device)
ah I found the address .. I'll e-mail him
just did, he just sent a new one
2 emails is ok too (too emails is ok 2 )
to send two emails is OK too?
email email is ok ok
I have no idea what any of you are saying
please to be in english?
that's a good sign
suspenders and a belt is ok
yoda-speak not is better, think you?
yoda spoke forth
yoda spoke backwarth
ok, time to hit the road. BBL
good night all
Hi guys, anyone on tonight familiar with the 5i20 card?
not really, but what's your question? :-)
I am just getting started with EMC. I am using the 5i20 an analog servo output card, 7i33. Anyways, the 7i33 is supposed to output a 0-10volt signal to command the servo. I have not been able to get any voltage on the output, yet I can see that the "dac-value" is changing in Hal
the 5i20 digital IO does work correctly
so I know the card is at least adressed correctly
the 5i20 is a PCI card, right? how does it get 10V to output? or is that done on the 7i33?
there is a buss connection (think daughtercard)
oh i see, the 5i20 gives pwm&dir signals to the 7i33, and the 7i33 converts it to a +/- 10V voltage
the 10v is generated internally
I've been toying around in hal for about a week, and belive I have all the bits set right. EMC will come out of ESTOP, and the Machine power will turn on
so the 7i33 makes the 10V from the 5V you feed it
I know the servo amps are enabled, because I was able to command motion with a small battery on the analog inout
are you providing external 5V power to the 7i33 on the P1 connector
i suppose so, the docs are a little sparse
no, just power over the 50 pin
since the 5i20 gives the signal to the 7i33 via pwm, are you sure you're executing the pwm function, and is the pwm enable on?
I thought my self-terminated output ribbon was suspect, but i checked the pins directly on the logic card
ah you see the pwm signal at the end of the 50-pin cable from the 5i20?
and am not seeing more than 0.035V or so
I haven't checked that side yet, I need to dig out my scope
can you pastebin 'halcmd show all'?
the gnieports are multiplying
yes, I had to go to the garage
GNieports: you have to pull enable low
[23:32:35] <GNieport1> http://pastebin.ca/859186
on the 7i33, yes, I am
to one of the GND connections on the same 50 pin connector
all your axis enables are false, maybe the signal is stopping in the 5i20?
well, the control cabinet is off just now.
pin axis enable?
oh but wait, you're using testbittwo for the dac-00-enable, nm
right, I was hoping to get a few ides for the next evening I can work on it. I have the baby on my lap tonight :)
heh yes hard to type with babies crawling on you
I loaded EMC, then changed a few things to let me inject a sine wave
well, also the garage is a not-s-friendly 30 degrees, lol
is dac-enable the same as turning on enable for the 7i33?
(i dont think it is)
I believe not
the enable line on the 7i33 is hardware only
i.e. force the dac output to zero
do you have a breakout board for the 50-pin ribbon cable coming out of the 5i20?
I built an opto coupler interface
so, yes :)
if so put a multimeter on the dac-00 pin and get the 7i33 out of the loop
to start narrowing the debugging down
you should be able to measure the pwm signal with a multimeter, it should be a voltage between 0 and 5, proportional to the value you write to the dac-00-value
The 5i20 has many hardware goodies, I was not sure if dac-00,etc were the same signals as what I would expect on the analog signal output
I will check the 5i20 output
yeah, there's kind of a disconnect between HAL stuff and real hardware stuff...
it's strange to me that the 5i20's pwmgens are exported as dacs... they're only dacs if there's a 7i33 (or similar) plugged into them
i find it fascinating, especially when I strted to remember the Hal commands; i can't stand the hurry up and wait of my situation :)
I was wondering the same thing, perhaps the analog interface is how most people use the card
step and direction may or may not be working yet
i haven;t heard, it has been discussed for a while
I know that 2.2.2 included a new 5i20 driver
anyhow, I'll have to check the pwm output next.
the pastebin info looks right to me for dac-00
oh, you're not on 2.2.2? what are you running?
Installed from the LiveCD
I had 2.1.7, and updated all packeges, which hosed the realtime kernel somehow
so I nuked the drive and started fresh
take off an nuke the site from orbit, it's the only way to be sure
yea, the hal setup looks ok to me, dac-00 seems set up right, looks like it should be outputting +10V (you should see 100% duty cycle on the PWM, so +5V on pin, uh, whatever pin it is)
ping 15 maybe? that's pwm0 on the 7i33
Most likely, the chanel numbering seems to be consistent
oh good :-)
ok I've got to go put *my* baby on my lap now, good luck and see you later