I know you do, we see it on the TV
every year it is national headlines heck we have a fire season
pfred1 you in the US?
ok, me too
we've chopped down most of our trees so we're OK ;)
but up north out west even down south big problems mainly due to foolish policies
andypugh you seen them austrailian fires?
them people got messed up
Aye. It doesn't rain every fricking day there either.
(I am growing gills)
famous last words, but a hurdy-gurdy doesn't look that hard to build
Texas here. Quite a bit of trees in east texas, but don't here of many fires. plenty of logging though.
andypugh hey dont feel too bad i just got flooded out
NorIda took me out
eric I forgot what one looks like.
eric_unterhausen I always wantedto build a window harp
Hmm, Bridgeport on eBay, £90 with 19 hours to go....
andypugh what kind?
TABLE SIZE 42" x 9"
ELECTRONIC POWER FEEDS
4" INCREASED HEIGHT
I don't know how he did it but I guy i knew got a CNC-1 given to him
was burnt out electrics in it but machine was in good shape
shop he got it from was just like haul it away it is wasting space
Looking at the amount of spare space in my garage I am (barely) managing to avoid being jealous
yeah i need to throw up an outbuilding and move some things out
I'm pressed for space now myself
Less pressed than me if you can consider an outbuilding. I am a terraced house with detached single garage
double attached here with 3 acres
I have a little shed i park my tractor in and a real shack I keep junk in
That's not "pressed for space" You have enough space there to take up a trebuchet hobby.
andypugh ever hear of Pumpkin Chunkin?
andypugh up til 2 years ago that was 2 blocks south of me
So, there you are then. No excuse.
then they moved to the other side of town well they call it Bridgeville but it is practically in Georgetown
this town is 125 square miles
andypugh driving around my block isa 5 mile drive
The challenge, then, would be to enter from your garden and still hit the event.
andypugh so funny you should mention trebuchet hobby
andypugh BTW I was there when they set the new worlds record
It is my standard metric for having enough space.
andypugh technically I don't have enough land to legally shoot don't stop anyone around here though
Does a trebuchet count as shooting?
you're supposed to have 5
I meant guns
we shoot everything here though
some of my neighbors probably have bazooka hobbies!
guy down the road is a black powder nut
gawd is that loud!
andypugh new years eve can be a little scary around these parts
[00:17:09] <andypugh> http://www.youtube.com/watch?v=1uAFfanUJvY&NR=1
skeet shooting. With a bazooka
andypugh heh I think we prefer shooting stuff with legs that runs
andypugh when you see them the deer herds in the fall here cover acres
packed shoulder to shoulder
you know when they're mating
Sounds on odd position for mating
I think that is the meet and greet aspect of it
I don't stick around to find out all the gory details
they do it at night anyways the meets
so hard to make out what is going on all I know is its a lot of deer
if you go straight out my backyard it is a hunting club
they got their own artificial lake
Anyway, that time of night again. One last thing: Does anyone have any opinion on the Tormach tooling system? I am thinking of blatently copying it.
andypugh thought has crossed my mind too seems their gimick is that gauge
you know the plastic gauge you set for wheel diameter and angle
Lots of 3/4" shank tooling on eBay
hmm maybe different tool sorry
No, I have never seen the gauge to which you refer
andypugh yes i think I was thinking of a different tool one I am thinking about is a grinder
[00:24:31] <andypugh> http://www.tormach.com/Flash/TTS_small.html
Main page is http://www.tormach.com/Product_TTS2.html
yes flash doesn't work on my PC
looks like collets to me
There is a /gif version linked from the second link
It is a collet.
but they're so you can set the tools to height right?
The only slightly special thing is that there is a shoulder that bears directly on the spindle for rigidity and consistent height
andypugh haha this is what i thought you meant
[00:27:03] <pfred1> http://www.thebestthings.com/newtools/tormek.htm
Ah, no. Though I have heard of them too.
andypugh yes, they look like very nice collets to me
I only have my interchangeable collet set
one holder and different sized collets
To an extent the collet is only a way to modify the spindle to take the tooling.
tormach tormek I got cofnfuzed!
time to reheat my fish and chips here I think
andypugh I've thought about knocking off this grinding system
Mmmm fish and chips
least the way the guide is on it
ds3 broiled stuffed flounder
caught down at the diner fresh just last night!
Oh BAH :P
my BOB is coming out nice
OK, time to not be here any more.
I have a transistor switching the opto on 5 ma draw 11 ma feed to the opto
I'm happy with that
that should work on any crappolla parallel port ever made I'd hope
break out board
don't know why they're not called buffer cards or something but I guess BOB is OK
bob is really a pretty generic term, but it has taken hold.
eric_unterhausen its funny my BOB
now i have to find out what advantages the ACT family gives to buffer chips
I think it is CMOS that trips on TTL logic
but don't hold me to that
or i should say levels
TTL logic levels
I think ACT are faster and better in other ways
parallel ports aren't exactly the speediest interfaces known to man
the junkiest TTL is 10 MHz
I do have a tube of 8255s laying around someplace
I think they're PIAs
yeah, we've used LS, ACT, and HCT 541s for BOBs
I got 541s
Parallel Interface Adapters
they're ancient old skewl
the original parallel port spec chip
PIA's? that sounds like something from the Atari 8 bit days
all parallel ports are supposed to deliver the functionality of the 8255
if memory serves me
isn't a 74xx244 a easier parallel port? think that's what the PC's settled on
oh yeah we're talking from the 80s here
drop it in the bus, add a decode and strobe the latch on the /WR line
I'm sure all the other chip makers from back then would argue with you over that
8255 is just a generic parallel interface port, not really aimed at printer port use
but I do have a whole tube of them so I could blow them up like firecrackers over here ;)
I couldn't really figure out why one would want to use a 8255 over a few 244's
the Z80 parallel port chip and the one that worked with the 6502 were considered better
I think the z80 one could detect a change on an input pin and throw an interrupt
ack! I don't I just looked they're 8251As I have!
heck if i know I'd have to look it up
all I know is they're not 8255s
I used to work assembling PCBs and I'd take home junk
might as well chuck them in the bin
is that what they are?
ah they'd be handy in another project
what;s the diff between the 8250 and the 8251?
the 8250 UART is what's in the original PCs
I'll go get the data book
mine are all upstairs
I use datasheet.com
I remember the z80 PIO also had status-affects vector
so you could have differen vectored interrupts depending on I/O pin staus
well i have my Fairchild TTL Data Book down here
the 80s were my haydays so it is the stuff I like today
8250 was a nat-semi part, that's the big difference
The 8251 in Intel I think
not pin compatible
Not even same number of pins
yeah different companies knocking off each others stuff gets confusing
those chips were a big deal back then
now they cut and paste a logic block and off they go
I've always felt that the time we're in now will be looked back upon as the wild west days of the digital era
isnt G83 a bolt arc and G81 a bolt line?
don't make me url you
[02:19:58] <cradek> http://www.linuxcnc.org/docview/html/gcode.html
ive read the book at http://linuxcnc.org/docs/html/gcode_main.html#sub:G81:-Drilling-Cycle
as far as I know, G81 and G83 are always drill and peck drill cycles
i'm looking at the state of ken Lehrman's Gwiz, and he generates a bolt arc for both, i think he's just got some basic decoding wrong, and that it used to work
aren't there some lathe controls that use those for rough/finishing?
or am I confused?
not sure - I don't really know lathe controls
anyone know max parallel port speed? Google is throwing garbage at me as usual
i assumed G83 was bolt arc from the code, and that G81 was a bolt line when given an R (stepover) and an L (repeats) as shown on that page (G81 is definitely a loop because of all the explanation of 2nd hole 3rd hole...)
i likely am wrong on the assumption tho (old joke)
pfred1: many machines running EMC2 can generate 50kHz step pulse trains. the issue isn't parport speed, it's the realtime performance of your machine, and you can measure that.
I'm not sure what question you're asking
cradek yes I am wondering about the theoretical top or ultimate speed of the interface
cradek some wang nut on yahoo is throwing out the number of 1 uS and I doubt a parallel port could go that fast if I tossed it out of anairplane
oh I have no idea
well, a parallel port is basically a 74LS245
74LS244 I mean
it can toggle once per instruction but you can't do anything else on the machine
look at the min. rise and fall time and that should give you a theoretical upper bound on the speed
ds3 but is it driven I mean I see 2 mbit/s
so I don't know what question he's asking or answering either :-/
and the 244 should be able to do better than that I'd think
and that 2mbit number would be paralleled I'd imagine so the speed is 2mbit / 8 right?
which lowers it even more
cradek cute bt this could be useful to me in some obscure way
30Mhz for LS TTL
MattyXM I'd like that parallel port!
but it is officially sitting on a 8MHz (16MHz tops) ISA bus
but spec of centronics required 2Mhz or sth
so that'd be a second constraint
yes i know it is not the top speed of a TTL chip
the centronics spec allowed 150ns settling time iirc
between putting the data lines and sending the strobe
1 uS just sounds waaaay too fast to me
but yes it is academic because my motor drivers top out before 35 uS anyways
1 uS you only going ot upset the neighbors dog
I guess that'll be the reply I'll go with
you need a common multiple of all you motors tho
so faster the better
well I don't think i can do useful work til about 1 mS
wait no like .5 ms
I mean I'll see when the machine is running might be a little better
but not much I think
ok, G81 is a bolt line when exec'd in G91, when L >1 . the passed X Y are added to current X Y, this is done L times. When G81 has no L, then its a bolt hole. ( R is retract plane )
attach an LS373 direct to the fsb somehow
a pcie card could have a 386sx + ls373
ah mesa :)
I put some of my new current sense resistors into my homemade motor drives man they're sweet!
I haven't scoped it yet but it sounds better to me
let me see if I can set a nwe speed record for myself over here
i think Gwiz gives a bolt circle macro that uses G81 G83 G73 on the individual holes, and o-word macros to position to next hole in arc.
I was confused with the L param... does the 'L' parm goto the o-word macro or to the Gcode? in practice, it goes to the o-word macro ).
maybe there is nothing wrng with it, just expectations vs result. ( well the speed feed o-word macro doesnt exist )
I need more Simpson multimeters
when I run my motors through them to test for amps they perform better
figure that crap out!
what way do they perform badly and what drivers are you using?
Valen they don't resonate til higher clock
Valen home made half step PWM drivers
do you have current limiting?
tried subst'ing a high wattage, low resistance resistor?
in other words they go faster before hey lock up going through the meter than straight connection
yeah the shunt in the simpson must be sweet
ah it is only like 20 uS
but still annoying
so current limiting?
the PWM limits current
do you have something that chops the current when you excede some limit?
at top speed they well they crap out drawing nothing
the SLA7026 is a PWM module
now can you say yes or no?
PWM are current choppers so that is a yes of course
I am fully aware of what PWM is and does, I repair speed controllers for a living
no it isnt
cycle by cycle current limiting means it lets the current increase to some point and will then shut down for a period, this is different to running a fixed PWM off a voltage supply
If you are exceding the current limit and your controller has a fixed off period following an overcurrent event then you will see excessive current foldback under that condition
putting a resistor in the line stops the motor from drawing too much current hence keeping it off the current limit
so I say again, does your controller have a current limiter?
well when it resonates out at top speed the draw is 0
as far as I know all the SLA7026 does is limit current least if it does anything else i am unaware of it
how much current does it pull sitting still
draw would go to 0 on a multi meter even if you are exceding the current limit breifley
how big a stepper is it?
rated for 2 A
it is a vesta PK266
just a little motor
I have 1.5A steppers, they pull just shy of 700mA
do you have a scope?
scoped the current sense lines?
it is how i see how fast it is running
no because i wouldn't know what I was looking for
ringing or other weirdness
could be your seening an electrical resonance issue rather than mechanical
I'll say this the sequencer used to be very raggy until i added a few filter capacitors
the PWM makes hella noise
it doesn't look like the nicest way of doing things
so noise has been an issue all allong with this stepper jazz
do you have a link to a decent data sheet?
last i looked on the ned Allegro has discontinued support of the module
I have on my system though
the good datasheet
hey I could up it o my ISP
what chip is it?
let me do that give me a bit to put on their ftp
it seems obselete to me
the 7062 way nicer
I'm using a a3979
designed a board for it myself
I'm using servos ;->
I like power tab
servos suckie lol jk
not much out in power tab
but zip pins suck!
what zipperhead dreamed them up?
I made an eagle library of the chip
that was a pain
a3979 does 2.5A 35V max
3 A 46V
* pfred1 flexes
but goes down to 16th step
yeah I have to gen my own sequences :(
half stepping seems OK to me
soic chip size of pinky finger tip
ah I have 3 acres so size really doesn't matter ;)
but seriously i do't like things too small
especially power packages
mass dissapates heat
my large gnd plane dissapates the heat
mo bigger is mo betterer
yeah i have aluminum heatsink on my chip though spec claims I don't need it
makes me feel better
* pfred1 greazed his wheezer on this deal
I tried using lmd18245, what a joke
two 15 dollar chips, plus a uc to run them
my motor driver is nust on solderless breadboard now I'm hoping final soldered version will perform a little better
what is a vc?
yeah I'm not getting so involved
it is already involved enough what I'm doing for me at least
ya a3979 was cheap and simple, just pcb was little of a pain
yes my chips are old
they take a little more to use them
the lmd18245 was 55V 3A tho
yeah and $15 a pop!
and u need two for 1 motor!
I've looked at them
I have a bipolar nema 34 frame motor that i could use them on
I got like 15 samples of them, blew up like 8 of them and gave up
but I'll make a discrete bridge for it probably
but that is down the road first machine will use these little bitty unipolar motors
because you get int othem bigger motors and you need bigger power supply etc
I don't want to get caught in that trap!
figuring out where I was going to get 10 amps was bad enough
a3986 looks nice, can use your own mosfets up to 10A
still have to feed it
10A 50V PS don't grow on trees
bah u can make a ps
out of what?
hell I buy a 35V 10A ps for like 35 bucks
what is the shipping?
oh wait I lie, 70 bucks
no 60 bucks
32V 10A, 59.95
better to buy that once than 3 times
I made my own power supply too
[03:30:33] <tlab> http://www.probotix.com/power_supplies
well I'm going to bed
300 watt 2-23V adjustable voltage adjustable current
heh I love the red box http://www.probotix.com/manuals/LPSK-3210.pdf
what a crappy way to wire a CT transformer :(
okay, the newest lehrman Gwiz needs some work on o-word anchors/labels in the macros ( O10000000 wasnt found but changing to O<circularpocket> has produced results )
tom3p I love the name Gwiz
Gwiz, Mr Wizard !
the one PS on this page that looks interesting to me doesn't have a user manual :(
anyway, got good results but hacked the output, didnt chg the src code yet
if i fix it ill doc it
are there any emc machine examples?
hopefully with schematics
in Gwiz, the data entry fields are mismatched to the data ( the executed feedrate is labeled pocket depth in the circular pocket macro )
change the pocket depth and you get a new feedrate of same value
and fudge tests like N - .0001 are inch only
new gcode file for gwiz's circular pocket http://pastebin.ca/1675918
this replaces /usr/share/gwiz/wizards/mill/pockets/circular/gcode.ngc
new config file for gwiz circular pocket http://pastebin.ca/1675925
this replaces /usr/share/gwiz/wizards/mill/pockets/circular/config
the circular pocket will now work, but has no vertical steps ( neither did orig , its on the todo list )
gwiz help file for circular pockets http://pastebin.ca/1675936
this replaces /usr/share/gwiz/wizards/mill/pockets/circular/help
the gwiz framework is nice, its 'inside' emc2, but i worry about local variables, i dont think we have suck in emc, and a lot of stuff using same var is dangerous ( local global data hiding etc... )
and the recent probs seem to be all about labels, there 10 digit labels in the code ... O100000000 for example, in an effort to keep things separated, and to doc version and revision
in Heidenhain, we had 100 variables, and could map which were local and which were global. globals were used as message passing, locals used for 'scratch' vars
i 'spose using the literal convention ... o<myvar> can avoid that ( hate to 'spose :(
cradek: just read the 'toon, rofl!
a nifty thing in gwiz, context sensitive help: when a macro is highlighted, and the 'about' is chosen from the menu bar, help for that macro is appended to the authors credits.
and its just html so you can jazz up the help file a bit
tom3p: Did you have to modify the first 100 lines of the Gwiz code at all? Nothing really works with the live CD install. I think the use of the .emcrc file needs to be rethought since it doesn't seem to exist
with a live CD install. I got it to run but I did a bunch of bypassing of stuff just so I could get the window to pop up. But now as you mentioned before it doesn't want to find the libraries properly. Those locations were hard coded in the first 100 lines of the program also I believe.. not quite right.. It is a good start though as you say...
Dave911: i didnt modify the gwiz executable at all. i dont see why you dont have a .emcrc. imo its not a result of gwiz at all
Dave911: thx for writing, i was trying to remember your handle
just checked, the timestamp on /usr/bin/gwiz is still Jul 7 12:37 i didnt touch it
Np.. Ken Lerman mentioned that the Live CD install sets things up quite differently... and apparently without a .emcrc file. No of course it is not a result of gwiz, but if half (or a large qty of the users ) don't have a .emcrc file isn't that a problem?
The only way I could get it to run was to tweak it heavily. If you look at the first 100 lines or so you will see that Ken left it undone intentionally... Some things are simply not finished
Hence framework. ;-)
uh yeh, i'm not sure hat no .emcrc is common or unique yet. we only have 4 data, 2 of my systems do, and 2 of yours dont.
did you try to fake a .emcrc, maybe copy he one i posted?
I setup a .emcrc file but then other things started having problems.. then I saw a bunch of other undone stuff and realized that he truly meant this to be a framework..
Honestly I was going to seriously hack it anyway for other purposes.... but now I have to think about where I go from here after seeing it... It has a lot of potential.
Actually I think that one of my systems does - compiled off the master git pull.. and this one I just stuck together does not since I loaded it quickly with the Live CD and then did a full update on it..
i remember looking into the gwiz code and wanting to hack in there,but i havent. i changed these things: the .ini file, i copied the gwiz files to /usr/share/gwiz, i think i copied the gwiz executable to /usr/bin (i'd have to check this irc log to be sure of that last item )
i agree its a nice framework , and that theres work to be done. i had to edit three files to get the circular pocket to work ( this is librayr stuff not the gwiz executable )
and in that discovered some neat stuf it could do. also, its got a nice unix feel to it, it's really a gui for the o-word mechanism.
If you don't use the TCL loader then I don't think the .emcrc file is required at all. On my PC with the compiled master git pull, I have a short cut off the desktop to the EMC2 script file to start up EMC2 with the desired config.. Just like the Live CD works with different configs. I didn't know about the TCL loader until I got into Gwiz..
I'm really glad you are digging into this now.. :-) As I am learning a lot from what you are running into. It is a pretty cool program.
I think I'll shutdown for the night and get some rest .... have a good night.
if ur not gone... gwiz needs program_directory and wizard_root, NOT .emcrc, we can hack that out and wizard_root has a default so its barely needed, and think program_directory is really niot used, this can be fixed
i mean it doesn HAVE to have the .emcrc, we can get it the data by hardcoding or command line passing or godknow
we now got a spindle-meter... attached 2 ir-reflex sensors and hooked it up to some free pins.
cool, for rpm? why 2 detectors?
yes.. true rpm
2 detectors to have direction
Dave911: i just hacked gwiz into gwiztjp and hard coded the 2 paths and chucked all refs to .emcrc. this proves there IS a way to use gwiz w/o .emcrc
just painted 2 black blocks with '90deg phase offset' on the spindle and mounted the 2 sensors ontop each other
permanent-marker for the win
roh: right, direction
whats your spindle control? i was looking at the UHU project
with feedback youmust be thinking of closing the loop
we dunno yet how or if it can be hooked up to pwm control or if it needs to be replaced
much more important is the 2nd spindle atm. the current one only does 3000rpm and is fine for massive stuff, but pcb milling is difficult
so we bough a proxxon which yet needs to be mounted
haha i got 30K spindle w/o speed control and 1/2 cutter is a problem ;)
the proxxon does 20k max and has 100W, the big one does 150-3000 and has 800W
or rather 2800 real measured ;)
now we know
congratulations, i see it midnight again ( hows that happen! i havent doen my 1/2 hr hal study time yet )
example .ogg movie of the Gwiz output http://filebin.ca/mbgbvu
MarkusBec_away is now known as MarkusBec
how is that screencast .ogg done ?
MarkusBec is now known as MarkusBec_away
[08:04:15] <roh> https://m21.hyte.de/wiki/SpindleMeter
roh, error page
tarzan_, works for me did you note its https
MarkusBec_away is now known as MarkusBec
[13:30:43] <MattyMatt> http://cgi.ebay.co.uk/Pratt-4-Jaw-Chuck-Lot-5_W0QQitemZ260505152679
thought that was a lot of 5 chucks :)
I coulda set up a lathe shop
or set them all up in a row with a bicycle chain. 5 minutes of pedaling then 1 min of lathing on the freewheel
tom3p: How do you play an .ogg movie ??
with a player that supports it
at least vlc (http://www.videolan.org/)
will play it
Dave911: .ogg runs in Totem ( the supplied player in ubuntu 8.04, its called Movie Player in the menu ), also mplayer, depending on how its built. and vlc as above ^^^
OK, thanks.... I run mostly windows boxes so I'm learning. :-) ....
mmmmm eggs beans & rice, with curry :)
Dave911: last nite i hacked the executable, i commented ( put a '#' on left edge of line ) to get rid of the .emcrc read and wrnagling of program_directory, and replaced with just >>>program_directory = '~/emc2-dev/nc_files' <<< then commented the wizard_root stuff and added my own >>>wizard_root = '/usr/share/gwiz/wizards' <<<
now, we dontneed no stinking .emcrc, but we;'re stuck with hard coded paths ( it'll get you running, edit to where your stuff really is )
Dave911: see http://pastebin.ca/1676427
you may need to be root to edit it, just because it's located in /usr/bin so sudo cp /usr/bin/gwiz /usr/bin/gwizdave will make a copy, then sudo gedit /usr/bin/gwizdave will let you edit and save the copy, then gwizdave will run the hacked version
archivist, it works now
tom3p: I did the same thing last night, having to be root to edit that file is strange, but I got that done also. I didn't know you could use sudo like that.... thanks for the tips! I'll be back later tonight 9:39am here now.. Need to do more lathe testing at the actual lathe.. :-) I should be making trailer axle spindles later today via emc2 if all goes well. :-)
great, build me a spare airstream on those spindles , cu
anyone have some NEMA23-size servos for sale? I could buy 3 or 4...
anyone using the NEMA23 brushless servos sold by jon elson?
jon is selling servos?
[15:56:54] <awalli1> http://www.pico-systems.com/motion.html
then Price List gets you to an all new and fancy webshop
well new for me, don't know how long it has been there
[15:57:45] <awalli1> http://pico-systems.com/oscrc4/catalog/index.php
I'm also looking for MPG's, aka handwheels with 100ppr encoders and detents
awalli1: if you find a good source, let us know...
I've had good luck getting vintage ones from ebay - I don't know of any good/cheap new ones
the ones CNC4PC sells look pretty good, and they're available on eBay for ~70 or so, I think
oh hmm, they must be less because CNC4PC sells them for $60-70 :)
there are some MPG's for 50$ from hong kong I think
why do i get this error in axis. http://pastebin.ca/1676594
piasdom: do this happnens on a fast machine ?
piasdom: when it happens?
but what are you do to show this error?
the error window popped up with that
emc2 close with an error
piasdom: how to reproduce this error?
i wonder what EMC_TRAJ_SET_TELEOP_ENABLE is
that looks like you did something and then emc killed axis
micges; happen once before
we can't help in any way if you don't know how you got it to make that error
celeron55; in the ini file ?
no, it's probably one of the messages which are sent between the user interface and emcsvr
i thought there was somehing in the error massage that would tell something
and axis sent something emcsvr didn't expect and then it shut down
and we want to know what you clicked in axis or were doing to get that to happen
you hit reload and AXis will close with that message?
file finished yesterday and i left it open to keep my zero for another board...i clicked reload file and it shut
i'll try again
was the program in any particular state, like paused or stopped or something
supposedly not in e-stop at least if you wanted to keep the zero
it was stopped bu on. .. i just try to reload the same file and it works
try to do the same things you had done when you got that error
i did with the same file.....it works
it probably is reproducible, if you do the exact same things
no problem now
i opened the file i had when it closed....i hit reload and it works now
try running it and then reloading
ok....it'll take about three hours
try a shorter file
though it might be dependant on some things in the file
which are left to some values and states after running
piasdom: how long machine was enabled before this error ?
micges; all night
i don't think this is related to the time it was up
piasdom: program was run and after finish it was done nothing until today?
indeed strange, but I had few strange things in emc running many hours
10 min run time
axis is quite a large piece of software, it could easily have lots of bugs
has anybody ever used a G38 probe contained in an o-word subroutine? looks like o-word control flow breaks badly there
mhaberler: yes probe behaves quite strange in a sub
aha, aint me..
any idea as to how to fix it, is it a known/filed bug?
try not using subs with probe, we know about bug but we not found it yer
file reloads fine
I see, that seems to be the same bug that bit me
any suggestions as to run more than a single line of g-code from halui.mdi-command-XX WITHOUT o-word subs? any chance doing it in Python?
mhaberler: what do you want to do?
nots_ is now known as nots
link a button to a touchoff procedure which needs conditional handling depending wether the probe tripped or not
"can't do that (EMC_TRAJ_SET_TELEOP_ENABLE) in auto mode with the interpreter idle"
Made some progress on my controller finally
[17:21:41] <El_Matarife> http://www.lascolinascnc.com/2009/11/17/the-controller/
i'm quite sure that EMC_TRAJ_SET_TELEOP_ENABLE is a command from axis to emcsvr that should set emc to manual mode
Also I got lots of pretty pictures from the Vectric user group
They're adding 4th axis support in December
Can't wait to make some really awesome baluster or chairlegs
Though I am thinking my first build should be a pimp chalice
and if it's in auto mode with the interpreter idle, i can't see any reason for not accepting that
you can hack axis to execute procedure on enabling hal pin like this: http://git.linuxcnc.org/gitweb?p=emc2.git;a=blobdiff;f=src/emc/usr_intf/axis/scripts/axis.py;h=cd628fd06d8de69104a46b968e18326b75e02344;hp=4a414898389d35aa7696a4e7635d47054410aec8;hb=70d0b3ec74ece7e98010b9d3c13b0a8fe68296df;hpb=3de3360a910e12fd0231c1e51b0c5e5872b0c532
so it's .. pushing a hal bit and have some python code run inside axis, is this what you mean?
ok.. not for the faint of heart - I'll look into it; I wish there were easier ways of customizing
piasdom: how is it going?
if you need that message sent by a pendant (halui), you should put it in halui, not AXIS
cradek: well yes, that was the plan, have it triggered by halui.mdi-command-xy
I hoped for an easy way of hooking a conditional g-code routine to such an event
sorry, I didn't read enough to understand what you're doing
so do you opine cludging axis.py as well for that? I'm unsure weter mdy.py called from halui.mdi-command-xx will do the trick
I don't understand either of "conditional gcode routine" or "such an event" yet :-/
run this procedure: http://mah.priv.at/cgi-bin/viewvc.cgi/gcode/ss.ngc?revision=1.1&root=CVS&view=markup
oh you're trying to work around a bug that happens when you probe in a subroutine?
YESS, for quite a while now
I think mdi is supposed to be able to call subroutines now... seems like that's the way to do this
ah, ok, let me add that layer and see wether it covers the bug ;-)
then I guess no, I don't recommend hacking halui and axis.py instead of working on fixing the original problem
in theory I dont mind; I looked into the oword handling, but I guess I'm severly lacking context to give it a realistic stab
btw the threading bug seems to be squashed for good, no more problems - thanks!
mhaberler: you can add your buggy gcode to sf bug as attachment
yes, I will
will help to fix(test) that bug
- if you just load and excute in axis, it's fine - the problem only appers when you wrap it in a sub and call it from halui.mdi-command
skunkworks; working ok now....guess i got a bug or something with my computer. it'll show up sooner or later
piasdom: can i see the g-code file which you ran yesterday?
celeron; you need to ask skunkworks...it's his
well, what could i do with it, other than being able to guess the problem better :P
celeron; sorry...i didn't mean anything...it's just work i'm doing for mark/skunkworks and i don't kow
skunkworks; welll ???????????
celeron; i can give you my ini file if that may help
i'm quite sure the problem isn't related to it
celeron; i wouldn't know :)
i'm guessing that the g-code file leaves some modes or something set (which should be perfectly ok) and axis becomes confused because of them
? I think it was generated by mpictor because he had changed the layout just a little bit.
he had to take out some extra paths
i don't really know much about the internals of emc or advanced things in g-code but i'm good at guessing!
top of the file says it was generated by maxnc.ulp
celeron; i don't mind,but i tend not to share something that is not mine
of course, i understand that
i don't even know what maxnc is, much less seen an ulp file type
it is a script created by a couple of the emc developers that runs in eagle. http://git.unpy.net/view/eagle.git
it creates the gcode required to mill/drill a circuit board drawn in it.
I think was piasdom is milling is similar to this http://electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/
i have no idea..i'll take it apart when i get time:) it's a sherline mill 5400
ooooooooooh was = what ?
yes - sorry
yes a board
skunkworks; i thought mpictor was doing this for you ?
heh - no - he wanted to try out what I had done so far with this h-bridge.
he has a lathe I think he wants to convert to emc
how the h*** did you mill the backside ?
I used tabs and 2 different work coordinates.
but how did you hold the thing dowm ? :)
the program drilled a 1/32" hole at XY zero, just need to get it squared
vaccume pump :)
[19:19:53] <skunkworks_> http://electronicsam.com/images/KandT/vactop.JPG
[19:20:04] <skunkworks_> http://electronicsam.com/images/KandT/vacback.JPG
i'll have to mack a plate...but that would be taking too long on this job...as it is i ran the three boards while working(boss ok'ed)
[19:21:10] <skunkworks_> http://www.cnczone.com/forums/showthread.php?t=43268&highlight=double&page=2
(I am samco)
piasdom: how did they turn out?
I have been happy with the results but the machine is way too slow. (trying to get a circuit board mill going) http://www.electronicsam.com/images/KandT/servostart/top.JPG
looks good to
probably took close to 3 hours to mill both sides
skunkworks_, vacuum ;)
two and a half for the top....trying figure oout a way to align and hold it to do the other side
skunkworks said that...but it will take too much of my time to make something
piasdom, drill one hole in the board, and put a locating pin on the table
better would be to put two holes in the board (these can be for parts or mounting holes, they don't have to be extra), preferably aligned along the X or Y axis, and use two pins
SWPados; the program drilled a hole at XY zero
ok, that's half of it :)
now all you need is to fix the rotation
i'm going off that
i have the program for the back ...
alignment is my main concern
i'll have to use double tape i guess....the path runs along the border
i can try one and see what it does.....as long as i can get him one good board
stepper drives at a good price... http://cgi.ebay.com/Parker-OEM-Compumotor-OEM650X-Indexer-Drive_W0QQitemZ150386104853QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item2303b5da15
Jymmm, and LawrenceG have used these... add power supply and parallel port and you are good to go
I have also.
(you have to remove the indexer and replace it with 5 jumpers)
[20:18:32] <skunkworks_> http://electronicsam.com/images/OEM650.JPG
skunkworks, hello there.... thats one of the best prices I have seen those drives
yes it is - very nice. (you catch them that low every once in a while)
it would be interesting to see a schematic... they sure have a lot of parts... would not like to build those for $25
cpmpare at $609... http://cgi.ebay.com/COMPUMOTOR-OEM650X-NSPP-OEM650X_W0QQitemZ390075496179QQcmdZViewItemQQptZBI_Control_Systems_PLCs?hash=item5ad24fb6f3
My limit switches are open-collector with a max output of 20mA. Locally they have a 3k3 pull-up. I am wondering if a lower resistance pull-up at the point where it interfaces with the P-Port would help with interference rejection? I am getting an annoying number of false limit trips with the inberter running.
$600 that's nuts
Was that the non-sequiter it appeared?
andypugh: you might want RC filtering instead
better yet would be to fix the noise source. I've heard torroids on the vfd input wires are very helpful
Jymmm: are you using the 750's?
skunkworks_: I have 750's
Jymmm: are you using the 750's?
I have so far bought 3 different input filters for the inverter. They all trip the breaker and turn the lights out....
skunkworks_: not yet, still working on putting it all together - as soon as I can find the top of my bench.
LOL The OEM750 (650 is discontinued) is $619/ea ***DIRECTLY*** from Parker themselves brand new.
[21:13:41] <Jymmm> https://buy.compumotor.com/e_availability.asp?search_query=OEM750
Hmm, it is a bit of a surprise to see that the shipping desinations seem to exclude all of africa, and also all of europe
Well, extra pullups made no difference at all.
depends how many you do per day
after a while the missus will appreciate them eventually :P
Ha! I am not sure I could do any pull-ups at all nowadays, which might explain why there is no missus.
I can't do pull ups but I have a missus
wtf is a missus ?
ahh .. i cant do pullups and ive gone to the gym 2.5 years =)
im 110kg tho :P
I think the last time I did a pull up was in 1970
at first I thought this conversation was about open collector outputs
I'm down to 93.18181818182kg
* pfred1 is obviously a bit too focused on the BOB he's building ...
yea! I can tie my shoes and breath at the same time
that's always nice
9kg to go
doesn't sound far in kg's
I'm about 40 pounds lighter
its winter so I'm packing on a few more pounds myself
yeah, kg's are harder to lose though
As it happens, I was talking about open collector inputs. It got derailed
it's easy to do
andypugh ah ha!
andypugh want to see my preliminary BOB schematic?
I doubt I know enough to learn anything
I hooked it up inbetween my clock and my stepper driver and it works
andypugh you could always look at it and go oh how pretty!
its in color
oh how pretty
I looked for a while for a decent schematic example on the net today it is amazing how little information I found
Jymmm an example that used an optocoupler
I thought they wee pretty straight forward.
Jymmm it is but I was hoping to see some examples
until you're trying todo bi-directional that is.
yes it doesn't look like I am going to need bidirectional on my project
either ins or outs
Yeah, SWPadnos and I looked at BOBs that are out there, it's not a pretty sight.
Jymmm I was like 38 pages deep into Google searches you don't have to tell me
Jymmm mines neat I am using a transistor on the photodiode side to keep the draw off the port low but still drive the diode nicely
heck all i know is it workes I put it in front of my motor driver and the motor ran with it
I figured 1mA would be fine, so limit the opto current to that, and amplify afterwards.
mine I have at 5 ma
drive current of 11 ma
5mA out of the P-Port?
worst case I ever heard of with a parallel port was 6 ma
yeah 6 ma isn't much
I wouldn't trust an opto at 1 ma
Wiki mentioned 3mA source (15mA sink) so I played it safe. Next time I will use sonk all the way though. I have learned a lot in the last year
I suppose i could rework my circuit to just draw 1 ma off the port
I was drawing 20mA when I actually did some calculations. It was working...
andypugh you're driving the opto with 1 ma?
I think so. I would need to check
andypugh the photodiode in it is like an LED
just in the infared band
have yo uever seen what an LED looks like with 1 ma running through it?
it is subjective whether it is on or not
not many will work well at 1ma, but we got some bright blue LEDs from china that would blind you at 1ma
you should drive a bit stronger than that
11 ma is a little on the weak side
andypugh you're sure you don't want to check out the schematic I drew?
but you're right for optos (and most LEDs).
max in on my optos is like 30 ma
I figure that a photodiode is more sensitive than my eye though.
it is the base of the transistor sets up the collector emitter drive current
of the output
unless you have leaded base on your optos
from what I understand, the transistor is current driven, so the less light the less current and the weaker the drive.
then you can bias them
but the base leaded devices are more suceptible to noise
yeah it is a transistor and light excites the base
so weak light weak switch
Yes, but no. It does on and it does off, and as long as you reliably trigger your comparator, you have enough current.
We had to increase the current on some optos to get them to work reliably as faster speeds. The signal would roll off worse with lower current on the LED.
mozmck_work that was my biggest fear was speed
what are these for?
on a completely unrelated note
has anyone here ever hooked two stepper motors up back to back? the wires
I read about it on CNCzone and tried it it's cool!
you turn one and the other turns
Anyway, I was wrong :-) 1k resistor = 5mA (call it 4mA with forward voltage drop)
andypugh yeah much better
1 ma I was like damn he's ucky!
the 1mA is the pwm convertor precision current source.
what supplies that?
a zener voltage divider?
pfred1: Syncronous motors, they used to use the principle for remote drives back before cleverness was invented
andypugh yeah its freaky to play with
I knew about short all the leads together and motor tough to spin but never thought of the motors hooked back to back before
I got a pair sitting on my bench right now I'm fooling with
andypugh sounds like a specialtity part to me where'd you get them from?
I ordered some parts haven't seen them yet should have placed my whole order with Newark
I should check on that order status
[23:47:45] <andypugh> http://uk.rs-online.com/web/search/searchBrowseAction.html?method=searchProducts&searchTerm=535-9098
I can't type
damn this company is worthless
it doesn't seem like they've gotten up off their collective fat asses for this one yet!
So why not just use Newark?
andypugh way better prices on some of the parts i wanted
I ordered some stuff from RS today, I fully expect it to arrive tomorrow.
andypugh and I didn' think they'd be so lacidasical about it
What's a missed weekend worth?
nothing really this project was on hold for over 4 years
so unless they take a decade to get the parts to me ....