#emc | Logs for 2004-12-14

Back
[00:31:46] <robin_sz> oh bubble trumps
[04:33:55] <CIA-9> 03jmkasunich * 10emc2/src/emc/motion/ (control.c motion.h):
[04:33:55] <CIA-9> revised calculation of carte_pos_cmd in free mode, so that GUI display of
[04:33:55] <CIA-9> commanded cartesean position is updated during jogs. This fix works fine for
[04:33:55] <CIA-9> conventional cartesean (trivkins) machines, and will probably work for
[04:33:55] <CIA-9> non-cartesean machines as well, but there are some troublesome edge conditions
[04:33:56] <CIA-9> with non-trivial kinematics
[16:38:00] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/extsmmot.c: File changed. New revision:1.5.8.4
[16:45:25] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/emcprocfs.c: File changed. New revision:1.1.2.3
[16:54:29] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/changelog: File changed. New revision:conffiles
[16:54:29] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/emcprocfs.c: File changed. New revision:1.1.2.4
[17:03:46] <Shintai> hello
[17:07:01] <paul_c> Good afternoon
[17:12:02] <Shintai> just wondered if i could find some extra docs on ecm
[17:12:39] <paul_c> what is it you are looking for ?
[17:13:05] <Shintai> i'm working on building a cnc mill (small and not too accurate yet)
[17:13:13] <Shintai> trying to build the stepper driver
[17:13:33] <Shintai> not sure what kind of hardware support EMC has
[17:14:16] <paul_c> Most of the current docs are linked from www.linuxcnc.org
[17:15:26] <Shintai> that'll work..
[17:15:41] <Shintai> the site i was on was the braindead site...
[17:16:15] <paul_c> www.linuxcnc.org/bdi
[17:17:08] <Shintai> yeah... there is no reverse link
[17:17:45] <Shintai> did link me to the handbook tho
[17:17:48] <paul_c> ok... Need to add a "home" link..
[17:18:31] <Shintai> anyhow glad it was a simple answer.. now i'll go read some more
[17:18:32] <Shintai> thanks
[17:21:34] <paul_c> There is quite a store of knowledge in the mail archives.
[17:27:32] <Shintai> are their many users with homemade drivers for steppers?
[17:27:42] <Shintai> or do most use the ones mentioned in the docs page?
[17:29:29] <paul_c> Some build their own drives, many go for the Xylotex drives.
[17:29:49] <paul_c> and a few use DC Servos
[17:40:40] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/rules: File changed. New revision:1.3.2.2
[17:40:40] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/Makefile: File changed. New revision:1.18.2.2
[19:18:36] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/Makefile: File changed. New revision:1.18.2.3
[19:18:37] <CIA-9> 03Zathras 07BDI build system * 10Babylon Cluster/emcprocfs.c: File changed. New revision:1.1.2.5
[19:34:36] <tbl> hey paul
[19:34:44] <tbl> what do you think about 4.x running on an older machine
[19:34:48] <tbl> like p2 400
[21:16:51] <Shintai> hello again
[21:35:39] <Shintai> does anyone have any docs on exactly how EMC maipulates the parport?
[21:36:11] <cradek> yes, but they're written in C
[21:36:25] <cradek> by default, it uses step/direction
[21:36:53] <Shintai> so direction pin high for forward and low for reverse?
[21:37:09] <cradek> you can specify it either way
[21:37:12] <Shintai> and step is the clock pulse?
[21:37:16] <cradek> yes
[21:37:34] <Shintai> ok.. trying to build a 4 phase driver...
[21:37:39] <Shintai> had to make sure
[21:37:51] <cradek> it can do four phase output too
[21:38:07] <Shintai> oh?
[21:38:16] <Shintai> didn't see any of that in the handbook
[21:38:25] <cradek> you really do have to look at the C
[21:38:30] <cradek> let me point you to the right file
[21:38:33] <cradek> just a second
[21:38:35] <Shintai> k
[21:39:55] <cradek> http://cvs.sourceforge.net/viewcvs.py/emc/emc/src/emcmot/emcmot.c?rev=1.104&view=markup
[21:40:20] <Shintai> thanks
[21:40:26] <cradek> search for STEPPING_TYPE
[21:42:03] <cradek> static int four_phase[FOUR_PHASE_LENGTH] = { 1, 3, 2, 6, 4, 12, 8, 9 };
[21:42:16] <cradek> as you can see it half-steps
[21:42:55] <Shintai> you guys do a very nice job with commenting
[21:43:13] <cradek> not always!
[21:43:40] <cradek> but in some places it does make up for the bad documentation
[21:43:49] <Shintai> heh
[21:46:35] <Shintai> so those are the pins?
[21:48:16] <cradek> sort of, that is the phase state table
[21:48:39] <cradek> it is the state pattern used on each set of four pins
[21:49:34] <Shintai> alright.. so which pins change?
[21:50:44] <cradek> well there are 12 available output pins on a parallel port
[21:51:13] <cradek> the sets EMC uses are 2,3,4,5 - 6,7,8,9 - (the other four)
[21:51:30] <cradek> not sure what they are - again it's in the documentation written in C
[21:51:34] <Shintai> ok
[21:51:34] <cradek> let me look for it
[21:51:38] <Shintai> i have it
[21:51:54] <Shintai> well the standard pinouts
[21:52:29] <cradek> ok
[21:52:54] <Shintai> 1,14,16,17
[21:53:06] <cradek> that sounds right
[21:53:38] <Shintai> so i have 3 axis control instead of 6?
[21:53:43] <cradek> right
[21:53:51] <Shintai> can live with that
[21:53:53] <cradek> to get 6 you must use step/dir for obviuos reasons
[21:53:57] <cradek> obvious
[21:54:02] <Shintai> yeah
[21:54:36] <Shintai> if i ever decided i want to build a more complex machine... i'll use two phase..
[21:54:46] <Shintai> or buy a controller
[21:55:44] <Shintai> anyhow thanks for you help... i'm used to the normal pound the newbie asking questions type things...
[21:55:45] <cradek> http://www.hobbycnc.com/driverboards/4aupc/4aupc.htm
[21:55:51] <Shintai> you and paul have helped alot
[21:56:05] <cradek> if I were starting from scratch I would strongly consider these controllers
[21:56:19] <cradek> they are very inexpensive for prebuilt chopper controllers
[21:56:26] <cradek> (but I have not tried one)
[21:56:36] <cradek> you're welcome for the help
[21:56:47] <cradek> you should also join the emc-users mailing list
[21:56:58] <Shintai> I've thought about buying some of the parts...
[21:56:59] <Shintai> i will
[21:57:06] <cradek> oh, I guess they are kits
[21:57:15] <cradek> but still they are inexpensive
[21:57:20] <Shintai> thing is i used to be a cannon copier repair tech...
[21:57:27] <Shintai> so i have access to alot of old steppers
[21:57:33] <Shintai> just not all of them the same heh
[21:57:35] <cradek> sure
[21:57:42] <cradek> but these are just the driver boards
[21:58:02] <Shintai> but i'd have to match voltages and such..
[21:58:02] <cradek> some old steppers + $79 controller kit + emc = you're done
[21:58:37] <cradek> are your steppers bipolar or unipolar?
[21:59:04] <Shintai> well with a 4 phase all i need is 12 resistors, 12 transistors, 12 diodes...
[21:59:25] <Shintai> i can find both
[21:59:33] <cradek> true, for a very basic driver for unipolars
[22:00:11] <cradek> for running at high speeds you will need ballast resistors and a higher power supply, or a chopper driver
[22:00:25] <Shintai> yeah and a bigger spindle heh
[22:00:54] <cradek> for good performance the power supply should be 4-6x the motor rating with an appropriate power resistor (that's why people use choppers)
[22:01:12] <cradek> I have to go, see you on the list, or here later.
[22:01:36] <Shintai> have fun
[22:01:39] <Shintai> and thanks
[22:03:43] <Shintai> anyone else who happens to hope on here and wants to add thier comments and advice i'd appreciate it
[23:22:28] <robin_sz> greetings ...
[23:23:22] <robin_sz> ok, so who understands this spanning tree protocol thing