Contemplating a rehash of the parport driver to get rid of a race condition.
or the emc1 one?
* paul_c doesn't touch hal
* alex_joni remembers
* alex_joni agrees
well we didn't get axis 1.0b2 released last night
Too much to do ?
Working on another project took longer than expected
and just as that was winding down it exposed a fairly nasty bug that I want to fix before releasing
if you load a file, "set next line", then load another file, emc will start in the middle of that second file
The task state isn't being fully reset when a new file is loaded..
good morning Paul, I just stopped by to see if anything was happening
Working on a new BDI build
What version will this be
You may find this one better suited to your needs as the install can be fully automated.
I checked out what was happening with development and am wondering how close a lathe is. I did see some work was done.
When willl this new BDI be done
The interpreter accepts a G33 input, the hooks for the canonical commands are in place
Just the low level RT code to fix up.
BDI-4.05 is available for testing
Seems to be going good. I wish I could help but I have trouble using a telephone much less programming
What's new on 4.05
2.6.9 kernel, KDE-3.2, totally new build of EMC...
Space reserved for Synergy - Just waiting for Bob to complete a new package...
and a brand new installer.
Hey by the way I was going to ask this of someone. You may have an answer
I saw that emc is available for windows. I don't know if you know anything about the rutex drives but they have a tuning software for windows. The rub is you have to be able to controll and run the motors to use the tuning software. Can this version be used in conjunction with the rutex software?
Nobody here has knowledge of tuning servos and the software would help enornously
M$ Windows is not capable of running EMC...
however, the tkemc GUI can run on a M$ platform and control EMC running on an RT Linux box.
like I said I have trouble using a telephone.
trp: I'm an old servo tuner....
What is the best way to tune them and be consistant with what we are sending out to customers.
we need to ship about 6 machines before the middle of january and this is a major holdup
well as far as a cookbook recipe ziegler-nichols is a start
this is for rutex?
Get in contact with Rutex and see if they will either do a linux port and/or release the code for the tuning app.
Yes as I recall you ported some of my old dos c aps to Linux easily
Les,this is for rutex. Paul, I think Ray has done this and said he could find someone to write the code but this won't help in the short distance. Lack of planning!
Do you think this is a good way to go
let me get you a good zeigler nichols link here... brb
[14:08:22] <les_away> http://eweb.chemeng.ed.ac.uk/courses/control/course/map/ZN/closednotes.html
required no instrumentation
trp: RT990H.exe looks to be a native DOS app
should be fairly easy to port, or maybe run under a DOS emulator..
can I find a dos emulator for linux
cradek recently used qemu to run an old DOS version of autocad
r14 for DOS or something
I have my laptop here, I think I'll try something out. Will let you know what I come up with.
By the way Paul, Everything worked great when you were trying to help me out late that night to get the machine running.
Just downloaded the rutex zip
What I found out is the machine wouldn't run just off the disc. I had the software on another computer and it ran fine off an installed version.
The live disc wasn't really. I don't know why though. Just a fyo
We have a PowerBasic source...
PowerBasic is used for what?
I need to spend more time learning rather than playing
It's just another programming language..
I see... To set the internal PID gains, you need to bit-bang a serial protocol over the parport.
theres the rub
The cable is different to the one needed for EMC
We would love to stay with EMC and a tuning procedure for the motors using EMC for warranty or maintenance purposed. If we have to replace a rutex drive or motor for some reason the customer would be stuck with the tuning task and would like to keep it simple for both of us.
A quick look at the rt990h.bas doesn't reveal anything nasty...
With the aid of some documentation from Rutex, could probably hack something together that would run under Linux.
Do you think the instructions from Rutex would be accurate for using something like that?
would it use the same cable for running the machine with or would a special cable still be required?
Not the R990H pdf I'm looking at..
To be able to use the same cable with EMC and a tuning app would be preferable for both you and the customer.
and for anyone else using EMC and Rutex drives
* alex_joni is going home
jmkasunich is now known as jmk_away
#@$% arcs are not blended and are always exact stop
I sure would like something that works here...You know I was looking at cannon.cc
I think I could make a smooth tp from those cannonical functions
just don't know where to send it
cannon.cc has nothing to do with the tp (directly)
but the functions have the info a tp needs
If I just knew how to stick waypoints on the queue
was it emccanon.cc you were looking at ?
let me check
so between each waypoint there could be a cubic...ax^3+bx^2+cx +d
a,b,c,and d would change for each segment
like what is done in cubic.c ?
yes...but that does not seem to function
or it functions only at servo update
it's too "tight" to do anything
it just interpolates the trapeziods into closely matching cubics
what is needed is a cubic replacement for the trapezoidal segments in the planner
I have the math in closed form
it only needs the next 4 points to do a current cubic
at the trajectory rate...not the servo rate
let me glance at something in emcmot....
hmm if the ratio of traj cycle time to axis cycle time is low things would seem to get smoother
I will test that
do i have to use GCC-2.9x series to compile EMC2/cvs. I use kernel-2.4.7, rtai vesuvio, debian unstable and gcc-3.3.5
Use the same compiler for EMC that was used for the kernel/RTAI
emc2 compiles, but when i start tkemc axis speed is set to a real huge number (284000) and does not work as expected. when i close it emc2 stays running an can't be finished cleanly
* babu compiled kernel, rtai and emc2 in this sort order and all with the same gcc
Should work then.
* paul_c disappears for tea.
after closing tkemc and interrupting emc.run script with a ctrl-c (bash) i get iniaxis: dumpAxis(0, ....)
jmk_away is now known as jmkasunich
hmm choosing a high accel on my stepper system (EMC2) causes e-stop (following error?)
ferror is set to 1.0 (for a short try to 10.0) an min_ferror is set to 0.1 (for a short try to 1.0) helps just a bit
can drive some mm but afterwards.. EMC_AXIS_ABORT (debug output) and e-stop
hopr emc2 inherited that ferror fix
babu: can you send me your .ini and .hal files?
but in case not...just set min_ferror to a big number. If you are using stepper it is virtual anyway
babu: EMC_AXIS_ABORT is the name of the message sent from the frontend to emc to end a continuous jog. It is not an error message.
it is also sent whenever emc wants to stop the motion controller for any other reason
hmmm tried to call Fred...think he is taking time off
i'll send you my config, have a look because i cleaned up emc.ini for emc2
emc.ini is @ http://www.pastebin.com/132391
core_stepper is @ http://www.pastebin.com/132392
which axis causes the problem? all of them?
i just tried 0 and 1 because 2 is not finished yet
* jmkasunich reads files
100mm/sec max speed = 8000 steps/sec, that should be OK
400mm/sec^2 means it will take 0.25 seconds to go from stop to max speed
yepp, thats fast i guess
0 to 8000 steps/sec, in 0.25 sec, is 32000 steps/sec^2 acceleration
but in core_stepper.hal you set maxaccel to 4000
I think you wanted 40000
hmm you are right, i'll this, pls watch out for other mistakes. did i overclean the emc.ini?
because maxaccel is too slow, emc can ask stepgen for accel that it cannot deliver, so it falls behind and you get a ferror
no - I think removing things you don't use is smart
but we don't do that from the files in CVS because we don't know what other people will use
i removed all things that emc2 doesn't even read from the ini
* babu is happy to see his machine running! thx to jmk
i set the ferror and min_ferror back to 1.0 and 0.1. when is start up tkemc a axis speed of 3600 is (pre)selected
3600mm/min = 60 mm/sec
the machine does "dangle" abit if feed on all axis is 0 perhaps one step for one step back. it must be emc which does some kind of controll, because when i close emc the dangeling stops
I don't know how tkemc picks the speed - I mostly work on the motion controller
ah mm/min didn't know that
* jmkasunich must hurry up and fix that "one step forward one step back" bug
you are kidding, is it a real bug or just a mistake in my config?
a bug in stepgen
it "hunts" up to +/- 1 count around the desired position
[20:21:54] <jmkasunich> http://sourceforge.net/tracker/index.php?func=detail&aid=1020880&group_id=6744&atid=106744
ok so i can confirm the exsistence of that error
I can replicate the error here too
I will work on it as soon as I can find my workbench
(very very messy)
hey JMK, how goes it?
story of my life!
my middle name should be scrooge - I hate the christmas season
i like xmas
end of the year - I take all my previously unused vacation time
two hole weeks
and how much of it do I actually get to enjoy?
by two weeks of vacation
i think what you really mean is two weeks of emc2 development!
between shopping and other xmas prep before xmas, and travel to visit relatives after, maybe 1-2 days
so far mon-wed, I've spend several hours (broken up into smallish chunks) on IRC, and haven't had _any_ of the long uninterrupted spans that make for good coding
and I still have a couple hours to spend on a metalworking project for a paying customer before the weekend
I'd rather spend those couple hours coding tho
in this case "paying customer" means "can't put off until later"
babu: are you serious about wanting those linear motors?
like "$500 + shipping" serious?
jmk: if i knew they are ok and if i knew a sum which makes you happy (doing all that paperwork) and is payable to me - i would need lets say 2 days to find out if we are in deal or not
my english is horrible i know - it will be far better after 3 years school with english education
500+shipping would make me happy I think. Knowing that they are OK is harder
I don't have the drives for them as you know
your english is fine
I can test the motor windings with an ohmeter
I don't know how to test the hall effect sensors, I don't have pinout information for them
I might be able to test the encoders, if I can find the pinout - I have a power supply and oscilliscope here
it would be sufficient to me if you could do some visual inspection... perhaps the ohmeter...
I would feel really bad about taking a "poor student's" money for something that he couldn't actually use
what would you sell to me for 500 bucks? motor, encoder, hall, cable (like on the picture)
these will be hard to pack and ship
yes - if you are actually going to use it, I would _not_ keep the encoder for myself, I would let you have it all
the big one is about 20Kg, the smaller one probably 15Kg
i'm not poor yet. in the moment im working and earn 3000 $ / month, but i will study for the next 8 years
I just posted two more pictures, one of the carriage and one end view
[20:58:31] <jmkasunich> http://home.att.net/~jmkasunich/Pics/endview.jpg
the overall width is ~185mm
i'm getting nervous thinking to _have_ those!
height about 100mm
length of the long one 915mm
the short one is the same width and height, but 615mm long, with 300mm travel
the shorter one doesn't have an encoder like in the picture, it has a renishaw "tape" encoder next to the magnets (on the inside of the "wall" at the right side of the aluminum extrusion
I'm nervous about packing them to travel safely - they are very long and thin - I don't know what I would pack them in
crate I think
seems ideal to me! the only thing is how to bring them from your home to my home. today we have the 22st could you give me time until the 24th
take your time
I will be traveling from the 26th to the 1st... let me know after the 1st if you are interested, and we can work out details
perhaps it is best to spend 20 $ to de delivery company to pack them
I can make a wooden crate - I have wood, screws, glue and a table saw
the crate will just make them heaver and more expensive to ship
20Kg + 15Kg + 5Kg crate = 40Kg = 88 lbs.
ok i will ask some frinds about shipping and after that i'll make my decision. i will give you feedback until the 1st jan 05
sounds good to me
one last pic: http://home.att.net/~jmkasunich/Pics/carriage.jpg
cheapest packing depends what is rated: weight or volume...
these are heavy for their size
i definitfly love them!
I almost forgot: http://home.att.net/~jmkasunich/Pics/plugs.jpg
I have the mating plugs for those strange "MTR" plugs
with 1-2 meters of cable attached
those big nipples does look like 3 phase connection but whats up with does 5 little nipples in the middle?
the three big ones are the three phase winding
I don't know about the little ones
i know: temperature sensors! perhaps pt100
* jmkasunich gets out the ohmeter
only one of them has a wire connected to it
whats with the 4th nipple
the fourth large pin is ground, I think
* jmkasunich is uploading another picture
[21:19:30] <jmkasunich> http://home.att.net/~jmkasunich/Pics/connectors.jpg
that shows the connectors attached to the slide
the motor and hall connectors go to the coil assembly
the encoder cable doesn't have a connector
the other end of each cable goes to the plugs shown in the earlier photo (on the end of the assembly)
(this picture is from the side, with the cover removed)
the only small pin on the motor connector that is actually used has a green wire connected to it
I posted a url with the motor specs yesterday, did you get it?
[21:26:34] <jmkasunich> http://www.rockwellautomation.com/anorad/products/linearmotors/ironcore/lck.html
looks like the hall effect pinout is listed at the bottom of that page
its nice to have those infos given on that page
to find out all that stuff would be hard
most problem will be to find a suited driver which is inexpensive
but i think the motors can be driven by a smaller voltage/current giving a lower force
force is proportional to current, speed is proportional to voltage
I hooked one winding to a 24V power supply just to see what would happen - it generates a pretty good force (24V/7.8ohm = 3.08A)
thats what i think... it would dislike to install water cooling... 338 - 738 N Peakforce is alot!
* babu has to go for a short sleep
* paul_c ponders the us oh halscope for another roject
well I have a first
what project would that be?
cnc machine is down for the first time
somethin with the estop
I designed it..gues I can figure it out
a latching relay isn't firing
coil res seems ok
limit switches etc fire a 5v relay
that fires a great big contactor that connects the servos and spindle power etc
seems like eve n snubbed latching relays don't last long
just replaced two in an audio power amp
jmkasunich: Graphing some non-realtime stats
I'd think gnu-stripchart would be better for that?
could use cgi for some of it...
stripchart lacks any widgets for triggers & scales.
found the problem!
would you somehow make the stuff you want to monitor into HAL signals? or would you replace the sampling code with somthing that accesses your data directly?
I have big red button estop switches all around the machine
most never get pressed
normally closed for safety
except today ;-)
well contacts never wipe clean if they are not pressed for years
so just clicked em a few times
jmkasunich: data input is from a file descriptor
either a /dev entry or a saved file.
so you'd hack the data acquisition code
would, but hal affects several files.
got it - Use Qt and slots for the data acquisition.
jmkasunich is now known as jmk-away