theorb is now known as theorbtwo
Twas the night before Christmas and all through the house not a creature was stirring not even a mouse
The stockings were hung by the chimney with care, In hopes that St Nicholas soon would be there.
The children were nestled all snug in their beds, While visions of sugar-plums danced in their heads.
And mamma in her ‘kerchief, and I in my cap, Had just settled our brains for a long winter’s nap.
When out in the shop there arose such a clatter, I sprang from the bed to see what was the matter.
Away to the window I flew like a flash, Tore open the shutters and threw up the sash.
The moon on the breast of the new-fallen snow Gave the lustre of mid-day to objects below.
When, what to my wondering eyes should appear, But UPS Freight, and eight tinny brown's.
With a little old driver, so lively and quick, I knew in a moment it must be St Nick.
More rapid than eagles his coursers they came, And he whistled, and shouted, and called them by name!
"Now Doug! now, Danny! now, Phil and Vixen! On, Charlie! On, Clarance! on, on Donny and Blitzen!
To the back of the shop! to the top of the wall! Now dash away! Dash away! Dash away all!"
As dry leaves that before the wild hurricane fly, When they meet with an obstacle, mount to the sky.
So in to the shop the coursers they flew, With the sleigh full of machines, and EMC 2.
And then, in a twinkling, I heard in the shop The prancing and dancing of each little shoe.
As I drew in my head, and was turning around, Out of the shop St Nicholas came with a bound.
He was dressed all in fur, from his head to his foot, And his clothes were all tarnished with ashes and soot.
A bundle of cutting tools he had flung on his back, And he looked like a peddler, just opening his pack.
His eyes-how they twinkled! his dimples how merry! His cheeks were like roses, his nose like a cherry!
His droll little mouth was drawn up like a bow, And the beard of his chin was as white as the snow.
The stump of a pipe he held tight in his teeth, And the smoke it encircled his head like a wreath.
He had a broad face and a little round belly, That shook when he laughed, like a bowlful of jelly!
He was chubby and plump, a right jolly old elf, And I laughed when I saw him, in spite of myself!
A wink of his eye and a twist of his head, Soon gave me to know I had nothing to dread.
He spoke not a word, but went straight to his work, And filled the tool crib, then turned with a jerk.
And laying his finger aside of his nose, And giving a nod, out of the shop he flew!
He sprang to his truck, to his team gave a whistle, And away they all flew like the down of a thistle.
But I heard him exclaim, ‘ere he drove out of sight, "Happy Christmas to all, and to all a good-night!"
Merry Christmas guys
leo__ Maximum encoder count rate depends on encoder filter setup, with filter off (3 clocks input filter)
and on a 5I20 maximum count rate is around 16 MHz
with filter on (15 clocks input filter) the maximum count rate is 4.4 MHz
With your 4096 line encoder (16384 count/rev) at 10K RPM the count rate would be
2.73666 MHz (166.66 RPS*16384)
Has JT gotten into the egg-nog early?
naw, went right to the wine
* Jymmm will stick with the Tequilia
Merry Christmas Peter and Jym
Merry Christmas jthornton, JT-D510, JT-Shop
Merry Christmas Everyone!
merry hoho everyone :)
* elmo40 puts his head into the (spiked) punch bowl :)
* skunkworks is drinking coffee... is it too late? Heck no!
I'll be glad when I don't have to open up the garage door to remove a piece of stock from the lathe spindle
skunkworks: it is never too late!
JT-Shop: remove stock? what are you making?
making a clutch alignment tool for my F40 tractor
to pull the stock out of the back of the spindle I have to open the door lol
* JT-Shop heads inside to eat dinner then turn on the magnetassswitch
it's on the lazyboy...
toastyde1th is now known as toastydeath
Good Christmas at all.
morfic- is now known as morfic
Hello, I hope you had a wonderful Christmas time.
Is somebody here who can help me with understanding coordinates and using emc2, please?
[14:10:21] <elmo40> http://linuxcnc.org/docs/html/gcode_coordinates.html
I read this already in the User Manual I downloaded, but I do not really understand it from the practical side.
Can you explain me how I do that in practice? I can give you details on what I want to do.
pingufan: try asking a more detailed question what you want to do
I have a 3 axes mill. When I send the auto-home command, the origin 0/0/0 is in the rear-left-uppermost position. This is the hardware origin of the mill, detected by three end-switches.
When I want to work on a workpiece, I mount a workpiece-holder onto the machine desk, with a "zero-point" on it. This is my logical origin (0/0/0). I want to manually move the machine to this point (this point is somewhere within the machine's limits) and then tell EMC2 that this is the porkpiece home position. All milling coordinates reter to this point.
How do I tell this to EMC2 ?
there is a touch-off button in AXIS
you simply jog to the logical 0 position on X, and hit touch-off, select X and enter 0
you can also do this touch-off for non-zero values (for example using an edge finder, or whatnot)
And the same I do with Y and Z ?
But there's another issue: I will mount a tooltip sensor somewhere in a rear corner of the machine desk. So the sensor always references the tool-tip to the machine's coordinates, not the relative zero point. As I must sometimes replace a tool, during milling I will have to re-adjust the Z-Axis after every tool-change.
So how do I get all that together?
check the sample nc_files for a procedure you can use to autoadjust based on tool-length
pingufan: surely not at once ;) you start learning using them one at a time .. then you'll see it's not that complicated
I must tell you that I had to do with very basic G codes ~35 years ago when I was studying.
So EMC is totally new land for me.
It would be wonderful is a eBook for learning EMC would exist, _teaching_ it step by step. Is something like that available?
there is the fine manuals to read
The user manual is not going deep enough into the basics for learning it - from my point of view.
did you read the Getting Started Guide?
I got the mill parametrized by myself (acceleration ramp, maximum speeds, ...) so it finds back to 0/0/0 from wherever I jogged to. Then i had to stop because I had no time to continue working on it, and I also have to finish the machine desk first...
Was not really easy, I initially used to high stepping speeds and lost steps.
yes, building a CNC machine can be quite a steep learning curve
Well, as I have now a bit of time, I want to finish one of the last (but important) parts of the mill. I need a spindle which has to be very long and slim (ø8mm x 200m length). As this is really difficult, I will buy a replacement part from Proxxon, run it between two bearings and extend it on its rear end with another part and another bearing. All that inside a ø20mm stainless steel tube.
Each bearing will get an adapter ring to fit exactly into the inner side of the tube. You see, this is a very small machine.
In parallel I would like to learn basic steps in coding G-Codes and watching the operation on the screen first, then also mill some foam, finally wood... saves tools.
My final target is that I can mill plastic enclosures for electronic devices.
is there a detailed example of sum2 in the manual or just the basic definition?
leo: connect two inputs, the output will be the sum.
awallin: anything new with the extruder>
skunkworks: have to find out if we are losing steps or what it is that makes the prints lean over. then need better g-code generator than repstrapper, maybe skeinforge
I am sure you will figure it out.
Hi, I don't want to buid something into my mill that makes troubles. My 0/0/0 point is left-rear-uppermost. I think about mounting a microswitch-button somewhere in very rear on the machine desk to sense tool length.(I manually change the tool, then the machine moves above the button and moves down until button is pressed.
Is this a good way or problematic?
What precision can I expect?
that depends on the switch and how fast/slow you home it
pingufan: I find it easier and less problematic to just use the dowel and a fixed point to set the Z of a tool
jthornton: So the tool stands in the dowel while I tighten the collet chuck?
no, place the tip of the tool lower than the diameter of the dowel, then as you raise Z until the dowel just rolls under the tool tip
I use the fixed jaw on my mill and the face of the spindle on my lathe
Ah! So I need no switch at all then. Makes life surely easier.
yea, just set all the tools to the same height and use g54 offset for the material
in the sum2 page, where fo I set the gains?
just make sure you set the tool offset with the dowel not the fixture offset
the gains are parameters
and are set where?
a hal file
in the ini?
Ok. My mill has a hardware origin of 0/0/0 which actually is left-rear in ~ +60mm. So Y is increasing to the front. Actually, my working coordinate system is different, I'd prefer a reference point of 0/0/0 in left-front-lowest on the workpiece holder, so the workpiece is within positive coordinates.
in a feedback corrected spindle speed hal configuration - in my thinking it should be similar to how the axis feedback is tied in
how come the axis examples have no sum2.0 in the hal example file in hm2-servo
but the closed loop spindle example in the wiki has it?
or do the axis drives not read feedback in the "samples"?
I will read that carefully. Only for understanding: Can the mill home to a end-switch in the rear and then set the Y-coordinate to to +270mm instead of zero? In this case the machine coordinate system is identical to my user coordinate system instead of being mirrored. Is this better or no difference at all?
yes that can be done, just depends on how you program your g code
for me I prefer the front left top corner of my fixed jaw to be 0-0-0
Me, too. But this mill was formerly an engraving machine and has built-in switches.
It is a "Gravograph VX"
Merry Christmas Everyone!
Especially you Tiny Tim ( JT-Shop)
I replaced now the damaged drive electronics by a new one (now Gecko drives), so it moves now again. Next step is a new spindle. Instead of the graver I want to insert a spindle with a little collet chuck, so I can then mill with thin tools.
Merry Christmas, too!
JT-Shop: Do you think that a 40mm thick piece of a Kitchen-Work-Plate is strong and even enough as machine desk? I don't use liquid coolant and I want to do first steps without paying a lot for a T-slot plate at the beginning.
JT-Shop: You're in the midwest aren't ya?
Jymmm: swamp east Missouri
JT-Shop: Eh, close enough =) They are looking for Mid-West Agents... http://www.shenhuilaser.com.cn/
motion.requested velocity - is that a spindle only thing or used for lots of stuff?
I use that for my plasma cutter
compare it to the actual velocity to determine if the THC should be enabled or not
JT-Shop: ALWAYS enable the THC!!!!!!!!!!!!!!!!!!!!!!!!!!
I'd avoid the THC while operating plasma equipment
oh, that THC, nevermind.
atmega: M e r r y C h r i s t m a s ! and WHICH THC would you avoid?
the good one
if you are in to that sort of thing.
atmega: Eh, some are and far better than DUI's imo. But it's more fun to joke about whenever JT-Shop mentions "THC"
I'd swap the illegality myself... though I don't consume either.
plasma is expensive and should be avoided
trying to get spindle motor encoder feedback working
how do i scale encoder velocity to rmp?
# Initialize the scale
# (This is used to scale the encoder pulse to RPM)
# (In my case, i have 4096 ppr so it is scaled by 60)
loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain 2457600
is in my hal file
plasma is cheaper than laser once the gases are calculated in cost
[17:06:08] <leo> http://pastebin.ca/2029031
thats my vfd hal file
need to know if I am right in scaling my encoder velocity
right now I do a m3s100 or m3s50 and the drive is saying 6800 rpm....
and merry christmas everyone
thank you for all the help to nthis linux/emc noob
who absolutely hates this curved microsoft keyboard
* Jymmm loves his keyboard... http://store.apple.com/us/product/MB110LL/A
leo: what are you doing with the encoder, scale, and sum2 components? seems they are not connected anywhere, and you don't need a separate encoder component if you are using the one on the hostmot2 card... you should draw a diagram of the pid loop you want
happy hoho everyone
elmo40: Merry Christmas!
Jymmm: you use a mac keyboard?
USB replacement of my IBM kybd
elmo40: I use a MAC too =)
Jymmm: now if I could just persuade/trick/beg Connor to write the delete php for me the recipe site will be complete
that would be a nice Christmas present... much better than the lump of coal
Jymmm: I added the Sides category for you
awallin - still here?
I don't exactly know what to do with those - what I have loads
just know it does not work correctly because I am probably not loading the scale right
explain how i diagram the pid
the encoder on the motor counts 4096 counts per rev
JT-Shop: is this your site? http://www.panix.com/~clay/cookbook/
i have determined that the closed loop spindle example on the wiki is useless to me
why is that?
how do i scale the encoder and tell it where the spindle encoder is for a mesa 5i20?
about 70% of the stuff won't work from the sample due to different hardware/ software requirements
JT-Shop: ah yes. I remember.
can't wait for the beer page to be complete :)
leo: is this a lathe or mill spindle your working on?
4 axis vmc
do you want to see my lathe spindle config?
20 hp ac vector
leo: nice mill! 20Hp??? DAMN
is it on a mesa board?
the big lathe is 50 HP dc
5i20 7i33 7i37 setup
and the gundrill has a 50hp high presssure pump
lets see it
leo: you just want to see the spindle part?
my spindle stuff I put in a separate halfile for now, may put it together once it works
seems odd to me that there is nothing on the spindle in the hm-2 servo sample configs folder
my lathe is +-10 for velocity input and encoder feedback to the 7i33
he might not have one
might be a couple of extra things in there as I have a spindle lock pin and a spindle brake
* JT-Shop goes back to tractor assembly
there are some signals not in mine right now jt shop - for instance spinle-speed-dac and spindle- brake-logic
boot|downstairs is now known as boot|sleep
boot|sleep is now known as boot|wank
do you have a spindle brake?
i can comment it out but don't understand why i need 2 scales for the spindle
I just copied that from rob and made it work on mine... I think there is some speed limit stuff that might not be needed
I can pastebin the whole hal file if it will help
want to understand what I have there when done
JT-Hardinge: ok, cool
JT-D510: JT-Shop jthornton: Ok, done.
Jymmm: that looks tasty
Jymmm: do you Emma Peel the potatoes?