"Girl gone Wild over Les!!! Volume 12"
not any more I think...
I had my fun I assure you
Jymmm: You've not seen the southern babes
Hehehe... Les has gone for a cold shower.. No film @ 11.. :)
paul_c they gotta be better than GGW at AZ
That was bad... there was NOTHING they weren't doing and in front of like 2000 ppl
Chickata bow wow wiki wiki
Jymmm: no, most of the southern babes have all their own teeth. sadly, most of them on a necklace.
oh, I calls em hill folk
Saw a sign off the freeway today.... EMC COLLISION
wish I had my camera
oh...I have those.
but they do have lovely eyes ...
but not alwyas in multiples of two ;)
robin_sz and so does their brother, whos theri father but only on their daughters side.
Wish you all could have seen the University of Florida in the wild '70's
yeah, I lucked out there
les and you never got arrested for not wearing clothes huh?
1) I went to uni in the 80s
I ...um..didn't get out of the place single.
and 2) Hull was not quite as swinging as florida
* robin_sz hits his head on a wall
why oh why did I go to Hull?
its the arse end of the universe.
I was after this long legged girl upstairs but ended up with her room mate
but I digress
les why not both?
I am just starting on new research project.
the spray gun thing.
One month preliminary research.
then start thinking about a product.
got the contract.
Funny thing I started looking at car ads on the internet.
And used Piper Warriors.
I should put that income in the bank.
Current favorite car....
Audi A4 Cabriolet.
gotta run - be back later
les: not poweder coat again?
SWPadnos is now known as SWP_Away
The powder coat stuff I did was for BMW...not VW
so its wet poaint this time?
This is liquid spray this time
generate 6 watts..85 kV....from air.
right. water based I assume?
no moving parts.
water and solvent
oh .. coo. tricky .. no moving parts?
well not grossly moving....
ahh, piezo ;)
piezo vibrating a few microns...
piezo is easier to spell
anyway I have one month and $20k to look at the options
nice rate :)
pays the bills.
I have to find someting practical to keep it going though
other wise the one month will be it for this gig
I do not want to do this stuff all the time though
I have alotted some time for turkey calls and the far east stuff
I am trying to get one of Till Franzias students on this irc channel
He has been assigned to look at emc TP
Hey John. :)
He needs to talk to folks like you and paul
far east stuff? furniture?
les what do you think of that router?
Oh, anyone interested in a SCSI HDD duplicator? (just the guts of it, just pay shipping)
anyone here familiar with hexapod kinematics?
that sounds familure for soem reason
oh man there's a lot of outdated documentation i have to go through
well quit yer bitchin, and get to it! <crack of the whip sound>
know of any linux .pdf editors that actually access the text of the file?
ghost ciew or ghostscript
Maybe ImageMAgick can ass the text directly
it just seems like such a simple thing, ya know?
sheesh acroread is 25 megs
sigh acroread crashes in 10 seconds and i have to download all of kde 3.4 just to get kpdf to work right
and of course my apt-get repository doesn't have kde 3.4
ValarQ, anyone else awake?
I'm logging. I don't understand 'time', A-L-P-H-A. Try /msg logger_aj help
well. that did nothing
aj needs to add a time. so I can calculate the time zone difference.
A-L-P-H-A: dunno, fenn was awake 05:57 CEST
* Phydbleep is looking at 00:45 in the GMT-7 timezone
I just realized that that was "central european standard time".
Time: 02:50:23 -0500 GMT, Windows XP Professional, Service Pack 2 (5.1 - 2600), AMD XP 2800+ running at (1-AMD , 2123MHz, 512KB (57% Load)), DDR400 RAM Usage: 459/1024MB (44.82%), C: 42.14gb of 75.42gb free, D: 0gb of 0gb free, N: 22.91gb of 372.62gb free, Current Uptime: 2hrs 51mins 30secs, Record Uptime: 3wks 12hrs 48mins 50secs, 3 Samsung 19" flat monitors (1 Trinitron, 2 CRT).
01:00:08 up 26 days, 7:36, 4 users, load average: 0.12, 0.12, 0.04
08:51:32 up 31 days, 12:26, 2 users, load average: 0.16, 0.10, 0.09
And the only reason it went down 26 days ago was a Ttoal power failure including a dead ups battery.
yeah, same here
00:49:23 up 81 days, 3:31, 8 users, load average: 0.00, 0.00, 0.00
I've got 6 or 8 more I admin that I could tap if I really wanted to show off. :)
what systems do you run?
99% *nix. :)
winxp sp2. I'm spishu.
XP/XP-Lite/LiteStep/Cygwin on this box.
i don't run unix on my 8bit machines, otherwise it's unix
or mint, gnu/linux, bsd and solaris to be exact
* Phydbleep has the misfortune to deal with a couple of SCO OpenServer boxes from time to time.
* ValarQ is of to grab some breakfast
I'm off. sleep time
Morning anonimasu :)
ValarQ: have you experience in electronic circuits ?
jacky^: some experience
i would like to question you a hing
sure, go ahead
i build a small circuit to connect 3 optoswitch , i'm also using an IC 7432
testing the circuit with an external power supply 5 V it work fine
actually i would use the atx pc 5v to being powered the circuit
but the voltage i read in ouput become 8 Volts :\
if i touch the ic to the under side it work fine
i think ground is not sufficent, maybe..
not HCT or HC then?
maybe should i insert a capacitor in some way
sorry, i don't know what you mean with HCT or HC :\
74HC32, 74HCT32, etc
the only i found here
the strange thing, why if i use external power supply work at 5V in out ?
instead i have about 8 with atx
and if i test, the voltage +- is 4,7 V
i don't know actually
i suppose 8 V is too much high value for parallel port input
it burn, right ?
do you have something between the optoswitch and the parallel port?
the cable, about 1 mt
yeah, i wouldn't feed my parport with 8V
jacky^: maybe you need to have something between
if i use a zener 5,1 V ..
between there are 2 IC 7432
jacky^: the parport isn't meant to deliever much current (maybe not enough for the optos)
because i'm using 9 optointerrupter
3 for axis
im using a 74LS245 between my port and my optos
how many opto ?
16 in 2 ic:s
now i make a test with a zener.. let's see
* ValarQ is using PC847
and high tech extremely fast 74LS circuits :)
i'm a totaly newbie :\
can't say i'm very good at these things myself
but i know my limits and stay away from CMOS stuff and alike
jacky^: Try clamping that 8V output to ground thru a 10k resistor and then read the voltage...
hi Phydbleep :-)
ok, will try now
Phydbleep: it work
5V out now?
go up anyway i think
add a 1k in series to make that 11k
hello mr bleep :)
ValarQ: Hey, BLEEP you too buddy. <jk> :)
jacky^: ~4.7V now?
yes, seem work
are you experienced with HAL in emc2?
great Phydbleep :-)
jacky^: `11.8k for 5V if I remember right. :)
i'm trying to control which parport pins it writes to
jacky^: It's been ~20 years since the last time I had to design a full ttl board. :)
ValarQ: Were you asking me about emc2/hal?
this i my first week i've seen the ttl ic :\
Hehehe.. Just wait.. If you have to use ttl chips enough you'll start to think in binary. :)
i would like to learn more about, it seem to me very interesting argument
i buyed some more ic 7432 so, i can follow some tutorial to experiment around
lets see.. 7404 is a hex inverter, 7406 is a hex buffer, 7490/7493 are BCD counters..
What's really scary is the fact that in a box about the size of a refrigerator you could build an all TTL machine controller that understands g-code. :)
jacky^:BTW.. serial>parallel/parallel>serial conversions are carried out with 'shift register' chips..
uhmm good notice
i'm new to this
Phydbleep: yeah, i think i was
Phydbleep: i'm trying to find out what changes are necesary to use the parport with my hardware
* Phydbleep knows nothing about emc2 yet and is still trying to scrape together enough junque to build a mill.
ValarQ: I think there's a hal.ini for that.
yeah, but i'm not sure it is enough
maybe i should change my hardware instead...
ValarQ: Making the hardware fit the standard is a good thing. :)
yeah, i was thinking that :)
i don't know how i _should_ work thought
but i got to write a nibble to control the engine, right?
Dunno.. I guess you'll have to wait till one of the gurus shows up with the clue-hammer. :)
Hi Paul. How you doing today?
Trying to get to grips with tp/tc .c
Some of it is really nasty....
quaternions are not the best things to use in kernel space.
This code should be light and fast.
Till was talking about quaternions a couple years ago.
For visualization & rendering, sure, use quaternions...
but in a trajectory planner ?
It does limit the number of axis you can have.
paul_c: how is it going?
* anonimasu punches paul
anonimasu: You play pool ?
not very often
left ball, right pocket.
(knee to groin)
what the heck?
* ValarQ is having a hard time following these cnc discutions
ValarQ: Quaternions are a way of describing a vector in 3D space
paul_c: I hope to get into the math about trajectory planning, as soon as my workload decreses
They allow you to do things like rotations & scaling by hiding the real ugly math in a library.
anonimasu: Thought you were doing Qt.
paul_c: what would be better to use in kernelspace then?
paul_c: oh, that also..
paul_c: but I've just read a page of the book
floating point math in kernel space is a bad idea at the best of times - Using complex numbers is just plain insanity.
paul_c: just been working lately
12-14 hour workdays :)
oh, thats fun
i know, i was a sergeant in the swedish navy
could be more that 14 hours workday there :/
ValarQ: hm, I am swedish too :)
oh, where do you live?
close to lule�
ok, i live 20km from Kalmar
i lived in Karlskrona when i worked for the military
* anonimasu yawns
I wonder if this is applicable to the TP issues: ftp://ftp.cs.wisc.edu/Approx/smooth.pdf
SWP_Away is now known as SWPadnos
It's hard for me to tell - I get lost somewhere after the word "Introduction" :)
I get lost IMMEDIATELY after the word Introduction. Les, where are you???
(I think I had him up through "Schoenberg")
*glues togther a power supply
steve_stallings: I've got a simple transformer questio - got a sec?
It's Steve, BTW
* ValarQ is studying the HAL documentation from the cvs
hey there - I've got a simple transformer question - any takers?
and the answer is 42
I knew that - do you want to hear the question? :)
no, not really. but I guess I have too.
(even though the universe will cease to exist if we know both at the same time)
It's just abour derating when using a transformer at a different voltage than it was designed for
I can wait :)
like, drop 120v in, to like 60vac in.
would it like double the amp rating?
no - like, use a 575:115V transformer as a 120:24V, what happens to the kVA rating?
I'm assuming that it goes down proportionally to the voltage, since the current rating stays the same
(so a 100VA 575V tansformer would be roughly a 20VA 120V transformer)
perhaps best asked in #electronics
they don't seem to be listening :)
SWPadnos, from what I remember from highschool electronics.
it's just the windings that that matter to get the ratio. and the amp rating stays the same
so your 5:1 transformer would do just that.
so 120VAC in, would be 24VAC out.
right - That's what I remember from college electrical engineering. :) I was just checking to see if theory and practice happen to be the same in this case
are you making a transformer?
no - thinking of buying some cheap ones off eBay, but they're 575:115 @ 100 VA
I only need the 20 or so that I expect to get at 120:24, but I wanted to check that
I dunno what the 100VA means though
that's my problem
100 Volt-Amps power rating
or 0.100 kVA
it's the AC equivalent of watts
but not quite
AC analog then - how's that?
so if I'm pumping 575VAC into it, I should only be using ~.2 AMPS?
and 1A on the output, roughly
is now a good time to mention power factor?
P = IR^2 ?
not necessary - I know about all that (conversion between W and VA isn't 1:1)
p = i^2r
damn you people... I want to go into the shop and machine something, but this conversation I'll learn something.
mmm ... p = i^2 are * sin theta
right - P = I^2 * R, and since I want the P in the core to remain the same, I can only use the same I in the primary and secondsry, resulting in the VA (= V * I, AC) being proportional to the primary voltage
A-L-P-H-A: in simple terms, in a resitive load, its a power factor of 1
A-L-P-H-A: in ac, some loads are not pure resitive
like spindle motors and contactor coils :)
so they have say, 10 amps flowing at 250v
aren't we focusing on more of the transformer?
but it only devlelops say, 2000w not 2500w in the load
becuase the load is reactive in some way ...
if you measure the lag between the voltage and current in angular terms and take the cosine, you get the right factor
logger_aj don't fail me now.
typically assume motors and stuff are about 0.8
I was focusing on the transformer :)
so ... for a 2kw motor you need a 2.5KVA transformer for example
Though this does bring up another question about overload current selection
I have a Bridgeport with a 2HP spindle
this is roughly 1500 W
bet it pulls .. 10, 15A on a cold start?
on 240V 3-phase, that's roughly 4 A
the overloads I have are class 10, so they'll handle overcurrent for 10 seconds before shutting down
what you need is an invertor :)
But, what is the general rule for setting the overload?
100% of expected load
95%, 110%, etc.
mmm. choose one that doesnt trip annoyingly all the time :)
The answer depends on the service factor of the motor you have.
when I'm machining with 1.5" roughing cutters, or 1/4" ball endmills? :)
Not sure - it's a Bridgeport motor, so I would assume between 0.8 and 0.9
Nameplate should show it.
(oops - service factor - is that the same as power factor?)
it depends what you want the cutout to do
save the motor from a smoky death
No. It is a rating of the ability of the motor to handle rated load.
ot stop when your teeny weeny cutter takes to big a bite
power factor of 0.8 is a good rule of thumb for motors
Farm and industrial duty motors are commonly rated 115 -125 %
the nameplate doesn't say
(I didn't see a S.F or service factor item)
Does nameplate spec current
and it's a 1.5 HP (I thought it was 2)
I'd be willing to be that you'd be safe at 4.4 amp
sigh .. .DXF files .. so many versions of the "standard"
Thanks - is the general rule of thumb "roughly 10% over"?
its fairly arbitary ...
depends on how hot your shop is for a start
cool in winter, warm in summer :)
actually, friggin cold in winter, and pretty hot in summer
liek rayh says, you'll be fine with it set at about 4.4A probably
theres not so much of a science to it as trying it and seeing
cool - I'll set up a pushbutton starting system sometime soon
my advice would be to get an invertor
(then replace that with relays when the CNC is operational)
best thing I ever bought
I have a 3 HP mitsubishi - I just haven't connected it
fit it now, you'll never look back
$121 delivered - seemed like a good deal :)
I bought one to driove my 3phase, 2hp lathe from single phase
(new in box, with manuals)
I ended up buying 3phase-tp-3phase ones for the saw, drill, compressor ...
the smooth start, low startup currents, dc injection braking, overload protection ...
just the most wonderful way to run motors, I cant imagine going back to the old "direct on line" thump bang massive current way
argh - chatzilla has an annoying bug
if you hit up-arrow, then right-arrow, it loses the line you're typing
I've tried to mention my 5HP rotary phase converter 3 times already
seriously, after a VFD .. a rotary makes as much sense as having a traction engine outside and a lot of shafts with big leather belts to each machine :)
heh - I needed the converter so I could make the machine work - I bought the VFD afterwards
I intend to use that for spindle speed control within EMC
put it on the mill, I gurantee you'll buy another within days :)
for the saw? :)
for the lathe, saw, whatever
One day I hope to have a lathe ... sigh ...
I can run up a 10" 4 jaw chuck to silly rpm from a 13amp single phase socket on the lathe
with the old 3phase setup on the lathe, it pulled crazy current for extended periods when swinging big iron
this just slowly ramps it up .. its sweet.
yeah - I'm sure the slow start is a real benefit
and on a lathe, the DC injection braking is kewl too
being able to slam it in reverse from full speed is fun .. it just slowly ramps down, then ramps up the other way :)
is there some standard (good) way to control stepengines from a parport?
How do you mean?
i'm asking because i'm thinking about redesigning my hardware
step/dir is the typical standard
use the lower 4 bits for the engine and the higher 4 to select engine etc
cradek: to control that in hw?
are you making a step rate generator, and connecting it to the parallel port?
ValarQ: maybe I don't understand your question. You're designing stepper motor drivers for use with emc?
what do you mean by "step engine" ?
cradek: no, now it's the hardware part
I suspect he means step pulse generators
nah, i'm talking about the sort of electrical engines that you feed with pulses
he DOES mean stepper motr drives then
ValarQ: I don't understand "electrical engines"
cradek: motors? :)
* ValarQ is a nonnative english speaker
that's fine, lots of them here
ValarQ: what exactly are you designing your hardware to do?
what is the proper word then?
ValarQ: the elctricla thing that takes in pulses and makes the current flow in the motor ... the thing between the motor and the computer ... we call that a "stepper motor drive" .. like the Geckodrive G201 for example
you are making a device that takes pulses from emc that contains a power supply and drives the motor?
(ie, what does it get from the computer, and what does it output?)
ValarQ: then the normal way is to have two bits per axis: one is the direction and one is a "step" pulse
* robin_sz nods
so your driver needs either step and direction signals, or it needs two outputs that are in quadrature, right?
cradek: and do the rest in hardware?
ValarQ: yes, everything else is in hardware
ok, then i get it
ValarQ: there are other ways, but if you are making new equipment you will want to use step/dir
i made some other own weird variant on my own
ValarQ: unless you have very special motors, it is easier and cheaper to buy a pre-built drive
the step and direction (or quadrature) signals are generated by stepgen (or is it pulsegen?)
some chips (for example L297) take exactly step/dir inputs
ValarQ: maybe you have fun building the drive, thats fine, enjoy the fun, but it usually costs more than say a Xylotex or Geckodrive
so be sure you know WHY you are building your own
Anyone know anything about pipe threads?
I agree that is good advice, even though I built my own
websys: they're tapered and irritating?
websys: they're used to connect pipes ;)
lol - yes but I need major/minor/pithc diameters for a 1.25-11.5 NPT
[18:46:03] <SWPadnos> http://www.pennusa.com/pennpage/directory/spec/b1201s.htm
TY - just what I needed
is there some quite simple way to replace the parport dir/step code in hal if i wan't to play around?
ValarQ: what interface scheme did you use?
SWPadnos: not hal_parport.c?
cradek: interface scheme?
hal_parport is just a shim between the port and the HAL pins
ValarQ: step/direction is the univerals standard ... 95% of drives use that
ValarQ: what kind of signals are between the parallel port and your stepper driver?
you want to control what gets output, not how it gets there
cradek: i'm using my own stuff with a couple of opto switches and 74LS245
SWPadnos: yeah, thats right, thanks
ValarQ: I mean, what kind of signals are needed to make a motor turn?
cradek: i just ran a funny little sequence i found in some paper :)
so do you have one parallel port bit per motor winding?
cradek: something like that
ValarQ: ah, that's one of the things emc1 supports; I don't know if emc2 supports it yet.
stepgen has a phase output mode
ah, so there is a simple way then...
so that's why you wanted the selector / output - you need more bits :)
there are enough bits for 3 axes
it's probably a lot easier to add a second parallel port and just have 4 bits per motor than it is to design an external latch circuit
plus it'll be a lot faster
i was thinking about connecting more stuff on it but i come to understand that it is simply stupid
SWPadnos: i have already designed an extern latch circuit :P
then that's probably easier :)
ValarQ: a big advantage to step/dir is on one port, you can have 4 axes with 4 bits leftover for digital IO (estop, spindle control)
i'm thinking about skipping that for my miller/driller machine thought
cradek: yeah, thats my main reason for asking
but i believe those circuit were more expensive than my breakfast :(
[18:54:39] <cradek> http://timeguy.com/cradek/cnc
on my web page is a link to free circuit boards for L297/L298
these chips take step/dir and control medium sized stepper motors directly
looks better than my own anyway :)
they perform very well and the parts are inexpensive
i didn't have a very good pcb-editor when i made my card
eagle is good,
couldn't find any good and cheap for unix
and free for small cards
you can use Eagle for free to make small boards
eagle runs on linux
it runs on linux and windows both
* robin_sz ndos
yeah, what he says
ok, never heard of it before
[19:05:08] <robin_sz> http://www.cadsoft.de/
very very good tool
oh, and Mac OSX too now :)
robin_sz: what is this Mac? I've never heard of it
i made my own pcb-editor, fun project but the cards didn't look that good
completely free thought :)
cradek: eagle ...
ValarQ: I used to draw boards making traces with polylines in autocad!
cradek: I know, eagle just like making systems for people on weird OS's :)
cradek: i haven't tried autocad
cradek: theres a plan9 version due soon as they finish the BeOS port
cradek: have a look at my crap then http://arda.no-ip.org/crap
robin_sz: how about HP-UX and rocky mountain basic?
cradek: nah, too mainstream
cradek: i had to call it something :)
ValarQ: it looks nice
cradek: and i have used it to create some cards so it isn't totaly crap :)
robin_sz: no, swedish locale
robin_sz: my program doesn't contain any swedish strings
just curious :)
Welcome to Vq's homepage
This webpage is best viewed with a browser.
i did some filter to export the circuit holes to some heidenhein code
I like your web style
cradek: thanks :)
eagke exports wotsit drill progerams ...
its pretty easy to turn those into gcode
one doesn't get kicked for mention of heidenhein here?
some CNC controls can run excellon natively
hey, now theres an interpreter we could do for emc
there are Eagle scripts available for exporting g-code
I use Eagle to directly generate g-code
yeah, but you are a prevert :) ... weve seen what you do to circuit boards ;)
did you ever get that air spindle by the way?
oh, eagle is distributed in x86 binary form
yeah, free for small projects .. not open source
nope, and I need to make a pulley to get up over 10krpm
the pulley I need to make is too big for my lathe...
ValarQ: get cradek to show you his pcb stuff some day ... its .. wild :)
cradek: Go 2-stage?
Phydbleep: no, get a bigger lathe
Phydbleep: I have only a sherline
right answer :)
cradek: How big of a pulley do you need?
* robin_sz makes a hole in his finger
ahh .. thats better
Phydbleep: I don't remember exactly - something like 3.5 inch dia
the drawing is at home
cradek: ROFL.. OK.. That'd be easy.. I've got a 10" Logan here. :)
with that I should be able to get almost 20krpm and cut traces at 20ipm
Phydbleep: you mean 5" :)
Phydbleep: I know it's easy for a real lathe...
cradek: Do you remember the center bore dia?
Phydbleep: 1/4 inch I think
cradek: AH!.. Seweing macine parts. :)
[19:19:15] <cradek> http://timeguy.com/cradek-files/cnc/spindle-mount.jpg
it's the pulley to go on the motor
alex_joni: Yeah, Cept for the batteries in this fscking keyboard.
the front one is newly made, and it has the smallest possible diameter
I made that one easily, but I can't make one large enough for the back.
I have already ground a tool to make the correct V track for the belt
cradek: Crap.. I've seen a pulley that size/bore recently.. Hang on a sec..
* Phydbleep runs to the shop to rummage in the pulley box.
Phydbleep: I would want two V cuts on it at different diameters
Phydbleep: one for 1:1 gearing and one for "as fast as possible"
That's easy.. 2 pulleys stacked..
cradek: What's that belt? ~ 3/16" (5mm) wide?
yes it's something like that - pretty small
I wish I had my drawing here
ok, that computer is on, let me see if I can find the dxf
* Phydbleep thinks.. Cut the pulley from 3/8" plate, pin it to a hub then turn it as a unit.
I'm sure I have Al bar big enough
... it just won't swing over the carriage on my lathe
maybe I should make a headstock riser block
* Phydbleep is thinking about modular parts that can be replaced/exchanged.
Hehehe.. Either that or a pair of 3-step cone pulleys..
well the front one (smaller diameter, bigger bore) is done
I want the back one to have the same spacing between the grooves so I can easily move the belt
the motor mount is made to let the motor slide back and forward
Phydbleep: do you have autocad?
cradek: Nope.. Dont even have a pyr8 copy stashed anywhere.
Phydbleep: synergy is pretty decent on autocad stuff
cradek: I have Open-FX so I 'should' be able to view a standard .dxf
all I have right now is the dwg - let me see if autocad will run in qemu over the internet
nope, this won't work...
well, I'll show you later.
boohoo, i can't use emc1 with my 2.6 kernel :(
cradek: Don't worry about it right now, It'll be tommorow before I could get stock anyway. :)
you were on the search for HAL stuff?
* alex_joni just read through the logs
alex_joni: i have been searching for alot of stuff
alex_joni: He needs help with HAL<>machine I/O.
Phydbleep: oh, I was just showing you, I don't expect you to make it!
now i'm just playing around with all those cute hal sources
i like the idea of keeping it modular
cradek: Damn.. And I was going to give you some g-10 and gerber files to test it with. :P
ValarQ: got questions?
iirc, I wrote one of those
Phydbleep: I can only run it with Eagle boards
alex_joni: you aren't sure? :)
alex_joni: have you written a stepgen replacement?
cradek: Eagle output files? I have the freeware Eagle.
Phydbleep: yeah, you would just have to send me the brd file
ValarQ: nope, but a driver for my board
and I have some HAL knowledge..
evening all :)
so if you got questions.. shoot
alex_joni: i could try my luck :)
alex_joni: now i wan't to modify the stepgen or parport driver to work with my simple motor interface
alex_joni: what i wan't to do (apparantly) is creating the step motor driver in software
alex_joni: i heard emc1 had support for that but i can't get it to run on linux2.6
what do you need to output?
alex_joni: i control the step motor more or less directly from the parport
how many phases?
alex_joni: but i believe the parport driver uses step/dir
alex_joni: eh, 4 i think
ValarQ: both stepgen and freqgen have a LOT more way to function than on emc1
emc1 cannot build on linux kernel 2.6
ValarQ: 4 phases is pretty easy
stepgen does that
one of the 15 outputs it does
iirc there are 15
cradek: yeah, the makeprocess told me, it even painted it red with ansi escapesequences
ValarQ: sorry.. only 14 ;)
(sorry for a newbie question) after i get limit switches working, and setup properly .ini file, should the machine go automatically to home position when start ?
ValarQ: I suggest you read http://www.linuxcnc.org/Hal_Introduction.pdf
jacky^: depends on what you understand under home
jacky^: you hit the home button to home an axis
jacky^: you have home switches?
how about zero pulses on the encoders (if you have encoders)..
alex_joni: yes, i now have home switch
jacky^: I suggest you read http://www.linuxcnc.org/EMC2_Code_Notes.pdf
there's a chapter about homing in there
ok, thanks :)
ValarQ: I hope that suits your need for motor drivers
alex_joni: i have tested it with some of my own code
well.. if all that you need is 4-phase output
if you need more.. you might need to change code
how can i use it?
can you give me a pointer to the source?
you want to use what?
the 4-phase type of output
if you want to use freqgen with another type of stepping, you need to make a copy of core_stepper.hal and standard_output.hal
core_stepper.hal is the one that sets up the stepper
can you look at the file?
* alex_joni could explain what is going on
alex_joni: i'm looking at it
loadrt stepgen cfg="0 0 0"
this line loads 3 stepgen modules configured as stepping type 0
you'd want to change that
loadrt stepgen cfg="0 0 0"
loadrt stepgen cfg="4 4 4"
for a stepping 4 type machine
if you got 3 axes
although not sure you can fit 12 outputs on the parport :)
what does the different types mean?
the next few lines you don't need to touch
ValarQ: did you look at the link I pasted for you?
there's a very good description of stepgen
i got it open in gv now
page 40 or so
with some diagrams
* ValarQ found it
now.. based on what you need.. find the stepping type that suits your needs
ah, phase-a etc...
in there you have the name of the hal exported pins aswell
now.. back to core_stepper.hal
see the lines..
# connect signals to step pulse generator outputs
newsig Xstep bit
newsig Xdir bit
newsig Ystep bit
you need to replace those with your signals
call them Xphase1, Xphase2, Xphase3, etc
then after you have created the signals you need to link those
one end goes to stepgen, the other to your output driver (in your case parport, afaik)
linkps stepgen.0.step Xstep
linkps stepgen.0.dir Xdir
linkps stepgen.0.phase-a Xphase1
ok, i think i get it
linkps stepgen.0.phase-b Xphase2
linkps stepgen.2.phase-d Zphase4
and the final part is done in standard_pinout.hal
got that one open
where the signals you created above get connected to your needed pins
who has invented this system?
i gotta buy him/her a beer :)
jmk did ;)
ValarQ: like it?
yeah, it's wonderful
heh.. people complained (and I can't disagree) that it's a bit hard to work with it
a gui version for the configs would be even better
smthg like matlab
the documentation is heavy, but there is nothing wrong with the format
sorry.. I am a bit fuzzy right now
alex_joni: don't worry, you are still my hero :)
ValarQ: what for
* alex_joni goes away for a while
if you got other questions.. I'll be back
alex_joni: explaining it to me, i could have run in circles for days
jacky^: problem with the isp?
tele 2 ... :(
i got a telia DSL connection in sweden, works pretty good actually
they aren't the cheapest but i haven't got much problems
in italy we have the adsl more high as price of the world !
very bad services..
i think i live in the forest, and i can still aford a pretty good ADSL line
think, here 1280 adsl for a mounth: about 40 euro in france, the same society 5 euro ! :\
i switch to another isp for 29 euro at mounth
* ValarQ doesn't even know how much an euro is
but it seem non so speed and sometime disconnect me
an euro like a dollar + o -
1 Euro = 9.13235 SEK
sure ( http://www.x-rates.com
jacky^: not that big difference then
also in usa i heard of adsl cable for 11 $ at mounth
not where I live
in the UK, its 25 GBP ... close enough to 40 euro a month
309 SEK for telia .5Mbit/s
I pay $50/month for 2MBit down/ 256k up
cheaper than the UK then
too much high
on the other hand telia really deliever what i pay for
around the same as UK here (a llittle more - 25 GBP is about $45)
pizza in naples :P
they make pizza in naples?
the best of the world
i prefer kroppkakor :�
Ahhh - Naples, Florida ;)
ooh, Im supposed to go to italy this year ...
no, my girlfriend (anna) lives in naples
sometime i go there
to um ...
thats it. florence.
also gnam !
One of my sisters used to live in Firenze - that was nice
I took a photo of the Duomo from her apartment balcony
sure, florence is the city of love.. they called so
Ive always wanted to go to visit the ducati factory ;)
I suspect it is not worth the trip now, it will be all the modern stuff
you need a good friend before come to italy
aha - the heaters in my motor contactor are only 2.2A - that could cause some problems
a friend that can guide you in the right place
not spend too much
i'm here, if you come, call me
i have many friend at florence
* robin_sz nods
actually i'm about 800 km south to florence
I'm supposed to go and visit some professor who studies painters, an expert in Leonardo ...
italy is small..
I forget exactly *why* though ..
italy is changing in the last time..
i couldn't go there, i would miss Sm�land to much ;)
[21:05:33] <ValarQ> http://arda.no-ip.org/smaland.jpg
ahh, the swedish forests :)
I have friends in .fi
their summerhouse looks onto a lake like that
robin_sz: ah, the country of the tousand lakes :)
it is nice up there ...
I've sailed in the Aland isles a bit too
right up to the swedish side
you been to �land?
do you know capri island ?
from Turku, out to Marriahammina and then to the swedish side,
ValarQ: in a big boat too ...
little 6.5m yacht
ok, never heard of it
maybe i should
quite popular in the nordic parts, for racing
* ValarQ worked in the navy
our, 90-boats is pretty good :)
anyway, yes, ive been to aland, and it was very very beautiful
aprt from ...
the mosquitoes ;)
ValarQ: if you like take a look to my album: http://it.pg.photos.yahoo.com/ph/gcsoftware2001/album?.dir=0491&.src=ph&store=&prodid=&.done=http%3a//it.pg.photos.yahoo.com/ph/gcsoftware2001/my_photos
orwhatever the hell they are
there are some photos of capri island
these is the boats i worked on: http://www.3ysflj.mil.se/article.php?id=7307
ooh, there realy is a =n island of capri!
looks *nice* too .. blue see .. cliffs
blue sea even
it's very very nice island
a small paradise :D
looks hot, i wouldn't survive one hour ;)
looks a little like the south of france, monaco etc
i think sweden is to hot in the summers
ahh, capri is nice ...
over 24�C is a pain
in capri, you can also meet a lot of vip's :P
same with monaco .. it seems to attract money
I might be moving to Geneva later this year ... that is hot in summer too, but cold in winter
uhmm.. they have always a strong wind there
but also beautiful places
Got the image from arda.no. It's no wonder we have a lot of Finish, Swedish, and Norwegian folk around here.
hi rayh :-)
I could be fishing in a place very much like that in less than 10 minutes.,
rayh: i know what you mean :)
* rayh is thinking of fish for dinner.