#emc | Logs for 2009-08-09

[00:00:08] <toastatwork> versus accepting the time sacrifice when the part is too important to ruin
[00:00:44] <ilya__> toastatwork: and there are no reasons for scientifical searches in enlarging the speed, right?
[00:00:55] <toastatwork> there are
[00:01:10] <toastatwork> there's a huge amount of science in it
[00:01:27] <toastatwork> as there should be
[00:01:44] <ilya__> Good details with planned tolerances, experience, and then the speed
[00:01:56] <toastatwork> but it is not reasonable for a layman to read it and think they understand it.
[00:02:22] <toastatwork> as it is with ANY science.
[00:03:05] <toastatwork> if i read an article or paper on psychology, i do not immediately think i am qualified to go and practice what i read
[00:03:31] <toastatwork> and the same with machining - just because a person can read cutting data does not mean they are qualified to set a machine to cut at those speeds.
[00:03:33] <ilya__> anyway, starting from slow speeds and an excess of passages of a cutter
[00:03:46] <toastatwork> yeah.
[00:04:19] <ilya__> * ilya__ is forgetting those numbers
[00:05:35] <toastatwork> cool
[00:05:42] <toastatwork> now that you have forgotten, you can turn the machine on.
[00:06:32] <toastatwork> also i will be back in awhile.
[00:08:23] <toastatwork> oh, also, if you have access to that machine, that is where i would suggest you learn
[00:08:31] <toastatwork> rather than emc - go to emc after you learn the big machine
[00:08:36] <toastatwork> and it will make emc more useful
[00:08:38] <toastatwork> bbl
[00:10:32] <ilya__> those speeds are probably huge!
[00:11:03] <ilya__> i have just calculated V=(Pi*D)/1000
[00:11:28] <ilya__> no
[00:11:34] <ilya__> i have just calculated V=(Pi*D*n)/1000
[00:12:29] <ilya__> no, they're usual
[00:12:50] <ilya__> Ok
[00:13:18] <ilya__> kanzure: do you need those numbers yet?
[00:15:18] <ilya__> there's a DEFAULT_VEL at .ini-files, which can be set just low. then the speed can be overrated
[00:17:39] <ilya__> ЬЫ
[00:41:39] <ilya__> Morning, have need to sleep
[01:13:01] <ilya_> and TLO for XZ (lathe) is negative while the tool position #8 is the main position?
[02:46:27] <dmess> hi all
[07:43:48] <ilya_> Are anybody here this time?
[07:44:02] <motioncontrol> good morning. i have a question about use the emc2 on old maschine with only motor and 3 gear mecanical trasmission.please help me
[07:44:14] <ilya_> Hey folks, I don't understand the numeration of the tool positions for a LATHE. It seems, (1) TLO is always negative; (2) Tool #8 is
[07:45:37] <ilya_> Tool #8 is in the direction of a positive X-axis.
[07:45:43] <motioncontrol> i don't use emc for lathe but only mill excuse
[07:46:21] <motioncontrol> i thing the numeration is for x or z compensation tool
[07:46:46] <ilya_> motioncontrol: we're alone here thi time, we, the settlers of the Eastern part of the Earth...
[07:47:31] <motioncontrol> i don' understand
[07:50:31] <ilya_> Does the zero X-coordinate mean the center of the spindle? If so, when I'm using the tool #8 (for "boring"), I'm starting from maximal to minimal negative values of the X coordinate. Using the tool #6 (for turning) I'm going from maximal positive X coordinate to the minimal one -- to reduce the diameter of the balnk.Am I right to understand this?
[07:50:56] <ilya_> Yeah, it seems OK.
[07:55:59] <ilya_> What does the "Swing over bed" and "Swing over carriage" parameters in the table at the www.sherline.com/lathes.htm mean?
[07:57:05] <ilya_> The "travel of crosslide" equals t 110 mm and it is like 0-to-110 mm of the X-axis?
[07:57:37] <ilya_> Can it bore the holes, or it only can turn the diameters?
[07:57:53] <ilya_> "Protractor graduations" -- what is it?
[08:09:03] <motioncontrol> alex, good morning. please can hel me about use the emc2 with old maschine with only one motor and 3 mecanical gear connection at the single motor? plase
[08:09:46] <ilya_> motioncontrol: you probably don't know how to calculate the ratio
[08:10:32] <ilya_> (z2/z1)*(z3/z2)=the_ratio_of_the_gear
[08:11:38] <motioncontrol> the problem is: the maschine have 3 encoder , connect on 5i20 card.i have only one analog drives. with a swtich i gear the x or y or z axis at the morot.
[08:13:13] <motioncontrol> i switch the analog with the relays on single drives.example select x : close gear the x axis on motor, and the relay the x analog out on the drives. the feedback is close with encoder on x axis.
[08:13:36] <ilya_> wait a minute
[08:14:15] <motioncontrol> when select y axis, i close the y gear on motor and oper the gear the x and z aaxis on the motor, and open the relay the x on analog drive and close the ralay the y axis on relay
[08:16:04] <ilya_> this all accepts many manual operations
[08:16:18] <motioncontrol> the problem is : when i move the y axis, if a some motive the encoder the x axis move , the pid the x axis move up(10 volt) and when i switch on x axis the analog the axis move fast. is possible disable with a pin the axis?
[08:16:31] <ilya_> there probably a particular HAL component or so is needed
[08:16:57] <ilya_> I don't know...
[08:17:05] <motioncontrol> i thing the feedbak = position command ?
[08:17:21] <motioncontrol> for error position = 0
[08:17:46] <motioncontrol> some people can help me ?
[08:23:03] <alex_joni> you can probably disable pid
[08:26:20] <ilya_> motioncontrol: if there are x, y, or z letters at the file, insert a pause to manually switch the drive to control nedded axis. But you should know regular expressions
[08:27:25] <motioncontrol> good morning alex. i have setp pid.3.enable false , but when i select the the x axis and enable pid the x axis move if the encoder the x before as move , because the feedback is different at position command
[08:28:18] <motioncontrol> excuse for my english i rewrite
[08:32:11] <motioncontrol> i have disable pid for prove and if move the encoder the x axis the analog is 0 volt because the loop position is open.but the different the position command and the feedback encoder upper. when i enable the pid the axis move , because the input pid is position command , and the pid go on error position = 0. i thing is correct: disable pid and feedback = position command. is possible?
[08:36:25] <motioncontrol> alex do you thing for this problem ?
[08:47:56] <motioncontrol> one ideas is: when i push on the emergenzy and reset after the emergenzy the position command is egual at encoder feeedback position and the error position is = 0.
[08:48:39] <motioncontrol> exist a pin for disable the axis ?
[10:47:48] <Valen1> Valen1 is now known as Valen
[11:17:34] <mook> Hello......
[11:18:44] <mook> can anyone help, or is it too nice a sunday for anyone to actually be sat in a darkened room in front of their PC?
[11:19:32] <mook> Well I will ask anyways, what is the quickest best way to get a development environment for emc2 running in a VM?
[11:20:57] <mook> I have spent the last hour compiling/installing pth, rtai, and emc2..... now emc2 configure is complaining "no tcl"
[11:21:51] <mook> I hate it when the dependency hell starts, as you never know where it will end... how many more packages may I need.........
[11:21:56] <mook> ....
[11:21:57] <mook> ...
[11:22:01] <mook> ..
[11:22:02] <mook> .
[11:57:42] <SWPadnos> mook, the easiest way is to use "apt-get build-dep emc2" in the VM
[11:58:21] <SWPadnos> or look at the dependency list in the debian/control file, and install the appropriate packages manually if you don't have Ubuntu in the VM
[12:13:53] <roh> what i don't get.... how does a vm help having usable realtime?
[12:14:24] <roh> i mean.. works for compiling and eventual testing, but i wouldnt use it for actual mill-control when not running native
[12:14:49] <cradek> yeah that's no-go
[12:15:07] <cradek> and if you're only testing, it's simpler to use a simulator build, not realtime
[12:15:11] <SWPadnos> (s)he asked about getting EMC to run on an old mmx CPU in -devel, so I'm hoping the idea is to compile in a VM
[12:15:28] <cradek> as in original pentium?
[12:15:29] <roh> ah.. makes sense
[12:15:39] <SWPadnos> MMX - I have no other information :)
[12:15:45] <roh> cradek mmx came after that ;)
[12:15:59] <SWPadnos> yes, there was the Pentium, then the Pentium MMX :)
[12:16:18] <cradek> yeah, same chip except for a few additional instructions, I think
[12:16:36] <SWPadnos> yep, MultiMedia eXtensions
[12:17:25] <cradek> fun fact: the last computer I bought new was a 2-cpu pentium mmx system
[12:17:41] <SWPadnos> does that count parts?
[12:20:20] <cradek> no
[12:20:51] <SWPadnos> I guess it would count if you bought new parts to make a computer though, huh
[12:21:17] <cradek> I suppose I've bought motherboard+cpu new at least once since then
[12:21:27] <cradek> so forget it, my story sucks
[12:21:36] <SWPadnos> heh
[12:21:54] <SWPadnos> the last computer I bought (rather than parts) was an Atari 800XL
[12:22:01] <SWPadnos> and before that, a TI 99/4A
[12:22:38] <SWPadnos> (not counting the AT&T 6300 I had to buy for coillege, but I realized that I actually bought that used)
[12:22:40] <cradek> I remember looking at those ataris at sears - they were so futuristic looking
[12:22:50] <SWPadnos> heh, yeah
[12:23:05] <SWPadnos> the 800 (not XL) actually had *two* cartridge slots
[12:33:04] <SWPadnos> oh hmm. I guess you shouldn't listen to my story either, since I have bought laptops
[13:05:40] <mook> Just back and seen your comments....... yes I am going to create a devel environment in a vm, compile all the required stuff and create an image to write to the pentium mmx PC (233Mhz with 128Mb).
[13:06:13] <mook> It would be good if there was some minimal devel environment vm image available..
[13:06:36] <mook> Would mean ALL developers have the same development environment to work on
[13:07:58] <mook> I am having problems now with autoconfig........ would be great if autoconfig ran, then gave a list of ALL missing dependencies........
[13:08:43] <mook> instead it dies on the first missing dep.... then you have to go and find it, and run autoconfig again :(
[13:09:25] <mook> then it dies again at the next missing package, repeat until you give up....
[13:10:51] <mook> ideally autoconfig would give an XML missing package list that could then be loaded into ANY AND ALL package managers to autoinstall all deps and run autoconfig again......
[13:11:07] <mook> but maybe it does that now....
[13:11:42] <mook> I am trying to get the dev environment running on a woody install..
[13:13:34] <mook> amazing how time flies, I thought woody was a recent deb release, but its now 5 years old.
[13:15:42] <roh> eeeh
[13:16:02] <roh> july 2002
[13:16:27] <roh> as in 'not supported anymore' .. not even security patches since 2006
[13:17:01] <roh> woody was debian 3.0 .. we are at 5.0.2 now
[13:17:07] <roh> lenny
[13:17:36] <roh> but that explains why you could have problems getting dependencies that work
[13:36:51] <mook> trouble is I can't be bothered learning new things unless absolutly necessary, it wastes time.
[13:37:29] <cradek> it seems like it will be very hard to get a modern emc2 running on such an old machine
[13:37:47] <cradek> depending on your requirements maybe you could use a very old emc1 version on a very old OS
[13:38:21] <cradek> but seems better to get newer hardware if at all possible. around here it's very cheap - not sure where you are.
[13:38:24] <mook> I been using the same vm image since 2004, just make a copy of the fresh install image and start on the project.
[13:39:05] <mook> cheap is relative, but i'm mean and skint.
[13:39:22] <cradek> yep I know it is...
[13:39:50] <mook> I'm in the UK, a new PC is a bout £200 minimum
[13:40:03] <cradek> not new, "newer"
[13:41:07] <cradek> it's easy to find a fast P3 that is complete (but may need some ram added) for $0-$50 around here
[13:41:17] <mook> I also just like to make do with what I have, I may try an old BDI image
[13:41:19] <cradek> often with a monitor for that price
[13:41:42] <tom1> tom1 is now known as tom3p
[13:41:43] <cradek> maybe even go back to the redhat 5.2 (?) install if you can still find it
[13:41:52] <cradek> that's contemporary with your hardware
[13:42:32] <cradek> but sadly you'll have little hope of running emc2
[13:42:56] <mook> I am sure emc2 should run on a pentium mmx
[13:43:18] <cradek> it's more a matter of all the dependencies and your limited ram
[13:44:28] <cradek> for instance emc2's most popular gui uses opengl. I predict that is just not going to work well on your system.
[13:44:46] <mook> I will let you all know when I have got it running, looks like I have to go and compile python 2.4 as autoconfig don't like version 2.2
[13:45:00] <cradek> sorry, don't mean to rain on your whatever
[13:45:08] <cradek> :-)
[13:45:17] <mook> I used to write programs using mesa on my mmx
[13:46:18] <mook> well, we shall see, you are probably right, but I always like to try
[13:51:05] <roh> * roh would recommend against any 'old os' useage.
[13:51:25] <roh> no sane person supports >2year old old releases ;)
[13:52:15] <cradek> who said supports?
[13:52:45] <alex_joni> there was a guy asking on the rtai mailing list the other day for RTAI on 2.2.14 kernel
[13:52:55] <cradek> I was just thinking that to use extremely old hardware, the easy way would be to use contemporary software
[13:52:55] <roh> *hihi*
[13:53:12] <alex_joni> but I think the MMX might not have a TSC, which will be a problem for running RTAI
[13:53:23] <roh> cradek actually i had worse results with old sw on old machines than with actual sw.
[13:53:32] <cradek> heh
[13:54:22] <alex_joni> mook: the oldest I have is a BDI 2.20b
[13:54:53] <alex_joni> sent you the link to the ISO
[13:54:56] <roh> recent stuff tends to be 'more hung' and more optimized.. like e.g. take a 2 year old top of the notch notebook.. usually something like that is nearly 100% supported out of the box by recent linux distros. 2 years ago the distros all had driver problems with it
[13:55:54] <alex_joni> here's some people running BDI 2.20b on a PII-400 : http://www.embeddedtronics.com/micromill.html
[13:56:09] <alex_joni> you can probably (with enough determination) get emc2 to run on it too
[13:58:51] <mook> I just finished the autoconfig headbanging, it thinks I have python2.4 and I have started compile
[13:59:07] <mook> shall see if it bombs out
[13:59:56] <mook> yes bombs : "sorry Togl requires tk8.0 or higher"
[14:05:51] <mook> axis/extension/togl.c line 66........... very strange as i have tk8.3 installed
[14:06:12] <mook> problem with TK_MAJOR define????
[14:06:33] <Valen> I often find better PC's on the side of the road
[14:07:04] <Valen> I found a P4 2.6G up the road from me
[14:07:11] <Valen> add a HDD and away it goes
[14:16:35] <mook> please post it to me!
[14:17:34] <mook> I wish my road was like that, I'm out in the sticks and all I see is dead badgers, adding an HDD to them don't seem to do much good!
[14:17:39] <ilya_> mook: post what?
[14:18:03] <mook> P4 2.6G on the road
[14:18:41] <ilya_> * ilya_ tastes some beer, "Siberian Crown" - "Lime"
[14:18:48] <mook> I think dead badger linux works sometimes!
[14:19:15] <mook> http://www.strangehorizons.com/2004/20040405/badger.shtml
[14:19:57] <mook> it looks like its all compiling now (I redefined TK_MAJOR_VERSION in tk.h)
[14:20:52] <mook> oh also some nasty depend problems in the iosh.d and other depends files
[14:21:38] <mook> I just copied the required tcl/tk header files to the emc2 src dir (very bad practice)
[14:22:02] <Valen> mook, find somewhere with a council cleanup and go for a cruse
[14:22:10] <Valen> most people toss them out because they are "slow"
[14:22:19] <Valen> the kids have filled em with viruses and crap
[14:22:48] <mook> If I had a car I would
[14:23:48] <Valen> yeah that might cramp yer style a little
[14:23:58] <Valen> dad found a GPS based time server once
[14:24:04] <mook> If I had a driving licence I would get a car(If I had enought cash for one)
[14:24:33] <mook> I'm sure the UK is getting like a third world country
[14:26:01] <ilya_> mook: why?
[14:26:34] <ilya_> mook: if you're native in English, join to #english
[14:26:47] <ilya_> there're many people for talks
[14:27:52] <mook> sorry offtopic
[14:28:34] <ilya_> mook: no, but talking about cars at freenode is kind of sexy
[14:28:43] <ilya_> yeah, SEXY
[14:30:58] <mook> how many components does emc2 compile, and how long do it take(on average)
[14:31:03] <Valen> sex > http://photos-a.ak.fbcdn.net/photos-ak-snc1/v1006/26/106/1148363392/n1148363392_30248000_2446.jpg
[14:31:13] <SWPadnos> 20 seconds on a Phenom 9650
[14:31:33] <Valen> on a dual P4 style Xeon, 3.06 it was fast enough that it didn't bother me
[14:31:33] <SWPadnos> (using -J 8)
[14:31:41] <Valen> ~ a minute or so i guess
[14:31:47] <mook> right it looks like my machine is stuck in some kind of compile loop
[14:32:01] <SWPadnos> what's the machine you're compiling on?
[14:32:13] <mook> its been running make for around 8 mins
[14:32:26] <Valen> what are you running on
[14:32:35] <Valen> those are both really high spec machines
[14:32:36] <SWPadnos> that's still reasonable
[14:33:03] <SWPadnos> oh - the phenom compile was for sim, not RT, so it would have been more due to RT driver modules
[14:33:13] <mook> I'm not sure it fairly recent machine about 3 years old i think its a duron MP 1800
[14:33:36] <mook> no i'm compiling simulation to test
[14:33:47] <SWPadnos> compiling in a VM?
[14:33:54] <mook> yes in VM
[14:34:01] <SWPadnos> is the VM running RTAI?
[14:34:09] <Valen> I wouldnt be suprised at it taking 20 minutes
[14:34:13] <mook> not at the moment
[14:34:17] <SWPadnos> ok
[14:34:26] <SWPadnos> I'd grab some tea and see if it's done when you get back
[14:34:34] <mook> I have compiled RT kernel but not added it to lilo on the VM
[14:36:24] <SWPadnos> what kernel version do you have in the VM?
[14:36:46] <mook> kernel 2.4.35
[14:36:58] <Valen> wow thats old
[14:37:04] <SWPadnos> hmmm. very recent EMC versions may not work with that
[14:37:27] <mook> damn, why?
[14:37:28] <SWPadnos> I think I remember some talk about only supporting 2.6 going forward (but not intentionally breaking backward compatibility)
[14:37:40] <SWPadnos> I don't remember the specifics
[14:37:55] <mook> The rtai is the latest version (I think)
[14:38:37] <SWPadnos> you may not be able to build all the hardware drivers - I think there were some things related to hotplug for FPGA firmware loading
[14:39:16] <Valen> can you compile with a target or something?
[14:39:23] <Valen> on the host machine?
[14:39:44] <mook> why would I need programmable gate arrays?, I using emc2 for parallel port control of a hobby mill
[14:40:00] <SWPadnos> you will have to disable the building of other drivers then (I think)
[14:40:20] <SWPadnos> I don't particularly care what hardware you're using, I'm just trying to inform you of things that may get in your way
[14:40:47] <mook> OK, thanks, I will keep an eye open for more compile errors
[14:41:49] <mook> I am fairly sure I will be able to track down problems and disable what I don't need.
[14:41:49] <SWPadnos> I wonder how well EMC will perform on a P133 using the parallel port
[14:41:57] <SWPadnos> hmmm
[14:42:12] <SWPadnos> actually, the module build system may be geared toward kernel 2.6
[14:42:28] <SWPadnos> there were a bunch of changes in that area between 2.4 and 2.6
[14:51:54] <alex_joni> still.. 2.4 should still build
[14:51:55] <roh> 2.4 is just pain to maintain, kernelwise
[14:52:07] <alex_joni> roh: 2.0 is
[14:52:45] <roh> alex_joni been there.. 2.6 just makes everybodys life so much easier.. i dunno any reason to use anything older still.
[14:53:00] <roh> also its smaller (more modular)
[14:57:07] <ilya_> mook: it compiles withing 5 or 10 minutes if you build whole documentation
[15:02:26] <mook> OK, I have an error running stepconf: /usr/local/bin/stepconf, line 32, in ?
[15:02:55] <mook> ImportError: No module named gobject
[15:04:10] <roh> youre missing gtk-python stuff.
[15:04:12] <cradek> http://www.google.com/search?q=python+gobject
[15:07:41] <mook> damn axis gives error: can't find package Bwidget 1.7
[15:07:51] <mook> I have Bwidget version 1.3
[15:08:03] <alex_joni> mook: try tkemc or some other UI
[15:40:49] <mook> what command line args are required for axis?
[15:45:51] <alex_joni> mook: you need to be in the config dir when you run it, and you need to pass the ini file
[15:46:02] <mook> I have hacked the axis.tcl scripts and removed Dynamichelp, and refs to arcradius. It now runs without error, but wants a config file (I can't run stepconf due to pygtk errors)
[15:46:19] <mook> where the config dir?
[15:46:36] <alex_joni> there are sample configs in configs/
[15:46:41] <alex_joni> (in the source tree)
[15:46:53] <alex_joni> and they get installed to /usr/share/doc/examples/ iirc
[15:46:59] <alex_joni> depends on the version though
[15:50:08] <mook> OK, I think I got it, but now there is an error at the tcl call to s.poll() line 3677 of axis (I think the simulation is not running or it cannot communicate to emc drivers???)
[15:51:04] <mook> I execd: axis -ini inch.ini
[15:51:51] <alex_joni> you need to run emc2 first
[15:51:56] <alex_joni> axis is only the userinterface
[15:52:03] <alex_joni> the way to run emc2 is using the runscript
[15:52:09] <alex_joni> in /usr/bin/emc
[15:52:26] <alex_joni> bbl
[15:53:33] <mook> No such file
[15:53:52] <mook> where in the src directory is emc when compiled?
[15:53:56] <mook> I try a find
[15:55:12] <mook> script/emc
[15:55:16] <mook> found it
[16:43:08] <skunkworks_> This doesn't happen every day. Must be going to the twin cities for a game or something. (using the mississippi for direction ;)
[16:43:10] <skunkworks_> http://imagebin.ca/img/5s2o1fGQ.jpg
[16:44:39] <dmess> coo;
[16:44:42] <dmess> cool
[16:53:56] <dmess> hmmm im getting this You must exec "login" from the lowest level "sh" when i try to log in as root
[16:55:27] <dmess> how do i get to a lower level "sh"
[17:13:03] <jymm> where are you trying to login as root from?
[17:13:12] <jymm> gui? shell?
[17:13:34] <jymm> and are you using the command 'login' ?
[17:17:50] <skunkworks_> http://www.cnczone.com/forums/showthread.php?p=649736#post649736
[17:23:13] <dmess> gui terminal... yes
[17:23:25] <dmess> and login yes
[17:23:50] <jymm> dmess: That's why. You don't use the 'login' command. you use sudo su instead
[17:24:06] <jymm> under ubuntu that is
[17:24:25] <dmess> yes
[17:24:57] <dmess> accessories-terminal
[17:25:27] <sexy-lexic> dmess: Can you call LATHE's brands?
[17:25:28] <jymm> dmess: I just told you what you need to do... from a terminal use 'sudo su' to become root
[17:25:33] <sexy-lexic> sexy-lexic is now known as igalkin
[17:25:59] <igalkin> jymm: and dmess use `sudo -i'
[17:26:10] <dmess> ok thx... right super user... i forgot about that
[17:26:12] <igalkin> to get to root shell
[17:27:17] <dmess> what are you on about -lexic
[17:27:54] <igalkin> dmess: do you know any brands of Lathes to choose from?
[17:29:58] <dmess> sure lots...miyano,ikegai,nakamura,gildemister,mazak,DMG,binns&berry,hardinge,takisawa
[17:30:16] <dmess> all have a niche specialyt
[17:30:17] <igalkin> Ok, i will see their websites sometimes
[17:30:29] <dmess> what are you looking to make
[17:30:31] <igalkin> specialities?
[17:30:46] <dmess> yes
[17:31:05] <dmess> b&b are big... miyano are small
[17:31:10] <igalkin> dmess: nothing really. I need to see some websites with parameters and prices.
[17:31:19] <dmess> hardinge are super precision
[17:31:21] <igalkin> dmess: small as sherline?
[17:31:58] <igalkin> superprecision? what is a tolerance? Micrometers?
[17:32:01] <dmess> no not that small.. but makes smaller more precise parts than any sherline.. they are REAL cnc machine tools
[17:32:18] <dmess> millionths reapeatability
[17:33:00] <dmess> nanometer reapeatability with say 50 nano's accuracy
[17:33:22] <dmess> you set offsets to 5 decimal places
[17:33:33] <dmess> in metrin 6 in inch
[17:33:38] <dmess> metric
[17:35:10] <igalkin> 0.000 00... ten micrometers?
[17:35:31] <dmess> yes
[17:35:43] <EbiDK> EbiDK is now known as EbiDK|AWAY
[17:36:26] <dmess> they have one of the best spindles on the planet
[17:36:44] <igalkin> dmess: is it possible to turn some chrome-molybdenum steel with sherline?
[17:37:13] <igalkin> what cna be so good in their spindles?
[17:38:52] <dmess> they are solid and ZERO runout ofer the full rpm range... as far as Cr-Mo with the correct tool is not overly difficult to turn.
[17:39:09] <dmess> tubing i'm assuming?
[17:40:43] <igalkin> dmess: actually, wanted a new rear axis for Norco Mountaineer bicycle
[17:44:04] <dmess> ahh i see.. shouldn't bee too hard.. small toolnose rad. positive tool.. i'd use a vcmt type insert to let you do all undercuts with the same tool.. the you only nees to thread it
[17:44:56] <dmess> then you yonly need to thread it.... been in the bush for a week and forgot how to type already
[17:45:33] <igalkin> I only imaging it right now.
[17:47:12] <dmess> have you got a sherline??
[17:48:38] <igalkin> dmess: no, I'm in Russian Western Siberia (at north from India), and I'm getting information about those affordable CNC-machines.
[17:49:35] <cradek> pretty hard to thread on a sherline
[17:49:50] <igalkin> dmess: Many my friends pay more money for a cell phone, in comparison with a price of sherline 4500
[17:49:51] <cradek> are you sure their swing is big enough for bicycle parts?
[17:49:52] <dmess> i see... well your english is quite good .. ; )
[17:49:59] <igalkin> cradek: why?
[17:50:27] <cradek> their manual lathes do not cut threads under power, and their cnc lathes (as sold) don't cut threads at all
[17:50:36] <jymm> cradek: You shuld say how you REALLY feel, qut beating around the bush =)
[17:50:50] <igalkin> dmess: I know only basic words, not those "zap", "roar" and others.
[17:51:15] <jymm> cradek: Is sherline really that bad for cnc work?
[17:51:35] <cradek> jymm: as sold, they do not have the ability to cut threads
[17:51:47] <jymm> cradek: meaning EMC1 ?
[17:51:47] <cradek> of course you could retrofit one with emc2 and a spindle encoder to fix that
[17:52:13] <igalkin> cradek: can't i just program g95 f1 for a 1 mm pitch?
[17:52:15] <cradek> with their manual lathe it's possible, but fairly hard, to thread
[17:52:55] <cradek> igalkin: after you retrofit a sherline cnc lathe with a spindle encoder and emc2, you can cut threads using g76
[17:53:07] <cradek> AS SOLD their cnc lathes cannot cut threads
[17:53:18] <jymm> cradek: meaning EMC1 ?
[17:53:26] <igalkin> we learnt those huge gearboxes of lathes when I were at the university...
[17:53:30] <alex_joni> jymm: yes
[17:53:35] <alex_joni> and no encoder on the spindle
[17:53:47] <jymm> ah
[17:54:41] <igalkin> alex_joni: and cradek and the `spindle encoder' isn't intheir external driver box?
[17:55:04] <cradek> no
[17:56:09] <alex_joni> igalkin: http://en.wikipedia.org/wiki/Encoder
[17:56:11] <igalkin> what does it let, anyway? Does it help to get the spindle's speed back to software?
[17:56:14] <igalkin> OK
[17:56:37] <alex_joni> actually this: http://en.wikipedia.org/wiki/Rotary_encoder
[17:56:45] <alex_joni> not speed.. position
[17:57:15] <igalkin> I thought position is the Z-coordinate
[17:58:01] <alex_joni> position of the spindle
[17:58:10] <alex_joni> how much it rotated
[17:58:18] <igalkin> ah...
[17:58:29] <alex_joni> you need more than one pass for threading
[17:58:47] <alex_joni> and in order to synchronize the threads, you need something that keeps track of spindle orientation
[17:58:50] <igalkin> it's probably possible to lead out the cutter at the end of the thread
[18:00:06] <igalkin> alex_joni: more than one pass for which sizes of pitches?
[18:00:32] <alex_joni> probably any, it depends on material more than pitch
[18:00:54] <cradek> a sherline needs many many passes to cut any thread
[18:01:02] <igalkin> oh... yeah, Cr-Mo would be very robust...
[18:01:06] <dmess> it has no HP
[18:01:13] <cradek> the biggest lathes still need several passes to cut any thread
[18:01:38] <alex_joni> http://www.youtube.com/watch?v=IUbTTdMaO60
[18:01:41] <igalkin> does it has at least 1 KWt?
[18:01:54] <dmess> may not NEED.. but will always use multiple passes at a compound feed angle
[18:02:22] <dmess> makes a better thread... plain and simple
[18:04:03] <dmess> i've still to hook up my spindle feedback unit to EMC2 . have to make a pinwheel for the spindle
[18:07:53] <dmess> http://www.cnc4pc.com/Store/osc/product_info.php?cPath=25&products_id=58 this is what i have
[18:11:08] <EbiDK> EbiDK is now known as EbiDK|AWAY
[18:15:47] <motioncontrol> good evening.please help me for my maschine application.is possible disable a axis with a pin ?
[18:18:23] <motioncontrol> i want use emc2 for old maschine with 3 encoder and only one drives.i want switch the meccanical gear the axis selected on the motor and switch the analog out the axis selected on the drive.i want disable the axis no select for move is possible?
[18:22:31] <dmess> you have a 3 axis machine with 1 motor????
[18:22:44] <dmess> boring mill??
[18:23:13] <igalkin> with one amplifier, probably
[18:24:18] <dmess> hmmm i see.. or an old manual TOS with 1 motor and manual gear shift handles
[18:24:45] <motioncontrol> yes 3 axis on 1 motor
[18:25:31] <dmess> how are you going to physically shift the levers on the gearbox.
[18:26:53] <tom3p> hehehe the old radio shack armatron, 6 DOF robot with one motor and lotsa clutches
[18:27:24] <motioncontrol> i have prove open the pid on the axis unselected, but if for some motive the encoder move on the axis unselected , when i select the axis before unselected the axis move fast because the pid want go on error position at = 0. is possible disable the axis unselected or force the pin position command = fedback encoder ?
[18:27:41] <dmess> it IS doable...i just could not write the code myself... i could assist as i understand plc logic which will be needed extensively
[18:27:46] <igalkin> How could it have one motor at three different axes?
[18:27:48] <tom3p> or use brakes
[18:28:42] <dmess> there is a gearbox from hell on these machines..
[18:28:42] <tom3p> when nc motors are taken out of control they are usually clamped to prevent accidental motion ( feed back while the loop is open )
[18:29:20] <motioncontrol> yes i have one drives (motor ) and 3 axis. every axis have the gear meccanical on the motor.normaly i close only one gear , the axis select
[18:29:36] <dmess> hes losing steps/position on the locked/disabled axis .. so when he re-engages it it does not read the same so it barfs
[18:30:14] <dmess> are there clamps on the other 2 axes??
[18:30:23] <tom3p> motioncontrol: yes, you will open the loop, and you must avoid getting feedback during that time. use brakes or code to ignore the feedback. brake is conventional solution. code is up to you.
[18:31:16] <mook> .....
[18:31:19] <mook> .....
[18:31:21] <mook> ...
[18:31:38] <tom3p> hehehe put the brake on the encoders not the axis.. no , you have to avoid the motion AND the feedback
[18:31:50] <motioncontrol> when i open the pid , and move for some motive the encoder the axis unselected, the encoder fedback position is different at position command and when i close pid thuis differenze create the small motion , but fast motion.
[18:32:44] <dmess> this is all on the cnc side... have you put indicators on the machine to confim a shift???
[18:32:58] <motioncontrol> the vertical axis have the idraulic block and the axis move small position when i unselected it
[18:32:58] <dmess> or movement
[18:33:26] <mookie> anyone know how the enable-simulator works?
[18:33:29] <dmess> it would be expected... gravity is free
[18:34:07] <igalkin> mookie: i know. read 5.5 of the `Installing EMC' at wiki.linuxcnc.org
[18:34:30] <tom3p> can 'move for some motive the encoder' be avoided by a brake. oh you have vertical hydraulics.. yep they are notorious for falling ( and needing big wood blocks )
[18:34:34] <igalkin> mookie: also, install python-xml package for Lathe
[18:35:06] <dmess> and you are open loop... increase the tolerance for the position as you enable the pid... then tighten it back up on the 1st move...of the axis
[18:35:21] <igalkin> cd ~/emc2-3.3.1/src | ./configure --enable-simulator --enable-run-in place && make
[18:35:27] <igalkin> mookie: ?
[18:35:57] <tom3p> motioncontrol: you will have to devise a brake OR ask BigJohnT.. he's had success in getting rid of an offset that occurs during 'open loop'
[18:36:10] <igalkin> tom3p: is it a hardware brake or what does it look like?
[18:36:27] <tom3p> motioncontrol: this is very new ( getting rid of offset without 'jerk' )
[18:36:36] <igalkin> mookie: cd ~/emc2-3.3.1/src | ./configure --enable-simulator --enable-run-in-place && make
[18:37:29] <motioncontrol> ok , i can open the tollerance , but noi ideal, i can is important have in the future a pin for disable the axis
[18:38:44] <dmess> you WILL lose some position this way..
[18:38:46] <tom3p> igalkin: not my machine, belongs to motioncontrol
[18:39:22] <igalkin> tom3p: i just can't get what you say each other
[18:39:33] <tom3p> motioncontrol: old hydraulic EDM's had lever clamps (cams) to lock the vertical axis at night
[18:40:16] <tom3p> igalkin the machiner belongs to "motioncontrol" i never saw it
[18:41:06] <dmess> if im not mistaken BigJohnT throws pulses back in...a great idea
[18:41:16] <igalkin> tom3p: you say about the brakes, I'm imaging pulleys with huge friction brakes
[18:42:17] <dmess> side locking way clamp and a small disc on the encoder/ resolver...
[18:43:17] <tom3p> motioncontrol: on these old hydraulic axis, a cam would rotate and 'jam' the slide from moving. with .0005" digital readouts, there was no visible motion due to the 'jam' nor during the 'jam'
[18:44:12] <tom3p> dmess: is that a std item in say mcmaster carr or carr lane? got some pix for motioncontrol?
[18:45:13] <motioncontrol> ok tom3p, i thing when i select the axis , wait the digital imput for idraulick block the axis unselected ok, after open the pid , and after move the axis selected
[18:46:48] <tom3p> motioncontrol: yes, if the motion is only a few counts the the pid wont 'jerk badly when it regains control
[18:47:22] <tom3p> motioncontrol: the sequence you state sounds good
[18:48:13] <motioncontrol> but i thing in flexible cnc is important a pin for disable the axis for flexible maschine.on the sinumerik 840d or selca or heidenhain530 have the pin for axis in hold.
[18:49:15] <tom3p> motioncontrol: right goto the selca or heidenhain books... you'll see the sequence and the brakes (ive used both)
[18:50:46] <SWPadnos> hold is not the same as disable
[18:50:51] <tom3p> i hink heid has a plc module to do just that ( a 'soft' module)
[18:51:23] <motioncontrol> another question . is possible with emc2 the tool lenght compensation along y axis for orizzontal spindle?
[18:54:47] <tom3p> motioncontrol: i think its possible. this is because cradeks 5axis vismach uses the W axis with tool comp. so i >guess< it can be along any axis.
[18:55:11] <SWPadnos> no, I don't think so
[18:55:17] <micges> nope
[18:55:40] <micges> sorry
[18:55:43] <SWPadnos> lathe style tool tables have X and Z comp, and mills have radius (sort of XY-ish) and length (Z) comp
[18:56:13] <tom3p> ? did i not see it change the tool tip on W using 5axiskins.ini
[18:56:17] <motioncontrol> if i change the plane in g18?
[18:56:32] <SWPadnos> there is a specific ini option to put tool length comp along the W axis, which is only useful if you have a kinematics module that rotates UVW when ABC change
[18:57:02] <tom3p> so it depends on a custom kins?
[18:57:11] <SWPadnos> it's not useful without it
[18:57:28] <cradek> even on a horizontal, I'm pretty sure the spindle is still along Z
[18:57:44] <SWPadnos> but the point there is that the code explicitly has provisions for length comp along W, it's not possible to select any axis
[18:57:45] <cradek> like a lathe
[18:58:51] <cradek> X is left/right and Y is ceiling/floor, Z is toward/away from spindle
[18:59:14] <motioncontrol> my maschine have 2 spindle .one vertical and another orizzontal
[19:00:46] <tom3p> use one Z axis at one time ;) one Z is horizontal, one Z is vertical. each has tlo.
[19:01:36] <tom3p> or, they both are the same axis, at different times
[19:04:44] <motioncontrol> the spindle fuction not simultanely, or use the orizzontal spindle or use the vertical spindle.the problem is: i configura the software and the hardware for z axis on vertical spindle, and the lengh compensation is ok. when i use the orizzontal spindle i change the plane for g2 o g3 use , but the tool lengh not active along y axis
[19:06:35] <tom3p> ? you have 3 axis, and 2 are spindles, and you have circular interpolation for either spindle?
[19:07:39] <tom3p> and, you only move one axis at a time because you have only one motor. idont see hoe this can be.
[19:08:00] <SWPadnos> I'm thinking the plane change is an attempt to get comp along Y, not for circles
[19:08:18] <tom3p> oki
[19:08:46] <tom3p> that (g17/8/9) is the std trick to chg the len comp
[19:08:46] <motioncontrol> no, tom3p , the maschine are 2. the first maschine have old maschine, the second maschine have 3 axis indipentend drives and 2 spindle
[19:09:40] <tom3p> motioncontrol: ok, sorry i was confused
[19:10:18] <motioncontrol> excuse me
[19:12:09] <motioncontrol> the g17 plane is xyz with xy circle and z compensation. g18 plane is xz circle and y compensation, but on emc2 the lengh comp with g18 not fuction.i have 2.3.0 release
[19:12:34] <cradek> you are mistaken about what g18 means
[19:12:42] <cradek> it makes an arc along xz
[19:12:51] <cradek> it does not have anything to do with tool length, which is still along Z
[19:13:45] <tom3p> cradek: is this why it's 'z' or 'w' only ? from 5axiskins.c "joints[2] = pos->tran.z - *(haldata->pivot_length) - r.z;"
[19:14:22] <cradek> not really
[19:14:37] <cradek> kins don't determine where tool length offsets get applied
[19:14:52] <cradek> a hundred other things in emc do :-/
[19:15:39] <tom3p> only 100?
[19:20:08] <motioncontrol> cradek excuse for repeat the question, you know a metod for disable a axis , axis in hold?
[19:24:39] <mookie> ....
[19:24:41] <mookie> ...
[19:24:42] <mookie> ..
[19:24:43] <mookie> .
[19:24:58] <mookie> I got it compiled and the simulator working in woody
[19:26:05] <mookie> The main problems were th BWidget and resub routines in tcl have changed
[19:27:19] <mookie> so I had to change the code, and the picktool for configs don't quite work as the callbacks don't select configs
[19:28:14] <mookie> I will have a look next weekend and compile as rtai version, then try installing it on my pentium mmx
[19:47:12] <tom3p> mookie: congrats, sounds like you have a lot of work done already
[19:49:30] <antichip> what are the dirrerent builds or branches of emc are there?
[19:55:21] <Xteven> mookie: would it be possible to document your effort on the wiki ?
[19:55:34] <Xteven> maybe others are interested in building from source as well
[19:55:54] <dmess> pls do..
[19:57:34] <dmess> i have a new machine Toshiba BTD200QF with co-axial z-w axis and catia and Icam cant give me what i want without INSERT/ statments
[20:10:56] <i-pink> hii all
[20:11:29] <i-pink> someone here?
[20:11:31] <SWPadnos> hi i-pink, how goes the floppy drive machine?
[20:11:44] <i-pink> is not work!
[20:11:48] <SWPadnos> heh
[20:11:57] <i-pink> very low power
[20:11:59] <i-pink> but!
[20:12:06] <SWPadnos> yep. figured that would happen
[20:12:26] <SWPadnos> they're not meant for high power output, especially floppy motors
[20:12:37] <SWPadnos> (some old hard disk motors were pretty heavy duty)
[20:12:40] <i-pink> someone give me stepper motor from old laserjet
[20:12:55] <i-pink> motor with 6 wire
[20:13:04] <i-pink> i connect only 4
[20:13:30] <SWPadnos> unipolar mode?
[20:13:51] <i-pink> i use L293 for driver
[20:14:00] <i-pink> bipolar mode
[20:14:16] <SWPadnos> ok
[20:14:20] <i-pink> and it work good!
[20:14:34] <SWPadnos> grat
[20:14:36] <SWPadnos> great
[20:14:37] <i-pink> i give a clock from 555
[20:14:58] <i-pink> now i want to connect it to the computer.
[20:16:26] <i-pink> SWPadnos, i heve a critical promlem in the driver motor
[20:19:36] <i-pink> emc send clock and direction, and my driver motor get only clock right and clock left
[20:19:47] <i-pink> what to do??
[20:21:04] <SWPadnos> change stepconf to mode 1 or 2 I think
[20:21:07] <SWPadnos> err, stepgen
[20:21:20] <i-pink> what?
[20:23:07] <antichip> I was hoping to get my new control computer running today with rtia and cvs of emc2
[20:23:07] <dmess> 1 i believe
[20:23:26] <SWPadnos> emc can generate several step types, step/dir is only one of them, up/down is another
[20:24:13] <antichip> I am following the wiki as much as possible, and I am not able to either compile a kernal, or get the cvs of emc to make or configure
[20:24:23] <i-pink> but how i change it???
[20:24:26] <antichip> I am kind of a linux noob
[20:24:37] <i-pink> tel me slowly slowly//
[20:25:20] <SWPadnos> first, look at the manual page for stepgen, using "man stepgen"
[20:25:23] <i-pink> antichip, and i am a womane (i have a small brain)
[20:25:33] <i-pink> OMG man
[20:25:35] <i-pink> noo
[20:25:56] <i-pink> i am vrey bad in english
[20:26:05] <SWPadnos> then, use a text editor to add "step_type=x,x,x" to the "loadrt stepgen ..." line in your hal file
[20:26:17] <SWPadnos> where x is the correct number for up/down
[20:26:41] <SWPadnos> antichip, are there places in the wiki where it still says cvs? (instead of git)
[20:27:49] <i-pink> ok i forgat my user name
[20:29:27] <SWPadnos> can't help with that
[20:30:13] <i-pink> ok i find the user name
[20:30:26] <i-pink> but how i reset the password?
[20:30:41] <SWPadnos> can't help with that either
[20:30:52] <i-pink> mmmm ok
[20:31:53] <antichip> over the cource of last night and a little today, I followed the wiki instructions for git, I could not get it to build
[20:31:55] <i-pink> ok
[20:33:10] <i-pink> !!! i reset the password!
[20:33:18] <i-pink> http://www.cyberciti.biz/faq/linux-resetting-a-users-password/
[20:33:59] <SWPadnos> oh. I didn't realize you had root access
[20:34:33] <i-pink> in recaery mode :)
[20:34:49] <i-pink> ok i am in the ubuntu emc2
[20:34:53] <i-pink> what todo?
[20:35:08] <SWPadnos> man stepgen
[20:35:57] <SWPadnos> you need step_type 1 for up/down pulses
[20:36:03] <i-pink> ok i am in
[20:36:52] <i-pink> ok
[20:36:56] <i-pink> i see it
[20:37:12] <i-pink> but how i am change it?
[20:37:45] <SWPadnos> if you are editing a stepconf-generated configuration file, then you will need to remove the line that says something like "addf parport.reset base"
[20:37:48] <i-pink> is tell me type 1 is up/down
[20:37:51] <SWPadnos> using a text editor
[20:37:58] <SWPadnos> yes, the manual says that
[20:37:58] <i-pink> ok
[20:38:10] <i-pink> but wher is the conf file??
[20:38:31] <SWPadnos> I don't know. you select it when you run EMC2
[20:39:12] <i-pink> i am select it??
[20:39:23] <SWPadnos> you may be best off starting with something like stepper/stepper_mm.ini (and the corresponding hal file)
[20:39:37] <SWPadnos> um. yes. when you run EMC2, you get a window where you can select from several configurations
[20:40:00] <SWPadnos> aren't you using a small netbook (a pink one :) ), which has no parallel port?
[20:40:43] <i-pink> no no, friend give me P3 with LPT
[20:40:49] <SWPadnos> oh, good
[20:41:34] <antichip> I am using an amd 3000 64 bit, my goal would be to build a rtia 64 bit patched kernal and rita emc2 cvs build. Does that sound right?
[20:42:00] <SWPadnos> yes, except that we use git instead of CVS now
[20:42:33] <SWPadnos> and you can download some experimental 64-bit (and SMP) kernel and EMC2 builds at http://www.linuxcnc.org/experimental/
[20:42:51] <i-pink> i cant find :)
[20:42:54] <i-pink> *:(
[20:43:12] <SWPadnos> i-pink, what do you see when you run emc?
[20:44:09] <i-pink> ?
[20:44:18] <i-pink> i see the desktop/
[20:44:45] <SWPadnos> so running emc doesn't actually run anything?
[20:44:50] <i-pink> one sec i install ssh server on my cnc computer
[20:45:35] <i-pink> ok
[20:45:46] <i-pink> i am in to my cnc computer
[20:46:01] <i-pink> go to?
[20:46:18] <SWPadnos> have you created an EMC configuration?
[20:46:22] <SWPadnos> ever
[20:46:45] <i-pink> yes
[20:47:01] <SWPadnos> ok. it's probably under your home directory
[20:47:10] <SWPadnos> somewhere like ~/emc2/configs/<something>
[20:47:36] <i-pink> ok
[20:47:52] <i-pink> i have this
[20:47:58] <i-pink> Sherline3Axis
[20:48:13] <i-pink> only this
[20:48:19] <SWPadnos> is that what you called it?
[20:48:30] <i-pink> core_stepper.hal README Sherline3Axis_mm.ini stepper.tbl stepper.var.bak
[20:48:30] <i-pink> emc.nml Sherline3Axis_inch.ini standard_pinout.hal stepper.var
[20:48:48] <i-pink> edit what?
[20:48:59] <SWPadnos> the files that end in .hal
[20:49:08] <SWPadnos> core_stepper.hal and standard_pinout.hal
[20:49:57] <SWPadnos> you will need to add the "step_type=" stuff to core_stepper.hal, and you will need to change the pin names from step and dir to up and down in standard_pinout.hal
[20:50:32] <i-pink> ok
[20:50:54] <i-pink> pne sec i upload the files in past bin
[20:51:29] <SWPadnos> you need to learn how to do this, so you should probably study the files a little before doing that :)
[20:51:55] <i-pink> http://paste.ubuntu.com/250520/
[20:52:41] <i-pink> this is the standard_pinout.hal
[20:53:08] <SWPadnos> ok
[20:53:32] <SWPadnos> you may want to change the names of those signals from Xstep/Xdir to Xup/Xdown, though it's not required
[20:54:07] <jymm> you know how in a cheap pencil soldering iron it's just a coil of resistance wire... any idea what the isulation between coils might be?
[20:54:37] <jymm> and... how n the hell do the coils of wire not short out?
[20:55:03] <i-pink> and this is the core_stepper.hal
[20:55:10] <i-pink> http://paste.ubuntu.com/250523/
[20:55:34] <renesis> jymm: are they wrapped around ceramic or something?
[20:55:54] <renesis> anyway, fuck coil of resistance wire soldering iron
[20:56:08] <jymm> renesis: from what I see, it's steel
[20:56:13] <renesis> hakko 907 ceramic stick element ftmfw
[20:56:21] <i-pink> i chaange this?
[20:56:23] <renesis> oh, that is weird
[20:56:27] <i-pink> loadrt stepgen step_type=0,0,0 ??
[20:56:31] <i-pink> to this
[20:56:34] <renesis> i wouldnt think wire enamel would hold up to like 800F
[20:56:40] <i-pink> loadrt stepgen step_type=1,1,1 ????
[20:56:57] <jymm> renesis: that's why I'm asking.
[20:57:10] <SWPadnos> i-pink, yes
[20:57:23] <i-pink> i work with hakko presto 981
[20:57:49] <renesis> it could be some resistive wire that forms an oxide layer
[20:57:56] <renesis> whats that
[20:57:59] <renesis> * renesis googles
[20:58:49] <renesis> http://etoolshop.co.kr/img/item/6m.jpg
[20:58:50] <renesis> ?
[20:58:57] <renesis> holy shit that is big yo
[20:59:03] <i-pink> and i edit this
[20:59:05] <i-pink> core HAL config file for steppers
[20:59:05] <i-pink> # first load the core RT modules that will be needed
[20:59:05] <i-pink> # kinematics
[20:59:05] <i-pink> loadrt trivkins
[20:59:05] <i-pink> # motion controller, get name and thread periods from ini file
[20:59:06] <i-pink> loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
[20:59:09] <i-pink> # stepper module, three step generators, all three using step/dir
[20:59:11] <i-pink> loadrt stepgen step_type=0,0,0
[20:59:13] <i-pink> # hook functions to base thread (high speed thread for step generation)
[20:59:15] <i-pink> addf stepgen.make-pulses base-thread
[20:59:17] <i-pink> # hook functions to servo thread
[20:59:20] <i-pink> addf stepgen.capture-position servo-thread
[20:59:23] <i-pink> addf motion-command-handler servo-thread
[20:59:25] <i-pink> addf motion-controller servo-thread
[20:59:27] <i-pink> addf stepgen.update-freq servo-thread
[20:59:29] <i-pink> # connect position commands from motion module to step generator
[20:59:31] <i-pink> net Xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd
[20:59:33] <i-pink> net Ypos-cmd axis.1.motor-pos-cmd => stepgen.1.position-cmd
[20:59:35] <i-pink> net Zpos-cmd axis.2.motor-pos-cmd => stepgen.2.position-cmd
[20:59:37] <i-pink> # connect position feedback from step generators
[20:59:39] <i-pink> # to motion module
[20:59:41] <i-pink> net Xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb
[20:59:43] <i-pink> net Ypos-fb stepgen.1.position-fb => axis.1.motor-pos-fb
[20:59:44] <jymm> i-pink: Dude, http://codepad.org
[20:59:45] <i-pink> net Zpos-fb stepgen.2.position-fb => axis.2.motor-pos-fb
[20:59:47] <i-pink> # connect enable signals for step generators
[20:59:49] <i-pink> net Xen axis.0.amp-enable-out => stepgen.0.enable
[20:59:53] <i-pink> net Yen axis.1.amp-enable-out => stepgen.1.enable
[20:59:55] <i-pink> net Zen axis.2.amp-enable-out => stepgen.2.enable
[20:59:57] <i-pink> # connect signals to step pulse generator outputs
[20:59:59] <i-pink> net Xstep <= stepgen.0.step
[21:00:01] <i-pink> net Xdir <= stepgen.0.dir
[21:00:03] <i-pink> net Ystep <= stepgen.1.step
[21:00:05] <i-pink> net Ydir <= stepgen.1.dir
[21:00:07] <i-pink> net Zstep <= stepgen.2.step
[21:00:09] <i-pink> net Zdir <= stepgen.2.dir
[21:00:11] <i-pink> # set stepgen module scaling - get values from ini file
[21:00:13] <i-pink> setp stepgen.0.position-scale [AXIS_0]SCALE
[21:00:15] <i-pink> setp stepgen.1.position-scale [AXIS_1]SCALE
[21:00:17] <i-pink> setp stepgen.2.position-scale [AXIS_2]SCALE
[21:00:19] <i-pink> # set stepgen module accel limits - get values from ini file
[21:00:23] <i-pink> setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
[21:00:25] <i-pink> setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
[21:00:27] <i-pink> setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL
[21:00:28] <jymm> i-pink: Dude, dont paste in here, use http://codepad.org instead
[21:00:29] <i-pink> OMG!!
[21:00:31] <i-pink> no!!
[21:00:33] <i-pink> is need to be only this
[21:00:35] <i-pink> # connect signals to step pulse generator outputs
[21:00:37] <i-pink> net Xup <= stepgen.0.step
[21:00:39] <i-pink> net Xdown <= stepgen.0.dir
[21:00:41] <i-pink> net Yup <= stepgen.1.step
[21:00:43] <i-pink> net Ydown <= stepgen.1.dir
[21:00:45] <i-pink> net Zup <= stepgen.2.step
[21:00:47] <i-pink> net Zdown <= stepgen.2.dir
[21:00:49] <i-pink> yes i see
[21:00:53] <i-pink> i know!
[21:01:05] <i-pink> i send tone of text
[21:01:23] <i-pink> i want to send only this
[21:01:30] <jymm> DONT PASTE
[21:01:36] <jymm> i-pink: Dude, dont paste in here, use http://codepad.org instead
[21:02:36] <i-pink> this is after edit
[21:02:39] <SWPadnos> i-pink, you also need to change the pin names. with step type 1, they're named up and down, not step and dir
[21:02:48] <SWPadnos> which is explained in the man page for stepgen
[21:02:59] <i-pink> http://paste.ubuntu.com/250526/
[21:03:31] <i-pink> ^^ this is from core_stepper.hal
[21:04:24] <i-pink> do you want i send all the file?
[21:05:46] <i-pink> this is complete core HAL config (after editing) http://paste.ubuntu.com/250529/
[21:05:54] <i-pink> is look ok?
[21:06:32] <SWPadnos> I think you may need quotes around the 1,1,1 for step_type: "1,1,1"
[21:06:39] <SWPadnos> but maybe not
[21:06:57] <SWPadnos> the rest of core_stepper looks good to me
[21:07:05] <jymm> SWPadnos: Maybe I'm stating the obvious, but you sound tired.
[21:07:12] <SWPadnos> thank you
[21:07:23] <jymm> sorry =(
[21:07:31] <SWPadnos> I am tired. so happy birthday to me
[21:07:38] <jymm> today?
[21:07:48] <SWPadnos> no biggie - I just keep waking up at 7:00 AM from stress
[21:07:50] <SWPadnos> yep
[21:08:00] <jymm> HAPPY BIRTHDAY !!!
[21:08:02] <jymm> HAPPY BIRTHDAY !!!
[21:08:03] <jymm> HAPPY BIRTHDAY !!!
[21:08:11] <SWPadnos> DON'T PASTE :)
[21:08:15] <i-pink> HAPPY BIRTHDAY SWPadnos !!
[21:08:26] <SWPadnos> thanks
[21:08:38] <i-pink> how many candels?
[21:08:40] <jymm> SWPadnos: I understand the no sleep thing, I haven't had more than 2hr per night.
[21:08:48] <SWPadnos> no cake for me
[21:08:59] <SWPadnos> but it would be 41 if I did have one
[21:09:24] <i-pink> 41 WOW!
[21:09:28] <SWPadnos> hmmm. strange. I have forgotten so much hebrew that I don't even know how to count
[21:09:30] <i-pink> i am 22
[21:09:33] <SWPadnos> heh
[21:10:10] <SWPadnos> I used to be able to count to 1000 (at least) in like 6 or 8 languages
[21:10:34] <SWPadnos> oh well
[21:10:36] <i-pink> is good!
[21:10:42] <SWPadnos> was :)
[21:10:55] <i-pink> i need to edit the standard_pinout.hal ??
[21:11:13] <SWPadnos> yes. the signals that are now called Xup / Xdown ... need to be changed there also
[21:11:20] <i-pink> i edit this
[21:11:22] <i-pink> # finally connect physical pins to the signals
[21:11:22] <i-pink> net Xup => parport.0.pin-03-out
[21:11:22] <i-pink> net Xdown => parport.0.pin-02-out
[21:11:22] <i-pink> net Yup => parport.0.pin-05-out
[21:11:22] <i-pink> net Ydown => parport.0.pin-04-out
[21:11:25] <i-pink> net Zup => parport.0.pin-07-out
[21:11:27] <i-pink> net Zdown => parport.0.pin-06-out
[21:11:29] <i-pink> only this..
[21:11:33] <i-pink> is ok?
[21:11:35] <SWPadnos> yes, I think so
[21:11:38] <antichip2> the older we get the more people expecet us to know and yet we know how much we'v forgot
[21:11:48] <SWPadnos> indeed
[21:11:56] <SWPadnos> like how to design a power supply
[21:11:58] <SWPadnos> :)
[21:12:06] <SWPadnos> which I think I'll get back to now - see you
[21:12:07] <i-pink> ok i save it
[21:12:19] <i-pink> and what next?
[21:12:21] <jymm> SWPadnos: Laters and go out to dinner tonight
[21:12:21] <antichip2> good day to you
[21:12:29] <i-pink> or only this?
[21:15:35] <tom3p> dmess: we have coax z & w, the cad dept uses NX6. i'm modeling the vismach now
[21:16:16] <tom3p> btw: when vismach blows up, its messy to get emc running again... bye bye
[21:16:54] <i-pink> SWPadnos, now the motor connect to the LPT
[21:17:09] <i-pink> and how i start to work?
[23:26:42] <tom1> tom1 is now known as tom3p