how many variables can be passed to an o-word sub?
blinking flip its windy!
and cold ... 8c
beats 1C and snowing
slushing more like
I prefer snow
well, yeah slush sucks
tomp-tag: I think up to 30 may be passed.
[00:58:15] <jepler> http://linuxcnc.org/docs/devel/html/gcode/main/#817
jmkasunich, you are converting a mill or something now?
not right now
seems things keep coming up
jmkasunich, I have to agree re conversational programing ... its so 1970
so you actually have a machine to convert now?
I've had a Shoptask 3-in-1 since 1998
and its always been my plan to convert it
ahh ... long term project :)
I just got so busy writing EMC I never got around to using it
decent lathe, so-so mill, crap drill
not enough Z travel
well, at least you have time to play with emc
im so busy these days ...
took on 2 new staff recently, opening a second factory and recruiting 2 more
so much work!
jtr_away is now known as jtr
jmkasunich: My reaction to CP is mostly like yours -- "I'd never use that!". but many people *do*, and I suspect that many of those things can be done in g-code with the o-word extensions... I hope lerman's project turns out to be beneficial for users.
but because of my own leanings, I really can't contribute much, so I backed out of the discussion
03jepler 07HEAD * 10emc2/src/hal/utils/halcmd.c: when printing float values, if the absolute value is within the range .00001 to 100000, print without floating-point notation
thats a good fix
it's a copy of cradek's earlier fix to halmeter
it's nice that they match
jepler: thanks, I see they are global too ( R+W )
tomp-tag: actually I think that when a subroutine returns, the values of #1..#30 from before the subroutine call are restored .. so you can't communicate with the caller in this way
I think vars over 30 are global though
cradek: yes, above #30 is "global"
yes, I mis-read, the vars ABOVE #30 are global, and can be written by subs, still very handy
I see "while [#1 lt 10] " and then "if [#2 > 5] ".... which is proper? symbol or acronym?
where did you see ">"?
I was loking for a list of allowed relational op's when I noticed the above... but didnt find a list ... like != ~=\I saw it at the page you gave above
I see it now too; I'll fix it
got it... very fanuc-y ( can we get 'named variables' ??) wish wish
tomp-tag: the NIST documentation does list the function and operator names .. looks like that section didn't get incorporated into our documentation.
like SIN() and && ?
the section that describes Indirection can also be used for indexed look ups ( base + offset ), allowing data tables
there's this: http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_39a.html#1002769
but I don't find the comparison operators in there either
got it, ... comparison and operations ( bit fiddling? )
nope, got buit fiddling in that list
not sure if "and" is like C's && (logical) or & (bitwise)
n0120 x [2 and 2] (x should be 1)
must be logical
hmm, the section labled 'Indirection' really is just indexed look up, indirection is more like ##1, indexed lookup is like (#100 + 1 )
You can write #[#1] as well
That code under 'indirection' is intended to show that you can call a different subroutine by computing its number
The # character may be repeated; for example ##2 means the value of the parameter whose index is the (integer) value of parameter 2.
understood, the xmpl under indirection just isnt an xmpl of indirection ( just indexing ) ;-)
your xmpls are xmpls of indirection
03jepler 07HEAD * 10emc2/docs/src/gcode/main.lyx: document relational operators; remove bogus example using > instead of GT
03jmkasunich 07HEAD * 10emc2/src/hal/components/ (sampler.c sampler_usr.c streamer.c streamer_usr.c): fix some minor bugs in streamer and sampler
tomp-tag: thanks for spotting these problems with the documentation.
03jmkasunich 07HEAD * 10emc2/docs/man/man1/ (halsampler.1 halstreamer.1): added man pages for sampler and halsampler, minor tweaks to halstreamer man page
03jmkasunich 07HEAD * 10emc2/docs/man/man9/sampler.9: added man pages for sampler and halsampler, minor tweaks to halstreamer man page
03cradek 07HEAD * 10emc2/nc_files/g76.ngc: doc bug
03jepler 07HEAD * 10emc2/docs/man/man3/ (23 files): having a blank first line makes 'groff -Tps' put a blank page at the start of the output
03cradek 07HEAD * 10emc2/src/emc/rs274ngc/ (9 files):
fix bug with checking against tool table size when reading h word
with g76; accept e word at appropriate times with g76 to get
ready for angled in/outfeed.
anyone order from harbour freight?
not much, .. to early I think ;D
Dallur: hi, you were the one playing with classicladder.. right?
and you said that some parts were missing from it (something added lateron)
in the meantime jepler has integrated CL 0.7.100 into emc2
was wondering if you can test & report any problems / pitfalls
alex: Hey, I have not tested anything but I will
alex: What I found missing was the ability to assign varables to timers, I talked tot he CL guy (can't remember his name) and he added it to CL, so it probably should be in 0.7.100 but im not sure if jepler hooked it up so that it can be connected to a signal
ahh.. I see what you mean
it's Marc Le Douarain or something like that
hmm.. so variables should be HAL floats?
HAL pins of type float
I think that's not there..
anyways, testing would still be greatly appreciated ;)
I think I might get around to do some testing this week or next weekend, been working like crazy on LGPLing a bunch from my old company
a bunch of code
ahh.. ok ;)
I got them to agree to release one of the projects I worked on
but I still have to donate the work to take out all proprietary stuff and copyrighted material
alex_joni: is there a non-rt emc in head?
aka axis sim
btw, I was watching a Google Video a couple of days back, it was a Techtalk on a fusion research problem, the name might sound a bit familiar, EMC2
I never realized that version 2 of EMC is emc2 = Einstein's equation :D
Lerneaen_Hydra: yes, configure --enable-simulator
Dallur: close enough ;)
Dallur: there are about 200 different meanings to emc2
as a matter of fact emc2~=2.706
as in e the constant, m the atomic mass constant, c the speed of light in vacuum, and multiplied by 2
not by 2
to the power of two
ah but it's called emc2 not emc^2
as it is emc version two
but irc is not good for superscripts
damn, I should have chosed a different c and m
[10:49:12] <alex_joni> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/~checkout~/emc2/emc2.gif?rev=184.108.40.206;content-type=image%2Fgif
When is EMC Squared up for release ? :Þ
it's hard finding another constant other than c for speed of light, and an m that doesn't have to do with mass
ah nm. I'm feeling slow today
alex_joni: were you here any longer after I left yesterday?
do you know if cradek had any other questions?
Lerneaen_Hydra: no idea
bonjour mes amies!
rt oui... c'est mes.
je suis somnolent.
moi aussi :)
quelle heur est la?
darn.. my french is really bad :(
oh.. ici c'est 2pm
I think I'll go buy a french phrase book for kicks and brush up on my french.
what's up AJ?
not at the moment
semi-busy at work
03rayh 07HEAD * 10emc2/docs/src/config/ (configuration-selector1.png launcher.png term1.png): initial addition
looks like they are not set right by default, I was wrong
03rayh 07HEAD * 10emc2/docs/src/config/copy_and_run.lyx: initial draft
03rayh 07HEAD * 10emc2/docs/src/Master_User.lyx: added config selector
Want me to fix with cvs admin or can you cradek?
cradek: was there anything else you wondered about wrt canned threading?
are depths usually measured from the drive line, or x=0, or something else?
afaik from the original OD of the thread
if that makes any sense
so it makes sense to specify the thread depth
total thread depth
currently I'm using drive line to first pass and first pass to last pass distances
oh, that may not be the very best
as most books with specifications have the total thread depth specified
ie to cut thread foo, you want a total depth of bar
to use those numbers you would waste the first pass I guess
I could have it skip the first pass using the current algorithm
so you'd specify distance to the outside R, first pass depth, total depth
first pass would be at R - first depth
that sounds good
as well as final cut increment and degression
yes degression, I don't have final increment
that seems overspecified to me
oh, right, yeah
you have numberof passes instead?
first pass depth
yeah, first cut and degression
did you find a good idea of how to not run out of charachters yesterday?
I'm going to use E for the angle (or number of pitches)
one of the remaining ints to specify what to do with it
nice, what about where the angle is to be applied?
I'd rather have two floats, but it's not to be
that's the int
how do you choose if it's angle or number of pitches then?
I have to pick one way or the other
and the user will have to obey
IMO angle would be better
seeing as how a resolution of +-1 pitch is quite coarse
E is a float
hmm, I would still prefer angle myself, as it's the most intuitive for me
I'm leaning toward pitches (or just a length) because I can imagine it's normal to say "I want the taper this long"
otherwise you have to use trig to figure that out
it seems like since distances are easier to work with than angles, we should use distances where possible
oh, I was thinking more along the lines of a drawing of the part, afaik mostly the angle is defined
not the projected distance too?
I'm picturing a drawing of a bolt: 1" of thread, .1" of tapered thread, .5" of no thread, hex head
not the ones I've seen, at least here in europe it's a bad thing to have an overdefined sketch
oh, must be different standards or something
no I just made it up in my head, that seems like an obvious way to draw it
I wonder if alex has seen more of the angled type drawing
you could be right that it's uncommon everywhere, I don't know at all
I'm not sure either, I'm just talking from the little amount of things I've seen
Lerneaen_Hydra_ is now known as Lerneaen_Hydra
is 6v too much to safely drive 5v logic?
~800ma split into 3 controllers
eholmgren: I wouldnt do that..
eholmgren: can you put a diode on the input ?
so you get a voltage drop :)
will end up using the 5v off the computer's power supply
* anonimasu nods
but I have a 6v wall transformer as well
* eholmgren needs to brush up on his electronics
how much drop will a plain old diode give me?
should I use 2 in series then, or is 5.4v safe enough
what are you trying to run?
for instance, this HC logic is specified to run with vcc=6v -- but make sure your "6V" transformer is a good, regulated 6V because that the maximum operating voltage. http://w3.id.tue.nl/fileadmin/id/objects/E-Atelier/doc/Datasheets/74hcXX/74hc_hct00.pdf
5.4v (1 drop) and 4.8v (2 drops) would both be fine too, it operates down to 2.0v
[18:48:35] <anonimasu> http://users.bestweb.net/~hobbs/footprints/fpspie11.pdf
anonimasu: but interesting anyway
just some old centent stepper drives
specifically the CN0142
should have picked up the 4.7v transformer that I saw
suppose the extra gas to go back and get it would have been worth the $1.99
looks like 5v is max then
You're talking about terminal 10?
if the voltage is much higher than the "high" voltage on the step & direction signals, then current will flow through the optoisolator all the time, and the step pulses won't be seen
well, maybe -- I'm not sure
but if it says 5V then I'd use 5V
did you measure the actual voltage from your "6V" wall-wart?
can someone tell me the full thread height of 1/4-20 when using a pointed tool?
no, haven't dug out my meter from all the moving crap yet
guess it might not be exactly 6v, huh
03cradek 07HEAD * 10emc2/nc_files/g76.ngc: use i word to specify the offset to the full radius, j is the first cut depth, k is the full thread height. this seems to make more sense.
03cradek 07HEAD * 10emc2/src/emc/rs274ngc/interp_convert.cc: use i word to specify the offset to the full radius, j is the first cut depth, k is the full thread height. this seems to make more sense.
Wondering what is the min pc recommendations and would a PII 800 Mhz work OK?
Printing off the docs now 185 pages of it
yes, but it depends on your desired pulserate..
are you sure it's not a PIII? I'm not sure there was a PII 800
I run a vey basic self built CNC max rate was 6 inch per min
how many steps per inch?
it'll be fine :-)
unless you have like a million steps per inch :)
Steps per inch is only 400, using a basic full mode stepper with a 2:1 reduction to working out here!
has to be p3
that's only 40 steps per second -- your machine will be just fine
has to be p3?
half step mode would work better, you should try it if your drivers can do it
using the stepper kit from Camtronics 3 axis pic controller stuff
present software is CNCpro but would like to use tool offset as in the G42 (I think)
emc has both length and radius offset g40/41/42/43
dam out of paper back in a tic
[20:15:21] <jepler> http://linuxcnc.org/docs/html/gcode/main/#sub:G40_-G41_-G42:
I should find it all in the printed does I hope, a point raised above has to be P3 is this the case as will need to ebay for an old P3?
Tamarisk: an 800MHz machine will be fine
I think that eholmgren means he's pretty sure your machine is a PIII (P3), not a PII.
No P2 800MHz
or celeron! will need to power up to check
[20:20:25] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Hardware_Requirements
my english is poor
my english is poor and I am from u s of a
what up dawg?
i have installed emc2 + ubuntu
somebody help me?
just ask your question, someone will help
i set BASE_PERIOD to 100000
for speed increase
cpu athlon 1800
If you choose too low a BASE_PERIOD, you machine may be unresponsive or even crash. If it does, the only solution is to use a larger BASE_PERIOD.
the default base_period is 50000
for slow cpu
many machines can run 20000 just fine, 10000 is pretty fast
i try 10000 work fine
if it works, then what is your question?
if that is for athlon 1800 cpu
the best setting
any setting is a trade-off: a smaller BASE_PERIOD means there is less time left for other applications to run
The best setting depends on the step rate you need -- If you only need 4000 steps per second, then 50000 is probably a good value. If you need 10000 steps per second, then it is too large a PERIOD.
you should not choose the smallest PERIOD that doesn't lock up your machine -- you should chose the largest PERIOD that runs your motors properly.
so we chose a large PERIOD, 50000, for our sample configurations
the max speed is 2000
motor 3600 step/rev
anyone here use this cnc conversion kit? http://www.cncfusion.com/micromill1.html
3600 steps/rev is very high
i was going to use the xylotex board http://www.xylotex.com/3axBoard.htm
i'll still need to come up with some homing solutions i guess
you can just add switches to the leftover pins on the parport
yeah, i meant physically mounting them
oh, that can be the challenging part
ChrisSmol: I don't know anything about that conversion kit. I think xylotex is a fine driver, as long as you use adequate cooling and do not use too high a supply voltage.
they seem to recommend 24 volts, or at least that is what they sell
i'll keep a fan on it ;-)
IIRC the "absolute maximum" voltage is 35V or 36V, and that includes "back EMF" from the motor, which can spike higher than the supply voltage
looks like they're just selling a simple switcher
need to see what i have laying around for power supplies
yep, looks like a basic switching power supply
i could always add some transzorb diodes on the stepper lines for protection
I'm not familiar with "transzorb" -- is that a brand name?
that's what i call them ;-) moment...
yeah, it's the trade name for the ones by vishay
old general semi
Depends on what you want - how much is the xylotex kit? are you getting steppers with it?
i'd probably get the steppers with it. i have found some elsewhere for a little less, around $40 each, but the $10 each in savings would probably be eaten up by the extra shipping costs
btw cutting cement board is messy
$295 for 3 steppers and the board
suppose I could look ;)
that isn't bad at all. depends on how much scrounging you want to do
vs how much i just want to start using it ;-)
Sorry but I lost my connection before. PC is a Celeron processor, 800 MHz, 192 Meg Ram so looks as though I need to get some more, also running an on board video card Intel 82810 graphics controller
i make and sell my own stuff. a few hours of my time will pay for this stuff. so unless i enjoy doing the work, i don't really "save" any money scrounging around
ChrisSmol: some people around here would benefit from advice like that
Tamarisk: you may have issues with the on board video - Is it shared memory?
It could be not sure how to tell, bios I guess?
skunk: cement board is heavy too
Tamarisk: I think all intel video chipsets use shared memory
Memory range is D0000000 toD3FFFFFFF and D41000000 to D417FFFFF maybe to many 000 andFFF's there so guess it is shared memory
got to carry pallet loads of 3/4" 4'x8' of that stuff up a few flights of stairs for a construction job years ago
tamarisk: if you can add a PCI or AGP video card to the system, it will be fine.
I used to cut it with a utitlity knife until someone had mentioned that old carbide circle saws work great - and they do
somewhere I have an old S3 video card may try that, I think the last time I tried was with a DELL and that had on board video
at least it bends around corners
hmm... i wonder if i need to look into the shaft size on the steppers vs the motor couplings that come with this kit, or are they standardized for nema23?
Tamarisk: If you go ubuntu - you will probably need a bit more memory - atleast for the install. I have found 256 works great - others have needed 512
Question, When one refers to half step 1/4 step etc what is the benefits, when I looked at the torque curves of a stepper motor it appeared to have the best at full step?
fwiw, i could not install ubuntu with 256, i needed to go to 512
but it boots with 256 fine
The machine was running Suse10 with 192 but will try to get more before trying
Tamarisk: you could probably install Xubuntu
jepler - you where talking about bo^dick - right ;)
it's a leightweight oriented Ubuntu distribution
skunkworks: you think>
I could be applied to me :)
hehehe, feelind unsecure?
feeling.. darn my typing sux tonight
This week is basement work. I don't know if I am going to get to the servo. (the encoder is doa) :(
I am still basic with Linux so will try when I have a suitable PC or not at all as I do not wish hardware to be the problem
Tamarisk: folks seem to prefer microstepping because it is "smoother" -- closer to the ideal of driving the stepper with sine-wave currents. however, if you have too small a microstep size then a PC can't generate the step pulses fast enough
Tamarisk: it doesn't take much to test - You could try with the memeory on had (boot from the live cd - and run the rtai latency test)
had <- hand
I downloaded the EMC2 live cd last night so could try that, I will look for the other Video card first
192 is probably critical for the LiveCD
it "might" just work
I got my steps wrong before, on my home built it is 100 steps per 1 mm
I have 1800/mm on my sherline slides
That is why I asked about microstepping?
this is 10 microsteps, and 1mm/rev screws
hmm.. think it is 2000 afterall
200 steps / rev stepper
1.8 degrees on each step
but I'm seriously limited by the max step rate
my lead screww is 4 mm per rev and a 200 step motor with a 2:1 reduction should give me in theory0.01mm accuracy my workholding and coloum is not that ridgid
[21:53:07] <cradek> http://www.fpga4fun.com/board_pluto-P.html
yeah, that's nice
I'd like that and that scope board they have
it's not very "big" as FPGAs go, though
* alex_joni heads to bed
good night all
"2006-11-20: We are aware of an issue involving mailing list archives being out of date for many projects. We are currently working towards deploying a solution that should remedy the issue. We apologise for the inconvenience this causes."
yay, SF finally have fessed up that there's a problem with the mailing list archives
I wonder what took them so ****ing long to realize it?
good thing it's just an issue - I was thinking for a while that it was a problem
For those in the USA http://officemax.shoplocal.com/officemax/Default.aspx?action=browsepagedetail&storeid=2420336&rapid=338482&pagenumber=3&listingid=-2094097887