#emc-devel | Logs for 2010-02-28

[06:07:53] <CIA-2> EMC: 03seb 07v2.4_branch * rb87503753dc0 10/configs/ (9 files in 3 dirs): turn off some stray execute bits on config files
[06:11:35] <seb_kuzminsky> what's emcsh?
[06:12:07] <seb_kuzminsky> doesnt get installed, but tkemc.tcl and mini.tcl both reference it
[06:12:08] <cradek> I don't think it's used anymore - it was the tcl shell with emc commands added
[06:12:25] <cradek> I think it's been replaced by some shared library loading scheme
[06:12:27] <seb_kuzminsky> those tcl scripts prefer EMC2_EMCSH, which resolves to wish now
[06:12:34] <seb_kuzminsky> ok
[06:47:02] <seb_kuzminsky> tkemc and mini get special treatment in the emc script, because they're installed in a twice-non-standard place
[06:48:31] <seb_kuzminsky> anyone know if there's a reason they're not in the standard tcl bin dir, or at least in emc2's tcl bin dir?
[06:49:49] <seb_kuzminsky> scripts/emc.in:656 # tkemc and mini are in the tcl directory, not the bin directory
[06:51:34] <cradek> I'm sure there's no reason except historical
[06:53:22] <seb_kuzminsky> it's funny how software accumulates cruft
[09:08:52] <alex_joni> in the CVS days it wasn't possible to move them without losing history
[09:30:59] <alex_joni> http://blog.jvroom.com/2010/02/27/its-gotta-be-git/
[15:57:44] <CIA-2> EMC: 03jepler 07master * r733af6086347 10/ (docs/man/man9/stepgen.9 src/hal/components/stepgen.c): Allow the user to specify a stepping waveform
[16:00:08] <seb_kuzminsky> alex_joni: ^^^ svn does merge tracking now (since 1.5 i think)
[16:02:52] <cradek> "Well, finally SVN branches will stop being useless for me. Now if SVN only supported disconnected operations..." </some commenter>
[16:02:55] <jepler> not as we know it, jim
[16:03:31] <seb_kuzminsky> morning guys
[16:03:48] <cradek> hi
[16:04:10] <cradek> seb_kuzminsky: I haven't dug through those manuals yet...
[16:04:31] <seb_kuzminsky> what!? i sent you that email like a whole night ago! get on the ball man
[16:05:34] <seb_kuzminsky> hitachi also has an inexpensive vector drive vfd that looks yummy, but is probably overkill for a bp in a garage
[16:05:47] <seb_kuzminsky> http://www.driveswarehouse.com/Drives/AC+Drives/Sensorless+Vector+VFD/SJ200-022NFU2.html
[16:06:19] <cradek> with that motor with integrated cooling fan, you really only want to run it at 50-60 Hz anyway I bet. V/F is perfectly fine.
[16:07:04] <seb_kuzminsky> hm, ok
[16:07:13] <cradek> now if you'd lose the varispeed and fit a new motor with a large speed range...
[16:07:22] <seb_kuzminsky> heh
[16:07:50] <seb_kuzminsky> let me get the machine up and running first, then let's talk about breaking it again ;-)
[16:09:02] <seb_kuzminsky> huh, i didnt know about "git stash", seems like "bzr shelve" which i've used a couple of times
[16:09:28] <cradek> they do look roughly equivalent
[16:09:50] <cradek> they both have only two outputs (that you'd probably want to use for fault and at-speed)
[16:10:17] <cradek> use the relay for fault and wire it right into the estop chain, at-speed goes to emc
[16:11:20] <cradek> the AD one has modbus and we even have a hal component to drive it. If you are short on IO that might be an important consideration.
[16:11:55] <cradek> they both do dynamic braking which you might want, considering you'll have no brake
[16:13:02] <cradek> hmmm does the hitachi require an add-on board for dynamic braking?
[16:13:36] <cradek> it says "Dynamic breaking [sic] umit [sic] (BRD)" on the (jpeg) connection diagram
[16:15:03] <seb_kuzminsky> i'm not sure... the x200 manual talks about braking a bunch, but it also talks about an add-on module for braking
[16:15:27] <seb_kuzminsky> i think maybe it has a small (slow) internal braking resistor, and attachment points for a bigger better brake? i'm really not sure
[16:15:57] <cradek> I think all vfds will regenerate onto the dc bus a bit to brake, but it's easy to overvoltage the bus, which will fault the vfd
[16:16:04] <seb_kuzminsky> modbus or 0-10V are alternative ways of specifying the VFD speed from emc, right?
[16:16:11] <cradek> yes
[16:16:30] <cradek> and all the digital IO can be over modbus too
[16:16:50] <cradek> which I guess are just fwd, rev, at speed
[16:17:06] <cradek> I'd still use the relay for fault->estop no matter what (but that doesn't cost you any mesa IO)
[16:17:09] <seb_kuzminsky> about regen braking & faulting, you work around that by configuring the vfd to brake slower, right?
[16:17:15] <cradek> yes
[16:17:43] <cradek> also, the AD drive has a "brake as fast as you can without faulting" setting
[16:18:04] <seb_kuzminsky> i still have 1 totally unused connector on the 5i20, plus a bunch of unused pins on the connector we're using for gpio
[16:18:20] <seb_kuzminsky> plus 1 servo free on the servo connector
[16:18:57] <seb_kuzminsky> one of the selling points of the $340 Hitachi SJ200 over the $255 X200 is that the SJ has better braking...
[16:19:09] <cradek> hmm
[16:19:30] <cradek> I bet that's what makes it cheaper than the AD then
[16:20:17] <seb_kuzminsky> the x200 has modbus too
[16:20:48] <cradek> cool, didn't see that. you could probably modify the gs2 hal component for it then.
[16:21:58] <seb_kuzminsky> luls, from gs2_vfd.c: Copyright (C) 2007, 2008 Stephen Wille Padnos, Thoth Systems, Inc.
[16:24:24] <seb_kuzminsky> ok i'll just buy the gs2, since the hal driver's already written
[16:24:33] <seb_kuzminsky> * seb_kuzminsky clicks the Order button
[16:24:45] <cradek> well if you don't care about using modbus, it matters not a bit
[16:25:51] <seb_kuzminsky> sure
[16:30:13] <seb_kuzminsky> bummer, it's $4 below the $300 threshold for free shipping
[16:30:32] <cradek> you can get spare cables for the keypad...
[16:30:50] <cradek> there must be some little thing you can find.
[16:31:13] <seb_kuzminsky> lol the keypad cable is $40
[16:31:18] <cradek> ha
[16:31:23] <cradek> ok.....
[16:31:41] <seb_kuzminsky> hm hold on, they're offering me an emi input filter for it, i think the x200 has that built in
[16:33:12] <seb_kuzminsky> ah no, not on the -022NFU model
[16:42:18] <seb_kuzminsky> ok the gs2 is on its way :-)
[16:42:22] <seb_kuzminsky> baby steps closer :-)
[21:19:02] <alex_joni> whee http://www.youtube.com/watch?v=Hnwzv0GNTc8