Let's pick "specify partitions manually".
As long as you have that big drive, and we're going to use the whole thing on Ubuntu, right?
I just went ahead and assumed it was doing it in SDB.
No, I keep windows on an SSD for quick loading. I put my programs on the standard drive.
I gave Ubuntu 60GB.
Only planning to run EMC2 anyway.
Oh, OK, that's fine. Yes, you'll have plenty of room to try other distros.
Wow, a 40GB SSD? Nice.
Doesn't seem to cause the OS to load any faster at all though
ah oh I found a "spp" setting on my mobo, how cute
You can always resize Ubuntu larger from the live CD if you need more room. (And it looks like the leading edge of the front is getting closer.)
apparantly thats normal output mode
If the storm knocks me off, I'll be back as soon as I can manage.
Endeavour 40gig SSD for emc2?
Endeavour: How's your install going?
The stupidity of people never ceases to amaze me *sigh*
Jymmm: What did someone do now?
I post an ad on CL as follows:
[00:42:32] <Jymmm> https://gist.github.com/2f2c09c38aa53423b1e2
So, what do I get for an email response:
[00:42:56] <Jymmm> https://gist.github.com/85be84b03677c7ee006a
The SSD is for Windows.
Looks to be running.
Also looks as though the WiFi won't work.
Yep. Won't log on.
Do have access to a wired network to check for updates?
I'll have to drag the cable over.
It tries to connect, just fails to.
Detects the WiFi fine.
Maybe they fixed it in a update? (crosses fingers)
Spinach Souffle. Odd.
Is that someone's network name?
Endeavour, what wifi chipset?
Jymmm: it is short and concise
Some PCI card.
ds2: what is?
Jymmm: the response
the response to your ad
was all I saw
ds2: It's stupidity.
KimK: No, I was eating Spinach Souffle. It's weird.
Jymmm: I find it hard to argue that it is not short ;)
Endeavour, a PCI WiFi card - do you have an antenna attached?
ds2: no, it's stupid idiot that don't read
Wired connection works.
wired has nothing to do with wireless
which Ubuntu version is this?
Of course not.
Jymmm: eh? your paste only had "Hi,"... not sure if reading matters
I just connected the wired connection because Wireless failed. :P
what version of Ubuntu?
ok, that will handle both at the same time
click on the wireless icon, does it say wifi is disabled, not connected, what?
It detected networks.
Asked for a password
ok, but won't connect
Password is, of course, correct.
ok. any security on the networks
you could check dmesg, and/or use the wifi tools (iwlconfig) to see what's going on
I don't know iwlconfig and the other tools well enough to help much
How do I update stuff?
with the wired network, for now :)
System -> Administration -> Synaptic Package Manager
That's a hell of a name.
"Synaptic Package Manager" for "Updates"
well, this is the full fledged package manager, not the simpler update manager
and if it just said "Synaptic" in the menu, only experts would know what it did :)
anyway, click "reload", then "mark all upgrades", then "apply"
and answer yes or OK or whatever whenever it asks you a question
Thanks for your help. :)
bring back BDI ;)
* ds2 runs
if we can leave behind the truly BD, I'm for it ;)
think cheap operator pool
SWPadnos: I opened up the package manager
There's a lot of stuff there.
Running on the RTAI kernel now.
EMC2 with lasers?
I know someone who put a tank laser range finder on a CNC mill
Time for a celebratory beer.
Endeavour: I'm still around.
Got EMC2 working on Ubuntu 10.04
Cheers mates. :D
Endeavour, do you use EMC2 reprap?
Will be soon.
Don't like the RepRap software.
KimK: Where can I find drivers?
do you know if EMC2r reprap supports fiveD?
EMC2 won't understand temperature controls, I don't think.
fived doesn't need the temperature control
KimK: My wireless chipset is 21514WLG12041A1
Ha, I'm still waiting for the Mesa drivers to appear in the repository, and the repository itself for that matter. All in good time, I suppose. Make them yourself from git?
Oh, PC drivers.
fived involves changing the extruder speed
A Synaptic search didn't help?
You might also search for the mfgr's name.
genehacker: Not sure.
looks like not
the fived stuff is just a special gcode interpretter that runs on the arduino apparently
Anyone know how to do latency tests?
just type the command in a window
does anyone know why the print button doesn't exist in the dev version of classic ladder? Is it just me?
Got 1077265 as the Max Interval in Servo
35991 in Base Thread
78145 Max Jitter Servo
11013 Max Jitter in Base
not good. what computer hardware is this?
did you try your pentium 4?
Core i7 processor.
No. Got it working with Ubuntu 10.04
this is a desktop?
can I run EMC 2.4 on Ubuntu 6.06?
6.06 is the only thing you can get to run on your hardware? 8.04 won't run?
well it is an older computer and I tried a few years back to load 8.04 from the live cd but I didnt have enough memory
it is just an extra computer that I have in the shop for simulation
Hmm, OK. How much memory does it have?
I don't remember
for simulation? ever considered a small distro and building sim on it? building sim even i can manage :>
no I havent considered that . It seems a lot easier to jsut install from the live CD
OK. I have heard people say that if you can borrow memory for the install, then you can put it back the way it was later. I've never tried that myself.
could maybe look at ubuntu netbook edition, see if it's viable, i havent looked yet, buddy likes it for his little (not-net)book
John_f_: most distros, large or small have livecds with installers :) just a thought though
so are you all saying I can't use 2.4 with 6.06?
My guess would be no, but I can't really say.
John_f_: i do not know, i was responding to your comment of not having the ram to run 8.04
I can tell you that 6.06 is on the way out though. LTS is for 5 years. So what, one year left on it?
Of course, you can run it as long as you like, I suppose, but no more fixes, etc.
OK I am satisfied with 6.06 and EMC 2.3.5 but I just was thinking of upgrading to the latest
nothing is really broken on it yet
The wiki doesn't mention 6.06, and you can try 3.4 and go back if you don't like it: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.4
Oops, 3.4 --> 2.4
yes that is what I saw too. no mention of what OS versions are good for .24
so is there a easy way to see how much memory I have without rebooting?
This might be of interest too: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Pure_Simulator
I think I could install 8.04 but maybe not from the live CD because it loads into memory first
I actually have EMC on my 6.06 machine setup with the same configuration as my CNC so I can "test" my programs
If your system has System > Administration > System Monitor, click on the Resources tab for memory. If there's a command line way, I don't know what it is.
skunkworks: Bad latency then, eh?
Hmm it says 243Mb so it must have 256
243MiB actually to be exact
KimK: we met 2 years ago at the CNC workshop
Excellent, are you going to the Ann Arbor one?
well I was thinking about it but decided not to
OK. Well, maybe next time then.
I just wasn't sure how much I would get out of it. Though it would be nice to talk face to face with some of the experts.
If you have 6.06 running, could you do the "triple upgrade" method? (Even if wants to uninstall EMC2?)
you mean first upgrade to 8.04 then put in the realitime patch then EMC
No, I meant from 6.06, install all 6.06 updates, upgrade to x.xx(?), install all x.xx updates, upgrade to y.yy(?), install all y.yy updates, upgrade to 8.04, install all 8.04 updates, re-install emc2. Yeah, lots of bother.
How do I configure Ubuntu to recognize a PCI Parallel card?
John_f_: You might be better off where you are until you can find a newer PC free on Craigslist or something.
it should just do it
Unless you have a fake PCI Parallel card
Guess it's time to figure out how to use EMC2.
Any suggestions on just moving steppers around?
the stepconf thing was handy for me
You should see the card in Ubuntu, you'll have to add something like "loadrt hal_parport cfg=0x378" to your hal file to use it in EMC2.
KimK: I am sort of attached to this one because it is an Allen=Bradley VeraView it is a panel mount dispay and PC all in one box
finally got it!
Time to go . Thanks for your suggestions.
Endeavour: This might help you too: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Parallel_Port_Tester
The Fireball CNC has almost no documentation. Fun.
"EMC2 terminated with an error."
Debug file information:
Could not open command file "Fireball" 3167
Is that your ini file?
So it's fireball3167.ini then?
File like that doesn't exist in the folder.
[03:02:50] <Endeavour> http://www.probotix.com/cnc_downloads/
Following the V90 EMC2 Step Conf. Screenshots
What is EMC2 reporting on that looks like ' "Fireball" 3167 '?
KimK: Got it activated. EMC2 didn't like filenames with spaces.
OK, excellent, it looked like they gave you a nice assortment of files there. All ready to go, I presume. Great!
Not really, no.
I turn on the driver box and the steppers just kind of make noise and get warm.
I can't get them to move, either, through jogging the machine via EMC2.
With EMC2 open it says ESTOP, No Tool, and Position: Relative Actual
I don't have any manual control available.
I even saw PyVCP stuff, panel.xml and custom_postgui.hal and so forth. Post us a screenshot of your panel when you get it going, let's see how it looks.
What panel? :P
OK and you're using F1/F2 or clicking estop and machine on?
Let me try using the online config files.
Is there an equivalent for Windows Explorer in Linux?
Yes, nautilus, but just click "places" up top there.
"Home Folder" will do
Massive Fail. :P
Screen went black and froze.
Guess that's that.
OK. (You're on two PCs apparently) Have you installed all the updates on the new system?
Let's check. Will it restart?
Yes, SWP, do you have some advice for us?
does ctrl-alt-delete cause the machine to reboot?
Yeah, I'm back into Ubuntu.
I'm not sure what was being done when the screen went blank - it sounds like it was just opening a Nautilus window or something?
My original config file didn't cause crashing...
No, I tried opening EMC2 using the V90 configs here: http://www.probotix.com/cnc_downloads/
That caused the system to crash.
Using the files I created in Stepconf it loads EMC2, but it does nothing.
I don't see anything in the config files that should cause the machine to die
How can I see if my parallel port is even active?
especially with a black screen - usually if you do something like use too short a BASE_PERIOD, the machine just freezes, but the screen is left alone
are you using F1 and F2 to get EMC out of estop and into the "machine on" state?
SWPadnos: I've seen (rarely) some odd things with 10.04, but it seems to be getting better. Also I had "Remote Desktop Viewer" (Vinagre) cause the black screen of death when I clicked "Connect..." so I've been using KRDC instead with no more crashing.
SWPadnos: Just got it into the "On" state.
I can't get anything to move with manual controls.
KimK, I'm sure there are things that can make a PC do that, but EMC isn't generally one of them :)
Endeavour, ok, have you gone through the pinout for your machine?
(I haven't read back much of my IRC log)
I have no idea if that was the right parallel port location or not though.
use 1 for the address, that will use the first port
you can use numbers 1-15 to select Linux-detected ports
or actual addresses
have you used lspci to find the port address?
Hahaha! Thanks SWPadnos ! :D
Yes, thanks SWP. Have you observed anything odd or unusual with 10.04? (With or without EMC2?)
I have a few oddnesses on my little laptop, which I think are mostly due to the fact that it has two graphics chips
mainly it's a little "static" on the screen every once in a while
my laptop will freeze right after the grub menu - blinking curser. About 50% of the time (I would say)
oh, I haven't had any issues like that
sounds like others have the same issue. I have not troubleshot it much
everything works - wifi (at a couple dozen locations so far), the built-in camera, audio, 3D, touchpad ...
I want to disable quiet boot and see where it freezes
Well, hopefully they'll get that minor stuff straightened out in due course.
other than that - as SWPadnos has said - all the hardware seem to work great
I did have one issue when I tried to use the nvidia proprietary driver, again most likely due to the dual-chipset issue (Intel and Nvidia, one for power saving and the other for performance)
Now, how do I do something?
Have you jogged?
oh, I guess there is a problem with things like the backlight and some other ACPI things - it's an Asus machine, and they don't have all the DSDT table info yet
Looks like the Z-axis should not be inverted in settings judging by the movement in the virtual window.
- moves things up.
Z+ should go up, Z- down
yep, sounds wrong
check X and Y too, and change them all at once :)
my laptop sotpped booting yesterday. it would go throught the splash screen and then nothing. blank (black) screen. I uninstalled the proprietary ati radeon driver and it booted normally now since then
what kind of machine is it? (gantry, knee mill, router ...)
ok, so the spindle moves all the time, never the work
The inverted Z
Endeavour: did you solve the lateny problem?
Not sure how I'd go about dealing with that.
SWP: Here was the link from earlier: http://www.probotix.com/FireBall_v90_cnc_router_kit/
I don't know how many people have tested the i7 processor - I know my laptop sucks for latency which is an i7 - but that is normal for most laptops.
is the video used shared memory (using system memory for its own?
No, discrete graphics card
KimK, ah, ok - I saw the company name in the ini link Endeavour posted
isn't it just the i3 and i5 mobile chips that have integrated graphics?
Endeavour: you might want to check what driver the video card is using....
(don't ask me how)
hmm - my battery is finally getting low...
time for bed.
System > Administration > Hardware Drivers?
that's why I have a new laptop - if I had all the driver wizardry of Windows, it would last 12+ hours
goodnight sam, thanks for the info
Oh, yes, I have no driver for my card.
It complains on the install.
(try the generic driver (wow it has been a while) mesa? for vesa...)
as it is (without the nvidia chip powered down), it still lasts over 6 hours
yes, mesa is both a software openGL implementation and an FPGA card manufacturer :)
night. me too I think
see you all later
Ha, like the OS hal and the EMC2 hal we were talking about earlier
goodnight SWP, thanks for the help
Endeavour: Don't forget to post a screenshot, we want to see what kind of a front panel they gave you. http://imagebin.ca/
I'm not using the V90 thing.
Just installed the driver for the video card.
I'm just getting a blinking command line cursor...
Rebooted again and it fixed itself.
Would be nice to get the WiFi working
Ha, the Ubuntu boys are getting sharper.
Have you searched Synaptic for <part_no>, <mfgrs_name>, 802.11, wireless, etc.?
I don't know who made the card.
It was some generic junker I got at Fry's years ago
You might also check System > Preferences > Network Connections > Wireless to see if there's anything there you can do.
Looks like it works now
Let's disconnect the ethernet cable...
We're in business.
"Unexpected Realtime delay: check dmesg for details."
"RTAPI: ERROR: Unexpected realtiem delay on task 1. This message will only display once per session. Run the latency test and resolve before continuing"
I don't know if your wireless card causes latency issues, or if it's a one-time install thing. Can you restart EMC2 and continue normally?
* KimK is starting to fade too, need food and sleep...
Got any more news for us there, Endeavour ?
History channel NOW... Fanuc robotic plant
Sorry, Jymmm, got no cable here. Got no TV here, for that matter, lol. You'll have to tell us about it.
I'll have photos in a few minutes.
Endeavour: Ha, excellent, I'd say that's working!
Yeah, though while it's working, I'm not sure it's "right".
Endeavour: BTW, you were right about there being a bunch of stuff in Synaptic. I suggest a search (each in turn) on: CAD, CAM (although you'll pick up a *bunch* of camera and webcam stuff), and Heeks to start. Grab that free software!
[04:23:19] <Endeavour> http://www.flickr.com/photos/thephoton/4711082304/
Hi Guest240, what's up?
who can tell me how to use sourse file? thanks
KimK: Say I have a grayscale image, how would I make an engraving of it?
I'd use the image-to-grayscale Python program. It's either in the nc_files folder already or you have to install it, I'll look
could anybody tell me how to use source file?
I don't have to make a special GCode file for it or anything?
This wasn't what I was looking for, but you might be interested in it too: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GcodeGenerator
This *is* what I was looking for, but it turned out to be not what I wanted after all. But I'm getting closer now. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_EMC_G-Code_Generators
Still a little too deep, but much better detail
[04:37:00] <Endeavour> http://www.flickr.com/photos/thephoton/4710470873/
OK, got it. Install this: http://www.timeguy.com/cradek/image-to-gcode
and while you're there, install this too: http://www.timeguy.com/cradek/truetype
TTT now has an adjustable fill I think it was -l as in -l 10. But it's still kind of undocumented. It works though, I tried it once.
no, use the image2gcode that's part of emc2
Endeavour: OK, not too bad for first try (well, second try, lol)
cradek: Hi, thanks for jumping in. It comes with emc, even the mozmck packaged version?
(And I thought yours *was* the one that comes with emc?)
Endeavour has installed mozmck's 10.04 packages.
Followed your instructions to get Ubuntu 10.04 runing EMC.
Apparently I have terrible latency on my system, but that's a problem for another day.
For now, don't cruise YouTube while engraving, lol!
yuck. is it a laptop?
so I have two gecko 320x drivers and one gecko 320. I got the 320 to work just fine, but when I plug the 320x drivers into the same setup, they do not work
(some will read this later and say, "You shouldn't be cruising the internet on a CNC control *anyway*!", lol)
they are inconsistantly returning to their ready status after faulting, sometimes they do sometimes they dont. when I move the motor shaft it will reset from fault in some positions, but not all
alex|lappy: What's the diff between a 320 and a 320x?
KimK, there is no good breakdown of what they actually are, but as far as I can tell it is mostly a pulse multiplier and some circuits for HEDS encoders
"It was designed as a drop-in replacement for the G320 and is 100% backwards compatible with the G320 and G340."
considering this, maybe you should report the problem to gecko?
or maybe you got two bogus drives?
Is the 320/320x a step/servo drive?
cradek, I just am having a hard time thinking that they sent me *two* bum drives
it seems.. unlikely
much more likely that it is my fault :D
alex|lappy: we have no idea what makes them different - I think you will need to ask gecko
if you're really replacing just the drive, and leaving all wiring etc alone, they are apparently somehow not compatible
cradek, yeah, i was just kinda flailing about on the internets because it is too late to call them today
alex|lappy: Did you do this: "Before going on, turn the “P”, “I”, “D”, and LIMIT trimpots to the 11 o’clock position. The trimpots are single-turn so be careful not to over-torque them."
oh right, they have knobs to fiddle with
KimK, yeah, i went through their troubleshooting guide a number of times with both drivers
the 320x manual: http://www.geckodrive.com/upload/G320X%20REV-10%20Manual%20Formatted.pdf
and the 320 manual: http://www.geckodrive.com/upload/G320-REV-7-Manual.pdf
I am looking at the dip switch settings
i think I may have found it
SW8,SW9,SW10 are a 3-bit binary (1 of 8) servo gain selector. It's defaulted to the a "middle" setting, 3 or 4 (the switches are active-low, it appears)
What did you find?
i seriously hate when switch on = 0
like hi this is user docs we dont care how it looks in your microcontroller
or jumper installed = 0
yeah, it was an issue with a dip switch
Working better now?
specifically my US digital encoder does not return a high enough voltage to the gecko to activate it
there is a dip switch on the side to make it work, or you can use a pullup resistor
[05:02:34] <alex|lappy> http://www.cnczone.com/forums/showthread.php?t=89079
Ah, which US Digital encoder model are you using?
500 line count, no index non differential
oscillating like a mofo though, but it is 10pm and I have been working at this since... fuck
but I got my motors moving today!
via emc even, not just with my arduino :D
Congrats, welcome to EMC
KimK, I actually have used it before, but with hardware that is... less impressive
cradek: Thanks for your help too.
a little tiny gantry stepper system with a flex shaft die grinder as the spindle
you know, 2A 24V power supply, etc etc
On the US DIgital encoders, I've heard that before but I use US Digital encoders all the time without problems. But I always order the differential version because of this: "For differential versions: the internal differential line driver (26C31) can source and sink 20mA at TTL levels."
I should write up something for the wiki.
I lean toward the kit encoders generally, the E6 if there's room for a 2" disc and the E5 if only a 1" disc.
that reminds me I have to machine up hubs for my US digital disks...
ries_ is now known as ries
And with that, I'm done. goodnight all.
KimK, if I had known I probably would have purchased something else, but I already had one of them (came with my motors) and I figured that I should have a set that were all the same
No problem. Hey, that's what upgrading is for, haha
yeah, anyone wanna buy 3 US digital H5 encoders :D
any one want to buy my flower?
You know, US Digital also makes the little "lump" adapters to fix that, and in both directions: http://www.usdigital.com/products/interfaces/encoder/cable-drivers/ea/
KimK, something to keep in mind, but I think the only thing I lose is the ability for the drive to fault out if the encoder goes tits up, right?
the only thing you lose by doing what?
sorry, i was nonspecific as hell
Just trying to follow (and I'm not very sharp either, right now)
the only thing you lose by turning of the encoder fail detect (thereby allowing the 320x to work with the HEDS encoder) is the ability to quickly falt the drive if the encoder dies
Oh, well, maybe I'm the one that's confused. I was thinking about getting the encoder signals back to EMC for feedback, but you're running a step/servo, so you don't *have to* do that. Although, if you had (or made) an encoder splitter, then you *could* do feedback. At least for following error (missed steps) monitoring.
ries_ is now known as ries
(I think this would work, but it's late and I'm tired. And it would probably "scare the horses" anyway.
I wanted some way to do feedback with mine running steppers
have not found much info about it on the web tho
Has anyone here machined corian before?
he is gone :/
it is easy
actualyl, kinda nice stuff to work with
spasticteapot, i have
* Jymmm sucks on his new eCigar
I'm hoping to borrow someone's homemade CNC machine.
we got a bunch donated to school and were using it to practice on
I'd like to make a Corian hemisphere roughly 16" in diameter and 3/4" thick.
madsci44: Yes, I plan to add stepper monitoring with encoder feedback to John's BP2 as soon as we can manage after the workshop. The pico USC does have encoder inputs.
spasticteapot, so just a 16" dome?
I figure I can approximate the shape by cutting two pieces of Corian into concentric rings, and stacking them into a sort of hemisphere shape, then router it down.
Well, more or less a dome - it's got a sort of fiddly bump on it.
do you have a single chunk big enough to just interpolate it?
ries_ is now known as ries
[05:26:36] <spasticteapot> http://www.luxury-insider.com/Current_Affairs/img/0508-sound-e-motion-1-420.jpg
I mean, the stuff cuts super easy, it would not take a long time to hog that out
alex|lappy: I don't have any yet.
thats cool Kimk i would be interested in how that turns out
also plan to share my efforts if they make any progress
spasticteapot, if you could get a big enough slice of it to do it in 2 half spheres, then I would just cut it out of a block.
If I cut two 16" square pieces of 2" thick with concentric circles and alternating stepping (one would be 16", 12", 8", and 4"; the other would be 14", 10", and 6") I can approximate it pretty well.
alex: Where would I get that?
And if you have familiarity with this stuff...any chance I could trade you enough shiny toys that you'd do it for me? :D
Strictly speaking, I need four hemispheres, not two, though the back half of the hemisphere need not be particularly round.
(I'm building a pair of speakers.)
but if that is too expensive/hard to find, you could make a fixture with dowel pins sticking up, then drill and ream holes in each slice of stock in the proper locations. then mount the slices on the fixture plate one by one and contour them, using z axis interpolation to get the curves on the edges
then you just stack them all on a turned rod through the dowel pin holes, glue them together and you would be good to go
I'm afraid I'm extremely new to working with CAD and CNC...but you're saying to round over the edges of each "slice"?
Not a bad idea, really....
the trick is making a fixture that someonhow allows you to keep a common zero point through the entire process
That's not going to be hugely possible, but I see what you're getting at.
well, dowell pins dude
It's a hollow hemisphere with (more or less) 1" thickness all around.
3 or 4 dowel pins in each slice will locate those parts down to a few tenths
a bit of sandpaper on the outside after you are done to smooth it all out, you will be golden
I might just have to fudge it. :D
I'm trying to build a pair of these:
[05:31:58] <spasticteapot> http://www.luxury-insider.com/Current_Affairs/img/0508-sound-e-motion-1-420.jpg
Well, minus the stupid audiophoolery.
The tweeter is all wrong and the crossover is stupid.
But the core idea is sound.
spasticteapot, it is not expensive tooling to make it happen, you just need an over under 3/8" or so reamer set, a drill for them, and then the endmill for milling out the slices
Can a router designed to machine wood deal with corian? What does it require in a router?
oh yeah, easy
man, i hate having a couple beers and then thinking "hmm, i should go play in the shop"
because I really really really want to now
but that would be bad.
Any chance you'd be wiling to trade audio gear for making my corian-spheres?
especially because a spilled beer can make my puny 3A bench supply pretty dangerous
12V can sting something fierce.
would give inductive kick a whole new meaning too :)
machining time is going to kill me
i should have ordered hubdisks
ries_ is now known as ries
ok, quick pole, can Odo from deep space 9 change his mass, or just his density
alex|lappy: I'd say density
cooking... argh - takes way too much time. .. - I'm going to have to CNC the whole kitchen
ries_ is now known as ries
ries_ is now known as ries
ries_ is now known as ries
anybody know how to config W with a 4 axis setup and 1 parallel card?
do you have enough I/O?
yes, i have it as xzuv now
it should just be possible although u will really be limited on stuff like limit switches etc
but i want v to be w
should just be a mod to the config file i'd think
emc wont load if I call out w, says too many arg in stepgen
[12:44:41] <SWPadnos> http://www.linuxcnc.org/docs/2.4/html/config_ini_config.html#sub:%5BTRAJ%5D-section
looks like you need COORDINATES=X Y Z W
oh - which axes do you actually want?
X Z U W
for a foam cutter, i want X Z U W
AXES = 9
since W is the 9th axis
i need 9 0's for stepgen line - correct?
you only need 4 stepgens
awesome, i will try that!
the motion controller is a little different, because it deals with coordinating all the axes
so in hal, stepgen=0,0,0,0?
you will need AXIS_n sections for the right ones though, 0, 2, 6, and 8
what would you expect that to do?
loadrt stepgen count=4 I think
actually, stepgen doesn't change at all, since you already have it set up for 4 axes
the only thing that has to change there is the names of the pins it connects to
i misunderstood something somewhere, I thought I needed a 0 for every called out axis, not just for used axis
it needs to go to axis.8.* instead of axis.7.*
nope, not for stepge
you could use 1 stepgen, 6 PWMs, and an analog output if you wanted
cool, i think i was confusing .hal and .ini requirenments
now that would really get my head spinning
just mix steppers and servos, for a really good time! :)
thanks SWP, I have to go back to work now, but I will try it in a bit.
I perfer servos and encoders, but money always winds
remember to change AXIS_7 to AXIS_8 in the ini file
ok, thank you!!!
out for now
I'm beginning to wonder if it was cruel, telling a guy that his inkjet servo is usable as a reprap axis
I have found a few circuits that try and do step dir with a PIC chip, or an AVR
you can do closed loop with just a printer port... ;)
well darn. now I don't know if I want to spend $1250-$1500 on a tape drive
spend $4k on one before
or rather somebody else did
"tape drive" isn't that like a record player?
yeah, could do the same thing now
on this very drive
now its sitting in a box in a semi enclosed room out the back of my house probably being a home for rats and mice
heh, tape is still the only real backup medium IMO
cool, send it over :)
well, nevermind, the one I'm looking at holds 1.5TB, which is probably more than the rat-infested one
does tape store better or is the media cheaper than 1-2 TB hard drives?
i think it was 40gb
media is around $100 for a 1.5/3TB tape (1.5 native, 3 with compression)
how much is the 1.5Tb tape?
1.5Tb hdds are the same price
tapes are generally more robust than drives
dropping either is bad for their health ;->
and drives can be online
online isn't the same as backup
data availability and data archiving are two separate problems
you can have online backup
for certain values of online
sure, but a lightning strike has a good chance of destroying the backup as well ... :)
offsite, archival, etc etc
it is funny that this tape drive can write 7x as much data per second as my first hard drive could hold
you can have online offsite backup
until I formatted it RLL, then it was a 30MB high capacity beast!
most large companies are ditching tapes for disks is my understanding
I don't think that's true
not for backup and arcbiving
multi-location online copies, sure
i mean they havent just "turned it off" but they archive to disk because an offline archive cant be mined
yeah, 
I think it's largely for availability, not backup
and with sufficient storage pool size i'd rather have my backups some place where they are active and you know the mice aren't eating them
otherwise my rat nested in tape drive becomes very valuable to you when it comes time to pull 1995 accounting data off that archive tape ;->
In the last couple years I've restored data from 25 year old tapes
and it probably could have fit in your phone :)
but was still important 25-year old data
I'm just annoyed that the 32GB micro SDHC cards aren't available yet
how the heck am I to fit all my music in my phone with only 16GB??
it was probably 20-40 MB all together
cradek: you probably could have just kept buying a new hdd every year or do and copying the whole lot across ;->
unless your henry spencer or somebody ;->
Valen: I wasn't there to make the backup 25 years ago, and buying extra hard disks just for copies was not feasible
possible, yes. desirable, not! :)
how can i use emc2 sources file i am new user
SWPadnos: so buy 2 and stick one in your dads tv
works for me ;->
xie: use them for what specifically?
help me please
xie, what do you want to do with the source files?
make my own gui
[13:40:07] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
i am china user
there are several sections on that page that tell you how to get the source, install various dependencies, etc.
i already install emc2 and can see 400 source file
how can i use them
SWPadnos: i'm going to put a 2Gb microsd card into a torch ffs, thats 10x the hdd size of my first PC
sorry, you will have to ask a more specific question to get a meaningful answer
if you look at the files in the src/emc/usr_intf directory, you'll see all the existing user interfaces
that's a lot of good sample code to look at while you're writing your own interface
thank you tomorrow i will come back test room look that
it is use tcl language
tcl, python, C
and another one someone is writing in Pascal, which isn't included in the repository
all right i can not see that direction
thank you so much see you tomorrow
you're welcome. see you later
so far the coolant return and the screens are not as nasty as I thought they would be
we will see when I pull out the coolant tank :/ how bad it is
soluble oil I suspect
like ValCool or something
plus a little way oil too
only a small amount of green goo so far :)
I guess water based coolants can get pretty nasty if they ferment
on my plasma table I use physan 20 to keep any cridders from growing in the water
i am a chinese what time is your. we are not in same when are you online often
we are not in same time
Eventually you will selectively breed physan resistant super bugs...
that eat metal and crap ....something
xie: in the US it is morning
i am in night now. what time will you on line tomorrow
hard to know. you can always ask a question, and look at the logs to see if there is an answer later
maybe the super bugs will eat sludge and make oil
Does the Hardinge have coolant filtering and recirculation?
yes it starts with a screen system with about 3/16" holes then to a finer screen with about 1/32 holes then on to the tank
two screws, one hose, and disconnect the pump wire and the whole tank slides out the side
it holds 30 gallons of coolant
* JT-Hardinge wobbles back outside to put up a few more pieces of soffet in the heat
Still cool in sunny Calif around 52 now
fuckin freezin here
Yah, but its almost summer here...
83 at the moment here and going to 95 or so after while
yeah but its bedtime here
nighty night ;->
JT-Hardinge: we had a few warm days last weekend but ist been cloudy and cool most of the week
SWPadnos: got 10 KHz update rate working on our smart serial/8I20 interface
Even ran a 3 phase step motor with it (A fairly rare beast 320V 2A)
( may not get to that speed when its all done)
does the hostmot2 driver support the 6-port breakout and/or the SPI daughtercards?
Not yet (well Ive written/modified a hal component that runs I/O on it using rawread/write)
I wonder if something like the smart serial with SPI would be a solutiion
(hide all the details from the driver)
which smart serial?
I've just installed limit switches on my sable 2015, they were picked up nicely for about half a minute and now none of them work >.< *Starts looking for bad connection*
the mud dobbers are getting mighty confused now that I have blocked the soffet up :)
* fragalot thinks there may be a shortage somewhere for some reason
pcw_home: send me some of your cool and overcast
Theres a HostMot2 module that has 1-12 serial ports and a processor
with dual ported RAM interface to the host. With firmware for the 8I20
for example you have a parallel 32 bit register wher the host writes torque
and angle commands and reads card status/temperature/bus voltage
(we have thus working now)
If you send a little heat this way...
all the serial protocol details are hidden so the HM2 driver interface is very simple
well, sure, if some setup can be done at the start (number of words, word length, etc), and then just have the data get shifted out automatically (with SS lines and whatnot controlled by the FPGA), that's ideal from a software perspective :)
Maybe thats a solution to the complexity of trying to support so many SPI devices
On the other hand if the HM2 driver had an expanded rawread/raw write with read/write lists
all the SPI stuff could be done in a HAL component
that's partly true, but there is the issue of getting multiple data bytes between components
HAL only supports individual values on pins, so moving a buffer around is hard, and the components need to know a lot about each other
* fragalot is deeply confused.
now it seems that if I hook up the power without the switches connected, the psu bogs down as if it's shorted out.
well you really dont want to move buffers
It just seems like burying specific SPI chip knowledge in the driver is wrong
it should be out in the light where anyone can hack at it...
balls why did this break
"Warning, when the circular telegram either the revolution inserts or pulls out stepping motor, because connetcor will produce the spark and the instantaneous surging big electric current, will so possibly create driver's damage."
I think I know what they're trying to say...
cradek: do tell?
don't mess with the wires when power is applied
maybe: specifically don't unplug the motor when power is applied
'cos atm my machine is DEAD. :( I've not even had it for a week. only difference was that i've tried to add limit switches, turned the machine back on, they didn't erad right, switched machine off, unplugged them and took it out of the config, and now .. nowthing.
the power LED is quite dim when switched on, almost as if it's shorted
the circular telegram part is pretty mysterious...
fragalot: sounds like you need to troubleshoot...
cradek: trying to figure out how
unhook the power supply and test it
already measured the coil resistance on every motor, which checks out fine
cradek: define 'test it' ?
um, turn it on and measure its output
the PSU running without load is 24V as it should be
but when I connect it to the controller it's instant-death
I always liked the instructions with a keyboard I had that called stick-on rubber feet: "regal sticked rubbles"
single 3-axis board tha twas shipped with the machine
working and went bad?
all that it says that could identify it is "V2.0 090907"
was working for a week, yes.
total running time is about 13 hours I think
only difference, like I said, is that I connected the home/limit switches to it.
one of those commonly used shiny ones with the perforated chassis, 2 24V connectors, green LED on it, and a 110/220 volt switch inside of the chassis
I have a 2nd one of those but I don't want to hook that one up incase it's the controller board and things would go *Poof*
dumb question because it's so obvious but did you check your wiring? if that's the last thing you changed, maybe it's wrong
Yes, does rather sound like your switch wiring busted something
I have checked it yes, (There is no such thing as a dumb question, only retard answers)
haven't touched the PSU
So jsut connecting the power supply to the step driver cause the power supply to be shorted out? (no 24V)
pcw_home: causes it's LED to dim completely, I can connect it and measure if you like me to?
More data couldn't hurt
it outputs a staggering 1.5V
stunning board design, looks like thye use 2 diodes in parallel at the power input o.O
This is with nothing connected but the step driver and its motors?
step driver, psu and parallel cable connected atm
emc2 in "machine power off" mode
motors are connected too.
Do you have a lab supply? (variable voltage/current)
only variable voltage with current read-out, but that one only goes up to 1A
well you could probably test your driver (with motors disconnected)
by running it from the variable supply, starting at 0V and cranking it up slowly
it should draw very little current
But really, sounds like a warranty type issue
Thats my crude thermal test scheme for power driver cards, crank up a lab supply till the shorted device draws a few amps
then feel around for whats warm...
I actual had the laser engraver moving from emc last night!
pcw_home: I just stepped in this room and read your last line... a little provocative, I might say ;)
feel around for what's warm.
I feel progress
telmnstr: excellent :)
I'll try connecting it without motors attached then?
see if it still bogs down
now to figure out switching the Z axis into PWM for firing laser
Electronics excites me!
no motors attached, immediately shorted.
I can't believe this broke
fragalot: on what?
Jymmm: my Sable 2015.. the 3 axis controller just gave up.
Did you connect then limit switches to 24V? maybe the inputs were 5V only (trying to figure out what went wrong)
pcw_home: it's got connectors designed for limit switches with a diagram of 'hook up switch here'
so that's handled internally.
only difference I can think of is that they had NO switches drawn there, and I used NC
I gotta go
thx for the help 0 i'll try to get it sent back for warranty.
Well I'd send it back, unless you enjoy debugging/fixing electronics
fragalot: IF you used NC switches, it would just think it hit a limit switch.
If anyone cares... http://www.frys.com/product/5220597
+$8 in ground shipping (for me at least)
it does have an airline plug though, so it may be weorth it
or pay tax
if you live within a reasonable distance of Fry's
which you do, but I don't
you could pick one up for me, but by the time you (or I) pay for gas, and then ship it, it'll cost $8 anyway
Can I help it if you live in BFE?
I live in EFV
Essex Fine Vermont :)
you've never been here, so you don't know
It could snugly fit in the coil of some cables (maybe)
well, if you feel like it, grab one
you should get the check soon, by the way
Iv ehard it before "the check is in the mail".... blah blah blah
sometimes it's true
this ain't alimony :)
I wouldn't know about that
SWPadnos: At this rate, do you just want to leave a deposit? Start with $100, then refill when < $20 ?
wow. an FTDI USB -> serial chip is more expensive than a 32k microcontroller that also has USB and serial ports
heh, not quite yet :)
the bank of Jymmm
SWPadnos: I can be your Personal Geek Shopper =)
Nah, banks charge interest.
I sold a fiber test to some place that buys used TE. Took the check to their bank, they charged me $6 to cash it.
I rather pay the $6 fee, then to deposit into my bank acnt and have it bounce.
That's why I ONLY accept USPS MO
You cna cash them at the PO =)
and then it's a federal offense =)
have them mail it to you, and it still should be a federal offense (mail fraud)
SWPadnos: Mailing a bad check is a state thing I believe
US post office, should be federal
btu I don't know for sure
counterfit a usps mo and it is for sure
Just FYI... USPS MO have a watermark, strip in them that says "USPS"
just like US currency
you can have them pay with a bank draft too, that's money the bank takes out of their account immediately, and writes you a check drawn on the bank's account
more or less
Hell, even certified checks are bogus these days. I ony trust USPS MO and I can cash it right there too, no paying $6 fee
Just remember, if you have someone pay with a USPS MO, they need the payee's name and address to write on the MO
KimK: Were you asking about the IRAMS module yesterday?
andypugh: Machine works.
Not that I can remember which machine yours was. Was that the 10.04 install?
Apparently has terrible latency.
* Endeavour shrugs
Not sure how to fix that, so I'll live with it for now.
Whoo! I will beat this Aspergers-like name-blindness yet.
Endeavour, get rid of the proprietary drivers - go back to nv or vesa
Don't remember the exact numbers
or whatever it was before you installed video drivers
It didn't change when the drivers were installed.
SMI might be dangerous on a new board?
sure could be
Anyway, EMC is still usable with latencies around 50,000 and you can actually cope with worse with a hardware stepgen.
Now that everything is installed
What would you guys recommend to get started?
Anyway, by stepping through all the BLDC patterns in sequence with my IRAMS driver I have the motor spinning nicely. The thing is, the code is cycling through the patterns every 10 seconds, and I can't think how to see which are the working ones :-) There is no IO left on the Arduino other than USB, but the Mac is downstairs and the PSUs etc are upstairs.
Endeavour: Do you have a machine?
Anyone recall this conversation? SWPadnos? http://pastebin.com/q24TgyR2
Is there a cheap hardware solution to this? Someone mentioned a ceramic capacitor.
Endeavour: Stepper motors?
a capacitor won't help
In that case, you need the Stepconf Wizard. You should be up and running in about 20 minutes.
I've gotten the machine running
Just don't know what to do with it now.
StonedSlacker: The only solution is more volts.
I've made some bad engravings using someone else's files: http://www.flickr.com/photos/thephoton/4710470873/
Endeavour: I know the feeling, I have my machine finished now, and I have rather forgotten what it was I wanted to make.
Well, it's not quite so much that, as I have no idea how to make anything.
Let's say I want to do a basic photo engraving, what would I do?
How do I get the code generated for it?
[17:24:28] <andypugh> http://www.linuxcnc.org/docview/html//gui_image-to-gcode.html
that's where it can get complicated - there is very expensive commercial software for doing complicated stuff - and less expensive + free stuff for doing less complicated
celeron55: Just looking for something simple and functional. A CNC machine is useless without jobs to run on it and I want to put it through its paces ;)
andypugh: I thought the problem was overly high voltage causing low current. I'm just learning the basics of electronics, so I apologize for goofy questions. How do I address that? New power supply? Tie the 3.3 or 5V rail in with the 12 on my current power supply?
Those questions transcend "goofy" into "scary"
What is your current setup?
(what drivers, etc)
Is this the Etch-a-Sketch with ULN2003 chips?
One problem is I havent been able to find out much about my motors. I don't even know what theyre rated at. If anybody thinks they can google that up I would be very thankful. They're Coleco Adams 55SI-25DAWC 7.5 Degrees 36 ohms.
OK, so that was somebody else then?
If ULN2003 is the same as NTE2018 then yes
StonedSlacker: At 36 ohms, they're not going to be low voltage
yes that's the project not yes it was someone else
Now that things kinda almost work I'd like to go back and pay more attention to the driver circuit and make it as good as I can without having to go and buy a driver chip.
Id actually like to add a couple things to it that I think would let me learn some cool stuff
double the voltage and put around 36 ohm resistors in series with the coils - or something like that
You can use up to 50V on the output side, but make absolutely sure it gets nowhere near your P-Port pin side.
that will allow a more useful speed
StonedSlacker: where did you get these motors from?
but you said the motors vibrate - I don't know what can cause that
They might be stalling
he said that happens when they're stopped
jymmm: My local electronics store is the coolest place on the planet for parts. Like $2 each for thise and I got some smaller ones too.
StonedSlacker: Can you post a photo or two?
also draw the schematic of it
ULN2003 handles 0.5A, so 50V and 36 ohm motors is still safe.
The motors vibrate when the feedrate is turned up too high. I have to keep the feedrate low and the motors run decent but as I turn the feedrate up the weakers the motors get until finally they do nothing but vibrate
andypugh: But 36ohm is awefully high
StonedSlacker, that's how steppers work
Jymmm: It is. But if that is what he has...
they have full torque from zero speed up to their
sounds like they came from a copy machine or something.
faster than that, they're constant power devices, which means that torque goes down as speed goes up (since power = torque * speed)
andypugh: Just because I have 386 computer, doesn;t mean I should use it =)
[17:43:22] <StonedSlacker> http://picasaweb.google.com/compuslave/Projects#
StonedSlacker: get a power supply with an output voltage of something like 30-50V and put current limiting resistors so that the coils in series of the coils don't get too much current
uh, i mean "put current limiting resistors in series of the coils"
using series resistors (or a resistor - I gather these are unipolar) will make the power and heat go up quite a bit
StonedSlacker: I want to see the motor label close up
The issue is one of winding inductance.
even at a few hundred mA, a 10-20V voltage across the resistor will be multiple watts of heat
What do you mean by current reducing resistors? Are all resistors not current limiting? I ask because you are not the first to specifically say that. What should the value of the resistor be?
I don't think series resistors will be needed if the resistance is as high as quoted.
gimme a sec
50V in 36 ohms will make awful amounts of heat
12V is good with no resistors - like he already has
Less heat than into 1 ohm..
70W means the small motors will burn in a few seconds
Run them underwater?
and add salt
and one clove of garlic chopped.
More seriously they sound like they are designed to be self-limiting at some arbitrary voltage.
So If you add 2 75 Ohm 10W external resistors and a 36V supply you would have about the same (static) motor current
and 3 roughly times the speed capability
As usual you guys are giving me so much good stuff its gonna take me a minute to catch up. Jymmm, that pic is coming up. I see y'all talking about heat, as soon I start EMC, before I ever jog anything or anything the motors lock right up and hold. In about 5 minutes they are hot as hell.
* frallzor playing around with photosynth and the "cnc shop" :P
StonedSlacker: Sounds like you already have too much current then.
[18:01:13] <frallzor> http://photosynth.net/edit.aspx?cid=0B4EC3B6-DA76-4143-8805-2A246D02CDC3&firstview=1&wa=wsignin1.0
try if this works =)
I have no idea what the motor is rated at
333 mA@12V = 4watts/phase Of course it could be a itty-bitty 5V motor
(steppers often run uncomfortably hot)
I have heatsinks for them. I'm thinking I'm gonna need em.
vhttp://photosynth.net/view.aspx?cid=0b4ec3b6-da76-4143-8805-2a246d02cdc3 this link I mean :)
I hooked one of these up to an NTE2013 first and use a simple windows based app that simply stepped the motor along a very narrow range of speeds but it had several modes of stepping you could choose from. One was high torque and I could not stop the motor with my fingers. If it did it then it should be able to do it now. Whats the damn deal?
As the speed goes up, with a stepper, the torque drops like a stone.
I would guess you still couldn't stop the motor with your fingers at low speed.
But at high enough speed a stepper doesn't even have enough torque to turn itself.
The 2018 I'm using now is essentially capable of double the current as the 2013. That's why it was recommended to me. Andy, youre right, I could not stop it even at low speed. This is all I want now. Surely I can eek enough torque out of these things to turn a damn etch-a-sketch knob lol
frallzor: That's pretty cool
StonedSlacker: Yes, more volts will give the same torque to a higher speed.
Okay, so I just need to throw a shit ton of volts at it. Weee
Selectronic 12V 48 steps / turn (55SI-25D)
But more volts will mean a lot more heat at low speed.
What size resistor should I put on it? I dont really understand how resistors are rated, which is a problem.
andypugh I thought so too =)
Maybe add my heatsinks and fans
In theory you could get clever and multiply the stepgen outputs by a PWM function in HAL, proportional to axis speed, to get a rudimentary current-limiting controller.
ok, yesterday I got emc running motors on my bench. today is safety charge pump, e-stop, limit switch and vfd
jymmm: Dude, I googled like a madman with no luck. You da man!
* alex|lappy is pumpedup
If the motor is designed for 12V and its 36 Ohms, adding another 36 Ohms series resistor would allow you to raise the power supply to 24V
andypugh: I'm determined that one day I will understand hal well enough for those sorts of hacks.
Ahh, simple pcw_home
• Stepper motor 7.5 ° (48 steps / rev)
• Utilisable en mode unipolaire et • Suitable for unipolar mode and
bipolaire sous 12 VDC Bipolar at 12 VDC
• 4 phases 36 W et 2 communs • 4-phase 36 W and 2 common
• Dimensions : Ø 55 x 25 mm • Dimensions: Ø 55 x 25 mm
• Axe : Ø 6,35 x 17 mm • Shaft: Ø 6.35 x 17 mm
• Entr'axe de fixation : 67 mm • Distance between fixing: 67 mm
StonedSlacker: your google skillz suck0rs
StonedSlacker, the high torque mode may energize two coils at once
instead of going 1000 0100 0010 0001, the sequence would be 1100 0110 0011 1001
there may be a stepgen mode that will do that
4 resistors needed BTW
and there's also "half stepping" - 1000 1100 0100 0110 ...
(energizes one coil, then the next one (while leaving the first on), then just the second, etc
SWPadnos: That is exactly what I am hoping
PCW perhaps only one resistor on the common point if unipolar?
yep, try type 6, I think
Quick question- What does the cycle time parameter do in the ini file?
andypugh: not sure how that would work, worth a try
it changes the rate at which the user interfaces update their displays, for some user interfaces
they basically sleep most of the time, but wake up every CYCLE_TIME to see what's changed
there are diagrams of all the stepgen output types there
Yes, 6 looks promising.
andypugh: yes you can just use PWM without feedback to control current in a step motor,
StonedSlacker: Use google to translate http://www.selectronic.fr/article.asp?article_ref_entier=10.7906-9999
imagine just varying the power supply voltage based on speed, works pretty well but needs HS PWM
I guess it is OK as long as PWM rate is about 10x step rate, but that is likely to rather limit step rate with software PWM.
StonedSlacker: they typo'ed in the title, but their index page has the correct PN
Also has the advantage of better low speed damping than current control systems
kind of like a sensorless VFD
I am thinking that is will limit current through the driver chip, and save the need for a 50W power resistor (or 4)
It might take some fiddling to get the right parameters though.
Changing to type 6 immediatly helped, immediatly.
No, that was too easy. Find a harder way to do it.
Yep, not only getting parameters right but not starting up stuck on and fryola
You're right, Andy. Searchiong now
crap, cant avoid work any longer...
Hmm, the PWM current limiting looks like a go-er, You could use 4 x and2 functions to gate the stepgen outputs before they get to the P-port pins. PWMgen has minimum, maximum, scale and offset settings, so could be wired direct to axis.velocity. http://www.linuxcnc.org/docview/html//man/man9/pwmgen.9.html
Now to tackle the backlash, which is substantial on an etch-a-sketch, as you might imagine :^D
Now, I wonder if the Xterm in my HP100LX will display Aduino serial output?
Where is the software backlash adjustment? I don't believe I've saw it.
I need to go right now and buy a folder so I can print the integrators manual out
Actually it's siesta time. See you guys in a couple hours :^)
HP 100LX? it should be able to do it at 9600
StonedSlacker, iirc it is in your ini file
StonedSlacker, i think the real answer is to upgrade to some nice ground ballscrews
then you don't even need to know where it is
that is what I am going to do :D
Yeah, the question is whether I can be bothered with the Xterm config and making the cable, or should just bring all the PSUs and stuff down the Mac.
The scope does show activity on the Arduino serial pins though :-)
xterm? Isn't the hp100lx a msdos machine?
Yes, I meant Xmodem
I used to use telix, qmodem, and telemate back in the day
Slightly different concept
I remember xmodem, zmodem and leach zmodem for file transfers
Crikey, it even works, after a fashion.
The output is gibberish, but it is definitely sending something every second
what was the name of the services/engineering company that specialized in total documentation and moving of a factory? something about matrix.. matrices..
andypugh: would you be interested in adding support for the 8I20 to HostMot2?
Its like the 3 phase PWM without the three phase or the PWM
Sounds easy then :-)
Null set driver
Well it is 3 phase and PWM but those are hidden from HostMot2
Values to registers in much the same way?
Yes one 32 bit write register/axis with 16 bits of torque and 16 bits of angle (65536=360 electrical degrees)
2 32 bit read registers with 8I20motor bus voltage/ 8I20 temperature/8I20status/communication status
just a little smarter than the 7I39
Sounds easy enough, to be honest.
Its supposed to be (the hairy communication stuff is all encapsulated in the firmware)
Does it use a special bit-file?
apparently you can burn out the motor of a cheap chinese weed wacker in under 30 minutes on just 3 foot tall grass
I am going to conclude that my IRAMS-based servo drive works, but the Arduino code driving it is suspect.
We went to slow mowers last year, rarely burn out but are susceptible to dog attack
PCW, the grass got a bit high for the mower
hence the cheapo wallyworld trimmer
I figure it would last for more then 30 minutes though
Our slow mowers just bite high
I am guessing that pcw's mowers might go "baah"
alex|lappy: warranty? :P
We got no warranty but they are self replicating
celeron55, fuck yeah.
I bought it like 2 days ago
i am gonna take that mofo back and get another one, and keep doing it until my lawn looks nice again :D
Have you tried the IRAM with the HostMot2 3PWM
PCW: Send me a 7i43 bit file and I will see what I can do.
I need to send you a 8I20 or 2 as well
That is the next step, once I am confident it won't blow up at 240V I will hook it up to the 3pwmgen and the sinusoidal driver.
hmmm. I think Seb said he can't make it to tje CNC workshop
CNC workshop, where is it at?
Ann Arbor, MI
next Tuesday-Friday, I think
I'll send you a bit file on Monday if you want to play (all it will do without he 8I20 is report communication timeout status...)
PCW: Could the 8i20 onboard DSP handle resolver conversion too? That would be a nice plus.
ah, that is a bit far away
ah yes, Oregon
But aye, send the bit-file so I can start thinking
No it doesnt get involved in position sensing its just a torque mode 3 phase amplifier but couppled with a 7I51 (7I49 with serial ports instead of analog out)
you can run 6 axis of resolver based servo motors
I can't remember how the 7i49 works, is that a quadrature emulator?
No it presents parallel registers for absolute position and velocity
(another HM2 module with an embedded processor and dial ported RAM interface to the host)
Sounds like another driver missing?
Sorry to jump in, but while Mesa hardware is being discussed, does anyone know if there are problems with the 5i23 in EMC 2.4?
are you having problems with a 5i23 and EMC 2.4?
No, but I'm working on setting it up and Peter at Mesa (who I just spoke with) thought there might be an issue
but he's not sure
hmmm. maybe I'll bring my 5i23 to the workshop then
Only think Ive heard is someone with a loading problem on the forum (worked with 2.3 fails with 2.4)
I'll be trying it out later on today, but I'm wondering if I should get them to send me a 5i20 (apparently known good in 2.4) so I can have it on Monday if there are issues
That Peter at Mesa, if only he would habg out here, eh?
I mentioned it to him today!
How often is Chris (pncconf guy) around here?
most of the time, but he's on the road at the moment
I really like pncconf but Peter and I are both a bit confused as to actual what it's doing
now where did I put the PCI bracket for the 5i23?
Speaking of compatibility, can I run EMC 2.4 on a Ubuntu 6.06 machine?
John_f_, you may be able to, but there are no pre-built packages for 6.06
I don't know if any non-compatible changes were made, but it is possible - I think there are some firmware loading functions that don't work in 6.06
so I have to complile my own
what hardware are you using?
I am not sure. I have a old AB VersaView that I use in the shop just for testing and editing programs befor I put them on my CNC
err, I mean Mesa, Pico, parallel prot ...
in that case you should be fine on 6.06
but I still need to compile?
the only thing that can't work on 6.06 is Mesa, because the old driver was retired (AFAIK)
there are no packages for 6.06
Even I can compile EMC2 though, how hard can it be?
Yes, we have no bananas today
well I did it once about a year ago. I just always take the easy path
OK, off upstairs to try my power stage with the full 240V...
If I am not back in half an hour, it probably means I have blown the fuse and the computer won't work. Or that I am a charred corpse melting in to the carpet. One or the other.
I don't supposed there is a way to rerun/reload the ini file to make any changes current, besides restarting the whole thing, is there?
StonedSlacker: there isn't
I didn't think so
From what I can find online etc I should just be able to add the line BACKLASH=0.5 in my ini file to use backlash comp. I get an error, not backlash comp.
Do I need to load that component first in my hal file? Is it a component?
StonedSlacker, it is not a component
there's no reason for any value in an ini file to cause an error (at least not from reading the file)
you can mis-spell the word, and it will be ignored (not used, ignored)
the only issues should be if you use an invalid value on the right side of the = sign
like BACKLASH=Bilbo Baggins
I found that the working Hall pattern was an illegal one, so realised there was a problem elsewhere, so Project Exploding Capacitor is postponed.
ha! found it
hmm, anyone know where i would change the frequency of the output of a charge pump?
I am getting a 20 microsecond period, which is 50kHz, and I need 12.5
you don't set a frequency, it toggles every time the thread runs
SWPadnos, my control board says it needs 12.5kHz
you can move it to another thread, or use something like freqgen instead (with the enable connected to the same thing you would have connected to the charge pump enable)
what's your BASE_PERIOD?
have you tried it and seen it not work?
bummer, often the frequency is a minimum
and i hooked my scope up to the pin, and it is getting a waveform
sure, but it's at 22kHz or so
you could try dividing by 2 by hooking up a flipflop
11 kHz may be close enough
[20:47:23] <SWPadnos> http://www.linuxcnc.org/docs/2.4/html/man/man9/flipflop.9.html
SWPadnos, I am having trouble parsing that page
hmm. there's no inverted output, so you need a "not" as well
connect FF out to not in, not out to FF data, and FF clk to charge pump out
SWPadnos, so I can just add a new thread in the INI called say CHARGEPUMP_PERIOD and then addf charge-pump chargepump-thread
sure, you can do that too
set it to double the BASE_PERIOD
I'm not sure if you'll be able to add another thread though, threads are a little weird, and I don't know if you can add a thread that's faster than the slowest existing one
you may need to manually load "threads", and specify all three threads in your hal file *before* motmod is loadsd
Why not just use a freqgen? That will stop running if EMC2 freezes just as surely as a charge pump
yep, mentioned that earlier :)
I was reinforcing your point :-)
Or a 50% pwmgen
StonedSlacker: Is your machine based in millimeters?
freqgen will probably manage a closer approximation to the actual frequency required, though.
how would I use freqgen?
* KimK is glad to see andypugh back and chatting, and not charred and soaking into the carpet
I never left, I noticed a flaw in my code, fixed it, and now it isn't working at all.
The driver is good, by the way. No problems there. It is the Arduino combination resolver convertor and PWM generator that is not working quite right.
more, what would the syntax be for a freqgen output of 12.5kHz on pin 17
loadrt freqgen step_type=0
(You might get away without that last one)
setp freqgen.0.velocity-scale 1
setp freqgen.0.velocity 12500
net cp freqgen.0.step => parport.0.pin-17-out
(Look at freqgen.0.frequency to see if it is anything like correct)
(using a Halmeter)
Oh, and make it type 2 not type 0, you will get a squarer waveform.
andypugh, "freqgen.update-freq" needs FP
yeah, put that in the servo thread
or use stepgen in v mode
and now "freqgen.0.step" does not exist
You are using type 2?
In that case it becomes stepgen.0.phase-A
use a stepgen in "v" mode
add 1 to the count, and add ,v to the ctel_type parameter
Or change them all, indeed.
gotta run. see you later
yeah, you already have a stepgen?
delete all that freqgen stuff :-)
so if I have a stepgen
and I do
see the loadrt line? Add one to the number. What is that number now?
Sorry, let me try again looking at the docs rather than guessing.
in loadrt the only mention of stepgen is "loadrt stepgen step_type=0,0,0"
no, it's loadrt stepgen step_type=0,0,0 etc.
OK, make it say step_type=0,0,0,2 ctrl_type=p,p,p,v
there is no ctrl type there already, so I just threw that on the same line as the stepgen loadrt
Then you should just need setp stepgen.3.position-scale 60
Yes, that's an optional parameter that became non-optional just now.
setp stepgen.3.velocity-cmd 12500
net cp stepgen.3.phase-A => parport.0.pin-17-out
andypugh, "paraport.0.pin-17-out" does not exist
btw, thanks for the help
the HAL is a bit difficult to get your head around at first
What are your other parport pins called, it looks like a typo?
paraport instead of parport
hurm, now it is just driving the pin high
setp stepgen.3.enable true
(You can do that in the "Machine config" window to see if it does the trick, no need to restart
you are a HAL lord
kinda like a time lord, but more nerdy
is the position-scale 60 command to conver things into seconds?
SWPadnos: I tried decimal and non decimal numbers as a value for BACKLASH and got an error no matter what.
KimK: Nope. Good ol' inches for me.
alex|lappy: Yes, that was what the 60 was for, to change from units per minute to steps per second. You might want to fire up a halmeter (machine -> hal meter in Axis) and look at stepgen.3.frequency to see if it is right.
andypugh, I just threw my real scope on it and it works well
oh, how would I link the charge pump to the Estop
And don't forget to add the "enable" to the HAL file...
... Ah, right, in that case wire the enable to the estop chain in HAL
just tag stepgen.3.enable to the end of the estop hal line along with motion.enable and the rest.
I know the suspense is killing every last one of you, so I'll give you all some relief. The error was being caused by not putting a space on both sides of the equals sign.
SWPLinux_ is now known as SWPLinux
hey Jymmm, you around?
PCW_ is now known as PCW
does emc have an index function?
Jymmm: wrt the NC switches - yeah that's what I thought, and what the 'invert' flag is for in the stepconfig wizard,.. so it's got to be something else.
to be more clear, I am used to controls having an index out, what it does is sends a signal to an attached inderer, then waits for a finish signal from the indexer
youa speaka da englisha eh fragalot????
Jymmm: Aye - just means 'about' really
something I picked up from english IRC channels
fragalot: well, drop it and go wash your hands
with regard to