emc2 does 3d modeling, doesn't it?
i figured opengl would be needed for that
opengl is *one* way to do it, sure
but emc2 doesn't use it?
i havent played with the arm simulations, but if it *did* thats where it would be
what graphics library does it use?
axis doesnt use any i think, just math
basic 3d math is easy
i suppose opengl is used mostly for animation then
no, its still used for still things
if you care about GL, how bout finding a gl channel?
jackc: i've found one and joined
according to the wikipedia article, it is used in CAD so i wasn't wrong in suppossing that it might be used with emc2
emc isnt cad
there is a huge difference in CAD and CAM
emc isnt even technically CAM, its just a gcode editor with handy features
beachsurfin: what is your interest in opengl?
crotchet: nothing really, trying to assess the open source scene's use of programming languages
i'm needing a job soon :)
python is very popular here- axis is written in it. low-level stuff for emc is c, I believe
so, i'm looking at projects that interests me and see what they use. the majority wins out, so i choose that language and get paid to work with it, potentially on the same project or am paid to hone my skills so that i can contribute to the project
opengl is really an api
more love of the task than money here.
if you really want a break-down, try sourceforge and see what the projects there are written in
beachsurfin: what area are you looking to work in
honestly, skills arent really language specific
you learn a few here and there, and after a while it doesnt matter what language it is since theyre all primarily the same things
you may have a look up a specific api occasionally, but you get the point
syntax differs - architecture doesnt
so mostly experience is what matters
yeah, be it on your own or otherwise
i started coding cuz i wanted to make something, not because i like programming
I found if you don't have a goal in mind then it is hard to get past hello world
good night all
that's good advice from bigjohnt
beachsurfin: interesting info: http://www.ohloh.net/tools
Could someone take a look at the wiki, make sure my edit makes sense? This is the page: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Preparing_Ubuntu_to_compile_emc2
There was a "basic steps" link in the section on adding the emc2 repository that didn't lead to useful information.
jtr: looks like mentioning to 'apt-get update' after changing apt configuration is missing
(the emc2-install script would have automatically performed that step)
Ok thanks. I'll add that in.
I wanted to get rid of the install script in case they already had an install and wanted to set up to run-in-place.
?? if you already have an installed binary then you don't have to edit the apt configuration
oh, and you also forgot the import of the signing key, also automatically done by install.sh
so a user who follows your instructions will get warnings from apt that the package repositories can't be verified
bbl me too
I've got a 5:30 flight, so I just reverted the changes for now. good night.
thank you crotchet
i suppose it was silly to complain that 'blind' isnt in this small travelers dictionary. "and theres not much room in the book" Ford Prefect
"There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened." The book ;)
ok, i'm getting 'dont panic' written on the lid of this eepc
that should fix any problem
it did in a commercial accounting package I used to admin
archivist: bsht :D
it dumped you aout of crashes
also left crap to fix
wow just remebered the bible was the 'the book' tho i knew you meant the guide
the word mean the book
just weird deja vu nt get apostolic on yous
tomp: it came from my "fortune"
really? oh, i used zippy the pinhead
back to work :)
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-01-12.txt
I have been thinking about trying out the linistepper controller with EMC, I have been reading the EMC manual and I am trying to figure out how to set the step time, step space, etc values in the stepconf wizard, any tips?
JustinXJS2: sure.. on the next page I think
[10:40:02] <alex_joni> http://www.linuxcnc.org/docs/devel/html//stepconf-basic.png
so those values in the image should work with any controller?
look in your controllers docs to find timings
oh, I misread your question
I thought you don't know where to write your values, not what values to write
JustinXJS2: like archivist said.. you need to find the values based on the controller you use
perhaps a little experimentation, and also go through all the tests that stepconf allows for so you get a feel of your machines speed abilities, then run a bit slower to allow for machining load
sorry about that, my question was not very clear
JustinXJS2: from a quick scan on tehir website, I can't find any information
but I can't dig now (at work)
no worries, I have been digging for a while, and will continue to do so
Im at work as well
and I should be a sleep, but I am too exicted :-)
maybe if I understood what those time values were for I could figure it out from max step speeds other linistepper users have been able to use? do those timing values have something to do with that?
JustinXJS2: start by understanding this: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration
hi guys, does anybody know about anybody who have done a home built 5 axis "cradle" style mill? The sort which have a cradle which has a rotary table on it?
cradle often known as a trunnion
thanks, now i know
* archivist at 4 axis and building up to 5
Im making one slowly
i'd like to make one fast, hehe
archivist, do you have a webpage/blog on it?
alex_joni, thanks for the link, that will be a big help
JustinXJS2: it doesn't tell you how to get the numbers though, only what they mean
yes, but know I know what I am playing with
what is "unexpected realtime delay on tack 1" in emc2 mini ?
The_Ball, no I have not done any articles on the trunnion
ok, is there any benifit to having more than 180 degrees of rotation on the main "cradle"?
this is the complete error message "http://paste.org/index.php?id=4798"
- mill still runs..no mistakes
The_Ball, dunno depends on proposed work, maybe yes or no :)
I will have > 180 probably
archivist, do you think ~1300oz/in continuous torque is enough on the trunnion?
also depends on work and machine size
small mill, ~300kg
will the endmill snap at that?
i have no idea
I was over designing and ending up with a lump too large for the current mill
piasdom: that is a latency error reported by RTAI
in previous versions it wasn't checked by emc2
currently my 3 axis is too small to make the trunnion parts
depending on the god of luck you can have a perfectly functioning machine even with that error
although most of the times it would be best to hunt the cause of it
alex_joni:thanks...but don't know what that means :)
alex_joni: mill runs great
piasdom: I doubt you can feel if th emill loses one step
once every few minutes
maybe once every few days
I hear when I lose a step
alex_joni: would it effect the accuracy ?
alex_joni: and does it reset when i turn the computer off ?
I don't understand
archivist: you fix clocks for a living, I would suspect you hear such a thing :P
i just need to know if this error message will effect the accuracy.
alex_joni, and did printer development with steppers :)
piasdom, any stepper losing steps effects accuracy, never fun at a steppers limit
heh kb on knee make for tyops
archivist, found the specs on the haas tr110 and it only tilts 120 degrees
The_Ball, I look at pics of the haas trunnions for inspiration
piasdom: lets say I wouldn't trust it
now wth did I find this page: http://hbanich.googlepages.com/28inchf4scopephotosandplans
wont fit your canon camera bag alex_joni
i went down stears to measure how big my mill is and the z height, i don't remember it being this small, i think it has shrunk in this summer heat
I have Z in abundance but miniature X and Y
alex_joni: how do i edit the stepper limits ?
my z is 45cm to the mouth of the mt-3, and the trunnion i wanted to build is 30cm high... :(
Cristian CUCUIET: ultima coborire ,seara, putin obosit mi-am dat drumu sageata pe ultimii 30 de m
easy to over make:)
[12:07:20] <alex_joni> http://www.cloudynights.com/item.php?item_id=1124
wrong paste :D
wonder where I could get a 1mm hex key
archivist, yes easy to over make, but the motors I want to use have a 22cm flange, looks like the bed will not have to come close to center, does it matter if the turn table is over the center line?
I often run the 4th off to make space
what do you mean by that?
my travels are very small 90mm by 125 ish so the table is extended and the 4th gets shoved off the side/end where needed
mm by the way
ah, i was referring to the cradle being close to the centerline of the rotation point, the haas units have a cradle that sits quite low so the chuck is in the centerline
Im thinking that way now to make better use of space but the scale really is forcing me to think of getting a bigger machine
i just made the leap and hit buy it now on two of these units: http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWAX:IT&item=170292174954
looks nice, that would suit me, but cant afford
it's quite a streach for me, but i think it should give really good results
Im making a worm and wheel drive system for mine
hmm.. seems the key I need is 0.0035" hex key
archivist, how can you get minimal backlash with that?
load the worm with a spring system
The_Ball, we also found a ball worm drive system in a patent
ball worm drive, interesting
these drives use sine encoders, do you know their principal of operation? it's hard to believe that they do two million pulses per rev
dont know at the moment
err.. one 0 too many there
only 0.035" hex (allan) key
I probably have one, but its here :)
archivist: can't you just copy and paste and hit send to alex_joni ? :)
I could send a picture
when I need an odd size I grind down a larger one
i wonder if the ever WILL have teleportation in the far future
[Global Notice] Hi all, we appear to have lost our Moscow based client server, and with it approximately 1600 users. We're looking into the issue now and should hopefully have both the server and the users back shortly. Apologies for the inconvenience. Thank you for using freenode and have a nice day.
IBM did some atom placements, so its possible
archivist, wouldn't that be duplication, not portation
thought i heard a few years ago that they did it with a fruit or something...but only a few feet away
archivist: I don't think I want to think about grinding one this size
piasdom, i can do that with fruit, but it gets squashed when it hits the flor
alex_joni, do it on a flat stone and count the rubs per side to keep even
hahahhahahaha....but THEY didn't touch the fruit
i've been searching google and i can't fine how to set my stepper limits...any ideas on what to search for ?
piasdom: still the linistepper?
never heard that term before
it was someone else
o these are sherline steppers
piasdom: there are new configs for sherline in the emc2 CVS
maybe those are usefull to you
where do i fine this "HOME_SEARCH_VEL = 0 " ?
i don't have any limit switches..it's just a visual limitation
can I run-in-place emc2.2.8 in 6.06 ?
I think I can but emc refuse to run on that configuration
nm, I found problem
if i take out the home=0.0 and home_offset in my mill.ini, will the blow up my mill ?
>> home_offset = 0.0
jepler_ is now known as jepler
how do i get the cursor out of the message window ?
i like to use the fast keys and it just type in the window
piasdom: in emc2.2 in both tkemc and axis, the enter key dismisses the window that shows operator messages and errors such as "linear move in MDI would exceed limits"
jepler:thanks...but i'm using mini
in that case, I dunno
jepler: can you tell where do i fine this "HOME_SEARCH_VEL = 0 " to edit ?
it's in the inifile in an [AXIS_#] section. I believe it's optional; if not specified, the value 0 is assumed.
but I don't think mini has any way to home an axis anyway
it was designed for switchless machines
jepler: i don't have any limit switches , so in stepconf i disabled it
(hm, maybe I'm wrong -- ALL ZERO seems to request that all axes home at the same time)
every now and then i get http://paste.org/index.php?id=4798
and mini doesn't have a "home switch"
can you tell me what you're trying to accomplish?
you've asked about some specific inifile settings, but I'm not sure what the goal is
i would like to set my stepper limit
is that distant the table travels ?
i'm assuming that is ahy i'm getting that error - http://paste.org/index.php?id=4798
that error says that either your BASE_PERIOD is too fast for your hardware, or your PC isn't suitable for running realtime tasks
hmmm. maybe that's SERVO_PERIOD
then i've been looking in the woods to find a hammer
but in any case, the error says that your machine goes off into neverland every once in a while, during which time no steps will be output
I've never heard that expression before
me either, but I like it :)
computer been running emc2 a couple of months now
"looking in the woods to find a toothpick: might be more appropriate
* jymm hands SWPadnos a knife (and a rock)
you can get a toothpick in the woods...
lokking in the woods and found the wrong haystack
SWPadnos: my base_period is 75000
bbl, my day job is calling me
oh, that's a very long period
the error is actually generated from the servo task
but it doesn't matter
what's a general number ?
the meaning of the error is that there are issues with realtime latency on that PC
if 75000 is fast enough for the maximum speed you want, then 75000 is a fine number
i don't know what it does and never changed it before
[15:57:18] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting
did you make this config with stepconf?
should i change it ?
ok, then stepconf chose a number that's as slow as possible while still meeting your requested speeds
so I wouldn't change it
making it slower uses less CPU time, making it faster gives you higher step rates (which you didn't ask for), and better timing resolution
should i go with 50000 ?
it won't help you
should i do a latency test ?
but that will only tell you that there is a problem - fixing it is another issue
how do i do it in hardy....online it shows dapper
[16:01:32] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Latency-Test
hey unterhausen, add your ASRock already! :)
haha dev mail list discussions about desktop lawnchairs
need a lawnchair icon
If you had to learn-from-scratch today, which would it be? CVS, SUBVERSION, or GIT
of all those, I think only CVS is traditionally written in all-caps
I'd choose git fwiw
I'd ask "for what?"
true enough -- if I wanted to get involved with a project, I'd say "the VC used by that project already"
cradek: for the very first time
"for what" still holds
none of those is very good at managing binary files, for example
SWPadnos: and there is something for binarys?
well, I don't know of anything that's very good actually :)
SWPadnos: since when does one do diff's on binarys?
because you can't merge binaries, you need locking. I don't know which vc systems have this
there are programs that do diffs on binaries, so anything that can use an "external differ" could work
SWPadnos: Other than rev engineering, when would this hold true?
schematic, PCB, or other CAD files
usually, vc systems are for source code
SWPadnos: those are typically vector files as the source
yep, which is a bummer
a schematic is hardly a list of lines and arcs
SWPadnos: or some other text format
ok...how do i stop the latency test in hardy ?
they can be, with some programs, in some versions
piasdom, which latency test? (the HAL one in a window, or the RTAI one in a terminal)
SWPadnos: Eh... goony goo goo
so how do i get the results..the win closed ?
you run in a terminal, and then when you press ctrl-C, you go back to the prompt
SWPadnos: If I was keeping track of say logo revisions, rdiff-backup ftw!
or read the numbers before pressing ctrl-C
but jitter were in the million
thanks...i'll do it again
piasdom, if you had jitter higher than low 4-digit numbers, get another PC
SWPadnos: (but most graphics I do are vector to start with =)
err - low 5-digit I mean, like under 20000
vector files are usually binary
oh oh maybe it's ubuntu 8.04....computer came with mill ?
SWPadnos: Not mine =)
they can be text, but I don't think it's common
SWPadnos: What cha think SVG files are?
what program do you use?
oh, SVG is text? cool
SWPadnos: it's basically XML
all this is while running vbox
SWPadnos: PS (not EPS) too
in a virtual box or as the host?
I know PS is
emc2 is in host
ok, good ;)
I don't know how much of an effect virtualbox has on latencies. you may want to try without it running
it says to run different things to push the comp
thought that would do it :)
I don't know - it would be interesting to find out
(whether it had a large effect)
SWPadnos: DXF is text too
some computers have SMI issues, which crop up every 64 seconds or so
jymm, or binary
well...base thread is 160000 while updating winxp in guest
so this is the HAL "latency-test"
SWPadnos: everyone I've came across has been text
SWPadnos: DWG is binary
not the /usr/realtime*/testsuite/kern/latency/...
SWPadnos: Example: http://www.woodworkersworkshop.com/cadfiles/drawings/collins-ent_unit.dxf
jymm, I don't know of any solid modeler that uses a text file format
I've seen dxf
older Protel could use text or binary files for PCBs and Schematics, as could many others of that era
but most of those formats are not used any more
i ran latency-test in a terminal
for PCBs and schematics, binaries are much much more common than text
for solid models, same thing (AFAIK)
SWPadnos: Oh, and I believe most file format from OpenOffice are text (well zipped text actually)
piasdom, but it popped up another window, right?
files can be "text" and yet nearly useless for traditional diff. For example, when you write lyx files with different versions of lyx, you introduce an incredible number of differences between the files, even though they mean nothing to lyx
same with .glade files in differing versions of glade
jymm, yes, it's a zip file with several directories and an XML "master" file
there are projects out there with the intent of making an OO diff tool
jepler: sounds more like a drawback of the application itself than anythign else.
piasdom, ok, that's the windowed one, and you need to look at the numbers before closing it ;)
jymm, it is, but it's common
SWPadnos: took a snapshot
in a DXF, for example, the order of the text makes no difference to the drawing (in certain cases)
I believe the new flash format from Adobe is now xml based
if you have a couple of POLYLINEs in a DXF, the order of text within each "group" is important, but the order of groups isn't
SWPadnos: Well in the case of PS, it's pretty frickin cool that you can just concat to files to create a new drawing =)
so a text diff is useless for determining differences between models
piasdom, or you can write down the numbers :)
disconnecting the encoder from the motor and setting the D only in the pid loop - makes a great variable duty cycle pwm signal. ;)
(by adjusting the encoder)
maybe more predictable by setting only FF0 and changing the command value l)
or just not using PID at all
skunkworks_: interesting hack
setting the d higher makes it more sensitive ;)
Ok GIT it is....of course it have to be the one that's the most sadistic =)
you could also hook encoder.position to pwm.value and set pwm.scale to change the sensitivity
SWPadnos: which numbers do i need ?
SWPadnos: then I didn't have to fiddle with the already made hal file.. I am lazy
uh. I'm not sure
piasdom, the numbers from the "max jitter" column
the middle one
I did flunk high power switching again.. The dc reference voltage doesn't equate to actual V/Ohm of the sense resistor.
SWPadnos: well with vbox base 491328 servo 182750
SWPadnos: well without vbox base 17347 servo 14115
in the max jitter column?
sounds like you shouldn't run vbox while EMC is running
hahhaha i don't
referencing similar circuits - they run the reference voltage quite a bit higher (2x)
SWPadnos: but without it...it's still more then 4 digits...not good ?
those numbers are OK
but you should leave the test running for a while (maybe even a few hours or overnight), with somthing like glxgears running
some people have reported higher latencies when they run it for a long time, which they don't see during shorter tests
SWPadnos: should i change my base_period ?
I am running emc2 on a BP and occassionally get a limit switch error during a run even though it is not any where near a limit switch. The limit switches are connected to the parallel port and are wired normally closed. Has any one had this problem and found a solution? Any suggestions?
there's no need to do that
jensor: it's noise
SWPadnos: ok..i'll run vbox with it tonight...don't know glxgears
piasdom, no, not vbox
since you know you can't use vbox and EMC2 at the same time, vbox will mask other possible problems
jensor, screen the cables and improve the pull ups
open a terminal or two and type "glxgears"
jensor: check your grounding, maybe add ferrites on power lines if you're using a vfd
SWPadnos: i don't have glxgears...any suggestions ?
and move those windows around
I thought it might be that and tried triggering it by placing a small jacobs ladder arc generator near the wiring but that wouldn't trigger it.
piasdom, do you use AXIS as your GUI?
piasdom: you've established that emc won't run properly with vbox (because issuing steps is interrupted for at least 490000ns, or about 1/2 second). SWPadnos is advising you to run latency-test *without* vbox to find out whether your system has other causes of high latency
jensor: you could also work around it in software by debouncing the limit switch inputs
SWPadnos: no, he said earlier he uses mini
so opengl is not important
jepler: i did with and without xbox
jensor, if you add debounce, make sure the limit switches are far enough away from the hard stops that the machine can stop without crashing
it's definitely better to fix it in hardware
maybe open up a firefox session and some openoffice docs
I see .. I suppose the debounce adds a little delay
a PDF or two, that kind of thing
jensor, yes it does
SWPadnos: will the size of glxgears matter ?
jensor: not neccesarily
yes, debounce adds delay. that's how it works
XBOX360 running EMC - cool! =)
piasdom, I don't think so
jensor: if you can say for certain that another event wont take place for N ms, you can one shot it
cradek: no, only with a low pass filter
cradek: an SR latch deboune add no delay
though the delay may be in BASE_PERIODS, so it wouldn't matter much to the servo thread
Would a ferite donut on the limit switch lines help?
I'm talking about debounce in software. when you see the signal go high, you wait and check it again a little later to see if it's still high, and only then do you honor it
there could be a delay of one servo period
debounce in hardware also adds delay
not with SR or oneshot
those aren't debounce
sure they are
they are perfectly valid methods
even a cap across the line adds delay
yes, cuz thats a filter
uh - that's what debounce is (in this context)
SWPadnos: will run all that tonight..thanks
piasdom, good luck with it
steves_logging is now known as steve_stallings
SWPadnos: what is glxgears used for...testing ?
yeah, it shows that the openGL system is working
and it gives a rough approximation of the performance of it
("it" being openGL software/hardware)
archivist, What do you mean by improve the pull-ups as a solution to killing noise on the limit switch lines.
lower the value?
jensor: is the spindle vfd-operated?
helps noise immunity , it pulls the open circuit line harder, the noise source is less able to perturb
lower the value yes
did you try tapping the switches and wiring with something? maybe something's just loose or flaky
and avoid ground loops
if screw terminals, make sure they're tight, etc etc
star grounding ftw
before changing the electronics (or software) I'd check all that stuff
I'll check out loose wiring and the grounding jcircuit for loops
jensor: first question.. was there a (long) time where it used to work better?
Yes it seems the only time I had such a thing happen was occasionally when I applied power to the spindle
hmm.. then maybe a ground looping issue
ok will check ground circuit
do your spindle cables travel along the limit wires?
do any of them have some isolation around them? (wiremesh or similar)
no shielding, not near spindle power lines
are limits isolated from machine ground
yes the limits are isolated
are wires loose or a twisted pair
if loose and its normally closed and unshielded then you have a coil that can have a voltage induced in it
I am sure that twisted would help
strange thing is, it is now happening when nothing else that I detect occurs
steve_stallings is now known as steves_logging
jensor: get some cheapish STP or FTP ethernet cable
that one has shielding and twisted pair
[Global Notice] Hi all, In about 5 minutes time we'll be taking down one of our client servers for maintenance. The downtime window is one hour but it should take considerably less time. Affected users ~1k. Thank you for flying freenode and have a nice evening!
alex_joni, good idea!
have to run off now, thanks for all the suggestions
[Global Notice] Hi again. We've moved leguin to new hardware, it's up and running and linked to the network again. That concludes today's scheduled maintenance and with some luck it's plain sailing from here, until Friday when we move hubbard to a new switch! Big thanks to the University of Umeå. Sorry for the downtime and have a continued nice evening.
Hi, I have some questions about the mesa products, can I ask them here, or should I mail their support?
and mail support
Well I want to control a 6-joint robot (with emc2)
all PCI anything I/O cards have 4, 8, 18 channels. can I use only 6 of them and use the other IO's freely?
on the latency test..which do you look at, the base thread or servo thread ?
you mean anythingIO and mesa card at the same time ?\
piasdom: for driving steppers base thread
micges: thanks..as of right now i have 155000 max jitters
eg. the 5I20 has the option for a 8-channel servo controller, but I only need 6 of them. Are the pins that are normaly used for the 2 extra servo controllers free to use as in/outputs, (eg. coolant on/of ect..)
cradek_: Are you on line?
piasdom: something is wrong with your machine realtime
LesNewell: he's always online, just not always in front of the terminal
it jumped to 190000 while taking a snapshot
Ok I should have asked if he was in front of his terminal then...
JanVanGilsen: you can do that with 5i20
wiki: I/O pins not driven by a Module instance revert to general-purpose bi-directional digital I/O.
I assume that i need Hostmot2 =)
The sevo's need +/-10V signals, both two 7I33 cards or a 7I65 card can provide 8 of them.
you assume correctly :)
do they have the latency test in emc 1 ??
It's not clear to me if I can use the 7I33 with all Anything I/O cards or only with the 4I34M, 4I65, 4I68, 5I20 and 7I60
The 4I34M and the 7I60 aren't supported by EMC2 and i want a PCI card, does this mean that it only fits with the 5I20
those questions are above me :(
I'dd prefer to use 2 7I33's because it's cheaper and uses a box connector :)
LesNewell: guess not right now :)
LesNewell: is this about diameter mode?
then #emc-devel is certainly the proper place (not #emc) :)
use /join #emc-devel
JanVanGilsen, using the hostmot2 driver, you can specify how many of the available advanced function blocks (like PWM outputs, encoder inputs, stepgens) to enable, and the remaining pins are available as general purpose I/O
however, if you connect e.g. a 7i33 (I think - the 4 channel servo interface) to a connector, you'll have to do something with connectors/Y-cables to get the unused pins off to another generic I/O interface
JanVanGilsen, the 7i33 will connect to any of the supported AnythingIO boards
Is there any way to view earlier discussions that have transpired today while I haven't been signed in?
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-01-12.txt
SWPadnos: I was thinking of splitting u the flatcable =)
yep, that's one way to do it
cradek_ is now known as cradek
you can get an opto22-style module rack with only 12 or 16 I/Os on it
which may be good (better than the 7i37 because you can choose input or output for each pin, instead of being forced into using 8 out and 16 in)
where does win.ini get the file from for the INTRO_GRAPHIC ?
My puma cabinet already has a IO mudule, I'm planning on resusing it.
win.ini _ my mill.ini
_ = =
btw - dad used the pendant from the puma for the hoist on the gantry crane.. :)
The PUMA IO-module has its own relays, fuses, indication leds, ...
piasdom: INTRO_GRAPHIC = emc2.gif
alex_joni: i know...but would like to change the pic
woot, putting /var/tmp/portage in ram == one HELL of a speed increase
INTRO_GRAPHIC = my_freaking_pic.gif ?
hahaha ok i get it thanks
or you mean where the file is actually located?
dpkg -L emc2 | grep emc2.gif
dpkg -L <packagename> gives you a list with all files belonging to a package
alex_joni: thanks got it
My current configuration has as input pin of the parallel port in series with a 560 ohm resistor to a limit switch which is normally closed to ground of the parallel port. Is the 560 ohm resistor really necessary. Is a pull up needed. If so where do I get power for pull ups without going into the Pc and finding it some where?
piasdom: fwiw, this patch (which is in TRUNK) lets the INTRO_GRAPHIC come from the same dir as the inifile: http://cvs.linuxcnc.org/cvs/emc2/scripts/emc.in.diff?r1=1.87;r2=1.88
jepler: thank you
jepler: can only use gif format ?
piasdom: no, experiment with others too
alex_joni: ok thanks
jensor, you should have a pull-up at the port pin
so the port pin connects to two resistors: one series (560 sounds high for this, but it may not be), and one to +5V (maybe 1k - 4.7k)
piasdom: on my system it appears that png and gif are supported, while jpeg is not.
piasdom: it may be the case that by installing libtk-img that additional formats are supported
jepler: doesn't like jpg
jepler: ok...installing ...i hope :)
SWPadnos, As I said before, I am getting noise and falses on the limit switch line (switches normally closed). The inputs seem to recognize the open line as a high without the pull up when the table hits a switch. I suppose I could generate a source for a high, if one is needed, by using one of the pp ports output pins and driving it high.
no, the parallel port is high impedance
I meant as a source for a pullup
you should probably have something like 10-100 ohms in series with the switches, and 1k or so to +5
right, the parallel port is like putting in a 50k pullup, not a nice hard pullup like a 1k
That means I need a 5 volt power supply
the 10-100 ohm resistor is more or less to guard against static discharge damage
you can take it from the PC, but be careful doing that
free current limited PSU ;)
a drive power connector would do it too
heh, yeah, USB is better in that regard
jepler:as you said, it like gif...but mine is HUGH hahahahaha
to get the 500mA from usb you have to "auth" to the pc first though
it should supply 50 or 100 without any work
you don't need 500mA for this
5V / 1k = 10 mA
SWPadnos: PER pin you pull-up :p
x 3 = 15
I'm using 10k which seems to work just fine
15 < 100
What would be wrong with using the hard drive power line for the 5 volts?
Is it clean enough?
jensor: yup, clean enough
if it shorts out to something, the computer crashes and maybe catches on fire
SWPadnos: pins 1 to 24 of the 7I33 are used for 2 joints, that makes a split-up simple
those are high current lines :)
but usually hdd psu is inside, has no current limits (not up to 10-20A or so)
JanVanGilsen, yep. I was thinking about usage of the extra pins - using a 12 or 16 I/O card won't waste as much space/cost
ok, time to do some real work. bbl
jepler: my computer conf deosn't like png as as image
piasdom: huh, I must have been mistaken -- I tried again and mine doesn't either.
jepler: been looking online for what i need to do with your TRUNK :) what DO i do with it...add it to the top of my mill.ini ?
probably a bit too complicated
you need to download the source and compile for run in place..
piasdom: no, it's a change to one of the source files to emc. if you're not building emc from source, then don't try to do anything with it
jepler: ok thanks
maddash is now known as Guest18635
arghhh is now known as maddash
alex_joni: do you happen to have the link to that beer-pouring robot from a few years ago?
not sure I even remember that
jepler: doesn't grep on the irc logs bring anything?
alex_joni: I didn't try yet
* alex_joni tries
jepler: was it something I posted?
jepler: oh, I think I remember seeing one at a trade fair
it was a motoman if my memory serves me right
this is the one I've seen: http://www.metacafe.com/watch/225664/robo_bar/
alex_joni: ow that crashed my firefox
bad proprietary flash plugin
jepler: google robobar
there are sites with pics
I can't find the one I was thinking of but there sure are a lot of robot beer-pouring videos on the youtubes
anyone know if emc 1 had a latency test ? (it maybe a ubuntu thing)
piasdom: emc1 did not have its own latency test. however, if you're running emc1 on an rtai-based system then it may have the 'kern/latency' test
jepler: Thank You
running a couple of hours now and i'm already at 18000
the company doesn't support emc2 and i know they WON'T help me
the rtai latency test is described here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#RTAI_Latency_test
but i have emc2...just asking because i have to call the company and ask if they would help(don't think so)
piasdom: you mean sherline?
i'm sorry...i'm not saying something right...i have emc2 and running latency-test in a terminal, the comp this came from DOES NOT support emc2
piasdom: it doesn't hurt telling them you are not 100% satisfied with the version they chose to support
i would have to go back to debian 4.51
it's not debian 4.51 it bdi4emc 4.51
to make it even more obtuse :D
alex_joni..i know and i will tomorrow, but don't like a comp that's like that
the test says not to use FPU...what that :) ?
and i'm already getting "overruns", that ok ?
no, overruns are bad
but this test will not avg the results..i will have to ?
it's not the average that is important, it's the maximum
getting about 17000
say you're baking cookies, and there's 1 minute during which they are "done" but not yet burned
you always have to check at least once a minute, or sometimes you'll burn your cookies
just with terminal and ksirc
it doesn't matter if you check on average every 30 seconds but sometimes don't check for 5 minutes
it's the same for controlling motors
i understand that
am i looking for the ovl max ?
if you are using the rtai latency test and get anything larger than 0 in the "overruns" column, then IMO that computer is going to burn your cookies
but i like cookies
what do i need to fix this ?
motherboard ? harddrive ? cookies ?
some things are described on that wiki page I mentioned earlier
* alex_joni heads to bed
* jepler is about to head home from the office
good night all
good evening.I have one question.With m5i20 card is possible control in +/- 10volt the analog drive for spindle and ceck the zero index with m19 gcode?
i'm off also 'night....will run latency all night...thanks all for the help
motioncontrol, what is M19 supposed to do?
spindle orient I bet
yeah, could be
orient + lock?
the internet has several pages that call m19 "spindle orientation"
that would be a nice one to add :)
you could use M1xx and do that in hal
emc doesn't have a "spindle orient" code built in; cradek has a good suggestion, though.
instead of the toolchanger having all the fun
m19 is spindle orientation.The cnc read the mark index encoder and stop the spindle
what is your intended use for spindle orient?
m19 is important for more working: example the tool change or the special working .
spindle orientation can be done in HAL, getting the value to orient to out of G-code is the "hard" part
after the spindle is in m19 the splindle can orientation in angular position
see the demo-mazak config for a relatively complicated example
normaly the cnc read the zero mark not is in drive hardware.Full cnc have this fuction
EMC has this function as well
it's in HAL, the hardware abstraction layer
the hardware needs to read the encoder index mark, not the software
otherwise you have timing and/or accuracy problems
(encoder spins past mark some distace before software notices that the index has occurred, when it zeroes the counter, losing the extra distance traveled)
i have progect my cnc and in my cnc i use read the mark index, after stop spindle and reverse slow velocity at the index mark:www.flexmotioncnc.com
you can do that with EMC, but it's not necessary depending on the hardware
mesa doesn't require it
ok.mesa card can control the spindle with drives in analog +/- 10volt?
yes. the easiest way to do that is probably with a 7i33 card
quad "servo interface" = encoder + pwm/dir to analog +/-10V
ok.in this case whit m3 cw rotation and m4 ccw rotation, m19 spindle orientation and m5 free spindle
the M19 code doesn't exist in EMC2
ZOMG! WHO STOLE IT!!!!!!
you could add it, or use one of the custom M-codes (M100-M199) to tell HAL that you need the spindle to go into "position mode" instead of velocity mode
and you can look at the demo-mazak config for an example of how to accomplish that in HAL
well, it doesn't have to be that hard, but id isn't simple either :)
the Mazak is a large complex machine
yes i working for mazak,daewoo,grob and heller machine , but i thing the splindle is not have in emc the all fuction
normaly one splindle is possible move in velocity mode and in position mode
after M19, (a) how does one go back to "normal" mode and (b) how does one specify the orientation in M19 mode?
i don't understand excuse my english.please repeat
ok. two questions:
1) how do you cancel M19 mode?
2) when in M19 mode, how do you set the spindle angle?
the m19 mod calcel with m5
ok, spindle off
m5 = spindle off
m19 is only zero aspindle position , with sinumerik 840d the position spindle named C axis and commad is spos=180 , the spindle autonatic orientation respect at m19 at 180 grad
you have one example of .ini and hal file for command the splindle ?
no. the emc2 interpreter doesn't have words to do that
I wouldn't mind making a specification for it though, in case some kind soul wants to contribute :)
the m3 and m4 set two different pin ok?
because 4 pin ?
spindle-speed gets a signed number which is the requested RPM (-=M4, +=M3)
spindle-on is 0 for 0 speed or M5, and 1 for any forward or backward speed setting
spindle-fwd is on for M3 and off for M4
spindle-rev is 1 for M4 and 0 for M3
ok the m5 exist in emc?
yes, isn't that what you use to turn off the spindle after M3 or M4?
what is the fuction the m5 command in emc?
it stops the spindle
do you have EMC2 installed?
if so, there's a G-code quick reference available in the CNC menu
only m19 not exist ok?
and also the extra pins you'd need to tell HAL/the spindle control that it should be in orientation mode
what is the name the pin for spindle orientation ?
there isn't one
there is another issue. you can't use C as the spindle axis all the time
in the rigid tapping the emc not control the zero mark encoder ?
so that would have to be settable in the ini file, or maybe it should use S
there are a few levels to rigid tapping:
1) the encoder counter (hardware or software) keeps track of when the index happens, and zeroes its internal counter at that time. this is controlled by a HAL pin named index-enable
2) at the start of a rigid tap or spindle-synchronized move, the motion controller waits for an index, then starts axis motion once it's detected
3) the spindle "position" then becomes the master, with other motion basically geared to that
(it's not electronic gearing because axis motion won't reverse if the spindle reverses, but it's similar)
ok if the emc control the index, is possible write dedicate m100 fuction for spindle orientation ?
the spindle reverse at the bottom of a tapped hole is handled correctly though
you need to study and understand how that can be done, probably using the Mazak files as a starting point
then writing an M100 command should be pretty easy
it will be a little difficult to make M5 turn that mode off though, since the only indication of M5 in HAL is that spidnle-speed gets set to 0 and spindle-on/fwd/rev get set off
(but that should already be true before using orient mode, so there's no state change to detect when another M5 comes along after your M100)
i write the m100 in part program.The m100 code write in classicladder or another location ?
M100-M199 are programs you put in your nc_files directory
they can be C, shell scripts, python - anything executable
is possible control in classci ladder the bolean variable with m101 fuction ' exist one system for comunucation emc with plc?
in more cnc existe the nc plc interface
you can use halcmd commands from your M100 function, so you can set HAL pins to certain values if you like
the nc read ad write in plc and the plc read and write in nc
which includes classicladder inputs
there are some M codes to read or write HAL pins
in classiclader is possible read and write the pin?
M6x I think, but I'm not sure
I'm not a classicladder expert
the classicladder included with EMC2 uses HAL pins for I/O
so if you connect something from the motion controller to classicladder, then classicladder will read it like any other I/O
ok.i studing more in this day because i want retrofit one rambaudi italian machine
but this machine have tool orientation
because have the change tool magazine
you known another emc developer in italian?
I don't know any italian developers
there are a few users, btu I haven't seen them around lately
if you like, you can fly me out there and I'll be an Italian developer :)
i thing the good mounth is agust for beech.
what is your contry
you can't fool me - I know everything is closed in August :)
I'm in the USA
in the next mounth i close one affair for usa , for siemens sinumerik 840d power line cnc control installation line
i thing will good expirence
excusme, in the mazak machine is present the tool change
it's a lot of classicladder, plus some other HAL components
i thing is necessary the zero mark encoder read and stop position
that's done in the classicladder and HAL code now
ok i see the mazak example
it can be assumed that the spindle will be stopped for a toolchange (on a mill anyway)
so the M6 command initiates the spindle orient and tool change process
i want write the code with labview for comunication with halui interface
I'm no expert on the contents of that file, I only know that what you want is in there :)
i studing the metod the classicladder read halui and hal and write the code for labview of national Instrument for create one grafical interface for control emc2
I hate labview, so I'm unlikely to be much help there
ok .in italy is 12.20 pm is very night i want sleep.Good mornig in USA and good 2009 for all people