Jepler - are you out there?
jepler_: I like it (half as many steps)
toast is now known as toastatwork
cradek: I'll have to try it on zenbot .. if I don't like it there too, I'll make it an inifile setting
or maybe I should take swp's advice and rewrite it to use a 1-2-5 series
heh, the default lowest jog speed on hnc is .00003 in/min
but still, there aren't way too many choices anymore
jepler_, another thing occurred to me also - if you calculate a new vel as a function of the old vel you may get different values depending on which direction you're going
if you pre-calculate a list of velocities and move through the list, that won't happen
(you could also have the list be an ini item if you want, like the jog increments)
my soft limit lines are gone
cradek: did you look in the menu to see if you turned them off?
it is on
seems like they are gone in lathe configs
cradek: what config?
OK, I agree
the old code gets something like [x, 0, z] for limits, while the new code gets [x, +-1e99, z]
buenos dias amigos
tengo un pregunto
hola Stuart, como esta?
muy bein gracias - no estas ebaresado
pregunto is question
i have a question
uh oh.. ;)
oh, well I would have known that if I knew any significant spanish :)
that is what I was trying to avoid with the spanish :)
is there a way to insert 'net' commands in the pyvcp '.xml' files?
no, the way to hook that stuff up is with a postgui hal file
not at the moment
I was trying to do this without the EMC gui - just the buttons on the screen
this is for a man in Nigeria - for a test project
I wonder if you can set your (only) gui to halui and then still use postgui-halfile
I will try that direction
thanks - I was only hoping there was something I was missing
I was only guessing - I didn't try it
I will try other ways - I am sure there is something
huh, it works
(halui as the main ui)
then I suppose you have to load the pyvcp with loadusr something-or-other
how are you doing that?
[DISPLAY]DISPLAY = halui
ok - then the postgui should work
pushing the envelope
expansion is good
cradek: no, only axis "uses" POSTGUI_HALFILE
stuste1: so you want emc but none of the traditional GUIs?
* archivist_ub searches for a gcode, "ask the user for a number"
(MESSAGE,Now edit the gcode and put the number you want in variable #1) M2
heh bodge, I mean real interactive machine use
that was my gentle way of saying there is no gcode to do that
hmm I should perhaps write up some uses for one eg how many teeth for gear? ... od length etc
and for a sliding head, how many parts to make
stuste1: http://emergent.unpy.net/files/sandbox/vcp-as-ui.patch http://emergent.unpy.net/files/sandbox/vcp.ini http://emergent.unpy.net/files/sandbox/vcp_postgui.hal
stuste1: with this change to emc.in (re-'make' after changing it), you can specify a pyvcp .xml file as your [DISPLAY]DISPLAY, and after the control panel is created, the hal file specified by [HAL]POSTGUI_HALFILE will be evaluated so you can create connections to the vcp.
I made the change in TRUNK, I'm not sure if the patch will apply to 2.2..
fragalot_ is now known as fragalot
archivist_ub: I would think that would be a wizard like the ones on the wiki
skunkworks, Ive done that sort myself, I can see a real use in gcode though
archivist_ub, I can see that a user prompt might be tempting, but you'd need a lot more than that to make a "safe" gearcutting routine in G-code
for example, I want 27 teeth, but I typo 278 - what happens?
you would need to put any validation in G-code as well
same as the same typo in raw gcode
sure, but in a CAM package (even something like the wizards), you can see that you've made an error and change it
before you start to cut
you also see this with the preview - load a file and see that it looks wrong
user input would make preview impossible, incidentally
preview in axis for my gears is pretty useless at the moment
well, nearly impossible :)
it shouldn't be - if you get TRUNK, you can specify what order the coordinates get applied, so you end up with gear-looking things when you use a rotary axis
instead of a bunch of lines back and forth :)
I get 1 line
as it rotates the tool not the work
yes, in TRUNK, that's configurable
I run on standard 2.2.6 atm
I don't know if that will make it into the 2.2 series or if it's reserved for 2.3
it's enough of a change that I wouldn' expect it in 2.2.v
Ah, here it is: http://emergent.unpy.net/files/sandbox/gear.png
I mill with a profile cutter
using Y and A movements?
and maybe Z to clear
yes basicly x to clear
ok, right - X to clear and cut (I imagined it wrong for a sec)
ok, so yes, your preview would have straight lines distributed around a circle
it would look like an old Da Vinci-era wooden peg gear (with bery narrow pegs ;) )
I was just doing a generic gcode version and the obvious question arose, how to use without editing
standard parts with standard variation
the danger I see is that the G-code program would already be running before all the parameters are known
since it's the execution of the G-code that would do the prompting
well its the same as a stop for a tool change in a way
on the bright side, there was some discussion (dunno if there's any development) about making a screen where you can access variables
sure, kind of
a good variable editor would solve your problem
heh, disclaimer at the bottom of a web merchant product page: "We do not recommend you make puchasing decisions based on Forum messages."
re: widescreen vs normal for cad. I find widescreen is 6 to 12% less screen area for same diagonal, and that a 20" widescreen is almost exactly 2pcs US letter paper side by side/
you should be able to get more space for the model if you can reorient the tools to be on the side rather than on the top
think of it as a square plus toolbar space :)
right, or use the pad template and move it offscreen (oldschool :)
feature based modelers lend themselves well to wide screens - they generally have a feature tree that's inherently pretty vertical
stick that on the side, plus the shortcuts for commonly used entities (arranged vertically), and you get a good square-ish model area
jepler: I can't get to it right now - thanks
interestin, i oughhta try 16:9 16:10 4:3 and see what happens, i am thinking it now, but doing it is better:)
I've gotten used to very wide desktops - I have 3 monitors @ 1280x1024 on my primary computer
it's 12:3 aspect overall :)
wow, eskimo sunglasses! ( a slit )
so I made my menu bar vertical on the left, I arrange things so that e.g. the folder list in Mozilla mail is on one monitor, but the message list and messages are on another (the natural split in the information is on the border between monitors)
i'm too easily distracted, i'd need blinders ( really, I'm jealous of your setup )
I run 2 side by side at home
well, it's not as good as it used to be. two of my CRTs died, so I now have a 17" open-frame LCD on the left (mounted on an 80/20 frame), a reasonably nice 19" CRT in the middle, and a 17" black-rimmed touchscreen LCD on the right
color isn't exactly calibrated, you could say
what I'll switch to is the dual 24" 1920x1200 LCDs I have sitting here, when I put together a new workstation
(then there's the old unreliable dual Opteron system, with the 9MP 22" LCD - that's one's definitely drool-worthy :) )
SWPadnos: stop waving your privates around
drool drool :)
hmmm - nevermind
we know you have the best toys of anybody, stop rubbing it in
reminds me of a dilbert cartoon.. techno bill!
the guy with no cnc machine has the best toys of anybody? I don't think so.
well, just computer toys - I have n oCNC so even your zenbot beats my setup for machining
time you got/built one
* renesis has cnc in his bedroom
one day, the Bridgeport in my garage will be a CNC
* archivist_ub gets idle, cant be bothered to take gear blank to lathe to set OD, milling to size on A axis
jepler: if I 'cvs up -Pd' trunk I will get the changes?
yes, unless you've locally changed a file such that CVS can't figure out how to merge the two sets of changes
(ie, you've both edited the same line)
you guys should know I don't muck around where I don't belong
erm - yeah, sure I know that :)
I can't tell you how MANY time the cvs has saved me
stuste1: I didn't check in that change to emc.in
I could tell - I was just going to ask - I even erase emc.in and updated - got a new file that didn't include your patch :)
Can I just edit it into the emc.in file?
you can use patch to edit the file for you
something like patch -p0 < vcp-as-ui.patch
(if that doesn't work, fiddle with the -pN option, using the manpage for reference)
i went karting at an indoor track the other day
i did poorly
Need one of these then toast !
[18:24:57] <SkinnYPup> http://www.youtube.com/watch?v=uE26moshnO8
I don't really think I want the gas tank between my legs..
lol, the gixxer kart/clones are cool
but i want to race, not just spin in circles
the biggest problem is that my only other driving experience is in a car, on a 5 mile road course
with lots and lots of heavy braking
there is almost no braking on an indoor kart track
handles so differently
weird. when I drag/drop URLs from Chatzilla into Firefox3, the text gets duplicated (so the URL of course doesn't work)
I guess I should check it with the chatzilla version in Firefox
Oh boy If I get this machine finished tomorrow I can have Labor Day off :)
but it's for labor!
I want to labor on the grill and do some curls
with lots of reps
just a few then it's time for homemade wine
to many carbs for me :(
you need a starch blocker
(though it isn't starch in beer, I think)
I'm slightly sugar intolerant ... mostly it is dry red wine which I like too
yep - figured :)
my mother has been diabetic for 30 years or so, and she has a starch blocker pill she takes before eating much starch
it prevents you from metabolizing the starch into sugar
made from a bean extract of some sort. I never remember the name of the things though
over the counter?
probably only at natural foods stores or seomthing though (or maybe I-herb.com)
I need to find that when I feel like eating starch :)
thanks I'll look for it
sure. I think there are several out there. some may or may not work
my buddy is a doctor that is into chemistry so he will know :)
and he is my shooting buddy and drinking buddy good thing he lives just down the road...
my mother is a chemistry PhD (as is my father) :)
cradek_ is now known as cradek
(she also studied nutrition, among other things)
then she would know for sure
in theory anyway
when you find out the name let me know
sure. lemme see if she emailed it to me
it may be this stuff: http://www.wholehealth.com/index.cfm?fuseaction=category.display&category_id=192&gclid=CPHjobCxsZUCFReenAodgDFMkw
but I'm not positive
can I use more than one parallel port for I/O with EMC2?
yes, up to 8
nice, and i configure multiple ports with HAL?
jepler: got it working - thanks
great, that is a big help knowing I can do that :)
Guest370: sounds like a fun project
I just got my z-axis stepper in place on my lathe and wited in to my controller lastnight....so was finally able to test my setup with EMC2 , motor is direct coupled to the leadscrew(16tpi) . 1/1 for no microstepping on my driver board...but when i tell it to move 1" it moves 1 7/8 " .... any ideas as to what i am not setting right?
[21:21:40] <alex_joni> http://www.linuxcnc.org/docview/2.2/html//hal_drivers.html#sec:Parport
Guest370: what's your SCALE ?
is it a 200 step motor?
yes it is 200 steps per rev, 16tpi leadscew
i left the software microstepping setting in stepconf at 2...?
so scale is 3200 ?
that's not good :)
ahhh, does leaving it at 2 mean i am telling it half stepping?
ahhhhhhh , ok I know now what i think i am doing wrong hehe Thank you very much alex
Guest370: good for you :)
High all. Anyone know if it's possible to increase the range of the feed override in Axis?
BeIdentityCrisis: sure it is
guess you want to know how?
yeah... I figured there was some config setting, but I don't see it
isn't knowing it's possible enough?
MAX_FEED_OVERRIDE = 1.2
that means 120% max
got it! thanks
BeIdentityCrisis: sure np
there's also MAX_SPINDLE_OVERRIDE for spindle speed override
* BigJohnT beats his head against the manual
BigJohnT: not in there?
when that doesn't help BigJohnT, try osmosis
good thing it's not a pdf
but it is a pdf
[21:27:47] <alex_joni> http://www.linuxcnc.org/docview/2.2/html//config_ini_config.html#sub:[DISPLAY]-Section
BeIdentityCrisis: next time you get the read the fine manual :P
the first answer is painless
BigJohnT: carefull.. you'll get a WTFM :P
hmmm, google didnt index that for me
either that or I'm a poor searcher...
it should be in one of the manuals on the applications->CNC menu
SWPadnos: it's hard to find if you don't know what you're looking
but it's in the manuals
yep - page 40 of the integrator manual
and user manual too
well back to work all, before my boss catching me working on this project on shop time hehe
only the old user manual
thanks again alex for the help
I'm hanging on the fence to buy a few of the new geko drives, I should also get a mesa I/o card while I actually have recources for it.
stepper or servo drives?
I got some assorted resistors from radio crap tonight to try and get my optointerupt spindle index working
stepper, there new 251 are on sale for like 38 dollars for 10 dAYS
automationdirect everyday price for nema 23 with 276 oz-in $39
nema 17 $19
I'v got 4 small machines "in the works" 8x14 lathe, x2 mill, 5x4 lathe and a 32x32 gatry router
that is just the motor?
antichip: have you seen the new gecko stepper drives?
motors are free to me or free enough, drivers are a comodity though.
see above responce about 38 dollar 251
antichip: 250 are cheaper
yay but then I'd have to do stuff and stuff
all that shiny metal
I'd buy the 540.. but that's just me
joking, but I like the hard anodized plate, and screw terminal,
yay but the 540 buys alot of 251
ok I'm caught up now the 251's are out now for $37 cool
yay the 8 dollars is worth not sourcing mica or other insulator.
and the screw terminals
my linistepper KIT was almost that much how can I go wrong?
weee it looks like a winter wonder land over by my cnc mill
I have linear encoder strip at 360 lines per inch. Does thes equate to 7 tenths resolution?
cradek: that stepper-mpg runs off a single +5V supply and has differential quadrature output. when energized, it's 50 detents per revolution. If you move slowly enough, it will drop quadrature edges.
cradek: so I suspect it doesn't really have any tricks that aren't on the various schematics one finds online
how slow is slow to loose edges?
antichip: seems like if let it freely fall into the next detent it gets output edges; if you carefully and slowly turn it without letting the next detent grab it, it misses
winter wonderland? flycutting plastic?
milling out nests for gas tanks from delrin
some kinda jig?
thats not as bad as I was thinking. can you tune the "stiffness" by adjusting the current to the stepper?
antichip: the board doesn't have any adjustments
I suspect it just passes a low current through one or two of the windings (8 wire stepper)
tomp yea it is for hot stamping a date and reactor code on the gas tanks
4069 lines of code for 6 passes and 1/2 of the profile is cut with 4 arcs...
thats what I figured, but adjusting the detent "stifness would be cool
good night all
well now that milling is done for the day I'm off to the house
nice to meet you g night
cradek: even at higher speeds it seems to occasionally lose some edges
still, with detents and a knob it's a better jogwheel/shuttle than my servo motor..
jepler_ is now known as jepler
If I'm testing the PID tuning parameters, what pins should I be looking at in Halscope? I'm not seeing a change when I change the parameters.
I'm looking at Xoutput, Xpos-fb, halui.axis.0.pos-commanded, and axis.0.joint-pos-fb.
But it's not making much sense. If P is 1, 10, or 100, the graph is the same.
pid.0.error is another pin to look at
what are you using to vary the PID parameters?
halcmd? calibration? or some other method?
What should I be using to vary the parameters? I was editing the .ini file and restarting the program.
From the way you asked that question, it sounds like I'm doing it wrong / the hard way.
if you're using AXIS, choose Machine > Calibration
I am using axis, I didn't know that was there.
enter the values you want to try, then choose 'test'. Now do whatever it is you do to test the response -- for instance, mdi a G0 move and look at it in halscope. If you like the tuning better now, click "OK", otherwise click "Cancel".
if you like the tuning better when you're done, either click "save to file" to modify your inifile in place, or record the values and manually edit your inifile
this assumes you're using the regular style of inifile where the hal file refers to the inifile for the pid tuning parameters, with lines like this: setp pid.2.Pgain [AXIS_2]PGAIN
if you don't use the regular scheme but chose instead to write literal values in your hal file, calibration won't work
I don't know what that last two sentences meant, but I can see the change now in PID.0.error.
great -- maybe that got you back on track then
Indeed it did.
While I'm here, I have two other questions.
First, is there an easy way to change the size of the coordinates in axis? I tried the axis_big_ngo method and it didn't work.
And the second question was answered in my head before I asked it, so never mind.
hm, for some reason the incantation inside axis_big_dro is wrong
this works (gives a way-too-big font): *Togl*font: -*-courier-bold-r-*--100-*-*-*-*-*-*-1
if i add an encoder to one of my steppers' axis , how do i set it up to operate?
our wiki has some information about this but it looks like it stops short of a how-to: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Steppers_With_Encoders
MASEngr: if I remember correctly - your machine has scales and a little backlash... that is really going to be a pain to tune.
hmmm your right Jepler, stops just short of how-to hehe, but gives me an idea of it anyhow
now as far as setting up and encoder...would you set it up on the leadscrew , or set it up to read actual travel of the axis (so not reading the backlash from the leadscrew) ?
if you have scales why do you need an ancoder??
i do not have scales?
oh i see...
i am trying for active feedback on position of the z-axis on my mini-lathe
i will be trying for that soo too on my mini hardinge
skunkworks: Yes, it's a pain to tune, but it's clearly wrong. I've managed to improve it quite a bit already, since I got the clarification.
so that when the motor is told to move the cross-slide one inch, emc can verify the distance moved
yes i understand cnc...
Anyway, I've got to leave. Thanks again, everyone.
dmess, wasn't meaning to imply that you didn't understand cnc...was just trying to clarify what I was thinking/asking
i am very new to this, so sometime my questions do not make sennse :}
i'd put it on the lead screw and use emc to tweak it in till the feedback matches the encoder resolution
or rather the indicator travel
makes sense... that would acount for backlash from my homemade coupling, but would it account for any backlash if it is present between the cross-slide and the leadscrew?
pitch gradiant is beyound an encoders capability
indicator travel.... the little one for manual threading?
no a 1" push pull indicator of high quality on a good mag base touching the cross slide to verify a .500" move
uh maybe i misread but an encoder does nothing for backlash in any capacity
you can measure the backlash and tell emc to like, account for it
yea.. thats what i called tweaking
ok so with an encoder, emc will not correct the travel if i tell it to move an inch but backlash only lets it move say 7/8"
then i agree with whatever dmess is saying =)
that's what scales do
to some extent
you don't have scales
but you are correct in that an encoder does not tell emc anything about backlash
and then you manage to compensate for machine rigidity and oscilations, and here comes nobel prize :)
oh, I forgot stick-slip :)
any one ever heard of DIXI boring mills??
never used one but definately heard of
nano precicion in a 3 M cube
(not that i've used any boring mill)
I HAVE.. and i have a hard on for this one
willburrrr2003: encoders provide a very basic closed-loop capacity for a machine
in that you can verify that the motor is moving the screw as it should
willburrrr2003: dont listen to these guys, they dont know anything about EMC
but that doesn't tell you what's happening downstream
on the slides
willburrrr2003: you can compensate for leadscrew errors
fenn: welcome to 20 minutes ago
ok, how do i do that?
i hope you enjoy your stay, please keep your arms and legs inside the vehicle at all times
and keep your redundant statements to a minimum
there's a backlash parameter in the .ini file somewhere
willburrrr2003: measure it, and then input it to EMC so it can try to compensate
ok so it is a measured correction, not an automatic correction
keep in mind that the cutting tool can shove the axis around so you're on the wrong side of the backlash without knowing it
there's both kinds, feedback or no feedback
i could always preload the axis to prevent the backlash...?
ok all, thanks for the input have to run work is done and my ride is leaving
fenn: so if your axis rattles around because of backslash, how does EMC compensates?
is it plain adding to backslash direction or what?
it just pretends that it's not rattling
whenever you change direction it moves by the backlash distance
software based backlash comp (encoder on the motor) only compensates correctly if friction is greater than cutting force
yep, I hoped there could be something more :)
jmkasunich: I agre
true, ballscrews and roller guides
don't need roller guides
plain ways work just fine
spring-loaded delrin seems to work ok for low cutting force
* dushantch is not native english speaker
how much accuracy do you need that stick-slip has become an issue in your machine?
oscilations, not accuracy
delrin is a low-friction plastic
doesn't happen once the axis is moving
delrin can be used to make for low-strength anti-backlash nuts
only at very low feedrates will you see that occur
or like with low angles over one axis
or with high R arcs
again, not in my experience
btw. best machining center, precision wise and rigidity I used was with plain slides :)
plain slides = box ways??
yep, I can't get some words right :)
dushantch: plain slides is right
also dmess how much life do you usually get out of m5x.8 form taps in alum
box ways and dovetails are both forms of plain slides
how do you call when radial forces are on diferent slides on one axis?
like "wide" slide
what coolant/ lubricant you using??
are you holes sufficiently o/s
of the cross slide
i hope so, they're .180"
there's no skewing going on
i guess i got like 300-400 holes on this tap
should get a few hundred holes at least... blind or thru
it just broke
it's a deep hole, top is tapped, and there's a ton of intersections
down the length of the hole
tap hits at least 2 of these
sounds like your where you should be...
could just be the tap's life was up, sometimes old taps get put back, but i think that was short for a form tap in alum
whutevs, i'll keep an eye on it
just broke at the shak??
its the reversals that bake a tap thats cutting correctly... its ONLY m5
why is it i have a perfect visual of broken tools...
its all the "experience" you've accumulated :)
you're awfully jumpy to get your opinions out today, fenn
experience comes from good judgment that comes from mistakes...
someone piss in your cornflakes?
are you insinuating something??
sorry.. i'll go cry in my room now
ahhh Toast you made fenn cry
get over it
anyway the new tap works just fine
so i guess that tool was just tired
hey you did OK
i tapped #4-80 thru .375 of aluminum.... 450 holes PER part
it was a pucker factor job
dunno, I watched some machining power diagrams, and they rise pretty sharply after tool gets dull.
the parts were already silver plated