[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
Is there a way in the HAL to bundle several signals into a "Cable"
Ok, I just thought it might be handy :)
I agree, it's a frequent concept in schematic capture programs. I'm just not sure how to express it in HAL terms (for instance, what would the equivalent of 'halcmd net' be?). You can establish whatever naming convention you want for signals, and they are free to contain dots among other letters and then do things like 'show sig bundle.*' to see signals inside 'bundle'..
kann ich die Bezeichnungen die mir die Step konfigWizzard gibt wie both-home-x <= parport.0.pin-10-in nach both-home-x <= m5i20.0.in-10 nutzen ?
usually that's called a "bus"
alex_joni: ah yes that is the usual term isn't it
bbernd_: im Prinzip ja, aber du musst den rest mitnehmen
I hope the german is not an issue.. or we'll grab another channel ;)
Jon_geo01005: a "bus" is usually usefull when you connect 8 (or some bigger number) of similar items
like a data or address bus
I'm not sure what such a bus would be for emc2/HAL
Ja aber so komme ich einfach hinter die Bezeichnungen die vo EMC gebraucht werden
the only part I can think of to bind things together might be between halui and a vcp (like the limits of all 9 joints, etc)
bbernd_: both-home-x ist nur ein Name der von stepconf gewaehlt wurde, der koennte gleichgut auch "otto" heissen ;)
was wichtig ist ist das dieses Signal an zwei axis.*.home-switch geht
I was just wanting to bundle three u32 signals, and a Bit together to connect some pins from the HM2 driver to SPI device drivers.
OK der EMC2 Name ist dann vorgegeben (linksp Zminlim) mit Ihm muss über einen Hilfsnamen (Übersichtlichkeit) verbunden werden.
Not a big deal it is not available, just would reduce the number of lines in the HAL file and make it is little less confusing.
Jon_geo01005: no, it sure doesn't exist now
Woran macht der hostmod2 treiber denn die stepperpins fest
bbernd_: das liegt an der BIT file
die sagt aus wo was ausgegeben wird
(sollte in demselben Verzeichnis wie die BIT file sein)
ich meinte grade .PIN datei
Kann ich das darin einstellen
Also kommen alle Schrittmotoren an P4
werden diese durch <=m5i20.0.10-out überschrieben
einstellen kann man es nicht, da wird beschrieben wo was angebracht ist
ein pin ist entweder als I/O oder spezielle funktion (encoderzaehler, stepgen, usw) ausgelegt
also habe ich kaum freis I/o s
Just FYI... AAA not only gives jump starts, but they sell & install batteries on site and warranties them for 72 months. They'll even replace a battery at 3am.
36 exchange, balance pro-rated.
Warranty good in US/Canada/Mexico
Cost for 2001 Ford Expedition 2WD 4.6L = $137 USD out the door. And they have this really neat tester now. It checks everything =)
bbernd_: wieviele stepgen's brauchst du ?
Sorry, I stepped away for lunch. I see while at lunch I was thinking that is probably doesn't matter how many channels are steppting as they all step at the same time.
It's clear now
alex Vielen Dank Ich komme erst mal weiter
Thank you for the help today.
This isn't a bad deal... Never seen a 40ft one, much less 12/3 http://www.harborfreight.com/cpi/ctaf/displayitem.taf?Itemnumber=91470
4' 7" plug-in cord length
WTH?! Lead cord is 14ga, Cord is 12/3
maybe it was shorter, and they streched it
heh, but still.
40' reel still isn't bad. at least it isn't the other way around.
all I ever see is 25' which is just never long enough
we have 100-150m cords here
alex_joni: you have 100m reeled?
JymmmEMC: this type http://www.bizoo.ro/img/Prelungitor-Cu-Derulor-Ceramic-Cu-Contact-De-Protectie/img100/sale/6142_1171554635.gif
I have 25, 100 and 300 ft extension cords, but not reeled auto wind ready-to-go
I've seen those, kinda a pain.
This would be so convienant. pull out the shopvac and not have to hassle with un/winding ext cord when done
I'm lazy and want it to wind up on it's own =)
well.. good luck on a 50m one ;)
No 40' is fine. I have a 300' It's the convienance of it ready-to-go that I like.
that'll get me outside the garage and into the driveway
Dont know if anyone cares, but... good thru tomorrow (I believe) http://newspaperads.mercurynews.com/ROP/ads.aspx?advid=32664&adid=7563293&subid=25237702&type=
anybody familiar with G96 on emc2 (constant surface speed)? I am seeing opposite behavior from what I expected... its slowing down the spindle as the diameter gets smaller??
the normal RPM speed changes work as expected but not the css for some reason
I'm using: G96 S61
hoping for 61 m/min surface cutting speed
then g0 x0 should (i thought) run my spindle up to max speed of about 2500 rpm, but in fact it slows it down to minimum speed
dang I think i found it
tool offsets maybe?
you must have an accurate tool offset for css to work
If I go out to g0x80 then it speeds up and slows back down\
i.e. when you type x0, the tool must actually reach x0 and not some other number
yeah it does in fact
then that's not it
m43 h7, is my parting tool and when it gets to x0 then the piece is parted
just parted one with it
going from x0 to x50 it goes from very slow, to highest speed, and then slows back down to mid speed again
i'm not sure why it would slow down.
i don't use emc, so you'll unfortunately have to wait until one of the crazy guru folks show up
okay thanks though
i think you are on the right track, maybe some problem with my tool offsets
if i go to x-20 then it goes even slower..
you don't have any numbers in the g54 x offset, do you?
hmm don't think so
it might be from homing? my limit switch is not actually where i said it was
i wonder if that changes the g54 offset
but i'm not really sure how to check honestly
"all axes missing with G92" popped up
no, i meant have you used g92
no i don't believe I have
how did you get your x0 on machine startup?
because i bet if you note where the machine hits top speed then starts slowing down again
u solved your CCS problem? have you set the machines co-ordunts into the middle of the spindle on X axis?
i believe that i have not?
rob is right
the set up is,,, i'm using a homing limit switch on X
G0 G53 X0 has to put your reference tool (the one with zero tool length) at the center of rotation
so i turn it on, home x, manually home z at 300mm from spindle, then start cutting
then do not put any G54 offset on X
okay so i have to ask an ignorant question then
use ONLY tool length offset for X on your tools
i just set my tool file up so the tools would all cut on center after it homed
lol, dw iv been there done that hehe ;)
i did not use any sort of a reference tool
just plopped tool 1 in, took a test cut on a piece of scrap, measured, and set the offset in the tool file
apparently that is not the optimal way to do this
no, that's the right way to set x
what they're saying is your machine thinks the spindle is somewhere it isn't
when you program G49, G0 G53 X0, that has to be the center of rotation
yeah it seems that way
exactly what toastatwork says
EMC doesn't know where your spindle is - EMC thinks spindles are at X0 (a very reasonable thing to think)
I think yours might be at +300 or -300 from what you're saying
so when i program g43 h1, it knows the tool is at 0
yes, g43 h1 sets an offset to bring tool 1's tip to the spindle center at X0
i understand my problem (I think), but i'm not sure how to correct it
g49 starts the spindle for some reason (??)
how old a head? that's a very old bug, fixed long ago, I hope it's not back
its an old head
a few months old
update update update
that's a dangerous bug
yeah it is
i will update tonight
so G49 turns off the tool offsets
G0 G53 X0
moves X to absolute zero
i mean i know what the codes do, but why does that help
should be the same as G0, because you should not have a G54 X offset
and what is it using to reference x
your homing settings are the only thing that says where absolute zero is
okay so my homing switch is maybe the root of the problem then
HOME_OFFSET is the absolute position of your home switch
yes you need to adjust your homing so X0 brings "something" to the spindle centerline
then you measure your tool offsets from that "something"
so that's what i did, excpet i used "nothing" for "something"
for me that's the center of the turret
well wherever it is, that's where you measure tool lengths from
and using "nothing", i then set tool offsets to get each tool to cut a test piece to the appropriate size
seems like that would work. You don't have G92 or G54 X offset do you?
no i do not have any offsets set (intentionally... )
program G92.1, G10 L2 P1 X0
okay i did that
did X change?
right, it just clears the offsets
a few of the active g-codes changed
I meant X on the screen
dareposte re-do g0 g53 x0
or don't, because that doesn't make any sense
oh hey, you know X is radius, right??
yeah i know
ok just checking
I bet that would foul it all up
wait maybe that's it
(recent trunk has radius and diameter modes now)
my trunk does not have diameter mode... i tried it
update update :-)
well my tools cut to x=0 when i tell them g0 x0
if you set X to be a measured diameter, your origin will surely be wrong
oh, ok, that's the important test
so i think that means that the tool offsets are right, correct?
did you try g0 x0 after clearing g92.1, g10l2p1x0 ?
now the tool is nowhere near the centerline, but it does actually go to top speed at x0
i am going to re-home it and test again
you had an offset in X that you didn't want
you will have to remeasure your TLOs
i gotta read up more on these coordinate systems i guess
the rule is don't ever offset X except with tool lengths
so you think a g92 was somehow offset?
other than that gotcha, you're fine
one or the other was, yes
g92 or which other
(I bet you can add the same number to all your lengths to fix them)
yeah i was just wondering that actually
whatever the offset was...
i bet those offsets stay after you power down don't they
because i can remember a long long time ago making an offset to see what happened
and maybe didn't get it cleared right
so g54 is like a work offset right, for a mill
if you have a row of 3 blanks and want to run the same program for each
you can use it for the end of material, etc
okay then g92 is for. ..?
g92 moves ALL the work offsets
like a fixture offset?
don't use g92, just use g54
g54, g55, g56, ... are fixture offsets
g92 moves all those fixture offsets
like for a pallet swap maybe? or what would be a real-life usage of it
there isn't one that I've run into :-)
someone took the time to program it for a reason i assume..
i can read up on it i guess
you have been very generous with your help
the mists of time obscure the reason for it...
and toastatwork too
and i just crashed it
time for a new parting tool it looks like
was probably dull anyway
yeah it was
i'd been parting stainless with it
G92 if you do a lot of fixure/vises you can just program to add a value to G54, run a subprogram, saves on lots of G54 g55, as u cant run out when using G92, but you must set it back to zero when done
say you have 4 parts in 4 vises, you cut the left "feature" on all 4 of them
oh i see... so if you had two vices holding a fixture of 4 parts each
then g92 to move to the "right" feature on all of them
okay i see that does make sense then
I don't do setups like that, but someone probably does...
i find if i can understand the reasoning for a feature, it sticks a little better in my head
so that should help
some times i put two blocks in 1 vice, one on left side one on right side, i will then sub my program up, say mill a feature in right hand block, then using G54 still, do a G92 X50 Y0 and it will add 50mm to G54 offset and call my sub
but i use G52, as if u reset machine, or do something else etc, it is auto cancled for you and resets G54 back to true X Y Z
yep, sounds like the same idea, different gcode
cradek would recommend using the G56 for that I think?
yea, i did make a wiki page cradek other day, so ill add up info on G52 so you can look into it
also i did find the spare fanuc book so have to sort out getting it to you
or rather the G54-G56
dareposte: more than one way to feed a cat
yes, G54-G56 works just as well ;) and 1 code to call, but if u have 4 vises thats 4 G5x offsets used ;), if u had two parts in them 4 vise, well u can see
I think we have 9 of them...
but yeah you'd eventually run out
you can g92 forever
then if u had a tomb stone, with 4 sides, and i dunno how many bits lol
its only realy usefull in production id say when doing alot of parts
fortunately (unfortunately??) my mill barely holds one vise, and it's not cnc'd yet
i am totally stoked that the css appears to be working now though!
it made for some weird surface finish slowing down as it faced the bar
yeah, speeding up at the center is probably better :-)
if your trunk is old, be careful with CSS + M4. another bug is lurking there.
also fixed now of course
can you display current/active gcodes into a pyvcp
axis has a little window with them in it
rob: I don't think so
the main problem is they're not too useful becuase they are set as the interpreter reads ahead, as it does while running a program
in mdi they're useful, because they're always current
cradek: what version of head would you recommend? latest?
it will soon be EMC2.3
latest CVS TRUNK is very stable, and we hope to publish "emc 2.3 beta1" packages within the next week or two.
more smart people using it and reporting any remaining problems is a good thing
several of the developers have been using it exclusively for their own machines (not me, but only because I haven't touched my machine in 3 weeks :( )
2.3 will be the best EMC ever, like all our releases!
id use it on my mill but its still in bits lol
great! i will get it as soon as i find an ethernet cable long enough to reach my router
bbl, me too