theorb is now known as theorbtwo
mike is now known as Guest63860
cradek: Can you give a 3D (isometric) view?
not much to see: http://timeguy.com/cradek-files/emc/truetype-tracer-and-heeks-pocketing-perspective.png
you took the output of TTT and ....
ttt generates dxf - import dxf in heekscad - draw a rectangle around it - tell heeks to pocket it - post and save gcode
the paths are excellent - arcs where arcs should be
Oh, I thought TTT generated gcode, not DXF
it will do either
didn't know that
it can generate dxf with nice smooth biarcs for the splines
I asked for the perspective because I couldn't see any depth
yeah the cuts are all one depth - the idea is you'd leave just the letters sticking up
I dont see any z moves in the gcoe either
look at the ends of the cyan lines (rapids)
it's a feature that it doesn't have to move up and down much to do the pocket
OH! Very shallow
very cool =)
yeah it's at -0.25 I think
Hmmm, I wonder if asking for a bevel aorund the profile of each char is asking too much?
with a chamfer tool? you can get that in heeks
In aluminum, it's no big deal. In wood, it helps prevent chipout
Or just a V-Groove bit
in that situation you could draw first *on the path* with a pointy tool, and then do this pocketing with a regular cutter
would work fine
who devedoloped heeks?
I don't know the history
Is it purely CAD, or CAD/CAM ?
more cam than cad, imo
Oh danielfalck wrote it
[03:35:21] <Jymmm> http://heekscnc.blogspot.com/
Oh, it looks like you and seb have been commiting to it =)
yes I've fixed a few things lately
but it's funny - I haven't even talked to Dan H yet
Heh, doens't mena he doens't know who you are though =)
uh-oh, hope I don't have a reputation
cradek: Yep, you do.... More of an 'Olsen Twins' than a 'Paris Hilton' one though
Had an IGBT explode in my face today, that was kind of exciting
yikes. do you wear glasses?
Yes I do, not too many big pieces flying but nice bang and flash
Fellow engineer got the clever idea of using as desk light to test the brake threshold voltage on some 8I20s we were testing
worked fine when we checked the threshold (100 and 120V), not so fine with 360V VBUS
they don't fail just a little bit, do they
No, kinda sudden...
It was a triple banger first the brake IGBT failed (after a really bright flash from the desk light), then a cable blew at a spade lug crimp
dumping the motor energy who knows where (looks like the card VBUS got to ~1000V before the Hbridge module shorted out)
nothing on the low side (serial interface, FPGA card, PC) was damaged so thats a good thing
wow, that seems surprising
goodnight, hope you avoid explosions tomorrow
Nite, we are now putting a plastic shield over HV stuff we test :-)
better go with polycarbonate :-)
Yep and review test procedures...
I built a PS in electronics class, just got finished soldering up every thing and was bench testing it. I noticed the voltage was dropping consistantly. I left to grab the instructor and before had a chance to come back I heard a BOOM!
The big old cap exploded with one guy sitting right next to it.
Where I used to work years (and years) ago a radial capacitor blew up in the face of a test technician who proceeded to chase and threaten grave bodily harm to the
assembler person who and hand assembled the card. (this was in the days of through hole parts, hand poked into PCB sitting on foam)
had the odd fet catch fiew
Fire Emitting Transistor they be called
they actually seem to work for a while when thy are on fire
best explosion I've had was a tantalum cap
was making a prototype
and it had a short somewhere, I couldn't work out what was causing the problem though
eventually dad had a solution, he says "its not pretty but it'll work", take all the expensive chips off the board and hook the 5v rail direct to a car battery
the thing that explodes is the short
thankfully when i was just about to do it he said to turn the board over just in case
thing cooked off like a firework red hot crap blasting across the desk
burnt a bunch of quater inch holes into the surface of the desk
Tantalums are responsible for a fair number of holes burned clean through PCBs...
You can do that test a little more gently with a lab supply (set to say 1V and 10A current limit)
then just feel around for the hot part (or use a voltmeter and follow the drop_
it was a very good short, it was sucking around 1.5A without getting warm
I guess nobody from Italy would be on her now
is axis called axis in the process list?
you guys are going to make me go all the way downstairs and crank up a computer just so my answer to the Italian guy about axis starting in the background is correct?
i would have to drive for 20 minutes
a likely story
well it should be
if your feeling lazy you could download it and fire it up inside a VM
I have a sim version, but apparently the axis crashes
I can get the tk interface to run
probably have to build it again, too lazy
good excuse to try out 10.04
this is my desktop running 10.04
maybe I should try to figure out how to install a vm
vmware player is pretty simple
kvm is open source
(and built in)
the thought of vmware player gives me hives
eh "it works"
"it didn't last time I tried and I gave myself nightmares trying"
i like virtualbox, but use it more at work on windows host and plubuntu guest
just don't install from the ISO, install plain ubuntu and build emc2 (SIM performance was better compared to 8.04 installed into VM), don't think i have space or time to try 10.04 iso into vm
morfic whats wrong with the livecd?
I installed it into a vmware player instance and it seemed to work ok, whined about RT-delays when starting the sim but eh
just a run in place sim ran better than trying to use what you find in VM after installing from the old iso
sim whining about rt-delays makes me wonder
yeah, those dealys i could ignore if OS was usable, which it was not
EricKeller: in a VM, i'd expect ot have BAD RT :)
why is the sim using RT anyway?
bad RT, bad!
Valen: clicking menu to open some app and it taking seconds per menu that pops up is what i refer to
didn't see that on my install
Valen: all i know is following suggestions from here, i installed 10.04, built sim as run in place and i can now work on it fine, just didn't want to send EricKeller off to try VB w/o pointing out that if 10.04 iso gives similar results, he has a good option of plain 10.04 + building emc to run in place
Valen: i suppose your desktop and my desktop are not likely the same ;P
this was on an old laptop
dual core ~2ghz i think
vmware player 3
what kind of dual core? intel core1?
downloading the iso is no big deal, I was going to install it anyway
dunno, i *think* it might be core2 but it is a few years old
its dads machine
he wanted something so he could test his mastercam outputs on
Valen: single P4 era Xeon+HT, 3.x GB of ram (what ever it is XP gets you, think it is 3.2, while i thought PAE should get you 3.6 in XP?) and i can't shut down other apps while VB is running
I've never su'd to my own account before
PAE lets you get full memory, but no process can hit more than ~2gb
the emc2 is for that? why does he have mastercam if he built a machine just to test the code? usually people have the machine or need to use mastercam with.for
i stuck an EMC virtual machine onto his desktop so he can make the toolpath in mastercam then stick it onto the VM, open it in EMC and make sure it runs ok
we are still learning mastercam
Valen: you can't get 4gb, and i think 3.2 is showing something on this machine is wrong, *IF* i am right PAE is typically around 3.6GB, with a 4GB address space and other things than main memory to address, you could not get all of 4GB ram
oh if you happen to have a postprocessor tuned for EMC it'd be really handy ;->
i wish i had the cash to buy mastercam for my garage workshop :)
I dunno, I havent bothered too much with XP and 4gb ram
mastercam and solidworks would be nice :)
I could rule the world
if you have solidworks why not use solidcam?
is it any good?
mastercam easily takes solidworks
anyway, I don't have $20-30k for software, so world domination is right out
keep on eye on cradek and heeksCA[D|M]
most cam is happy if you get it a nice solid in one of many formats, there does not need to be a real relationship between both apps
CAD Guy uses Inventor, i take it, smash it or slice it and put toolpaths on, and if it's an acme thread, i may forget to change infeed from 60deg to 29deg :/
the cam software companies have worked very hard to make the connection easy
looking at what I use in rhino, the actual CAD software itself if you start off from a 3D base shouldn't be that hard
the maths is beyond my level though
(by hard, i mean there isn't a great need for lots of features)
its mostly extruding curves, capping and subtracting
this is the last time i mentioned the install iso btw, always turnes into way too long a talk after, and i thinks it's always valen asking me too :P
well its out now so its all good as far as i'm concerned
what's the name of 10.04?
if Hardy is capitalized, is lucid?
EricKeller: cam software companies working hard? the Esprit guys did not get the memo (talking what i consider lack of features, imports are fine, but every time i touch a mfc/.net mix app i get squeezy) i understand a need to change over eventually, but do not take me from 100%/0% mfc to 90/10. 80/20, 60/40 and so on, too much UI stuff moving around, option pulled off one tab and put on another, and something that changes the code is not accessible beca
use it is on the "roughing tab" which is disabled when you work on a finish op on the same tab
morfic: CAM companies other than mastercam seem to be mostly con artists
all proper nouns are, no? except in what morfic types, he does use caps more casually
and I'm not sure about the guys from mastercam
EricKeller: i loved VirtualGibbs, it has better stuff years ago than Esprit does now
I'm not really a consumer of Esprit, the machinist at work has mastercam, it works for what we do
Mastercam i am sure appeals to the CAD guy who was told to go learn how to program the new CNC machine, Gibbs back then felt like it was to appeal to the machinist who was supposed to program more efficiently than in a text editor, stuff there used to make sense to me
I've seen more rants about Gibbs than any other company
if Esprit comes up, find out who said it, look him/her in the eye, and slap, HARD
EricKeller: i have not used it in years, if it has changed this much it would be sad, then i have nothing left to hope for
surfcam gave out cds to install demos for learning.testing, i should try to find if gibbs does this
you got me curious now
vm of the liveCD running finally
that was a very long-winded way of finding out that the process name of Axis is, indeed, "axis"
I got two errors about real time delay, really makes me wonder how that is generated
that's all you wanted?
yeah, nobody would answer the question and I was too lazy to walk down to the basement
isn't it booting the RT kernel? then even sim is relaying a kernel message i bet
does dmesg have the same delay message?
EricKeller: then make it worthwile, is it running well at least? not like you are on a old P60?
no, it's a pig
you have to very carefully move the mouse
if you plan to use this again, kill it, install plain ubuntu and build it yourself there, based on wiki instructions
I didn't install the livecd, just running a vm from iso
EricKeller: thanks for keeping me from beeing the only one with a dog slow sim off iso
the livecd is a real time kernel, so I'm not sure how that plays with a sim config
oh that should be even better, i tried to avoid the squashfs off the "CD"
i think you have the answer there :)
I wanted to see how a vm worked anyway, I've used them, but only on the server at work
which I wasn't responsible for, but I didn't want the guy that was responsible for it to get fired
system administration in the real world of bosses that don't want to pay for real IT people
EricKeller: your not using vmware either are you?
which has the same heart as virtualbox
I wonder if thats the issue
I could try vmware player and see, but I'm too lazy
kvm was a couple of apt-gets away
vmplayer wasn't too hard
hardest part is getting through their download page lol
I was also trying to virtualize an installed version of windows
which it seemed like it would do, but it got all strange
you need to do work on that before you try the move
change the ide drivers
if you have drivers available it should do a couple "woah, hw changed, installing stuff now" else it freaks out
if you don't set the ide back to "standard ide" then shutdown, then move it into the VM it'll barf on inaccessable boot device generally
What is the name of those clamps you would install on an enclosure to give it a tight seal?
clamps for sheet metal work, or permanent installation?
like you see on band gear
or test equipment containers.
work with me here
looking for pic
look up draw latch on mcmaster
sorta like this http://www.amazon.com/Closed-Length-Capacity-Southco-Latches/dp/B002IB9QR2/ref=sr_1_9?s=industrial&ie=UTF8&qid=1284098657&sr=1-9
that's what I was calling a butterfly latch
but nothing came up for that on google
mcmaster calls them turn-to-open draw latches
I've had one of the flush mounted ones like they use on music cases for the last 20 years and haven't figured out a good use for it yet
I was hoping that I could use it on a 3/4" thick front panel of MDF for hte air scrubber I'm making, but I'm not sure If I can mount the hook or not
mcmaster doesnt want my money
its cos i'm an evil furrrener
Anyone here ever use grbl?
Heh, SolidWorks 2011 even has 'Environmental Impact Analysis'. But these ppl are so full of themselves, the student edition is limited to 12 months.
JT-Work: Heh, SolidWorks 2011 even has 'Environmental Impact Analysis'. But these ppl are so full of themselves, the student edition is limited to 12 months.
just buy a copy like I did
JT-Work: Insert Credit Card here: [ ]
JT-Work: what version and how much?
does this spell out emc2-axis? http://www.youtube.com/watch?v=EwfhjVV7D7Q
^ that is pretty nice work!
skunkworks: I don't think it does.
There wee accents that didn't look commonplace.
Does HeehsCAD support assemblies?
Jymmm: I'm using 2010 but when 2011 comes out I get upgrades (maintenance contract)
JT-Work: Ok, cool. When you get 2011, you can sell me 2010 for $1
JT-Work: 2010 wasn't a very good year
yea, I had to do quarterly payments for the maintenance contract in 2009/10 to keep it
JT-Work: Did they let you keep at least one arm?
we do that here at work.
I think we have 2 seats
just my mouse hand
heh 5.1 is out
skunkworks: do you generate any cam from SW?
JT-Work: cradek just did using his TTT to create the DXF file brought into HeeksCAD to generate the gcode
[13:57:09] <Jymmm> http://timeguy.com/cradek-files/emc/truetype-tracer-and-heeks-pocketing.png
[13:57:18] <Jymmm> http://timeguy.com/cradek-files/emc/truetype-tracer-and-heeks-pocketing-perspective.png
LOL that is a better path than I get from OneCNC
the pocketing really seems quite good
the arcs are arcs
Is Alibre PE work it?
I need to try and get HeeksCad to work for me again
Fuuuuuuuuck... Never thought it would be so difficult just to find 4" smooth wall duct hose with wire reinforcement that doesn't produce ridiges when bent
Found what I want on the saws at HD. Just got off the phone wiht the service company and they no longer carry THAT hose *sigh*
Oh great... the isolation mount I want is not in stock.
and is uncommon *sigh*
JT-Work: (it isn't my department - but they bought bobcam. They have used it about twice so far ;))
I feel sorry for them, that is what I used at first with the Anilam
skunkworks: They are probably one of "THOSE" ppl that read cnc-zone too =)
I can run it with my eyes closed now
[16:11:28] <Jymmm> http://tmux.sourceforge.net/
meanwhile, I hacked pcb2gcode to convert its "stairstepped" gcode with short moves into larger primitives, including arcs. http://emergent.unpy.net/files/sandbox/pcb2gcode-with-arcs-preview.png
jepler: my zoomy wheel doesn't work in your screenshot
try this instead: http://emergent.unpy.net/files/sandbox/pcb2gcode-with-arcs.ngc
looks good, but did those start out round?
not that it matters much
yes, that was a round pad in the gerber file
the error cascade when I try to build heekscnc from svn is so long I can't tell what happened
can someone paste that ubuntu heeks svn link again? i lost it when i closed the chat.
it uses a recursive algorithm based on Ramer-Douglas-Peucker but after having found the "most outlying" point it can either fit a line or an arc to it; it was mostly a translation from my existing Python code in rs274/author.py.
elmo40, you mean the build instructions?
no. someone pasted a link with a built .deb file of the latest heeks svn
might have been in #cam, though
mini-box.com is out of stock on all barebones systems because they all use the pico-80 power supply
I just managed to get 10.04 & emc-2.4.3 up and running, not too bad once I got it to use the vesa driver.
But I have a SCALE problem on the Z axis. the calculations for it look good, but it moves about 8% (SWAG) too far. And I had to stick a - sign in front of the X SCAL value. Has anyone else noticed this?
vesa shares IRQs, and for a realitime display is about 2 seconds faster than the radeon driver in serviceing the backplot.
ah, ATI. yes, that could been an issue
and why a scale problem? adjust the settings with stepconf. 8% is a lot!
Issue? More like a PIMA
Ok, xyloytex 4 channel, running in 8 step microstep, 10 tpi acme screw, 17 tooth pulley on the motor, 42 teeth on the acme nut carrier
this should return a scale in the 39,527.xxxxx range, but to get it to move an inch (after the backlash is taken up) I had to lower it to about 34,299.xxxx
And I had to add a - sign in front of the x scale to get it to job the right direction. All this from an .ini file that worked perfectly for 2.3.x.
s/b jog above
And I just found my saitek game controller is dead with 2.4.3 too.
So that's not terribly important, but the scale error is.
Yup, no response from it, for any button or stick.
same .ini file brought over from 2.3 does not give same results in 2.4?
interesting. i wonder why tht would be.
Restored from backups. But let me try another config justr for grins. brb.
gene: vesa vs open source radeon?
radeon is a friggin disaster, as it always has been here.
And I just recopied my old 2.3.6 configs from the backup, and killed emc. Humm.
i love my radeon on my home desktop, but i run most libs and drivers from git
looks like I ned to go look at a few logs again, but I have other things to do this afternoon, so it will be later.
i think i will see if the drm stuff ports to the 2.6.34 magma and how it affects to have working kms color tiling with RTAI
gene: and gnome as desktop environment?
good luck, I need to goto the landfill and see if I can find an ignition module for my SP mower. Later.
wow, those are some searching skills
landfill and specific part sounds like hay stack and needle
i think you need the luck more than me
SP mower? do you mean POS mower? ;)
self propelled, and the landfill is a separate stop. Cub Cadet parts for a Kawasaki motor are hens teeth. I expect the dealer will have to order, and about $60
gene: Tried ebay for parts yet?
or mold your own ;)
i have an error when i want to run the machine
well... what is the error? ;)
RTAPI: ERROR: Unexpected realtime delay on task 1 This message will only display once per session. Run the Latency Test and resolve before continuing.
that's an error
there is quite a bit of info about that on linuxcnc.org
what is the computer?
its my made :)
you might have a loose solder joint then :)
is it a stepper motor system?
no, the machine work when i test in in the wizard .. yes stepper motor sys.
my friend just told me emc2 calculates the maximum step rate wrongly as 1/(base period), as it should be 2/(base period) because it needs two processings for one pulse
is he wrong?
how can i know that ??
how can i know if its in maximum ??
q8istud, many conversations may happen at once
q8istud: this is not related to your problem
just writing random thoughts in here for everyone to read
q8istud, did you run the latency tests?
yes, and its work very well
q8istud: what were the values of the latency test?
I always wondered about the warning on startup, but when I've used a computer that was fast enough for my settings it never happens
motor steps: 1000, Drive microstepping: 2, pulley teath: 1:1, leadscrew pitch: 20, max. velocity: 40, max. acceleration: 30, home location: 0.0, table travel: 0.0 to 0.8
is that is ??
[19:14:44] <elmo40> https://m21.hyte.de/wiki/SpindleMeter
no, it's the thread timings that we need
what is the word in the programs??
my links are all random. not related to any specific conversation... sorry for the confusion ;)
are you want the driver timming sitting ??
cradek: your collets and rack are on the way finally
what freebies do i get
my machine from hobbycnc .. :)
q8istud, read this page and tell us your numbers after running the latency testhttp://wiki.linuxcnc.org/emcinfo.pl?Latency-Test
ok thank you
JT-Work: thanks! I forgot to send you the check - I will get it in tomorrow's mail
q8istud, you'll probably have to change some numbers as shown on this page:
[19:22:09] <EricKeller> http://wiki.linuxcnc.org/emcinfo.pl?TweakingSoftwareStepGeneration
thank you again, i will try it soon.
Jymmm: you still in need of a 1/2" collet with 'A' drill hole? i got it made. Plus a few extras ;)
great... error in running EMC
[20:18:26] <elmo40> http://pastebin.ca/1937515
elmo40 you need reasonable graphic drivers
no opengl no axis
the most common cause of this is futzing with the proprietary nvidia drivers, especially installing and then trying to uninstall them
*sigh* i just wish somebody would pay me for such stuff, not only boring it work.
irgh.. wrong window
if it's a new install, the easiest fix is to install again and then DO NOT use the proprietary drivers when it offers them
i can recommend older ati hw for that. radeon 7000-9000 agp stuff. fits well to the machines used for emc now.
also avail in passively cooled :) good for dusty workshops
I like older matrox stuff for the same reasons
true. but thei gl is all sw and slow
I think all my real emc machines have matrox pci video cards
it's perfectly fine for emc in my experience
and they got no dvi output. we got 1680x1050 or hullhd panels on all the emc machines
perhaps our requirements are different
i guess so :) i am just happy as soon as we got rid of the win32 on the laser
heh.. now i know why we didnt use the matrox ones. (just checked the old hw box) ... the matrox ones all got no dvi OR have a sticker on it that dvi is fried the rest is ok
evil... but i can remember someting about them was weird. whatever.
I have been boring and turning a 7" x 2" OD bit of steel to various diameters and 3mm wall thickness. Very boring and chattery, mainly because all the diameters are bigger than my chuck bore, and I don't have a fixed steady. 6" protrusion and a 5" boring bar, non-ideal.
Hey Guys, I'm ready to test my driver board and stepper motors.. and have never used EMC, can someone help me? I'm using one of those controllers that has the stepper drivers built in.. (4 axis version).
Stepconf should hand-hold you through the setup.
You just need to know what pin on your cable is which signal.
what about com port ID's ?
yea, that's what I'm not sure about.
(And whether the "enable" pins are active-high or active-low)
lspci -v isn't it?
hopefully it's not a serial port :)
Or am I misemebering?
I know.. I was just playing with a Arduino setting up a RPM metter\
you can use numbers like 1, 2, and 3 to use the first, second, and third parallel ports, respectively (up to 16 I think)
as detected by Linux, and also assuming that you're using something recent, like emc 2.4.x
(maybe in 2.3 also, I don't know)
Ah yes, I had forgotten that bit :-)
I'm running 2.4.3
then use the number 1 if you have only one parallel port
assuming that the Linux kernel sees it
Okay.. in stepconf... Parallel port settings.. first parport base adderss 0x378
type in 1 instead
if 378 doesn't work (which it probably should)
okay, what about the motor leads? I have red, black, green, blue.. looks like black & green is a coil, and red blue is a cool
They go to the driver. What are the terminals on the driver labelled as?
connect one coil to XA+ and XA-, the other to XB+ and XB-
OK, for a start put red and blue to A+ and A- and black and green to B+ and B-
If you switch a coil you reverse the motor.
If you connect one coil between two phases, the drivers blow up...
there are several ways to fix it if the motor goes the wrong way, which is all that can go wrong *if* you don't cross-connect the coils
what he said too
Also never disconnect a motor from the driver with the driver powered up.
good night at all
or connect one
Easy way to find which wires are pairs is to touch the ends together, and see if they make the motor stiff to turn.
and/or use a multimeter :)
4-wire motors are easy. 8-wire can be annoying (and the multimeter can't distinguish between a good and bad permuation with those).
But that doesn't matter right now :-)
okay, wired up.. what happens if a driver fires up with NO motor attached?
well, should be no problem anyway :)
oh crap.. it's asking about pin assignments.. I have no clue.
[21:25:20] <Connor1> http://cgi.ebay.com/4-Axis-Nema-23-stepper-motor-287-oz-in-CNC-Router-KIT-/270631971793?pt=LH_DefaultDomain_0&hash=item3f02ec2bd1
that has a link to the controller I'm using
you probably have a USB stick with some badly-written instructions on it?
cd, and wrong stuff.
if you have no other manual or information, then you're out of luck, unless you're good at reverse-engineering stuff
since the "reference wiring diagram" only says that you should connect the LPT connector to a PC
Well, Xylotex and Sherline presets exist, one of those is actually very likely to work.
I'm looking for a manual from someone else.. they're ALL over ebay.
Worst case you should be able to find the Driver IC datasheet and trace the tracks.
The CD is probably right, even if it is the wrong board.
And getting the P-Port pinout wrong is not a problem, it just won't work.
(My advice about crossing coils and disconnecting motors cost me £150 to discover, you get the knowledge for free, isn't the internet marvellous?)
Why does disconnecting the motors cause issues?
okay.. this thing has XYZA enables...
On the P-Port connector, or on a seperate header?
Stepconf supports that.
Amplifier enable ?
(Waste of 4 precious pins, but there you are)
The Stepper drivers are also called amplifiers
They convert 5v mA to 24V 2.5A....
Subsystem: Device a000:2000
Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 10
I/O ports at 1018 [size=8]
I/O ports at 1010 [size=8]
Nurse! Nurse! He's talking gibberish again!
I have a onboard parallel port, and 2 on a PCI card.
I'm using one on the PCI card at the moment..
anyone know about jacobian stuff in genserkins??
I don't think linux is seeing the onboard one..
what chipset does the board use connor?
The pci card or the mobo?
which ever one is not being recognised
pastebin the output of lspci -v
moopy: Have you read http://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant
no i have not andy
[21:52:03] <Connor1> http://pastebin.com/HStKEFHH
but i just want to kow why it is disabled
It probably won't help at all with the practice, but might hint what it is for.
i know what it is for (i think) but i want to use what has been disabled and want to know if there is some deeper reason it has been commened out
Connor: Perhaps it is disabled in the BIOS?
moopy: I guess if it is not used it would have been commented out to save thread time.
is was thinking that might be the reason
You could see how long the servo thread takes to run with it commented out, then re-enable it and look again. Perhaps it is that simple?
moopy: it's not used at the moment
jacobian I mean
yeah i think the jacobian will be useful if i want to branch out more joints from a linkage
I have been reprimanded for using the same tangent on two lines of code, rather than deriving it from some sins and cos already calculated. Saving execution time is important in realtime modules.
looks like my parport should be 0x1008
Realtime already running. Use 'halrun -U' to stop existing realtime session.
Is EMC running at the same time as stepconf?
just type 'halrun -U' at a console then
in the terminal, type (I think) halshow. Perhaps halcmd show all.
Or if you don't care about the "why" just do that :-)
if that dont work try 'ps -ef' and then kill any running emc processes
I have this chat window running on same machine..
wouldn't think that would be a issue.
type dmesg and pastebin the output
No, the IRC does not use Realtime
Or restart. (I think he maybe just did?)
raceback (most recent call last):
File "/usr/bin/stepconf", line 1552, in on_xaxistest_clicked
def on_xaxistest_clicked(self, *args): self.test_axis('x')
File "/usr/bin/stepconf", line 2050, in test_axis
'scale': data[axis + "scale"],
TypeError: %d format: a number is required, not NoneType
I run firefox on my emc machine, and it's only the FF that suffers :)
Connor1: Looks like we are all stumped by that one
I think it had to do with needing the enables..
I just set the X to Amplifier enable.. and left the Y and Z and A to Unused ATM
but, I still can't get it to do anything
Almost certainly not the real issue. EMC2 doesn't know if the amps are working or not, or if the motors are moving or not.
Yea, but, it was using the same config option for all 4.. I think it confused it.
Steppers are very much "Send pulses, and hope"
Aye, that could cause a bit of bother.
Any noise from the motors? LEDs on the driver board?
none.. just the fan running on the heat sink.
what about the step times and stuff at the very begining?
Try inverting the "enable" pin?
Put big numbers in, say 100,000
I have 5000,5000,20000,2000
Is the motor stiff to turn?
no more than it normally is.
Sounds like amp-enable is not active then.
You _have_ connected the main power and the logic power?
okay, I powered it down, and put it on the Y axis.. and it's hard to turn.
err.. I can't turn it.. rather.
And a good sign.
You have no idea how frustrating this is, if just about any of us were there (who have done this, with one of those boards) you would be spinning motors now.
Yea, I know.
What did you switch (from what to what)
I'm unplugging power from it.. and moving it from X to Y to Z.. testing..
it looks like Y has breaking on the motor... dunno why.
let me try something..
okay,.. That's odd.
This board has 4 LED's (1 for each AXIS).
two were lit, two were not.
unplug parport.. they all go dark..
I wonder if the board is hardware-inverting the hardware-inverted p-port pins that emc is software-inverting?
I'm about to mark them all as unused..and walk the invert down the pins..
You might find this useful: http://wiki.linuxcnc.org/emcinfo.pl?Parallel_Port_Tester
forgetting to pull up pins is a common error
Shouldn't be an issue with this board, which has an actual DB25 on it
I'm at a loss...
I'm --><--- to loading up XP and Mach3.. just to test the hardware..
Did you try the p-port tester I linked to?
0x1008 or 0x1000 has to be the par-port.
Nothing changed on the LEDS.. motor never twitched.
Did you edit the HAL file to point to your suspected base address?
yup. tried both
(and it might be worth trying 1, 2 and 3)
I am not clear if it is the hal_parport module that uses parport_pc to find parports, or whether Stepconf does it.
You have an "active" Y axis, but not an "X". This either indicates that the p-port is working, or that the amp-enables are serendipitously connected to hardware-inverted pins.
X and Y were lit..
only Y held the motor.
what driver board ae you using?
That's _very_ odd
one from ebay.. like this one.. http://cgi.ebay.com/4-AXIS-CNC-Router-Mill-Stepper-Motor-complete-kit-/230493424213?pt=LH_DefaultDomain_0&hash=item35aa7a8a55
Connor1: Which continent are you on?
moop is now known as moopy
There goes that idea.
what was the idea?
If you were < 20 miles away, I would pop round :-)
i have heard people have problems with the chinese import stuff
have you contacted the seller with your problems?
not yet.. I would have to try it on the Mach3 first.
have you checked the board serial number against the manual you are using?
Can you see a 555 timer on the board? I see you have a manual interface. My similar board had an onboard 555-based pulse generator which would spin the motors without a PC involved simply with jumpers and twidling a pot
i have heard of people being given the wrong manual for the board they buy
I looked for the manual that matched.
i think some of the chinese stuff has really awful manuals
okay. Success at triggering the spindle relay
0x1008 is the 2nd port on the card.
manuals so bad that some of the pin assignments are wrong in the manual
so you may have to go through and try every pin by trial and error?
That sounds like progress
try inverting each parport pin in turn to find which pins enable which motors
Completely off-topic, but I like this "The farmer wondered whether the wether would weather the weather, or whether the weather the wether would kill"
The parport tester should help figure that out
is a wether an animal?
It's male sheep
welsh like sheep
I was thinking about the infamous "known unknowns" speech when you said learning the manual doesn't have the right pin descriptions is progress
I got it.. I think.
Now for tuning..
okay, it's going in the same direction no matter which way I do it..
with the Jog controll.
Odd, but inverting the direction pin ought to switch it
try inverting each unassigned pin in turn until it changes direction
invert the right pin
Or, your direction pin is the wrong pin
eventually you will find all the right pins
What about the + / - on the motor ?
it's kinda jittery..
it is chinese
My chinese one was fine, just not very robust
Try longer step and direction times. You can reduce them later
okay.. I have microstepping turned on 1/2
200 steps per
Also, don't expect too much speed from a stepper
driver microstepping is set to 2
4 might be smoother, then you enter diminishing returns territory.
Y Z and A work.. something wrong with the X
Only goes 1 way...
Conner1. the CD I got had all the docs for the whole range. that one in the photo is the HY-TB4DV-M, same as mine
okay, this is odd.. ony the y,z,a the enable has to be inverted..
for me to get X to move.. I don't invert it..
I think something wrong with X.
Connor1: Could be. Check the traces with a multimeter, look for bridges between tracks, breaks in the tracks etc
I can't figure out WHY it wouldn't work on the other parport..
Vibrating in the spot is a sign that step and dir are switched, so it isn't that
[23:43:11] <MattyCNC> http://filebin.ca/nyzdy/HY-TB4DV-M4axisdriverboardmanual.doc
pinouts in there
If you look up the datasheet for the driver IC you will see that all the board you have does is (a) connect the driver ICs to the the motors and (b) cost a lot less than you could by the 4 ICs alone for
optos are nice touch
Actually, a duff opto could easily be the problem here
Check that one hasn't got a leg folded under.
and it ain't true. these chips are £2.66 each
Where from? I was paying £8 from HK, and more from RS during my short-lived driver-IC-exploding hobby
HK via ebay of course. me looks again
my optos were always wonky in the sockets. if it's just arrived press them all down
very cheap DIP sockets
The ones with the ICs in holes in the board look a lot easier to desolder than mine. (I think that is actually jolly clever)
yeah could potentially put another H/S on the back too
I noticed that one set of sockets isn't flush with the board...
but, they're soldered ok..
That filebin link fails for me, no idea why
worked for me on this machine
Compare input and output voltages with a working channel. I doubt that they do any actual testing.
[23:51:41] <MattyMatt> http://cgi.ebay.co.uk/TB6560AHQ-TB6560-STEPPER-MOTOR-DRIVER-IC-TOSHIBA-/110535851885
forst hit 2.91+p&p
I like this board. worth cloning IMO
Professional design - Two stage signal processing with super anti-jamming !
Whatever that means
My board was the other common one, which I think is a bit less capable.
yeah that's the 2A version
which would have been perfectly OK for my motors, but I thought I'd give myself some headroom :)
Yeah, rice puddings didn't fear their skins with that one, and wet brown paper bags were positively rude.
I'm still on 12V, so still stuck ~300rpm