Ok thanks for all the help, I will check back later about the spindle control
ednspace: you can get a variable-frequency output from stepgen (ctrl_mode=v) but you can't do this within stepconf (and because you have to modify the 'loadrt stepgen' line, you can't do it simply with an add-on line in custom.hal)
if you need a 50% duty cycle, I think you use step_type=2 (quadrature); either phase is a square wave at half the desired frequency
otherwise, you get "on" for a set time then "off" for nearly the requested frequency
still I am confused
can I vary frequency on the fly
and have it connected to the spindle control
so when I issue an M3 command I get a different frequency out of the control pin
I am pretty sure 50% duty is what I need, just need to keep that duty cycle constant and vary frequency
I could just wire this up to an external circuit to control spindle speed
but it would be oh so nice to have it controlled by emc
ednspace: yes, you can convert the spindle S-number into a variable-frequency signal. but you'll have to learn a bit of hal to do it.
ednspace: this shows the changes I made in my .hal file to get a variable-frequency output: http://rafb.net/p/z1hxiz94.html
(- for lines that are removed, + for lines that are added)
ednspace: to control the relationship between RPM and Hz you would setp stepgen.3.position-scale -- the default setting of 1.0 will give .5Hz per RPM, a higher setting will give more Hz per RPM.
to control the maximum signal in Hz, you would setp stepgen.3.maxvel -- a setting of 800.0 would give a maximum of 400Hz, a higher setting will give a higher Hz limit.
Jepler thank you very much for that, it should be enough to get me going or at least started in the right direction
I have copied the file parts you posted and have will work through this as soon as I get the touch plate finished
thanks again so much, I knew it was possible, just not quite sure where to begin
[01:16:41] <chr0n1c> http://www.hackaday.com/2008/06/23/air-hockey-robot/
** a robot arm playing air hockey!
ednspace: good luck -- there's a bit of a learning curve but I'm sure you can get there.
ednspace: if you have specific questions about what I showed you, just ask 'em -- hopefully somebody can answer
would anyone be able to help me get a gamepad working?
[02:00:45] <chr0n1c> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Using_A_Joypad_To_Move_Your_CNC_Machine
[02:00:54] <chr0n1c> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2
fusion_crank, those are two links i found on the wiki... i have not done so myself, all i can say is good luck until someone who knows gets ehre!
I have used http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
i didnt know pastebin.ca used closed source and nopaste/gnopaste (like rafb.net) is open source, thx
I can't get it to work
I am very new to linux, so maybe I am doing something wrong
i'm pretty new to linux as well, EMC2 was what made me decide to make the switch...
I am surprised at how much better my mill runs on EMC than Mach3
with Mach 3 I get bad resonance above 30 imp with EMC I can go 110 ipm
it really is. now if I can only get the pendant to work
fenn_ is now known as fenn
a-l-p-h-a is now known as a-l-p-h-a
hi. Can EMC2 run (install) on minix3 (minix3.org)???
what is a minix3?
it needs a realtime operating susyem
not realtile iirc
mini3 -> minix4rt
nearly afternoon :))
LOL I knew that
Guest44135, but if minix can be realtime then you would need to compile and deal with problems you come up with as its not a system Ive seen mentioned in here since Ive lurked here
developers -> Can EMC2 run (install) on minix4rt (web minix3.org minix.ru)? i have not a power PC(P133 16rom)
minix can be realtime, minix4rt!!!
Guest44135, then try and tell us if you get it working
far easier to use ubuntu like the rest of us
i have not a power PC(P133 16rom), ubuntu work on it?
[10:53:58] <BigJohnT> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hardware_Requirements
huh I thought tkemc had a block delete switch. am I blind or wrong?
thanks for the clarification of the state of mesa stuff
Hi cradek. Unless one was added recently block delete is not in there.
its kind of a mess but i'll try to get it cleaned up in the next few months
I wonder why I was mistaken about 7i43_hm2 in 2.2 ..
thanks for all your work in that area!
no kidding, thanks seb, I am thinking about getting one of those parport boards.
sure :-) and thanks to mesa for being so open and supportive - it's a breath of fresh air
rayh: ok good, wrong is better than blind
how was the fest? sounds like a good time
seb_kuzminsky: yes they're great, aren't they
seb_kuzminsky: it's fun to hang out with all the people with a common interest in emc and cnc
so about hm2 in 2.2... how does that plan i outlined sound to you jepler
how far along is ubuntu 8 emc?
am i late? are you done?
ARE WE THERE YET
renesis: you can download the live cd for 32 bit systems from linuxcnc.org
I'm not personally using it to control any hardware
but I do a lot of my emc development on an 8.04/sim machine
i have a new pc thing, almost nothing works except core shit and the io controller and usb
I used it at fest to run some of my demo hardware
so yeh, works for cnc, be nice t have like, net
cradek: oh, you did? max5?
i dont really care about sound
can you gcode wave files?
you guys should do it, like M999 = play .wav
just attach two extra stepper motors and I'll write an mp3->stepgen component
(joking; offer not actually valid)
since i did microstepping it doesnt make crazy noises =(
[14:59:57] <seb_kuzminsky> http://www.youtube.com/watch?v=s1tatiU2ha0
so today im either gonna lock in my decent paying job
or be like HAHAHAHA how much? k bai pls2give paycheck thx
hm, the 3-voice version of "daisy" plays fine on my mill with 1/8 microstepping.
big cosmec CNC thing is kinda fun tho
it prob works but it used to make insane harmonics without the microstepping
which is maybe worse for testing step2mp3
darn, youtube doesn't work for me today
yeah me too just noticed it
it's a scanner playing vivaldi on its stepper
but it's only got one note at a time .. daisy is arranged for 4 voices.
oh woaw job has called me to come in
he thinks his silly wifi net issue is sorted
we shall see
jepler: do you want any info from me to make the hm2-in-2.2 decision?
* archivist renesis luvs his boss not
has anyone looked if there are significant differences in how the TWL4030 is initialized on the beagle vs the EVM? this sounds like the transceiver on there is unhappy about something
The init string for the twl4030 uses the PQL standard.. Different than EVM - mainly in the talk-back protocal.
* skunkworks_ like making things up
hey - more info http://www.cs.cmu.edu/~chuck/robotpg/robofaq/12.html
skunkworks_: do we have anything like matrixes? (re: puma used as mill)
tomp: there is libposemath, but it is disorganized, doesn't have manpage documentation, and nobody is really familiar with it.
yes - the kins convert joint to world space - if that is what you mean
the numbers in the above link look more correct for my robot.. a2 and d4 are exact arm lingths - but I am unsure how the offsets are measured - assuming d3 and a3 are the joint offest from center of rotation.
the links at that site are old & broken, here's the document they mention tho...http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=486658
jepler: thx, i'd like t look at that
oops, wrong link this is free http://www.bridgeport.edu/sed/fcourses/cpe460/Lectures_Handouts/1/Robotics_Toolbox_for_MATLAB_rel6.pdf
and a set of enhancements "This set of functions can support people working with the Robotics Toolbox by Peter Corke in managing homogeneous transformation matrices. In particular, the package contains functions to create rotation and roto-translation matrices using a single command and defining rotation angles in degrees in place of radians. It requires Robotics Toolbox to be installed."
[18:49:22] <tomp> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13734&objectType=file
ooh one last link from the robo-tk man himself http://code.google.com/p/robotics-toolbox-python/
hi all, what's up?
I think most everyone is home from workshop
there's at least one more video that needs to get put up on youtube (actually milling the 5-axis sphere)
not much is up
trying to rest as much as possible
ok, I have this PTFE milling job that I might look at during the weekend. Also someone pointed out in a comment to my blog that the toroidal cutter intersection math is wrong, so I hope to look at that at some point
been playing around with shedskin, a python to c++ compiler, for easily generating fast python extensions
pfte? like acetal?
'teflon' , it's supposed to withstand any and all chemicals (acids, bases, solvents etc.)
ah I see
chr0n1c, I dont think that guy is worth helping
you guys helped me out so much, i like talking about it!
and everyone should have a diy cnc!
he wants wet nursing
ummmm wet nursing!
is the a commercial outfit fitting emc is fo thats what he needs
* archivist needs to clean this keyboard
workshop environment, it gets a lot of dust in it
the paint is wearing off my keys for my keyboard... i should engrave them!
fille them with model paint and seal it with some hard clear...
$15 for a new keyboard...
Hello, I have a tool table question.
Can anyone help with a USB gamepad pendant?
I use m6 to load a tool, and multiple table entries for a single tool.
The status line seems to show only the last close match.
I load t3m6g43h31 for a center drill,
kirk is that such as to me?
t3m6g43h33 for a .125 drill.
I was hoping SWPadnos was watching.
as if I'd know the answer :)
fusion_crank, `man hal_input` for information on using a USB pendant
also look at the wiki, and I think Kirk may have a page on that
I'll have to try back during the day I think
SWPados: How about the Homed icon in AXIS.
I've used the wiki, but I can't get it to fuction
"it" being the wiki, or "it" being hte USB gamepad?
fusion_crank: It's day here.
fusion_crank, nearly best time
kirk_wallace, what happens that is surprising to you regarding the tool table?
it's possible that the status line (whatever that is) doesn't show "hand-entered" H or D values (or something like that)
The status line at the bottom will only show the offest data for table entry 33.
I think EMC uses 31 like I expected, but shows 33 data.
I thought H was a distance, not a tool table number
I think the one with the blue controller is more recent and easier
T seems to load the first close H match but default. I would expect T to just call a tool slot and nothing else.
T is tool number only AFAIK
I guess the thing to do would be to look at the manual :)
That would involve some effort :( ;)
SWPadnos: Do you know the details behind the "Homed" icon in AXIS?
it shows up when you home an axis, I don't think it ever turns off (though it may be possible now that there are "unhome" NML commands)
In my lathe step I have X, Y, Z showing, only X and Z should show.
When I home, the icon shows for X and Y.
I think there's a "lathe mode" setting in the ini, specifically for AXIS
Y position stays at 0, Y position works properly.
I'd look at sim/lathe or the NIST lathe configs
has anyone put emc on a sliding head lathe yet
yep: [DISPLAY]LATHE = 1
archivist, no idea
I just checked, I have lathe = 1 in the .ini
ok, and what is your [TRAJ]COORDINATES set to?
it should be X Z
* archivist needs to convince boss to donate a Bechler sliding head to the cause
Darn, it's XYZ, I seem to recall I had to use XYZ to make it work, maybe an update fixed it?
dunno. you still use AXES=3, since Z is the third axis for a trivkins machine
SWPadnos: You fixed it thanks. I think the .ini file may still need 3 axes to work, only activate the first and third?
AXES = 3
COORDINATES = X Z
that's what lathe-pluto has
and I think nist-lathe
It would be nice to have to only enter data for real axes.
BigJohn, can you help me?
I'm trying to get a usb game pad to work according to your simple wiki
I can't make it work
can I send you my files to look over?
what does that mean?
does it "see" your game pad?
it does when I do the test mentioned in step one
pastebin.ca is a place to post up things like your config files so everyone can have a looksee
ok, are the pins named the same?
I just copied the files exactly like in the wiki
I don't know much about linux, so do I need to change them?
open axis and look at
Machine Show Hal Configuration
is it www.pastebin.ca ?
how does it work?
copy paste submit, then give us the url it gives you
was looking for an attatch button
[23:06:39] <fusion_crank> http://www.pastebin.ca/1055386
fusion_crank: does anything work at all?
emc works fine, but when I use these files emc wont start
I forgot to add the emc errors output
look down at the bottom of the error list the main thing is usually in the last few lines
[23:09:15] <fusion_crank> http://www.pastebin.ca/1055389
here are the errors
LookupError: No input device matching 'Recoil' was found
recoil is the name of my gamepad
it can't find the input device
you haven't loaded halui
which halfile does the line go in?
I think I remember seeing that halui wasn't being loaded (onthat page) when I was in San Jose with JymmmEMC
I put it in custom.hal
* BigJohnT is looking
can you put the output from `cat /proc/bus/input/devices` on pastebin?
SWPadnos: I don't see where I had to load halui... but if the name is wrong on the inputdevice that is a problem
if the device name is wrong, or if the user doesn't have access to the device
you probably had it loading for some other reason, so you didn't add it to the wiki page
hmm, I looked in my .hal files and didn't see it...
does the loadusr hal_input -W -KRAL Dual load the halui
here it is
here it is again http://www.pastebin.ca/1055392
it does see the recoil pad
the pin names might not be the same
fusion_crank: did you do one of the things suggested in the section "PERMISSIONS AND UDEV" in the hal_input manpage? if you did not do this, then your user account probably cannot directly access input devices.
missed that totaly
OK, the first option is probably the easiest
I've never seen it either
man hal_input ;)
you had Recoil in the error message not recoil
fusion_crank: if you comment out all the lines except the one that is loadusr hal_input... will it work?
this way you can check the pin names
I'll try it
is the name case sensative?
* BigJohnT adds to the wiki page to check your pin names...
big john, if I comment out the lines except for hal_input it will open emc
ok now open up Machine, Show Hal Configuration, Pins, input
what is Machine?
in the AXIS menu
I don't have an input under pins
no it should be under pins
your game pad might be a strange one...
you see halui right
could it be just a matter of buying a logitech at the computer store?
I got this one at walmart
in the halshow window, click on the plus sign next to "components"
if you clicked on the word "Pins", try clicking on the plus sign next to it instead - that will give you a list of pin names (broken down into categories with pluses next to them)
yep, have the list of pis
I can see pins and click on the pluses and see under them, but none that say input
you see stuff like motion, iocontrol, halui right?
your in the right spot
I read somewhere that some devices don't show up in input correctly
SWPadnos: should he see something in Components?
what should he look for?
mine is out in the garage
fusion_crank: I'll be back in a couple of minutes I'll check mine in the garage to see what shows up
halcmd tacks its PID onto the component name, so you can have more than one active at a time
you should see hal_input in the components list
and you should have a bunch of pins names input.0.<whatever>
I have no hal_input
I have no pins
in that case, hal_input didn't load
would the pins be missing due the them bein commented out in the hal fine?
you can open a terminal and try to load hal_input manually
try this: run a terminal
(Applications -> Accessories -> Terminal)
from the terminal type halcmd -kf
then type loadusr hal_input 4
and see if there are any errors
parameter or pin 'oadusr' not found
you missed the lower case L
odd I cut and pasted
gotta cut more ;)
OSError: [Errno 13] Permission denied: '/dev/input/event4'
SWPadnos: is that the permissions thing
how do I fix that?
how did I miss that?
gotta run. bbl
come on don't leave us hanging :(
chmod to change permissions, cant remember if thats ok for devices
* BigJohnT wonders why I didn't have to do it on either computer
depends who made the device I suppose
or is it the install type?
does this make a difference #
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
fusion_crank: what is the mac mouse button emulation you have?
I have no idea
did you install from the live CD?
I have a wheelmouse thats it
the latest one on the web site
ok, I was just wondering
I have to go get my daughter from practice
I'll check back later to see if SWP is back on