got everything to fit then
skunkworks: yes, I think so
at_pid doesn't give useful results
P=101 I=5300 D=.48 and it oscillates badly
I thought it kinda got me close when I was paying - but I didn't really have it hooked to anything
is the pid output generally scaled so that 1 = 1 unit/second?
(I guess it's the pwmgen scale to change for that)
for your amp - I would scale it to full scale voltage
You mean 1 = 100% duty cycle?
I was thinking 24=100% (if your supply is 24v) (also if I am making sense)
so 1 = 1V?
3 or 5 V/vert division ( 3 would be nice and big )
jepler, I think the scale should be in units/sec or units or units/sec^2 ...
hey, does anyone have the large shipyard machine shop pictures link from yesterday
toastyde1th is now known as toastydeath
for which trace?
tom3p, I was referring to PWM scaling
the problem with pretending I can set 1 = 1 in/sec is that it's a simple pwm servo amp, not velocity mode..
you send a 1 to PWMGen when you want 1 unit/sec or whatever
yeah, that is a problem
so, really, you can't set that scale
it's non-linear, which is pandemonium for PID
the problem is that the PWM duty cycle is more or less directly translated to voltage across the motor
(except around zero, where even that's non-linear)
but voltage across a DC motor is composed of two parts, back EMF and IR drop
That is why I was thinking voltage.
so you have 1 variable and 2 unknowns
I guess in this case it doesn't matter what the scale is, except that some value might sometimes make the numbers you observe with halscope more understandable
luckily I know that this kind of system is tunable, otherwise I might be disheartened at this point
did the encoders on the pittmans have an index pulse?
I think jepler said they didn't
Is 32bit XP truely a waste on a dual core box?
jepler: you may need to speed up the servo thread especially if you are trying to tune the motors with
no added inertial load (bare motors)
I think jepler has it hooked to the machine
(1 KHz is probably fairly hopeless for small servos, no phase margin)
Having tuned systems with little Pittman motors with the 7I30 and SoftDMC
I would suggest a 4 KHz or higher sample rate. 1 KHz if fine for velocity mode
amplifiers, as the amplifier handles the high frequency (KD) portion of the loop,
but in this case EMCs PID loop has to do it
yes, the motor is hooked to the machine
* jepler reads back
1kHz servo thread
actually the tuning seems fairly decent seeing as I am new at the whole practice
I've gotten it to 200uinch error during rapids
with a short spike to 500uinch
10kHz allows me to see the following error as ripples rather than as noise
how did the drilling/reaming of the timing gears turn out? is that the ripple?
I don't think so, that's nothing like 1 revolution
I have a question, I found a timing belt/pulley set on ebay. Wondering if it's worth what they ask.
[01:21:48] <MarkPictor> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=150333407148
[01:21:53] <jepler> http://emergent.unpy.net/files/sandbox/zenbot-semituned.png
MarkPictor: have you priced comparable belts on mcmaster.com? I recently got some timing belts and pulleys from there -- smaller than those, however.
12 tooth, 28 tooth, 4.4"x1.4" belt (.080" tooth pitch) was about $20
I wasn't really sure what size to look for in mcmaster. What I looked at was $$$
the ebay guy says 4000 oz/in torque on the larger pulley which seemed more than adequate
MarkPictor: I have a link to a place that specialises in timing belts and pulleys, gimme a sec to find it
no, SDP is expensive
[01:26:15] <jmkasunich> http://www.econobelt.com/
looks like you pay a metric penalty at mcmaster, too
SDP/SI claim that trapezoidal belts aren't good for precision, gotta use belts with round teeth. know anything about that?
is that ebay combo known to be the size you need, or just "something close"
do you require specific pulley bores to match an existing part like a motor shaft?
jmk: thanks, will look at link
(I don't see it specified in the auction)
ebay is something close, I will turn the bores
[01:27:40] <jmkasunich> http://www.econobelt.com/e-store/Pulleys.htm
MarkPictor: you emailed me about the h-bridge.. I have never really got the BOM for the whole thing.. (it was a lot of what I had and ebay discounts)
T5 pulley with 60 teeth and a 0.5" bore is $20.88 each
my problem is, I need the mill to be cnc so I can shape the motor mounts
T5 with 20 teeth, 0.25" bore, $8.62
that's where having a friend with working cnc comes in
so IMO. the ebay isn't a deal
so I'll put motors on acme, with simple mounts, then make the mounts with bearing holes,
especially since econobelt will let you pick exactly what you want
Thanks guys, those prices seem much better.
MarkPictor: and yes - milling the board manually would be impossible.. ;)
they also have many different types, so you don't have to use T5
looks like they beat mcmaster on comparable pulleys to the ones I got as well
ah, well, live and learn
jepler: if I'd know you were looking....
What width/pitch do you think would be good for a bench mill?
that depends mostly on torque
jepler: what kind of accel/vel are you atm?
[01:31:25] <MarkPictor> http://mpictor.googlepages.com/thebenchmill
I have a pdf from gates that tells you how to figure out belt sizing
jmkasunich: cool could you mail me mpictor at gmail dotcom
skunkworks: 1.3 in/sec, 18 in/sec^2 -- conservative
MarkPictor: gotta find it first
ISTR it is pretty big, might be simpler to download it from gates website (gotta find it there too tho)
jepler: what was the acc of your steppers?
found it, only 3.1M
heh. just found pics of an ancient POS I made, you'll get a laugh. http://imagebin.org/53272
skunkworks: 1.5 and 30 or something like that
we all start somewhere
builds charactor? ;)
you set to 1 amp?
gave up on it at that point, so I don't even know if the stepper (from an apple imagewriter printer) would move it. If it would, just barely
the screws are 1/4 fine thread, and the bearings on them are from an atari 5 1/4 floppy :-)
Another question. I have an old golf-cart charger I'm thinking of using as my power transformer. It has a ferroresonant winding.
Will that winding cause noise? I assume that disconnecting the capacitor wouldn't be good, the winding could create high voltages.
So should I just cut that winding off?
skunkworks: no, it's set to 3 amp now. more pics: http://emergent.unpy.net/index.cgi/01245634880
MarkPictor is now known as MarkPictor-away
MarkPictor-away: don't fsck with a ferro-resonant transformer - use it as designed only
jepler: that looks great!
yeah, everything fits together right
it's a minor miracle I didn't have any important dimensions wrong
leadscrew into coupling, coupling onto dowel, dowel into bearing? so the bearing handles the thrust?
oh, before the motor bearings took the thrust?
the steppers, yes
the servos were hopeless in that regard
got it - you basically made a "motor", with a shaft and bearing that looks like the old stepper
yes, and mount
jepler: not a miracle - it was done with great care and planning. good job on the design.
"not possible to stop it" sounds like plenty of power - that's nice.
although that means you might want full limit switches...
If I said "not possible" it was a case of hyperbole. I don't doubt it's stoppable
it may be able to tear out those delrin nuts - they will be the things that give first
ugh, I bet you're right
set your ferrors as low as possible...
woo-hoo - just finished the last of the 54 intake manifolds
a bit of good luck that you found a bearing/dowel combo that gave a good press fit
I have a bunch of these bearings. it works great.
is there much play in the bearing?
probably a bit less after you force a pin in (expands the inner race)
seems like close to none
yes and the outer is a press fit too, of course
I was really happy with how it came out.
on the other hand, 50% of the bearings have been ruined after the pressing..
(1 of 2)
it may have been bad to start with - hard to say
jepler: whats the screw pitch? ( with 500 line encoder & 12:28 belt gearing ) I was wondering what 1 feedback unit was in linear motion of the axis.
tom3p: the screw is 16 tpi. INPUT_SCALE=74666.66
darnit, I can't believe I let that motor mount leave here twice without being deburred :-/
some machinist I am
always play with the result... if it feels bad, you aint done (if you bleed on it, it rusts ;)
hmm, they all split... did i think this right? the motor turns 28/12 times per leadscrew rev, so there's (500*4)*(28/12) encoder counts per leadscrew rev? with 0.0625" pitch (1/16), that's 0.000013393" travel per count?
maybe the gearing was for torque, becuz 1:1 would get 0.0625"/2000counts = 0.00003125"/count least detectable unit ( damn fine already )
and its goodnite from me ( the 2 ronnies :)
jepler you there?
i am trying to replicate http://axis.unpy.net/01198594294
bit confused about pinnumbers
also i wonder about the low baudrate.. wouldnt it be better to use something like 115200 instead of 9600 to gain atleast a bit of latency?
micges1 is now known as micges_plasma
[Global Notice] Hi all, I'm going to restart services -- you'll be without NickServ, ChanServ, MemoServ etc for a few moments! Sorry for the inconvenience and thank you for using freenode.
_Poincare is now known as Poincare
jepler: very nice!
jepler: You think they are a good match?
skunkworks_: everything seems promising
skunkworks_: I feel like I won't really know until I cut with it
jepler: with the time that you played with it - did the servos get warm?
skunkworks_: I didn't remember to check until after the motor had been stationary for a few minutes. but, no, it didn't feel warm.
Great! I think you are going to have fun :)
when is cradek going to make you the rest of the zenbot in aluminum? ;)
I don't think it's quite that simple
for instance, you'd want to add bushings between the carriage and the rails if they were both metal -- but there's not enough room
ah - understood
oh, I should mention: that terrible "honking" sound the zenbot would make during rapids? apparently gone with servos, or at least greatly reduced at the speeds I'm trying.
must have been stepper honk :)
I wish I'd saved the screenshot where I said I could see distinct variations in the following error when running the servo thread at 10kHz. I think the variations are in the right neighborhood to be one cycle per belt tooth. (1.4 inch/second) * (16 revolution/inch) * (28/revolution) = 627.2 Hz
cradek_ is now known as cradek
excuse for fft on the following error should show exact frequency
yeah that'd be pretty neet
somebody needs to get all excited and write halscope2
actually would be very sensible to add fft for diagnosis of gear train error
how many teeth are engaged on the smaller pulley?
also needs averaging over a number of cycles to get best SNR
that seems like it should be ebough for the belt to be smooth
Fast Fourier Transform
wikipedia probably has a decent article if you're not familiar with it
skunkworks_: it shows you all the frequencies that make up the signal, and the "amount" of each frequency
used in digital spectrum analysers
if I understand cradek's pulley length calulation correctly, the number of teeth engaged are 14.4 (big pulley) and 5.8 (small pulley)
jepler: have you noticed if the belt want to ride up on either pully? (either too tight or too loose)?
I bet modern CPUs can do FFTs pretty quickly
in jepler's case, there'd probably be a nice spike at the belt-tooth frequency
there shouldn't be, unless the pulleys aren't parallel or something
(As the belt is engauging
oh - or not tight
SWPadnos, last time I actually implemented on was on a commodore pet
AT&T 6300 for me, so a little more recently
archivist: ugh, that sounds like "come back after dinner" to me
not a lot
one thing that will be unfortunate about this design is that you can't change the belt tension without removing the whole servo assembly
the adjustment is inaccessible
hmmm. that is annoying
hm, I suppose I just need to have cradek put some holes in the plastic frame in the right spots..
oh come on - you can do that with a hand drill :)
(needs slots) ;)
hmmm. not a bad deal. $610 for a complete quad-core PC, including monitor, mouse, and keyboard
bigger drill bit
hammer and chisel
SWPadnos, you selling those pc's
no, NewEgg is :)
if you buy the right parts
you got the link
no, it's a list of parts :)
I can list them for you if you like
my kid are bugging me to come out of the dark ages
I did get $17.50 in coupon discounts because I'm on their mailing list
that would be cool thanks
this is replacing a Windows 95 machine for my sister
she's in the dark too
wfw 3.11 for the light
[13:30:22] <SWPadnos> http://pastebin.ca/1469843
shipped price will be $627.55 for you, there are $35 in rebates
oh, shipping might be a little different
and the monitor doubles as an HDTV (no tuner, but has speakers)
hey hey everybody
coming at you live from my emc box
with a functioning linear scale
through a 7i40 driver card and a 5i23 controller card
now i've got the adjustment on the scale right so its mm are actual mm
I'm just wondering how to zero the DRO readout in axis?
or home it
not sure if you're making just a readout or actually controlling an axis?
just the readout at this stage
then either answer is fine
we have some scales (only) on the lathe, and we want to use them to do the lathing to make the stuff for the ballscrews on the mill
I think i have to set some rather large following errors for this to work ;->
once the mill is working, we will use it to make the stuff to CnC the lathe ;->
just don't turn emc to "machine on", and it doesn't care how far you turn a handwheel
true, but you can't home or touch off with machine off
it wont let you touch off in that state though
emc is not really a very good dro :-/
only needs to do a few dozen cuts
big ferror will work fine :-)
I'll look into the pyvcp way later
this pool is still way too big lol
I was adjusting the scale in 5i23.ini but it seemed to have no effect, the scale in the hm-servo.hal file seemed to override it
where would i set the ferror?
Valen_emc: do you mean OUTPUT_SCALE? Presumably 1.0 should be changed to [AXIS_0]OUTPUT_SCALE in the line setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale 1.0
Valen_emc: [AXIS_#]FERROR and MIN_FERROR
just set them both to big values
does reload reload the config such that i can do that rather than restarting axis/emc?
no, that's one you have to restart for
reload is only gcode
it wont let me touch off without homing
inifile items that are *only* used to set pins and parameters in hal can be changed by issuing a 'halcmd setp' manually. Everything else requires a restart
Valen_emc: there's an infile flag to change that behavior, it should be documented..
and there is nothing for it to home to at this stage
[14:21:00] <jepler> http://www.linuxcnc.org/docview/html/config_ini_config.html#sub:[TRAJ]-section
[TRAJ]NO_FORCE_HOMING = 1
ahh that did the trick
dad is going to be rather happy with all the progress thanks guys
(its his lathe/mill thats getting the CnC goodness
hmm that may explain it
in my 5i23.ini [AXIS_0] i have the line INPUT_SCALE = 1000 which according to http://www.linuxcnc.org/docview/html/config_ini_config.html#sub:[AXIS]-section
isn't sposed to be there as far as i can tell
(the file is a sample file i have just modified the scale and now the homing in)
is there a purpose behind the scale in the ini file or is that an oops?
INPUT_SCALE is described in 126.96.36.199 for servo machines
scale has traditionally been in the ini file
it only has an effect if your hal files use it, though
yes, there is that
so it can be set there then overriden in hal?
I'm trying to look at the reset/index line from this scale, I was looking with scope but not getting much would meter be better?
aha, in 2.3.1 the hm2-servo.hal file doesn't use INPUT_SCALE.
no it seems to have a set value
so it seems odd to have it in the ini file as well
yeah, it was a mistake and will be fixed in 2.3.2 for both INPUT_SCALE and OUTPUT_SCALE
it should be set in the hal file, but read from the ini file (in the hal file)
hal will use the ini or it wont be in the ini file to start with?
or you can just set it in the hal file, it really doesn't matter
read ll about it :)
[14:37:33] <jepler> http://git.linuxcnc.org/gitweb?p=emc2.git;a=commitdiff;h=7c08831c1e977b45451abb6e18cf5b385a761862 http://git.linuxcnc.org/gitweb?p=emc2.git;a=commitdiff;h=840bf51bcc901d62cafac6f3ac992cb31c53dec0
^^ shows how you could make the changes yourself
you can use a certain syntax to look things up from the ini file instead of hard-coding the numbers in the hal file
i'll get there, first I'm just playing in the shalow end of the pool lol
documentation is your SCUBA gear
i am open water certefied for scuba, it was way simpler than this lol
kcummins1 is now known as kcummins
the only thing that can go wrong with scuba is you die
SWPadnos: it's bulky, and doesn't save you from getting the bends or making deadly mistakes?
I dreamed last night that I discovered a whole new family of jokes in which the punchline was "it's a dog!" Unfortunately, I can't remember the rest of the joke.
only done it once, but it's way cool
SCUBA? It's a DOG!!! Hahahahahaha....
i just hope i dont make a mistake like that guy who made that really nice probing tip for his lathe or some such and was videoing it only to have it work perfectly then crush it into the chuck like a bug when it was finished
scuba induces less motion sickness than flying did
(i'm a student pilot as well)
it sounds like you already have too many hobbies to let you really get into cnc
* kcummins got open water, drysuit (handy when diving in a quarry in PA), Nitrox, deep, and wreck certifications...
heh theres an interesting thing that i just realised
its a 5 day course to scuba for open water
its also a 5 day course for student pilot
Besides training, I dove once, to a wreck of the NJ shore... :P
if you pay a bit more $ you could solo in that first week
the U-boat? :)
No, a USCG ship, I think...
is it true what they say about nitrox making you cold?
we just went for a day off Grand Turk Island
anything should make you cold due to adiabatic decompression
or expansion or something
kcummins1 is now known as kcummins
the heat energy in that shouldn't be more than for standard air
no, but as you let the mix out, it gets colder
like compressed air cans
yeah but a dive master i was speaking to said that enriched air makes you feel colder than standard air
which seemed odd, he only mentioned it in passing though
Don't remember that....
nitrox is normal air with added oxygen
Nitrox. Higher O2 content.
I wonder if you just use less due to the higher oxygen content
you *can* use less air and its better for decompression
Bends is nitrogen bubbles. Nitrox has less nitrogen. Ergo, less bubbles...
the thing they told us was that it will be very dry, so drink lots of water (before and after the dive :) )
the divers at the place i was at were using it so they could fly home
eek. there should still be a 48-hour wait, no?
I used it to make deep diving easier...
so kcummins did you notice a temperature difference between nitrox and normal air?
Not that I can recall. I was damned cold all the time (the only wetsuit diving I did was training and certification for my open water). PA quarries have very, *very* cold water...
SWPadnos, there are tables that tell you details for all that kind of stuff, If your a "hardcore diver" they do weekend dive trips that are either a flight or a drive over a mountain on the way
so why you diving quarries so much?
Hardcore diving = cave diving...
yeah -no need here since I'm a softcore diver
hardocre = altitude cave diving ;-P
you were diving caves in the quarry?
I *was* diving quarries. I lived in NYC, and the group I was with was out of Bethlehem...
there much to see in a quarrie?
[14:52:11] <kcummins> http://dutchsprings.com/
But the Aqua Park is new... We usually camped...
heh where we did our training the next beach around was a nudist beach
there was plenty to see there
Sunken cars, a few boats, a Sikorsky suspended mid-water...
the instructors freaked because they lost a pair
bigass quarry lol
now to try the SMP kernel i thinks
thats more familiar territory
There's no mention on the site, but there's supposedly a motorcycle down there. It gets around as the staff enjoys moving it...
lol should make an electric one an "ride" it down there
and have mention of the "ghost rider" haha
* kcummins wanders off to do real work...
Dallur: hows the boat coming along?
jepler: are these the series pullys you used? http://www.mcmaster.com/#mxl-timing-belt-pulleys/=2fg4lt
skunkworks_: 1375K32 and 1375K47
good evening at all.One questions about spi bus of mesa.I have the .bit file for use the M7i46 card with m5i20 card.please there is the example of hal file for spi configuration?
I don't think so
SPI is very hard to use in its current form, and the configuration will be very device-specific (the device you connect via SPI, that is)
yes i knows the actual dvelopment for spi bus is Seb.
but i don't see now on list
i use in this moment 2 card m5i20 for maschine with more io
you mean here? no, he's not here at the moment
and thing the spi bus a good solution for compòex maschine
it sure could be
the SPI function in the FPGA works, and I think you can send and receive raw data with it
but there is no mapping of what that raw data means (analog values, digital I/Os ...)
i don't know the dveveloping fuction, but i thing it is the realtime comunication
it can be, the clock rae is programmable
for a 1ms servo thread, you can get a lot of data using a few MHz clock
one question for realtime.I have install emc on a dell computer with on board grafic card.sometimes emc display the exesive time overload for realtime.is possible can the internat video card the problem ?
it could be
some network controllers also seem to be a problem
i thing the internal video card, use the ram memory for grafics memory.what is the good card on pci express for linux ubuntu 8.04 lts?
oh, I don't know what to recommend :)
ok i read on some forum the nvidia chipset is more compatible with linux.
the nvidia drivers on linux are pretty stable.
the nvidia drivers are problematic for realtime though
then again, very recent drivers seem to be OK (I don't know when that change happened)
SWPadnos: which video card you use?
um - I use several types of video card, but I have no actual machines to control
* archivist has on board in one box
yep. I've had very good luck with a couple of onboard video chipsets
but the best success was when I disabled the graphical boot and used the unit as a headless controller
using ssh -X ?
no, it's a "no-UI" application, HAL only
communication is via modbus and hardware only :)
BJT-Work: really well, i'll probably be done with all carbon steel work in about two weeks
cool, got any pics?
BJT-Work: then it's stainless components
[17:17:40] <Dallur> http://dallur.com/index.php?id=44&tx_lzgallery_pi1[showUid]=8
I'd rather weld stainless
just hit the next button for more
BJT-Work: TIG IS nicer but it would take a long long time to weld 1/2 mile with TIG and tons of filler
I MIG stainless too with my Miller Passport welder
very little splatter with that one
BJT-Work: is it pulsed mig or ?
not sure but you can not use a spool gun with it...
[17:21:01] <BJT-Work> http://www.millerwelds.com/products/mig/millermatic_passport_plus/
ha, the new ones have a spool gun
I run it on straight co2
BJT-Work: I always use 80/20 argon/co2
I have to use that on my other miller for steel but the passport works better with straight co2
BJT-Work: should be hotter that way
the boat is looking nice :)
BJT-Work: thanks, hopefully I'll make it and finish this summer
* BJT-Work needs to get back to work
talk to you later
BJT-Work: if you're using only CO2, then it's certainly not pulsed. pulsed doesn't work above 20% CO2
also as a rule of thumb, if it wasn't more than 5k$ then it isn't pulsed :)
alex_joni: I didn't have a clue about it other than it welds nice with almost no splatter on co2
Building dependency tree
Reading state information... Done
E: Couldn't find package emc2-sim
Where's emc2-sim from emc2-install-sim.sh?
where is emc2-install-sim.sh from?
from that script
oh yeah, now I see it
alex_joni: i've run that script for pure-simulator installation
a: did you have any other emc2 install on that machine?
the script checks if there are emc references in the sources.list first
oh... I wanted to use simulator in kubuntu9.04, now I seee I will compile it from source and use LiveCD on other computers
it's new kubuntu9.04
it should work
version 2.3 doesn't build on 9.04 anyway
but yeah, that
the script has an error
...and it claums for "<2.6." python modules....
echo "deb http://www.linuxcnc.org/hardy
hardy base emc2.3"
that should be emc2.3-sim
SWPadnos: true enough -- fix it for us?
yup it should
jepler: even with compiled python-2.5 ???
so it adds the correct src repo but not the correct binary
a: I don't recall all the details; all I know is that there are a number of 9.04-specific fixes in the development version that are not in 2.3.
SWPadnos: So, all I need in new ubuntu8.04 is this line: deb http://www.linuxcnc.org/hardy
hardy base emc2.3 then "sudo apt-get emc2-sim"? Right?
ok, the script is fixed
all you need to do is add "-sim" to the line that doesn't have it
you should see two emc2-related lines, and only one is correct :)
yeah but I have my doubts that the 8.04 package will do anything other than **** up your 9.04 install if you try to do it
jepler: I see I need python 2.5 or 2.6, not "2.6.2"
I have problem with LiveCD
i fear to run it on laptop because of RTAI. Am I right?
I need to train myself in a simulator
And how can it be installed to CF card if RTAI cdoesn't support USB & other "thingies"?
I mean , can I somehow use RTAI linux from USB Flash drive?
I need to reboot
I hope that emc2-install.sh script works in kubuntu 8.04
yes, it should work fine
So, I need to systems -- one for emc2-install-sim.sh, another -- for emc2-install-sim.sh, right?
Or they all can be presented in one system?
emc2-sim and emc2
you can't have more than one version "installed" at a time
you can compile as many as you want, if you use run-in=place for the compiled versions
SWPadnos: you mean sim and not-sim, or something else?
sim and not-sim, multiple versions of sim, multiple versions of RT - none are possible
they both are run-in-place installations, but one is for RTAI Kernel
with installed packages anyway
installation and run-in-place are mutually exclusive
I misread for "can"
if you compile yourself, you can choose run-in-place, which can coexist with installed
heh, ok :)
SWPadnos: so, compilation needs python 2.5 or 2.6 modules, Tk-dev, Tcl-dev, and Glib.h from e.g. mesa-...-fff.deb, and something else...
Does it need some video driver for ATI or NVidia?
the video driver is up to you. I think openGL is necessary
I wanted to boot from flash for sim-mode from a number of computers. I was told I shall not install drivers in this case.
there's an emc2-dev package which will install some stuff, and you can also apt-get build-dep emc2 to get everything else you need
SWPadnos: OpenGL from what package?
libGL or wich one?
it's in the build-deps if it's needed
well, I do not know the build-deps command yet
from withing the ./src/ directory?
apt-get build-dep emc2-sim
that will install all software that you need to build emc2
SWPadnos: ok, last time I was offline and used package search to compile emc2 sim in-place
now it's more easy to do that
LiveCD doesn't support keyboard, which is added through D0Link adapter
I think booting in RTAI can be tricky
in fact, emc doesnn't run from LiveCD on this mashine
it stops with an error.
andf latency test doesn't run. But it seems the motherboard of this computer is kind of ... unnormal
sounds like it
It's really so. There are problems with attaching HDD to current RAID
So, LiveCD should run on almost any machine?
it should, assuming that the hardware is supported by the 8.04 kernel
Verify MD5, and burn at 4x speed
SWPadnos: and RTAI restricts nothing?
there are some things that don't work out of the box, and there are even more things that cause bad latencies
will see and solve those problems
is there any way to make sure the emc program is connecting to the cnc controller box?
what do you mean?
testing to see if your connection works during initial setup?
making sure that the RT kernel is not crashed during operation?
I have just gotten the cnc machine and software, and am having trouble connecting the machine to the computer
is there a way to test the connection?
what kind of machine / control box is it?
it is a sherline 4-axis driver box
I don't know if there are any lights that you can fiddle with to see if it's working
it does light up when it is on
you could try loading the sherline sample config and see if it does anything :)
i tried that, but it did nothing when i ran it
does the box need to be connected somehow?
besides just plugging it in?
parallel cable, I think
and possibly a separate motor power connection, I'm nto sure
it is connected to the computer and powered on, but does it need to be configured in the software or something?
the stock sherline config should do something - the scales may be off, but it should do something
do you know how to operate EMC2?
the machine won't move until you do a couple of things, like reset estop and set it to "machine on"
well i got it to the point where it was running the pre-loaded design
this is normally F1 then F2
running or displaying?
but the motors were not moving when it moved on the screen
I don't know what else needs to be done, I'm not familiar with the Sherline equipment
does it have an e-stop button?
yes the emc has an e-stop in the program
i turned it off
no, I mean a physical swoitch on the controller
only a power switch
um. is this the software from Sherline, or did you download and install EMC2 yourself?
downloaded it myself
it looks like step and dir might be swapped
did you copy the config to your home directory when you ran it?
i don't think so
you can use stepconf to generate a new config (it just asks you questions about the machine), or you can copy the config (the config picker should ask if you want to do that), then edit a couple of numbers in a text file
this page shows pin connections that don't match what we have in our config: http://www.crackpotinventor.com/rotary/cnc/index.html
so if they're right, we may need to change the sample config
i have just been trying to use the samples to just try and see if it will work
i think they are actually in the home directory
they are normally not, but they can get copied when you run them
is this a 3-axis machine?
ok, if you copied it, then you have a directory under your home dir called emc2/configs/Sherline3Axis
do you have that?
are you looking at this stuff with a file browser or a terminal?
I guess that doesn't matter. open the "standard_pinout.hal" file in that Sherline3Axis directory
open it in an editor
(probably right-click and then select "edit")
ok, lines 14-20 or so connect the X Y and X dir and step signals to the parallel port
that web page I linked says that pin 2 is X step, pin 3 is X dir, pin 4 is Y step, pin 5 Y dir ...
so you need to swap the numbers on those pins, because they're set up as X step = pin 3 and X dir = 2 , etc.
need any more help, or is that good enough for the edits?
so switch step and dir for x, y and z?
I'd change the numbers, but yes :)
only one character to change per line, and they'll be in numerical order when you're done :)
yes it looks like that now
so should i just save it and then try it again?
ok, save that
just make sure you choose the Sherline3Ais config from your home dir, not the sample config