very weird, i had a bad SSR
Hey folks, I was hoping to get some help here... I have a brand new CNC mill from K2CNC that came with Mach3 already setup. I have been extremely disappointed with Mach3 interface and wanted to try to use EMC2. I downloaded and installed the Ubuntu Live CD package and installed. Everything seemed to go perfectly, however when I run the Stepper Mill Configuration utility, I seem to be getting all of my settings right, but the machine
you got cut off at but the machin
got cut off?
I got the 'e', but nothing after that
bchiszar: too long message.. it ended at ", but the machine"
but the machine wont run when I test jogging the Axis'. For some reason I do not believe the parallel port has installed correctly and I cant figure out for the life of me what the issue is. I'm hoping is something easy so I can start testing this program out. Thanks in advance for any help on the matter.
bchiszar dive into the bios :D
Try inverting the step pulses in stepconf
heading into the bios now
the mill is completely dead when I go into EMC2
my IBM laptop had the parallel port setup wrong for some reason... I just flipped it on and off and rebooted, then everything worked
so you hear the motors making any sound?
are the stiff? or you can rotate them by hand?
You have released the E-stop and hit the "on" button?
Bios > Parallel Port Mode > ECP+EPP
bchiszar: bi-dir should be better
Onboard Parallel Port > 378H/IRQ7
ECP DMA Select > 3
but I think you're missing an enable or something to turn the drives on
motors make nbo sound
are they moving freely?
have released the e-stop and hit the on button
hang on let me boot back up
I mean can you rotate them easily by hand?
no, it has a controller box, when I try to move by hand, i get an opposite forcew back from the controller box
bi-dir is what ECP or EPP?
bchiszar what happens if you jog left-right-left-right quickly?
nothing at all
I dont think my parallel port is setup right for some reason cause there is absolutely no interaction between cnc and computer.
yes it is plugged in :)
Is the base address in stepconf right?
Do you have a scope?
Any telltale LEDS anywhere?
Yera on the back of the controller... everything is nominal.. when I run with Mach3 and do something it doesnt like it trips a failsafe and lights a red LED. I dont even get that in EMCX2
I cant find the parallel port in the /dev folder
I dont think its mounted correctly, but I dont know a heck of alot about LInux
Nor do I.
If you fire up Halscope (in the "Machine" menu) and look at the X-step value, does EMC at least think it is generating steps?
how do i link multiple signals... for example i want to link Spindlefwd and Spindlerev to pwmgen.01.enable
you could use an or2 block for that
I am not sure you can, but you could link to spindleboth and then link that to the destinations.
(Ignore me, I had the direction wrong there)
er, use motion.spindle-on
Time to leave. I am sure you will manage without me (probably better in fact)
yea i was trying to figure out how to use motion.spindle-on, but i wasnt sure how to do link a pin to a signal
i know how to link a signal to a pin, but i've never done it the other way around
ok i think i found it
got it, but the rpm doesnt change in reverse, i think i might have the wrong output type
Here is the image of the startup spike on my Y axis. http://imagebin.ca/view/qvFIiAE6.html
ok hal reads nothing on xstep... tried inverting signals to pin and cant toggle the Emergency stop button
what do people think of the D945GCLF2 mbo for EMC use with a mesa card?
had my nice dual xeon board taken out by lightning
I just installed one in my system. As far as I have tested it seems to be as good as my older Intel board just smaller. I Picked up aright facing PCI extender on Ebay for the Mesa card so it sits over the MB. I brought the system up with this card Sunday. Am continuing with my rebuild. I think it was a great choice.
whats the latency like?
my dual xeon was sitting around 2500 with SMP and NVIDIA binary driver
12-14000 on both servo and base thread.
SMP or single core?
stock out of the box so I assume SMP.
emc is single core out of the box
acemi from the mailing list reported 5164 nS latency for D945GCLF2 SMP
yeah I saw that, still not as good as the 2500 I was getting with 8 year old hw
was trying to replace it with "as good as" yaknow
Older often means lower latency
(even 50000 ns of latency is pretty much irrelevent on a servo machine)
or a machine with hardware step generation
I'm getting one of these http://www.spotit.com.au/items.aspx?id=44488
so I'll try that, but its going into dads TV computer which was also taken out by the strike
I'm hoping to run the servo thread faster for a few other things, I was running at 5khz before
<valen00> I'm hoping to run the servo thread faster for a few other things, I was running at 5khz before
youi have a doppelganger
thanks to a dodgy netrwork jack in this laptop I'm borrowing
i was suprised that the latency was a bit lower on my dell p4 box than my p3 server
not that it matters a ton since i'm using a 5i20 in each machine
5164 ns is ~2.5% of 5 KHz period, not really significant, even with no SMP I doubt you could tell the difference
It will be interesting to see how the Zotac MB performs
Valen000 is now known as Valen
Danimal: At 1 KHz servo thread a few uSec here or there isn't going to make much differnce
yea, i was just expecting the dell to be a terd
pretty hard to predict...
does EMC "predict" the latency then go into a busy loop say?
Valen: no busy loops in EMC
say run the clock at 1khz, but go into a spinloop till the timer is at 12000 rather than on 10000 to account for being called at 11500 say
i belive RTAI will catch you back up if that's what you mean
unlike a busy loop
is there a good dxf viewer for linux?
hmm i dont think my spindle brake is disengaging
was it the smoke?
i'm just not sure if i have the brake wired correctly or if the brake is sticking. I think the spindle had some drag issues with the old control too, but i thought it might have been vari speed issues
you don't have both clutches engaged do you? that might be similar
no, just one
what's the symptom? just hard to turn by hand?
i cant turn the spindle by hand at all unless i grab the belt and turn
if i turn the spindle on in gear, it starts going then slows down and stops
yeah that's not right - it should be free to turn by hand, at least in high gear
there's 3 sets of blue wires, 2 sets have a solid "engaged" sound when i trigger the relays, but one doesnt really make a sound, but there is an electrical load
is the brake a clutch similar to the hi/low gears?
I don't know - mine's missing
maybe your ssr is bad
mine had a bunch of extras in the bottom of the cabinet - bad sign
i checked that...even if i directly short it, it doesnt make a difference
it's getting full voltage at the distribution block where the wires are connected anyways
Does anyone have one of these: D945GCLF2 Mini ITX board with the Intel 330 dual core running SMP on Karmic 9.1 ?
Dave, I just ordered one for pickup in a few days ;->
Pickup? Can you pick one up for me also ;-) I'm trying to get a kernel compile that will run on that little board. I'm trying!
cradek: there's an adjustable heim joint on the brake, so i think it might just need adjustment. I'm gunna try it now.
but I thought this thing was working great?
bogus amp, bogus brake?
well like i said the spindle did hang up a little
is it a threaded chuck mount?
i thought the brake was just a little sticky since it sat for probably a decade
no, hardinge 4 deg taper
ah ok, so a mechanical brake isn't such a risk
it's an oddball
I think I prefer mine without
i might get a braking resistor for the vfd evetually, but i just need it to work for now
it's a bitch to find a used chuck for this taper
yeah I bet
i have a spare 6" step chuck closer that i was thinking of facing off and mounting a 3 jaw chuck to
if only you had a machine that could cut a taper...
i know. life sucks.
do you have a faceplate? seems like it should be easy to make a chuck mount if so.
step chuck closer should be fine though, it's big enough. i just want to make sure it's thich enough, which it looks like it might be
it'll still be more rigid than trying to use a 5c mounted chuck at any rate
yeah that's only good for little stuff
I mounted my sherline 4 jaw on a 5c arbor thingy - it's cute
useful for teeny stuff that needs to be well centered
i've used them a bit before, a little too light duty for me
hey i found a sony circuit board mill/drill machine for relatively cheap
i was thinking of getting it to do engraving
it works, but i was thinking of doing EMC
they're asking 800, but i'm sure i can get it for less than 500
i figured it's gotta be a little better than the little desktop cnc kits from taiwan
plus it has the spindle and everything
what do you think?
super fast spindle I bet
yea, looked to be
what's antibacklash scheme?
i need something like that to engrave my parts after anodizing
not sure, it definitely had ball bearing linear rails, not sure if it was lead screw or ball screw though
or were you refering to someting else
yeah I meant does it have ballscrews or some other system
they wanted 80 for my braking resistors and i got them for 20, so they're a bit negotiable there
sounds like a good place
he told me they just sold a working laser engraver for 1k
i was pissed!
brb, gunna try adjusting the brake
cradek: i think the clutch is shot
actually might just be the clutch springs
looks similar to a motorcycle clutch
might just have to take it off for now
took it off, spindle works fine now
under EMC, is the time for M03 and M05 codes constant between invokations?
brake is shot?
PONG PONG POng pong pong po...
cradek: did you see my Q ?
cap my scrollback is fscked up
check out the pics for the "Commercial PCB mill" (click to enlarge), wth spindle is that? http://www.neufeld.newton.ks.us/electronics/?p=475
I don't know but it sure cuts nice
wonder what tinnit is
did you look at the closeup
[06:05:07] <Jymmm> http://www2.neufeld.newton.ks.us/images/electronics/2009/06/06/100_0843.jpg
yep, it cuts great
looks like my results actually
looks like it might have vacuum
you use an allen wrench to change tools somehow
no depth rings??
Might not be the typical 1/8" shaft tooling
sure looks like it is
you have stuff that clean?
[06:11:25] <cradek> http://timeguy.com/cradek/cnc/pcb
it's hard to photograph shiny stuff
[06:12:58] <Jymmm> http://www.lpkfusa.com/
that's teh mfg
the depth control of the tool is what makes it special - wonder how they do it.
[06:17:28] <Jymmm> http://www.lpkfusa.com/protomat/h100-view.htm
it has a camera
no registration required
what an odd tool change process
it has a built in tool depth sensor
oh maybe that's the only secret then
watch the first video
too long - maybe tomorrow when it's earlier
FUCK ME 100K RPM spindle
you can hear it spin up
sounds like a mini jet engine
took like 5s to fully spin up
cradek: Ok, the tooling does have depth rings on them, but I dont think they are being used for anything other than the diameter of the tool itself =)
Has anyone ever done any business with china mfg directly?
lpfk is 100k?
i get PCBs from china pretty often
also my work deals with a few china factories
also china companies are always hitting my email trying to sell me LEDs and pcb and pcba services
but theyre like TELL US WE CAN GET IT im like 660nm 3 or 5 watt LEDs, star mounted, WE CAN DO THAT
but you've never completed a transaction from a China MFG ?
2 days later, WAT, CAN YOU SEND US MORE INFO
besides pcb fab?
we have a dickhead who calls himself and engineer and a project manager deals with the china factories directly
its better that way because sometimes i get really pissed off about some of the china layout and china circuits and china failassemblies, prob better im not talking to them
and the pcb's, was that LARGE qty?
not really, 20 to 100 units
tho ive maybe convinced work people to tool up a custom 1/8" TRS connector for my project!
china usually gets sloppy with long runs
like i get pcb from same board house as someone else i know but he gets thousands of units
and some of the drill backlash is like comical
like might as well be a dude with a drill press eyeballin it
I want to get soem LED's from china, but I'm VERY leary
but my stuff will be dead on
TT and WU only
MOQ is 5K
yeah try and find a factory
try and have something to show them, like the application
I did, and they offered samples, but want $30 USD to ship 15 5mm LED's to US, and I'm like WTF?!
its prob airmail tho
thats not so bad, sucks but cant be helped really
you get it in a business week about
I've bought LED's via ebay from HK for $5 USD
if they put it on a boat itll be cheap but by the time it arrives youll have forgot about it
theyre free ship alot
you can do QA on them
Sure, but I've seen the postage, it's not $30 USD
i would try and find a seller who will take returns and replace or refund
quality assurance, just like do burn in
and send back ones that fail
I'm still leary, once you send the money western union, that's it.
lilalinux_away is now known as lilalinux
cradek: jepler Tinnit http://www.neufeld.newton.ks.us/electronics/?p=164
[13:18:29] <Jymmm> http://eegeek.net/electronics/tutorials/tinnittutorial.htm
[13:18:45] <Jymmm> http://www.allelectronics.com/make-a-store/item/ER-18/TINNIT-BRIGHT-TIN-PLATE/-/1.html
Cheapest place at $6.90 http://www.parts-express.com/pe/showdetl.cfm?partnumber=340-188&source=googleps
MarkusBec_away is now known as MarkusBec
if I understand correctly it's just tinning the copper, it's not somehow plating the through holes
he also sez 'hard to photograph shiny stuff' http://eegeek.net/electronics/tutorials/tinnittutorial.htm
grrr... tab completion....
yea he should change his name
jepler: AXIS doesn't respect CYCLE_TIME ???
update_ms = int(1000 * float(inifile.find("DISPLAY","CYCLE_TIME") or 0.020))
dgarr: oh, was that added at some point? I know for a long time it didn't..
hm my spindle stalls out above 60hz
it was added quite a while back -- i may have been the requestor
lilalinux is now known as lilalinux_away
lilalinux_away is now known as lilalinux
I have been working on 3 machines on and off for a few years. I plan on doing my major cnc spending in a few weeks or less.
1 x2 mini mill 1 8x12 lathe amd a 4x5 micro lathe
I have got some bits, nema 43 stepper and driver for z on mill
2hp 3 ph baldor motor and AB vfd for lathe spindle
i have too many desktops and apps open... so when i want a man page, i open it in firefox http://tips4linux.com/easily-read-man-pages-in-firefox/
you need a server running, like 'sudo /etc/init.d/apache2 restart' then typing man encoder in firefox's url bar gets you the straight skinny
small maxon gearheaded servos with encoder for 4x5 micro, they are not fast but hard to stop.
I have been following emc for many years and played with it on and off.
I am undecided on weather to use stepper or servo for mill x and y
as I will be using stepper for z
emc doesn't care if you mix, so use whatever you want for mechanical/accuracy reasons
cost is a major factor, servos will require(by my logic) a mesa cARD?
ONE PER MACHINE?
that depends on the speed you need to move the motors
it's probably better, for both stepper and servo machines, to use some hardware assist like a mesa card
I can see that
doing so reduces the realtime timing requirements on the PC, and also gives better speed and resolution
(resolution to the PWM values for a servo, that is)
I have us digital liniear encoder stuff but my max resolution on it would be .002, and it is plastic, so I ruled it out.
linear encoders are great, unless there's backlash between the motor and the encoder
I considered using an audrino based micro controller board for io functions and encoder counting,
I'm not sure there's arduino + emc software that can handle encoders. I think there's something for simple I/O though
well even that woul help with the stepper driven mill
i cant seem to find this anywhere.... i have a high gear and low gear, and a vfd. how do you change the pwmgen scale depending on the gear it's in?
the least expensive Mesa card is $89 or $99, plus an I/O daughtercard at $79 (I think). So figure $180 for Mesa hardware. Using an Arduino or parallel port, you still should have some sort of breakout board and/or protrction circuitry
when you look at the amount of I/O you get, plus the FPGA thrown in for good measure, there's not much difference between a Mesa card and an add-on parallel port (with interface card)
danimal_garage, look at the Tormach PCNC-1100 config (or probably others)
there's a gearchange component for that
ah ok, thanks
my dream would be to have all 3 machines dc brush gear headed servo mesa with siple h bridge drivers
gotta be careful with gear heads - I think they usually have significant backlash
harmonics don't, but then again they're very pricey
I could use a cheaper motor and a good encoder on the lead screw itself, might even save me a small penny
then you get into the troubles of tuning a system where the feedback is not directly coupled to the motor
that's a hard one
you need an encoder on the motor, and you can optionally put another encoder (linear or otherwise) on the screw/table
reduce the hunt
I'm just looking for a way to use smaller motors and keep them in thier torque range, and do this within a budget
just remember, you'll never get more power than the motor can provide :)
toothed belt/pulley reduction works very well, for anything from 1:1 to about 5 or 6 to 1 reduction
beyond that, you probably need multiple stages, and that's a pain
right, but I just don't see a 250 oz in servo working in it's sweet spot on one of these little machines
i guess i dont understand how the gearchange function works.. does it change the scale for the vfd, or does it have to be a closed loop system (encoder on the spindle)?
if I remember correctly, you set the high:low ratio on gearchange, and also put in the min/max RPM for each gear. the hi/lo gear selector will then decide whether the input command gets scaled
that makes sense now
the VFD "DAC" scale should be set for the low gear, I think
but check that, it's been a while since I looked at it
good to know, it's set for high
SWPadnos: have you heard anything from tormach?
haven't asked any questions lately :)
makes sense since the scale is 2
if it was .5 then i would think it would be scaled for high gear
I wonder if I wrote good information for the manpage
danimal_garage, man gearchange would have answered some of these questions
ok, thanks, i didnt see it in the integrator's manual, but maybe i missed it
onless there's another manual i dont know about
ok - it's in the manpages and online docs, I never added it to the manuals
(though I thought the manpages were added to one of the manuals automatically)
ah ok, i thought the integrator's manual was like the bible... didnt realize there was stuff that isnt in it
good to know
yaya my brake module for my mill's vfd just came in
no, it's a module for the vfd
I've compiled a Ubuntu 9.1 Kernel with the RTAI patches and I've loaded up RTAI. I was following the directions on this website http://neo-technical.wikispaces.com/emc2-ubuntu
and making corrections as I went. I got up to line 15a and decided to follow the directions and do a tar ball download of EMC2 and install instead of doing a Git Clone, and compile with run-in-place etc. ...
...Everything is working great up until I do the "configure" to setup everything for the compile with Make for EMC2. When I run the configure I get an error near the end that says "Checking for mismatch between TK and TKinter" and there is an error that says "TCL Mismatch: 8.4 vs 8.5", then "Python requires TK 8.5 and TCL 8.5. It also mentions that I could do a --with-tclConfig and a...
...--with-tkConfig if necessary??? So I tried a "configure --with-tclConfig --with-tkConfig" and I still get the error ?? I went to the Synaptic package manager and it says I have TK 8.5 and TCL 8.5 already installed. Huh? Any idea what I do now?? I'd go back and just do a GIT clone but I would really like to get that wiki corrected so no one else has to plow the same ground...
...twice. Sorry for writing a book on the IRC!
(minor nitpick: it's Ubuntu 9.10, that's nine point ten, not nine point one - the 10 represents the release month, October)
did you specify the actual TCL/tk versions (or directories) with those configure options?
Yes you are right, and that .10 is significant as you say... I just followed the configure instructions and never specified the TCL/TK install directories. I used the configure that was unpacked from the EMC2 tarball I believe.
I read the install instructions that were unpacked with the tarball and I didn't see anything that I was doing wrong from reading that...
I think you're supposed to say --with-tclConfig=<something>, but I don't know what <something> is supposed to be
it could be a directory (where the tcl libraries are), or just the version
same for --with-tkConfig
Ok, I had no idea... good hint... I can look for that
if you don't specify anything, then I think the option just tells configure to include tcl/tk, regardless of whether other options require it
and of course, it uses the same auto-detection as without the options
one other thing - I think there was a patch that allowed emc to work with mismatched tcl and tk versions, but it's only in master
Now that makes sense... I didn't understand why I would tell it the "--with- tclConfig" etc...
the patched version in the master. Which file would have been patched.. I thought it would have been a ".configure file", but I couldn't find one ... but I didn't look through the entire EMC2 source tree
well, the patch I'm looking at (from 11/27/09) only patched the dependencies in debian/configure and debian/control.in
Hmmm... but if I grab that patched file that means that the wiki directions are really unworkable..
are the wiki directions specifically for 9.10?
It doesn't exactly say in the wiki itself but it is referred to as a reference in the EMC2 wiki and it has been used as 9.10 install reference in the forum. I've got everything working so far (with a few corrections) from the wiki with 9.10
on the gear change stuff, is there a list of gearchange pins somewhere that i'm not seeing?
I can see that several people have been trying to determine an exact solution and I was hoping to fix the wiki (the neo-technical wiki)
I'll pursue the --with-tclConfig= thing and see where I get.... Thanks!
i saw that, all i saw were a few pins, is that all there is? like isnt there a higear or lowgear pin so i can actually do the gear change?
pin in bit sel "Gear selection input";
the component has to be told which gear you're in. it doesn't have outputs to select the gear automatically from the speed input (if that's what you're looking for)
* ds3 flings slittings saw blades around the channel like frisbies
does m41/m42 work with emc?
to change gears?
basically what component actually does the gear change?
I don't see M41/M42 in the docs
if you have a powered gear changer, you would probably have to write some ladder logic to make it work
me neither, but that's the typical hi/lo gear code for most machines
there's a .comp that Stuart Stevenson wrote, somewhere on http://www.mpm1.com:8080/
this makes a whole lot more sense now, thanks
he has a 4-gear machine he uses it on, IIRC
so i guess temorarily i can just hook up a toggle switch for hi/low gear
and have it go to an input pin
or, if there are prox switches (assuming you have a power changer), you can use them to select the ratio
for gearchange sel
i have clutches (hardinge HNC
oh, then you may be able to use ladder well with that
so i just need to throw power to them
it would be ideal if there were feedback though, to tell you that the clutch is in position
yea, i just need to learn ladder :)
in any case, you can use the same output to select gears as you do to select scales with gearchange
the hardware is then a pair of SSRs that are controlled by the same gear selection bit, but one of them should be inverted
(unless you need more smarts than that, or some sequencing or something)
jepler: Yeah, just keeps the traces purty
oh the self-inflicted pain: http://blog.makezine.com/archive/2010/01/digital_clock_with_no_ics.html
jepler: At least it's not a "Diode clock"
wow, it's wonderful IMO
if he got the circuit even close to right the first time it's a miracle
I'll grant it shows skill and dedication
does it have strike and chime too :)
[21:51:23] <Jymmm> http://transistorclock.com/linked/onwall_l.jpg
wtf, it has binary counters and then binary-to-1-of-10 decoding
people here.... let me ask again... should M03/M05 (spindle on/off) execute with the same amount of time each time? or is the 'dwell' between M03 and the next block completely random at each run?
I see he puts the resistors in the right way round
it should have ring counters
ds3: not realtime, so it's random
cradek: what about 'Sxxxx', is that a real time code?
crap, I hope that doesn't mean I have to build one to beat his part count
how can I have a real time code to enable/disable a PWM signal?
custom hal code?
$215 for the kit????
or is it M64? one of those
Jymmm: that's a fucking expensive circuit board to make
so M codes can be real time?
cradek: how so?
62/63 are synced with motion
Jymmm: it's huuuuuge
64/65 are not
ds3: whether a function is realtime or not isn't really related to what letter in gcode causes it
$215 seems cheap...
skunkworks_: actually yeah
[21:56:01] <Jymmm> http://www.kabtronics.com/orderpage/images/orderpage001005.jpg
the assembly manual is really quite good
hmm.. doesn't look _that_ big from the pic
jepler: did you find a real schematic?
it's more than just assembly
how big is it?
cradek: ah I see... do I need to write C code to get a RT behavior if all I wanted to do is generate a PWM with a given duty cycle on a parallel port pin?
cradek: yes, starting on page 46 of the pdf http://transistorclock.com/tranmanual.pdf
no, you can generate that with pwmgen
cradek: but what about the connection of that with M62/M63?
(Background - trying to get a laser controlled by EMC)
a laser sitting there turned on will do bad things, hence the need to define the 'dwell'
ds3: that should work
you do something like: G01 x10 / M62 P1 / G01 x20
then while passing through x10 motion.digital-output-01 will turn true
if you connect that to pwmgen.xx.enable, then it starts pwm-ing just then
cradek: Did you complete your order yet?
hah: > Fun story: my advisor used to work at an amp store. They decided to do a double-blind study on the eternal battle between solid state vs. tube* and found that people preferred the tube amps (no surprise here). However, when they introduced a low 60 Hz signal to the solid state amp, people preferred them over the tubes.
alex_joni: and each time I run it, it will be enabled for exactly the same amount of time (determined by feed rate) as it goes from X10 to X20?
Jymmm: I've done one better - I've made an electronic clock that not only has no ICs - it also has no transistors
Jymmm: it doesn't work very reliably, unfortunately - I should work on finishing it sometime
cradek: motor? balls?
no moving parts except electrons
cradek: charging and discharging lyden jars with electrostatic leaves? :D
ds3: it will be enabled exactly when you pass x=10
hm, now I'm getting the itch to finish it up
jepler: Yeah, they have to be in tune with the electric company man - but I thought that
if you want to disable it you need to program a M63
s what the pot was for.
G01 x10 / M62 P1 / g01 x15 / m63 P1 / g01 x20
ds3: that enables it in x=10, and disables it in x=15
alex_joni: I understand that. I am just wondering if it will do exactly the same thing each time I run it
cradek: how many diodes so far/estimate?
it works fine while you watch it, but if you go away and come back it is often showing the wrong time
cradek: seperation anxiety clock?
Jymmm: in mine? there's 2 or 4 diodes in the power supply
probably 4 - it's been a while since I built it
that's kind of a fuzzy question - it is electronic, and it works pretty much digitally, but electronic devices are inherently analog
[22:06:31] <jepler> http://en.wikipedia.org/wiki/Dekatron
ds3: yes it will
cradek: do you have your hi/low gears working via m code, or is yours set up for manual gear changes?
jepler: that manual is quite good, however there's one majour flaw
(jepler gets the cookie)
alex_joni: besides the clock counting wrong on your stupid european electricity?
when placing components on a through-hole board, I learned to always start with the lowest height parts
i'm trying to get the gearchange setup working now
the brake was bad so i removed it
alex_joni: thanks. the machine seller was suggesting using the spindle controls but this sounds a lot better
danimal_garage: I noticed the old control let you change gears with the spindle running - made a lot of noise - my emc ladder disallows it
will be back to ask more details when I get the stand setup for it
remember how i was complaining it was stalling with a light cut? it was the brake dragging
ds3: you can use the spindle speed to set up pwm rate
alex_joni: oh and just use M62/M63 codes instead of M03/M05?
[22:10:02] <Jymmm> http://transistorclock.com/cal/grnonwallb.JPG
so you wrote a ladder for it huh
i gotta learn that eventually
[22:10:56] <Jymmm> http://transistorclock.com/cal/calsite_003.htm
I like the calendar
ds3: you need M03 to start the "spindle" once
so that pwmgen gets the speed setting
but after that you can enable/disable the laser with M62/63
alex_joni, I agree the build order is wrong except that you can test sections as you build with the psu first
MarkusBec is now known as MarkusBec_away
alex_joni: so my startup code is something like - S050 M03; M05; ....?
assuming I am off the part at that point
no, just keep it in M03
no need for M05
until you M62 your pwmgen won't output anything
I will definitely need help when I get to setting it up then
does EMC do any debouncing of home switches? (sell claims there are home switches on the machine but it is "noisy")
there's a debounce component that can do that
but I think the home input to the motion controller is not debounced
so option is available
SWPadnos: How da hell are ya?!
SWPadnos: how was the holidays?
MarkusBec_away is now known as MarkusBec
ds3: if you can imagine, and someone can program it, it's available in emc2 ;)
ok for gearchange..... this is giving me a headache. I got the gearchange.0.sel to change from true to false, but it wont leave the low gear rpm limits.
[22:45:34] <danimal_garage> http://pastebin.com/m1296698a
do i have something wrong there?
MarkusBec is now known as MarkusBec_away
danimal_garage: what do you mean?
you selected gear range 2, and the speed output is not multiplied by 2 ?
i'm not sure if i'm selecting gear range 2
if gearchange.0.sel is true, does that select second gear?
and if it's false, is it first gear?
that would be my guess
it's not that it's not multiplying it by 2, it's not changing from the gear 1 rpm range to the gear 2 rpm range
in other words it's still using gearchange.0.min1 and gearchange.0.max1
regardless if gearchange.0.sel is true or false
how did you determine that?
i opened hal configuration and looked at it in there
I'm not sure what you expect should change
no matter if gearchange.0.sel is true or false, gearchange.0.speed-out wont go higher than the value in gearchange.0.max1
it should use gearchange.0.max2 if it's in second gear
so you should get to 6000 rpm
max2 = 3000
scale = 2, so the output will be 3000/2 = 1500
which you probably mistook as max1
well it says 1500, regardless if gearchange.0.sel is true or false
shouldnt it show 3000 if i'm using max2?
you want 3000 RPM
but in gear 2 your spindle is moving twice as fast as the motor
so your motor should still move at 1500 rpm, so that the spindle moves at 3000 rpm
the min/max refer to spindle speed, not motor speed (so after the scaling)
hey what do you know, i'm an idiot
once again lol
danimal_garage: Nothing 50KV cant cure =)
are you suggesting i zap myself?
danimal_garage: as usual I found reading the source way more explicative than the manual :)
[23:13:23] <alex_joni> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/gearchange.comp;h=9a523684b57464e24a6650c4fe4c738eefd1e9fa;hb=HEAD
the manual is 2 pages long
the source is about 5 lines for the relevant part (lines 35..40)
i'll have to keep that in mind
it seems to be working
so i had it right all along
i guess all i gotta do is figure out the ratios between hi and low gear
my eyeball says it's about 2:1
but i'll try and measure the pulleys
lilalinux is now known as lilalinux_away
cradek: does that sound right?
danimal_garage: making progress?
yea, a little
cool, I took 3 steps fwd and 1 step back
both axises work great, got the spindle working, and i'm almost done getting the gear change scaling worked out
just gotta get the home switches hooked up
cool, what'd ya get done?
i dunno if you saw, but i got the following error down to .0002" or less at 200ipm
nice, I'm still working on the phase converter LOL
I made a plate to mount all the el parts on and forgot about a 4" height restriction on one edge and mounted some 4.5" tall stuff there :/