Hmm, you should never wait that long to clean the coolant tank on the band saw... nasty stuff
how long is too long?
I don't remember it was so long ago
when I bought the band saw... about a year ago maybe
7075 sure does cut nice :)
[01:04:48] <skunkworks> http://imagebin.ca/img/nBzMhv9T.jpg
took a hike tonight
is it beautiful there too?
it is cool having a park in your back yard.
I love these nice late-summer days
granted we are way out of shape... And it is quite a hike but well worth it.
tomp is now known as tom3p
[01:17:54] <skunkworks> http://imagebin.ca/img/b0hZuG.jpg
above the high water mark for sure there
a few hundred feet
do any drivers use split rail psu?
how do you mean?
+36V & -36V, like a high quality audio amp
some AC servo drives do that internally, but they often take in AC directly and rectify it to get the +/- rails
I'm thinking for a bipolar stepper. it occured to me when I saw the full bridge in the L6219 chip and remembered a hifi nut telling me the MOD used his prefered kind of audio amp as a motor controller
most audio amps are linear and woefully inefficient (class A amps anyway), so although it might work (for smaller motors), it's probably not an ideal application
the balanced feed to the motors would keep RFI down, I'm thinking
ah, too much thinking, not enough soldering :) these L6219 chips will keep me going until I buy a damned driver board :)
* jymm gives SWPadnos the old AB amp punch =)
I have Pioneer and Onkyo, thank you very much
I have a big black sony A/B sitting doing nowt. idle psu.....
I'll wait until I blow a channel or two before I do that :)
SWPadnos: I like Onkyo gear
yeah, it's pretty good
I got a cheapo home theater system for upstairs, so my wife would stop complaining about not being able to hear the TV (and DVDs)
it turned out to be the Consumer Reports top pick for cheapo home-theater-in-a-box systems :)
Onkyo has been around for 60+ years, just low key for soem reason
stereo amps are old hat now then :)
they've had good gear for a long tim
grist for the mill
yeah, if you only have two channels, you're at least 6 short
stereo is enough for one bipolar motor tho %)
* jt-plasma listens to Eric Johnston's Cliffs of Dover
ah stoppit stoppit no you cant
you/d like to think that
yea it is
only immediate drawback is removing the DC offset filter on the input to get it down to 0Hz
the other issue would be clipping
a lot easier when the amp comes in a kit with schematics
any transistor amp has flat-topped clipping when you saturate it
my point being that for a motor, you want to fully saturate for short periods of time (chopping), you don't want to apply continuous power that's directly proportional to the input
well, it would be nice, but the losses are staggering for analog amps made for audio
hmm yeah, I hadn't thought of that :) the audio amp might smooth PWM better than a power chopper
this has to be tried, but not with my sony. I'll talk to the hifi nut about it again
say goodnight Gracie
good night Gracie
good night Gracie
(on WI public radio they play 'old time radio' every saturday and sunday night.. Sometimes they play the old burns and allen
I like that kind of serendipity, like when someone discovered a 4001 cmos chip is a good signal amplifier when tickled at the threshold
>>Cliffs of Dover
If you want to see some mind blowing guitar do a search on Youtube for Cliffs of Dover.. !
What are you guys using for CAM software with EMC2 ??
4.43am here :) momma, want some mind blowing guitar?
So either you are up early or up way too late.. ;-)
uuuhm. early yeah. I slept till 1am
On the nightshift ..? ;-)
we are currently writing it by hand but we are going to try and start using mastercam
I'm just planning on using blender scripts to generate g code
I wasn't aware such a beast existed?
blender exists. I profess to be a programmer
it's all x y & z
I know blender exists but something to do blender > g-code I haven't heard before
That explains the odd hours .. ;-)
Valen: Are you finding Mastercam to be sufficient friendly? I once tried it and it was very DOS like, and I would say user hostile.
dunno yet, My dad is looking at that side of things
He is trying mastercam X2
it seems fairly pointy clicky
The version I tried was well before X2.
blender's drawbacks are those that make it generally unfriendly for all engineering. it has no dimensioning and no concept of a primitive e.g. cylinder
it has got some new curve types recently, and physics sim
it's great fun making a brick arch bridge and loading it to destruction
simulating a milling pass through a mesh will involve heavy use of the existing intersect script
physics sim is cool
Its kinda sucky nobody has made engineering mods for it
detailed moddeling of any real world environment would be challenging without it
it has become a movie making tool thse days. it started life as a game asset modeller
even making games though
i dunno I did some 3d stuff a while ago for making the pretty pictures, I couldn't do it without dimensions lol
it has other annoyances in that respect, in that you have no direct access to the index of a vertex in a mesh, which is a pain when your engine makes assumptions
I have my own texture making tool, which I'll use as a basis for converting bump-maps to meshes to gcode etc, for routing 2.5D stuff
someone just needs to invent a file format that defines objects as materials with a list of operations done on them. then blender just needs to import and export them
Blender exports to STL
Meshalb gets you to and from Mesh and STL
STL looks like a pure surface facet format.
I'm thinking of something that preserves info like "this hole was bored with an 8mm drill"
"to such & such a tolerannce"
I think thats called an integrated cad/cam program
what about the format for HeeksCAD?
or the whole program :) that looks nice
'pon my soul. that's all my software sorted
MattyMatt : what are you working on?
I hope he doesn't use C++
I'm still crafting my mk1 routing table
[04:17:58] <L84Supper> http://code.google.com/p/heekscnc/
ah well. I'm learning to adapt to C++, as long as he doesn't use templates
I haven't tried the whole chain from HeeksCAD to CNC to EMC
it looks like I will as my very first cut
I can see some CNC machines coming from China using this approach
same for 3D printers or SLA
do they do 3d scanning too? that's the missing link
3d scan creates a point cloud
I'll try that with my table while I'm saving for motors for the gantry
you just need to convert the cloud to mesh or whatever
or a bump map, and the mesh can be made from that
point cloud is easier to remove noise from probably
there are lots of point cloud to mesh or wire frame conversion tools
yep I expected so
meshlab has it now
bump maps are important for my plan. they are easy to view and manipulate by laypeople (my family, a bunch of art students)
and I use them in my games, of course
I see cnc as becoming more consumer oriented in future. a plastic device that produces items from a catalog
"the replicator wheezed and rattled and produced...another replicator"
3D Object Converter is another one to look at
was that Clarke or Asimov? :)
it would be nice, unfortunately the monkeys running the derivative markets are trying to push us back to the stone age
well maybe not that far back
if everyone had cnc, the cost of electricity and scrap plastic would be raised to keep us all in poverty
it's an ago-old problem
aha. if I can nail a long pole to my wood, I can run it smoothly through my table saw without pausing to switch to push stick. that's leaving marks
I had visions of a sliding clamp, but KISS
3 axis mill for wood?
yep. made from wood
i might try some light metal dremeling too, but I'm aiming for art quality with the mk1
0.1mm accuracy will be plenty
does the tolerance change based on the temp and humidity of the room it's in?
natural wood or a composite?
I expect it will, but probably not enough for me to realign it every morning
some old natural wood, and some new ply
would pressure treating the wood with a polymer resin be cheating?
I'm not worried about cheating, I'm worried about cheap
I've got an old linear drive from ebay for the X axis.
I was just thinking about sealing the pores and gaps between the wood fibers so that it would be more stable over the deltas of temp and humidity
it'll get 3 coats of polyurethane
like all my woodwork :)
We are having difficulties with the Z axis of our mill
the ballscrew is "bent" and we were using that to run the linear scale
bad idea ;->
running the ballscrew in reverse?
this one has 10mm pitch. it seems to work just as well as a linear->rotary converter
nah we are using an optical linear scale to measure positon
problem is the scale reader is mounted to the ballnut
so its jumping up and down a fair bit
have to see how badly it affects things
the other axies have the scale mounted direct to the slide
I've seen some very strong and stable wood dust composites and some made from paper
is MDF more stable than ply?
I fail to see the appeal of MDF myself
I'm not sure of the resin : sawdust , so it may not qualify as "wood"
MDF is porous and not water resistant
marine ply seems to be the best commonly available stuff, but it won't absorb glue
I expect epoxy would stick if it's roughened up
sure or find out what polymer they use on the surface and find a suitable adhesive
ah my machine will live in the house, so once it's built it should settle in quite quickly
that's what they use in ordinary ply, so maybe marine ply is just more of it
Urea-formaldehyde resins are used for indoor plywood
yeah I'll have to look for a local source of marine ply
but for now, I'm chopping up a desk I made
[05:07:46] <L84Supper> http://www.gp.com/chemical/wood.html
that's nice to know if I ever go hi-tech, but I'll switch to steel by then
it's probably cheaper than wood, once you've tooled up
it would be interesting to see how accurate a wood table could be made
there's one in UK which uses melamine faces (genuine Formica I think) as the slides
I recall some audio gear co in the 80's claiming <0.001" tolerance on their enclosures
I need to rig a disc sander to get flat ends
3" beams on a 4" sanding disc is the best I can manage I think. not ideal
it's starting to sound like a Leonardo da Vinci machine
naah, it'll be quite neat
except these beams do stick out the front where the original plans had fresh air
a friend of mine made all the wood models for this exhibit http://www.msichicago.org/scrapbook/scrapbook_exhibits/leonardo/models/index.html
some of the gears were fun to cut
I thought the Romans had trip hammers
I might make a wooden clock, just for the fun of cutting gears
with a brass case, just to be perverse
aha the traffic is driving boldly. it'll soon be time to fire up the sawmill
I'll let the neighbours get to work first
maybe a steampunk mill run by EMC ... does GTK have a steampunk theme?
I can't do steampunk. the X motion looks too aluminium
is it actually aluminum?
yes, some unscratchable coating on it tho. I tried to scribe it when measuring the pitch
about 3 materials short of diamond for hardness
it's a lovely thing. slide and ballscrew combined in a dustproof unit
the slot has a spring steel cover, that must curve inside the slider
sure, ball screw linear actuator, I'm trying to sync a few up myself currently with EMC
with servos? I hoped this one would have an encoder but no
yeah servos, +- 2 micron repeatability
10mm pitch will be a mismatch with my Y axis 1.25. at least it's a multiple
bah, I'll probably save this actuator for the mk2. I'd need to gear it down with the motors I'm using
or I'll dual screw it with one motor. direct drive the allthread and slave drive the ballscrew
night time for me
Hello, is anyone there?
i'm getting there
* alex_joni was there, but came back
I've been there, but it was rubbish
ah, what larks
Matt Ireland has been triumphantly wanging knurled 1/8NPT plugs off of a 1/2" al bar. Thanks all who suggested keeping the part chute, i have seen the light.
anybody out there?
Im in there
hmmm bug in ubunto
wifi connect problem ,,, will connect but ,, if i connect ,,, later power machine down , power back up and try to reconnect it fails ,,, have to manulay power the router off and on before it will reconnect
only happens on the ubunto version same machine with eather suse or windows theres no problem
blame wifi, I use real wire
only happens in ubuntoo
real wire would be a slight problem as no free ports in router to plug the laptop into
cant see why it should only affect ubunto and not other linux distros ,,, but bug is reproducable every time
[10:26:05] <alex_joni> http://machinarium.net/demo/
<- cool one
glad I'm not on dial up any more that would have taken an hour to d/l :)
probably the wifi firmware isnt re-initalisasing after a warm boot or something and redoing the router triggers it to do stuff
Valen: but it is not a problem other than in ubunto,,, the same machine, wifi connection and conditions is not a problem under any other os other than the ubunto/emc one
what is that?
look if you just want to take the piss out of my spelling then stick your first attempt at it up your fucking ass ,, sad pethetic git
go on you piss off then not me
AchiestDragon, you fucking defensive "git", i was asking what ubunto was ... i even searched for it on google incase there was a ubuntu flavor named that ... but sure, get all your rage out at once and go fuck yourself .. please
damn that person should go to anger management :P
wonce biten 2 times shy wen they continue you just aotomaticaly fight back ,,, if that was not your reason then sorry ,, if it was then i have no mercy anymore
40 years of it it becomes automatic
one of the resons im on disabilaty now , just cant handle it
MarkusBec_away is now known as MarkusBec
"good thing you didn't mention anything about the dirty knife"
in irc guess the best would be a flying anvil screensaver
MarkusBec is now known as MarkusBec_away
MarkusBec_away is now known as MarkusBec
MarkusBec is now known as MarkusBec_away
MarkusBec_away is now known as MarkusBec
archivist: thanks for the photos of the show
AchiestDragon, well you shouldnt just take fight as soon as someone asks somehting .... there was no harm ment.
maybe not ,, but from my past experiences there usualy was
well you cant base your view of new people from old experiences
ive been very agressive against "spelling cops" before also .. but it usaly shows quite soon if they are bad people or not ... do not judge right away
as ive had a hard time both reading and writing
bore gauge calibrating standards are sure expensive ... wish I could think of something else I might already have that has a round hole with a known size
I'm wanting to calibrate my probe
when you see a stick , if youve been conditioned that there going to end up pokeing you with it , then you dont always see that the person with the stick is going to be any diferent ,, and dilsexia is not something that you can just get over eather
for centering I think if I probe a hole and turn the spindle 180 degrees and reprobe, I will know the amount it's off center (half the measured offset)
bore measuring has been done very accurately with air pressure
hm I could just ream a hole with a new reamer and be fairly confident
its been a pain here especially with tiny holes
yeah for this, any size is fine
AchiestDragon, still, dont judge people online directly ... my "spelling cop" thing as you took it was just a simple questions .. what is "ubunto" if its a new flavour of unbuntu like kbuntu or whatever they are named, or a fork or whatever
well over 10mm or so (probe is 6mm)
and you just jumped at my throught directly
MrSunshine: move on! move on!
10mm barn door, use digital vernier
archivist: you don't understand - I want a known round hole of a known size
depends on accuracy you want
you can't measure roundness with calipers
I want .0001 inch
dowel pins have known size but I think they are not particularly round
the 5 sided out of round is countered by a 3 point measuring tool
yep, which I don't have
rotating a single point probe is as good or bad as the spindle
[14:41:46] <cradek> http://precisionballs.com/CMM/CMM-7Page1.php
would be very nice, but more than I want to spend
and any old bore standard seems to be > $60
make one close enough by stealing from a new ball race
man i want money now so i can buy the motors and stuff i need for the mill =)
abou 1400 USD it will end up at at the end :P
tomp is now known as tom3p
that is the mill, milling bits, motors, driver, powersupply
SWPadnos_ is now known as SWPadnos
xemet's G5.2 G5.3 are not in Gcode guide, are they gone? (nurbs)... oh "The development version currently (6/20/2009) has the nurbs patch added."... nevermind
it's in there - doesn't seem to work fully right
i looked at the gcode of butterfly.. its a begin(G5.2)...list of poles... end of list(g5.3).
carves a line from beg to end with those 'attractors'. nice.
doesnt go thru the intermediates.
(edited the gcode so AXIS went back to the points & i could see the diff)
the explanatory pdf is a web page saying Move along, nothing to see here.. :-/
probing to nurb http://www.seer.ufu.br/index.php/cieng/article/viewFile/655/593
and 5axis motion control http://www.cadanda.com/V2No6_13.pdf
I should give that last link a challenge, make me an escape wheel
AchiestDragon: what I meant was something in ubuntu isn't prodding the firmware in the adaptor right to get it out of whatever mode its in.
see if there is an updated driver available if its running something like madwifi
check for backports etc if your still using 8.04
archivist: the stuff is from brigham young uni. good ideas about how to move fro visual design to cnc, but the most anti-union propaganda i ever read.
so, noone dead today?
what, pleople here dying ?
Hey, does somebody know where in axis I can catch the window destroy so that I can add a "Are you really sure ?" message ?
are you sure you want to destroy it? ;)
Because for the second time now I wanted to resize the windows and accidentally closed it :(
Are you sure you want to wipe your hdd ? :) I know I sound like an idiot, but things like that happen
MarkusBec is now known as MarkusBec_away
MarkusBec_away is now known as MarkusBec
maximilian_h: in ~/.axisrc you must add 'root_window.protocol("WM_DELETE_WINDOW", your_custom_function_at_exit)
maximilian_h: like this: http://www.pastebin.ca/1633156
why is it that emc needs a "realtime" kernel but mach3 runs on windows? :)
without any realtime midifications? :)
He's created/tweeked a VDM driver with higher than normal run level.
i dont get it realy :) what is needed of the OS to be able to run cnc software? :)
any OS can run CNC software
but different OSes will have different capabilities
and may require certain kinds of add-on hardware to do certain things
but why is the realtime thing needed then ? :)
lets say, if i set realtime priority to something in my OS all of the other stuff just halts ...
I don't have the time to explain it to you, but there's plenty of information on the web for you to read :)
then you can come back with more specific questions
dont know what to look for realy :)
it's trivial to write code that will run a CNC, and will be as realtime as you want, on any x86 processor before the Pentium (or Pentium 2)
but letting anything else run at the same time introduces significant difficulty
and having disk, betwork, or video driver support is pretty hard
but computers should be fast enough to handle all that at almost the same time imo :P
you clearly don't know all the parameters ;)
(neither do I, but I know enough to know that what I want and what's possible aren't the same thing)
'the computer can play high def video - surely it should be able to run a simple cnc...'
Hey Micges, thanks for your pointer
feels like that :P
I will try that tomorrow then
skunkworks, and thats while showing HD movie and doing other stuff by the side :P
MrSunshine: try this with mach... http://www.electronicsam.com/images/KandT/testing/pent4-26ghz1.png
just try playing an MP3 while Mach is running
* skunkworks_ points MrSunshine to the task bar..
skunkworks_, heh =)
actually, starting Mach while Winamp is running (but not playing anything) caused my system to get very whacky
all timers got totally screwed up - menus that would normally pop up in 2 seconds would take 10-20 seconds
I don't think I ever waited long enough for a tooltip to pop up
skunkworks_: you need more monitors/virtual desktops ;)
and I had to reboot after I managed to shut fown Mach, since something (I don't know what) was left screwed up)
anyone ever have a latency issue with a VIA vt8237r PATA driver? random latency jump to ~120uS from ~10uS anywhere from 10-300min.
say an OS like BeOS then, its superb in playing movies and sounds simultaniously
on a very old computer you could run 3d apps, movies, sounds etc and nothing lagged
micges: heh - yes. It acutally was a test to make sure there was no problems when ubuntu started using virtual memory.
google for "latency" and then come back and ask questions
while in windows it wold have lagged already at the start of the movie :P
QNX was always the real time champ
but it's expensive
yeah, unless you're embedding it into 50K devices
yep that's different
L84Supper: what makes you think it is a the pata driver?
skunkworks : I've been disabling hardware one by one
are you running ext3 or ext2?
(or something else)
using the emc 8.04 install as is
ok, so probably exy3
take a look at whether kjournald is causing problems
pretty sure we didn't change it
I switched one set of systems to ext2, which eliminated a problem that I saw was at least triggered by kjournald
yeah, will try to turn that off, I have noticed the jump at the same drive the drive chatters
it could have been the driver though, and we were using PATA, but with an Intel ICH7 chipset
tried two different cn700 C7 vt8237r boards, same problem
only using it to control two servos for position
the graphics libs in 8.04 are so old it was a lot of work to get openchrome working
gpu performance shot way up with no effect to the occasional latency jump
err - what did that mean? :)
you got better rendering with no impact on latency?
ah, ok :)
(I wasn't sure if GPU usage had shot up for some reason)
does your pata drive have dma active?
GLXgears (a bad benchmark I know) went from ~100 - 4000
yes, DMA is on
I can copy and move large files without an issue but then 10-50 min later when doing nothing it will jump to ~120uS
starting firefox and flash will make it jump from 8uS to 12uS
[18:09:57] <skunkworks_> http://www.youtube.com/watch?v=rYxd_urjS5s
skunkworks : how is that Harbor Freight Mill?
(I don't have one)
looks like a nice conversion... big servo motors... I would have expected higher speeds, but there could be leadscrew issues f the pitch is too fine
I agree it looks a little slow - I expected to see geckos, but it has pico pwm servo amps
i shall run emc from linux using vmware to run windows that uses vmware to run ubuntu/emc
just to do it
aye it is
but how many have done that in their lifetime ?
probably more than one =P
his screws are from cncfusion.com, i tried the 'deluxecncfusion.com' in his post then saw the missing space was needed
I'm just running two compumotor size 23 brushless servos ~10in-lb with some parker ball screw actuators
i wonder which ballscrew kit was used that gave .002" blash
120uS is about 12 microns of travel at the expected velocity
this is cool: http://www.roaring-design.no/wp-content/uploads/2009/09/egg1-600x401.jpg
Hi all. I am going to get EMC working in ArchLinux for AMD64 and i686 computers. I was wondering if anybody was interested and if there is anything I need to know, besides building the package and patching the kernel
it's not terribly simple to do, but you more or less have the process right
right. Just curious about any licensing issues or anything
patch kernel with RTAI, select the right RTAI options (not always so easy), build ADEOS enabled kernel package, build RTAI package for that kernel, build EMC2 package for that RTAI/kernel, done :)
no, it's all GPL2 or LGPL2, AFAIK
if you'd like to maintain packages for Arch, we'll be happy to host them on linuxcnc.org as well
yeah i was considering contributing to the project
:) Be back in a minute
if you want to do SMP or 64-bit builds, you may also want to take a look at the .config files for the kernels at http://www.linuxcnc.org/experimental/
SWPandos : he's in disrto building mode
turned off journaling, jitter down to 90uS, ubuntu hangs, reboot, FS corrupted, moving to Arch...
you have done the normal stuff? not using on-board video? Usb memory sticks sometimes cause problems.. Smi?
jesus tittiefucking christ, its so boring checking a BOM
L84Supper, I suppose I should have mentioned that I set that system to mounr / read-only
I am setting up a joypad as a pendant. What do you think of the idea of using the buttons that are built into the analogue joysticks to multiply the jog speed by a factor?
In other news, my 7mA mains filter also trips the (30mA) RCD. So I think I will give up on them.
buttons for up/down are OK, using an analog joystick input as the actual override value is a no-no
oh - here I was thinking you were talking about FO or something
[20:56:31] <skunkworks_> http://www.practicalmachinist.com/vb/showthread.php?t=186785&highlight=emc2
I'm not sure you can do that for jog speed - I don't think there are any "hi/lo" HAL inputs to the motion controller/GUI
I was thinking about using a system of multipliers in HAL to set the final jog speed.
(This is assuming that you can do analogue jogging)
if you're talking about using a jog wheel, then you can do that
if you're talking about having buttons (like the keyboard) to jog, then I don't think so
No, I am talking about an analogue joystick.
ah, ok. I think there is an analog jog input to halui now
or at least a sample HAL setup of how to accomplish the equivalent
I was thinking about having the default jog very slow with the joystick, and then a seperate accellerator button.
a thing you hold down (with the other hand) to go fast instead of the default slow speed sounds good to me
That's the idea, but then I noticed that there is a button built in to each joystick (push down fairly hard) and thought about using that as the accellerator
if you push the same thing that you jog with, I wouldn't
but try it and see if you like it - you'll know if it feels controllable or not
I am fairly sure you could spoof it with linking a button for each axis jog, and then an analogue value linked to the jog-speed slider.
I don't think there is any danger of pressing the button aspect by accident, it is pretty stiff. I suspect that most people don't realise that button is even there.
I am then thinking of having spindle speed up-down on the digital joybuttons, so that just leaves the other 10 buttons to find uses for.
Unless you are an accomplished C programmer you will end up with an open loop system. ... Emc2 has the ability to work in true closed loop but the setup process is anything but trivial. C programming experience is necessary if you want anything more than a default configuration.
(what a bunch of hooey)
I also liked the part about Mach being designed to work with a wide variety of hardware interfaces
whereas you need a PhD to get EMC to work with anything at all
Where are you reading this guff from?
the link skunkworks posted
Yeah, I got EMC working. Oh, wait :-)
yah - you have to be a c programmer.
"Mach continues to be stepper based because that is what customers want."
I can only assume that he is enough of not-a-c-programmer to think that HAL == C
SWPandos : yes it was set to RO
tomp is now known as tom3p
hello, need some info about emcmodule.cc
gtom_: This is probably the right place, but a lot of people only pop in here to check stuff every hour or so.
ok, will post my question here...
i wrote a freepascal GUI interface for emc
its running, i can communicate with emc, jog axes, read the position etc...
gtom_: #emc-devel might be a better place
my work is on the way... :-9
* alex_joni waits for the question ;)
well, in emcmodule.cc there is a py interf calling >status.motion.axis[i].input
& the same for output...
what is the motion input&output???
good question ;)
means you dont know it???
not by heart.. lookig it up now
will get another coffee...
double input; // current input position
[21:41:06] <alex_joni> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/nml_intf/emc_nml.hh;h=52b75bf642448dc8d94c02ab303b33f0612b101d;hb=HEAD#l471
status.motion.axis[i] is a class of type EMC_AXIS_STAT, part of MOTION_STAT, part of EMC_STAT
and input, output are some fields.. where the description is not _that_ clear what it means
was looking for the code where axis generates the preview...
but you can see in src/emc/task/taskintf.cc where it gets updated with data from motion
[21:43:47] <alex_joni> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/task/taskintf.cc;h=1806414d12030be1a9007cd2935a7aefca716af3;hb=HEAD#l574
you'll see that input is stat[axis].input = joint->pos_fb
and output = pos_cmd
pos_fb = position feedback (e.g. where the joint really is right now)
and pos_cmd = position command (where emc2 commanded the joint to be)
gtom_: the preview is generated by AXIS using the internal (linked) interpreter
ok, i'll take a look
that is something you can't connect to through NML
it's basicly a file with stubs for CANON commands
has to be implemented using another "c" interface???
it works like this usually: task gets a command to open a file
it opens it and reads a line
the line gets sent to interpreter which converts it to canonical commands
the canonical commands are then called from emccanon.cc
those then get transformed to commands that get to task
and from there to motion or IO
in AXIS's case, there is another interpreter which reads the file
and the canonical commands get back to AXIS which draws the preview accordingly
thank you i understand that now..
say you have a G1 in the file, instead of converting that to a linear_motion that gets to the motion controller, it gets converted to a call to AXIS that draws a line
maybe you can use the sai for this purpose too
sai = stand alone interpreter
but this ist depending on the machine state, isnt ist??
sai = stand alone interpreterwell.. interpreting a file is not really dependent on machine state
but the output???
programs = auto
sorry.. which output do you means?
the machine-position, offsets etc...
these are kept internally by the canonical interface
so the interpreter that AXIS links always knows where the tooltip will be when reaching a certain line
so i need a 2nd interpreter, pass a file to this interpreter and catch the output... ?
soemthing like that
best would be to /join #emc-devel
and maybe wait for jepler's input
he did write this for AXIS, so maybe he has some advice how to do it 'right'
yea.. will do that later, first i want to get the pascal stuff working...
would be easier to pick up an existing interface..
thats what i made... :-)
like the python interface.. I'm sure there are easy-to-use python toolkits out there
i like the delphi stuff... :-)
98uS latency with ubuntu 8.04 and ext2
thanks, bye... girlfrend is calling... :-)
gtom_: see you
That seems high
andypugh: SMI is msec
98uS is getting close to msec
Well, not that close
My SMI issue was giving 200,000nS
Every 64 secodns
So mine was only twice his.
(I think, it's late)
right.. same here
It has been a while, but if L84Supper is seeing 98,000 on the screen in the latency test every minute or so, I would try the SMI patch.
usually steady around 12uS, then anywhere from 5 min to 9 hrs it jumps to >100uS
that's the odd part it's entirely random
L84Supper: sometimes it helps to stress the system, see when it happens
maybe a cooler turning on
(try switching all 'smart' things off from the BIOS)
like temp-related cooler speeds & such
Have you tried the SMP kernel? I went from 25uS to 2.5uS by doing that and giving RTAI a core of its own to play with. But I still had 200,000 every 64 seconds till I put the smi patch in.
andypugh: got a scope?
a real one I mean..
Yes, but I found it in a skip...
I have a coreboot image for this c7+cn700 board I may try to be certain of no SMI, everything in factory BIOS is off, I even tried disabling network, USB emulation etc one by one
doesn't matter.. I'd be interested to see how steady the parport output would be when using < 10 usec BASE_PERIOD
Why do you ask?
one of those days when you have too much time to spare
apm and acpi is also off
Ah, I can't actually run 2.5uS base period.
a couple years ago I ran an emc2 at 6uS base period
one core only, but I had no hardware on it.. so I'm not sure how much jitter there was
maybe it was 6.5 usec
I run 25uS as otherwise I get "Unexpected realtime delays"
I can actually run 13uS but don't seem to gain anything other than flakiness.
I can stress the system at 100% for several minutes without a problem, then when at idle suddenly 125us
in that case.. latency-test should give you 13 :P
2.5uS latecy + 1.5uS step + 1.5uS space + 5uS Hold.....
step length and step space are given in base periods
if you're not double stepping
well.. given in ns, but rounded to base periods
I know you can set step/space/hold to be multiple periods, but haven't bothered to edit the stepconf-created file
I'm only going to run two servos off the EPP 7i43, 120uS is about 12 microns of travel at the expected velocity
Yeah, I was going to say that you can probably afford a missed step every 5 minutes
But was scared of being branded a heretic
[22:13:18] <skunkworks_> http://www.practicalmachinist.com/vb/showpost.php?p=1217097&postcount=25
we should have the emc2 ARCH support later tonight or tomorrow
boy - I ramble
Is it possible that the latency test isn't too smart where a SMP systems are concerned?
for servos and 7i43 you'll be probably fine
L84Supper: you won't have a base thread running that fast for a servo machine
only the motion controller at the servo update rate
so 100us might still be "acceptable" for that
ok, what I was assuming
skunkworks_: like the thread title
the RTAI kernel in 8.04 is a bit old and VIA tends to be really behind on patches
alex_joni: scary huh? ;)
has anyone looked at qt for EMC2?
this is amusing: "I was under the impression that Mach was first developed by Canada's goverment or the first 80% and released to the public...then finished by Artsoft...so emc may share the same core but did not actually write it"
I am finding the linuxcnc wiki a little too informative. There are at least 4 pages telling you how to jog with a joypad, all slightly different. I suspect that most of them are superceded, but I am not sure how to tell which...
andypugh: there should be one which uses halui and jog vel
Yeah, spoofing it with sim-encoder is not required any more?
That was the one I was just about to read
(bottom of the pages you can see the dates too)
that helps sometimes
the link I posted is feb 2009
the sim-encoder one is 2007
Would it make sense to purge the outmoded pages?
Or is that not the Wiki-Way?
not sure purge..
maybe add a note ontop to suggest using another more 'recent' way to do it
Maybe add a link to the latest at the top..
off to bed for me.. 2am coming up
andypugh: feel free to do it the wiki way (e.g. fix something that doesn't feel right..)
MarkusBec is now known as MarkusBec_away
Does anybody know what kernels won't work with the RTAI patches?
I know 2.6.24 and 2.6.10 work fine