BigJohnT: 'git clean' removes files that are not versioned by git. read the manpage before using.
[10:11:34] <EbiDK|AWAY> http://notalwaysright.com/shoot-first-worry-about-living-later/2208
Somone is working on their Darwin award..... :P
tom2 is now known as tom3p
is there anything like css for the pyvcp xml files ( anything to reduce the repititious entries of same font color size... ) ?
I don't think so
feel free to add it though :)
as a very accurate typist, i think it might be handy
a variable containing values, make a much easier to customise app
something like #define even, will look further into it tonight
I imagine a defaults section
<defautls> / <led-color>RED</led-color> / <label-font>blahblah</label-font> ...
i did find that rectled can be passed width & height , the rect allows nicer panel layout by forcing space use.
BJT-Work_ is now known as BJT-Work
hello! Does anyone need list of packages to compile emc2-sim in kubuntu9.04?
the wiki does ... :)
I can call it here in a minute
"sudo apt-get install tk8.5-dev bwidget python2.5-dev python-imaging-tk libreadline-dev gettext libglib2.0-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev xorg-dev build-essential"
you can check it from Kubuntu 9.04 LiveCD
and "./configure --enable-run-in-place --enable-simulator && make clean && make"
[14:21:58] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps
[14:22:09] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
the BasicSteps page tells you how to edit the wiki
this information should be put into section 5 of the Installing_EMC2 page :)
Oh! I heard name of that guy, Shakespear, when I have written Makbet!!!
OK, but not tonight. I'm saving this link
ok. thanks for figuring it out (and documenting it :) )
I think there's another step though - you have to remove tk8.4-*
oh. and it's probably easier to get a checkout of the code if you install git
my first conversion is otw =D
off the wall? on the water? on the way?
on the way as allways ;)
cool, mill? lathe? laser???
converting a small proxxonmill
nice, we dont have in USA but seen some pix
but plans on making a portal-one in the future so I make everything futureproof =)
yeah, they are pretty nice
I have this in my program:
M3 S200 (XXX: spindle speed) M8
G43 T4 M6
I'm surprised that emc waits for the spindle-at-speed indicator before moving to the toolchange position
me too, since that is a rapid
does emc wait before other subsequent actions? like m3 s200 g0 x1?
and maybe you're just testing combos, since you're asking for rpm just before it must be 0 for the xchg.
tom3p: it's a lathe
you can configure emc not to stop the spindle at toolchange, which makes sense in this case
oh, spindle doesnt have the tool, gotcha
SWPadnos: you don't have to remove tk8.4*, you just run configure this way...
./configure --with-tclConfig=/usr/lib/tcl8.5/tclConfig.sh --with-tkConfig=/usr/lib/tk8.5/tkConfig.sh
I couldn't remove tk8.4 because I had other stuff that depended on it.
You're a glorified plumber in Alaska how do you get to your next job? By plane of course. And how long does a customer have to wait till you arrive? Up to six months.
joe the plumber is in alaska?
get fred instead
jepler: Right now on History Channel
[18:43:27] <frallzor> http://vimeo.com/5579091
my damn cable is impossible to solder in the DB9-connectors, just wont stay where I want em =)
but at least I could play a little
tin connector and wire, bring together
but think the copperwire are a bit too much for the pins
what kind of db9's do you have?
with solder cups?
Id say so
put some shrinktubing on the back of the wire to protect when done, but it failed too since the time i needed to get it to stick just a little made it shrink =)
I see, unless you have _huge_ wired that's odd :) it should be a problem
well they arent huge, but it might be too huge for DB9s
keep heatshrink up the wire well away, and dont take too long
im thinking of just cutting have the copperwires away
plenty of contact anyway
frallzor: What are you using to solder, a plasma cutter?
just a weller solderingstation, nothing fancy
nope, in the tin
Ah, *might* help if you can get some.
usually makes things go smoother
but no matter how much flux I have im pretty sure these wires are a bit overdimensioned for the cups
ill try cutting a few wires first
what's that in imperial (AWG)?
not a clue
lets say 15?
If so, sounds a tad too big, 18ga max typically
cradek_ is now known as cradek
half of the wires just bent back seems pretty ok
never said this many bad words in a day before as Ive dont up til now
Guest579 is now known as MikeGGG
is there any reason not to set your servo_period equal to your base_period?
yes. the motion controller and PID generally run in the servo thread, and they use floating point
they also take a lot more time to execute than the functions typically put in the base thread
of course your case may be different - ask a more specific question for a better answer
well I just ran latency test. trying to figure out how to interpret those numbers into base/servo_period settings
i guess the right answer is leave them alone until you have a reason to change them?
it's probably more correct to set them up as you need them, and then leave them alone ;)
how are you setting up your machine (stepconf, pncconf, by hand ...), and what kind of machine is it (stepper / servo, what hardware)?
20000 cpr encoders
ok. in that case it's likely that you don't need a base thread at all
the 5i20 does what would normally be done in the base thread: PWM/step generation and encoder counting
there isn't much else that needs to be done that fast
well i suppose that is good news. but now I am a little confused
in what way?
the PID loop remains in the real time portion right?
better to be a little confused rather than alot.
realtime can run multiple threads, and in fact you can only run HAL threads in realtime
is the PID loop a HAL thread?
PID is one of the things that gets done in the servo thread
you could do it faster if you want
have you read the HAL tutorial(s) yet?
[20:25:36] <frallzor> http://www.damencnc.com/tools/man/DCNC-IP54-1NM.pdf
how many Amps would you recommend for this motor?
well, you should read the part about threads and functions
I don't actually have the hardware yet
too tor eeee al ?
you can put whatever function you want in the thread that's most appropriate for your machine (within limits)
could I put the PID and encoder read in the base thread?
no, not really
what's the purpose of making the PID and encoder reads go faster?
it's a micromilling application
so we want very fast accurate positioning.
you can probably run the servo thread at 10 kHz or so with a 5i20
really our concern at this point is that it is at least as fast as the National Instruments hardware we are using now
are those 20000 cycle encoders or 20000 count encoders?
which NI hardware?
and what version of LabView?
hmmm. I don't know that one
er PCI 7764
5000 lines per rev. quadrature
how fast is the PID loop on the NI board?
hmm is it bad if I use like 0.3A over my psu? 1.8A for the A and it wont ever hardly be used together with the rest
frallzor, you can probably do that intermittently without damage
I think 93 us per axis
if not, it'll just die on you
SWPadnos its just for A, and itll not be used much so =)
what does that mean?
I'm asking if that's how long it takes to actually do the PID calcs (CPU execution time)
i believe so
so if you have 4 axes it would be 372 uS?
how many axes do you run?
ok. I think EMC2 will have no trouble beating that
279 uS is just under 4 kHz
you should be able to do 5-10 with the 5i20
and the overhead for adding more axes will be on the order of a few microseconds, not close to 100 like the NI unit
so we have completly rewired and isolated all signals on the machine and we are still having the problem with the stg limit fault when enableing amps when amps powerd.
sed_, disconnect the limit switches and see if it keeps happening
(don't disconnect e-stop, of course)
to clarify, you mean 5-10 Khz base_period or is that 1/(5-10) KHz
so phisicly dissconect them or disable in hal?
I mean you eliminate the base thread altogether, and run the servo thread at 5-10 kHz
sed_, physically disconnect them
MikeGGG, I haven't tested the 5i20 at that speed, but I'm pretty sure you can get there
well we shall see.
5 kHz no doubt (unless you have really weird kinematics), and probably 8-10 kHz
just gotta make the case to the guys with the money.
well, anything is less expensive than LabView and NI hardware
we are using normaly closed switches, dissconecting them give the fault as soon as we turn the software on now.
i know. I might buy two, just in case I smoke one
sed_, short them together at the input to the card
k hang on
I was recently running a 10kHz PID on 5i20. I think it was for 3 axes, though I only tested one axis.
(I might not have remembered to all all the functions to the 10kHz thread)
yes, I had added all 3 pids to the thread
I was only running pid at this rate, though, not the whole emc motion controller
(in the 1kHz thread, emc generates commanded position and the first pid generates a velocity command. in the 10kHz thread, the second pid takes a velocity command and generates a pwm command for a dumb servo amp -- and I should admit that it's not well-tuned yet, so I dunno if it's a win for my system)
ok that worked, so we are thinking that our limit switches share a cable with higher voltage amp limit switches is the issue
will the debounce hal command help???
do you send the PWM command directly to the servo amp? I was looking at the 7I33 board which I think turns that into a true analog signal
MikeGGG: yes, it's pwm direct to an h-bridge, namely the 7i30
the 5I20/7I33 have no opto-isolation. is that a big deal?
in my case I'm dealing with voltages no higher than 30V and I simply don't sweat it
30v is still sufficient to smoke a PC, no?
oh probably, but not people
when I blew up a stepper motor driver due to miswiring, it destroyed the driver with an internal short from Vmotor to power GND. It didn't damage any other components in the system.
7i33 is very cheap compared to a smoked 5i20. it has real analog out and also has differential receivers for your encoders.
cradek: but no isolation, right?
that's where we started this discussion..
oh right, I guess not
you have 7i33, right?
do your servo amps have isolation at the inputs?
on mine, the logic supply on the servo amps is separate from anything else, so that ground gets hooked in
well, hoping to shortly have
I don't know if they are strictly isolated
I was weighing some of the pros
and cons of various hardware
found a parport BOB that had opto isolation for ~$70
just wondering why the mesa gear doesn't have it
would like to know that the smoking will remain outside the PC
isolating analog and encoders (which must be very fast) is much harder than those digital outputs
but you'd have to ask mesa for a real answer
some servo amps are designed with isolation at their inputs, such as http://jelinux.pico-systems.com/pwmservo.html
we have BMC-12H by motion controls group
[21:35:46] <MikeGGG> http://www.ametektip.com/index.php?option=com_content&view=article&id=200
economical they are not
You must be registered and logged in to download Technical Documents.
Registration is free and instant. You may login immediately after completing the registration form.
(I signed up at that stupid site once)
barnaby rubble, bedrock quarry.... fill it in ;)
hey look, it's late - I'm going home
ooh so it is
Guest579 is now known as MikeGG
SWPadnos: Tried to check the SPI interface on Saturday, and had the oscilloscope die on me. 30 years and it up and quits.
well, I guess SPI is not meant to be
or you're meant to have a new scope or something :)