#emc | Logs for 2010-12-20

[00:04:02] <theorb> theorb is now known as theorbtwo
[01:56:04] <skunkworks> well - If I can get it running - I now have a 5.2kw generator.
[01:58:37] <skunkworks> continuous
[02:04:58] <Jymmm> clean or dirty power?
[02:05:24] <skunkworks> ?
[02:05:27] <skunkworks> gas?
[02:05:35] <Jymmm> inverter or alternator
[02:05:51] <skunkworks> alternator
[02:06:01] <Jymmm> ok, so dirty power =)
[02:06:13] <skunkworks> what powers the inverter?
[02:06:13] <Jymmm> not good for electronics
[02:06:29] <Jymmm> the motor
[02:06:56] <skunkworks> Jymmm: please. It is ac generated pretty close to the same way the power company does.
[02:07:01] <Jymmm> skunkworks: example: http://www.hondapowerequipment.com/products/modeldetail.aspx?page=modeldetail&section=P2GG&modelname=EU2000i&modelid=EU2000IAN
[02:07:25] <Jymmm> That one ues inverter so it's a nice sinewave
[02:09:01] <Jymmm> skunkworks: This one does not http://www.hondapowerequipment.com/products/modeldetail.aspx?page=modeldetail&section=P2GG&modelname=EG3500&modelid=EG3500XK1A
[02:09:15] <Jymmm> But it's good for power tools and such
[02:11:12] <skunkworks> this is a normal 3600 rpm generator that makes a sin wave like your grandfather used to make.
[02:12:06] <Jymmm> Bet you it's probably a modified saw tooth wave
[02:13:05] <skunkworks> doubt it
[02:13:28] <skunkworks> :)
[02:14:44] <skunkworks> heh - a picture of a similar one
[02:14:47] <skunkworks> http://www.laptop-junction.com/toast/sites/default/files/Generac-NP-52G-rv-generator-4.3Kw.jpg
[02:20:40] <Valen> inverters will generally give a poorer output than a decent generator/altenator
[02:20:51] <Valen> its expensive to give a good sinewave in silicon
[02:23:12] <Valen> until you start overloading the thing
[04:05:46] <droid> droid is now known as Guest60951
[08:18:56] <psha> mhaberler: hi
[08:19:51] <psha> have you added manpage to git?
[13:47:54] <Albert_N3> i got "RTAI:ERROR: unexpected realtime delay on task1 this message will nonly display once persesion" what i do wong?
[13:48:49] <Albert_N3> when i click play button ...but g-code was running
[13:49:19] <Albert_N3> im using gecko stepper
[14:00:23] <theorb> theorb is now known as theorbtwo
[14:02:11] <Duckie> hi
[14:02:11] <the_wench> hello Duckie, you have a question?
[14:02:20] <Duckie> yes :)
[14:03:02] <Duckie> how config a sensor in the hal file (detect true or false)
[14:55:38] <Duckie> hallo?
[15:04:57] <mikeggg> you need to ask a more specific question
[15:10:35] <Duckie> i got a sensor that must detect if the cylindre is there or not (true or false).
[15:11:53] <Duckie> how configure this in a hall file from emc. (then it show on the right on the panel a led -> on or off)
[15:12:38] <mikeggg> look at one of the example pyVCP (python virtual control panel) examples
[15:14:39] <Duckie> where ? link?
[15:15:15] <mikeggg> www.linuxcnc.org
[15:17:46] <Duckie> you mean this http://linuxcnc.org/docs/html/hal_pyvcp_examples.html?
[15:18:53] <mikeggg> yeah, that's one of them. there are a few others on the website
[15:50:05] <Duckie> i create the pyVCP for my pin01 (Magneto sensor), but it detect nothing
[15:52:35] <cradek_> cradek_ is now known as cradek
[15:54:07] <mikeggg> watch the pin in hal configuration first to make sure you have the right input
[15:57:42] <Connor> anyone in here have the Super-PID
[15:57:57] <cradek> what
[15:58:36] <mikeggg> i want it
[16:01:24] <kgartner> what's a super-PID?
[16:02:31] <psha> simple way to intrigate whole channel :)
[16:03:30] <atmega> I want a small mill, and a rEvo
[16:03:35] <atmega> and world peace, maybe.
[16:04:04] <psha> atmega: but first - small mill? :)
[16:04:04] <Connor> Speed controller for routers..
[16:04:15] <atmega> that's easy, just buy one
[16:04:28] <Connor> I just trying to figure out the components on the AC side.
[16:04:37] <Connor> Need part #'s of the optos
[16:05:18] <psha> btw what's cost of parts for small simple mill?
[16:06:00] <atmega> dunno about parts, but assembled and shipped is $950us :)
[16:06:17] <psha> heh, it's 3 of mine month salaries :)
[16:06:39] <atmega> hmm... I'd say you are vastly underpaid :(
[16:07:20] <psha> heh, working in science here is equivalent to have extra small salary
[16:56:25] <Albert_N3> i got: RTAI:ERROR: unexpected realtime delay task 1
[16:59:09] <Albert_N3> f iuse LPT1 with gecko stepper, what setting should i choose on configurator selector?
[16:59:19] <Albert_N3> the one with step-dir
[16:59:36] <Albert_N3> is it stepper-mm ?
[17:18:50] <Albert_N3> never mind.. ill look again.
[19:33:01] <mhaberler> JT-D510: anything I can do wrt documentation?
[19:46:38] <skunkworks> http://www.youtube.com/watch?v=0I025iSr5jU
[19:47:55] <andypugh> That's quicker than ost I have seen
[19:49:22] <skunkworks> http://www.youtube.com/watch?v=VmjhUvA3YLE
[20:03:11] <mikeggg> that's pretty neat, did you make the nozzle?
[20:18:30] <motioncontrol> good evening.the limit2 and limit3 and mux2 component not can load on base-thread ?
[20:20:45] <cradek> motioncontrol: in the man page for a component, if it says "uses floating point", you cannot load it in the base thread. the base thread does not provide floating point.
[20:21:43] <motioncontrol> ahh ok i load it on servo-therad because have error limi2 no fp on base-thread
[20:21:49] <cradek> yes
[20:21:59] <andypugh> I posted a bit-mode mux2 (well, actually a mutli-pole crossover switch, but functionally similar) to the mailing list last week which works with bits and runs in the base thread.
[20:22:41] <motioncontrol> cradek, yes i have modified a mux2 float in mux2bit and compile it, fuction good
[20:23:37] <motioncontrol> for base call how can modified ?
[20:24:56] <andypugh> motioncontrol: This might do what you want: http://thread.gmane.org/gmane.linux.distributions.emc.devel/3744/focus=3757
[20:27:33] <andypugh> motioncontrol: You might need to add the "nofp" switch to your comp (and to mine too, I suspect)
[20:27:35] <andypugh> http://linuxcnc.org/docs/html/hal_comp.html
[20:28:52] <motioncontrol> andypugh, the float not can add at base-therad
[20:29:36] <motioncontrol> andypugh, how can dowload the mux in base-therad ?
[20:29:53] <andypugh> What signals do you want to mux?
[20:30:51] <andypugh> As long as all your variables and pins are integer or bit, and you have the "nofp" option in the comp file (before the ;;) then it should be base-thread compatible
[20:31:03] <motioncontrol> andypugh, float
[20:31:08] <andypugh> Tough
[20:31:29] <andypugh> You just can't do anything with floats in the base thread
[20:31:48] <andypugh> Can you rework things to use ints instead?
[20:32:08] <motioncontrol> no bacause on mux have analog out
[20:32:16] <motioncontrol> the question is:
[20:33:24] <motioncontrol> if i have motion control on servo-thread, the mux component switch the analog on servo-thread have the some velocity refresh is good or the mux will more fast for a fast refresh ?
[20:36:36] <andypugh> What do you have in the base thread?
[20:37:08] <motioncontrol> only jog-wheel base count
[20:37:17] <andypugh> If it's a PWM then I suspect that the PWM would not even work if it's input value was changing every base-thread.
[20:37:19] <cradek> what do you want to read the output of the mux?
[20:39:14] <motioncontrol> i want pass : axis.0.motor-pos-cmd
[20:39:21] <motioncontrol> on mux2
[20:39:43] <andypugh> To?
[20:40:03] <cradek> that is an output of the motion controller, so it only changes when the servo thread runs
[20:40:05] <motioncontrol> i have pwm on servo-therad
[20:40:12] <andypugh> motor.-pos-cmd only changes every servo thread too...
[20:40:28] <motioncontrol> ok
[20:40:55] <motioncontrol> now if pass it on mux2 componet
[20:41:08] <andypugh> You need the PWM make-pulses in the base thread, and do-calcs in the servo thread. (I might have guessed those function names wrongly)
[20:41:16] <motioncontrol> mux2 componenet is on servo-therad is good ?
[20:41:59] <motioncontrol> no i have pwm on servo, canghe it on base ?
[20:42:43] <motioncontrol> i use mesa card on analog no stepper
[20:43:40] <andypugh> The make-pulses function needs to be in the base thread. the update function needs to be in the servo thread.
[20:44:04] <cradek> you probably have no use for base thread at all then
[20:44:15] <andypugh> Ah, in that case, yes, that's fine. The Mesa card has its own implicit base thread.
[20:44:39] <motioncontrol> i have :addf hm2_5i20.0.read servo-thread
[20:44:39] <motioncontrol> addf hm2_5i20.1.read servo-thread
[20:44:39] <motioncontrol> addf motion-command-handler servo-thread
[20:44:39] <motioncontrol> addf motion-controller servo-thread
[20:44:39] <motioncontrol> addf pid.0.do-pid-calcs servo-thread
[20:44:40] <motioncontrol> addf pid.1.do-pid-calcs servo-thread
[20:44:42] <motioncontrol> addf pid.2.do-pid-calcs servo-thread
[20:44:44] <motioncontrol> addf pid.3.do-pid-calcs servo-thread
[20:44:46] <motioncontrol> addf hm2_5i20.0.write servo-thread
[20:44:48] <motioncontrol> addf hm2_5i20.1.write servo-thread
[20:44:50] <motioncontrol> addf hm2_5i20.0.pet_watchdog servo-thread #enable if fw supported
[20:44:52] <motioncontrol> addf hm2_5i20.1.pet_watchdog servo-thread
[20:45:27] <motioncontrol> i change all in base ?
[20:45:31] <andypugh> Yes, that's fine. With a Mesa card you can actually delete the base thread.
[20:46:06] <motioncontrol> one moment , is correct on servo or base ?
[20:46:14] <andypugh> servo
[20:46:31] <motioncontrol> good
[20:46:35] <andypugh> ignore the base thread, expunge it from your mind, cast it aside and ponder it no more.
[20:47:25] <motioncontrol> i have on base only jog wheel encoder component
[20:48:38] <andypugh> Why not have the encoder on a Mesa encoder component?
[20:49:16] <motioncontrol> because the channel are full
[20:49:26] <andypugh> Ah, good enough reason.
[20:50:21] <andypugh> Then put "update-counters" in the base thread and "capture-position" in the servo thread.
[20:50:24] <motioncontrol> now if i use a mux on servo and update analog on it is good , because all component , all system refresh the some frequency ?
[20:50:31] <andypugh> Yes.
[20:51:02] <motioncontrol> good thanks andypugh and cradek
[21:44:55] <Duckie> how configure a sensor (for detect cylinder) in stepsconfig and hal
[21:45:44] <andypugh> You can't really do it in stepconf
[21:45:53] <Duckie> for the steps wizard must i use "amplifier enable" for the sensor or digital output...
[21:46:04] <Duckie> ah
[21:46:28] <Duckie> how then, my sensor use pin01
[21:46:40] <andypugh> stepconf is just to get people with simple setups going, really. Once you get onto more advanced stuff you will need to edit the hal file directly.
[21:49:00] <andypugh> Duckie: http://www.linuxcnc.org/docview/html/hal_basic_hal.html
[21:49:11] <andypugh> Should make the HAL file clearer to you
[21:50:22] <andypugh> Then all the HAL functions are listed under "Realtime components and kernel modules" here: http://www.linuxcnc.org/docview/html/
[21:53:05] <Duckie> ah, i place this in my hal file net sensorcyl => parport.0.pin-01-out
[21:53:23] <Duckie> but it give me "false" always
[21:53:39] <Duckie> (use halmeter)
[21:54:42] <awallin> some 3d printing tests today
[21:54:44] <awallin> http://www.youtube.com/watch?v=0I025iSr5jU
[21:55:01] <awallin> and this: http://www.youtube.com/watch?v=VmjhUvA3YLE
[21:58:05] <cradek> those massive gears are mesmerizing
[21:59:48] <andypugh> Very pretty, if a little ostentatious.
[22:00:25] <awallin> :)
[22:00:51] <awallin> gear sizes were probably from some reprap build-guide.
[22:00:58] <skunkworks> andypugh: nice work
[22:01:00] <skunkworks> !
[22:01:10] <skunkworks> well - you too!
[22:01:14] <skunkworks> awallin: nice work!
[22:01:58] <andypugh> Is that bed plate the size of the machine? It looks like you could 3D-print canoes.
[22:02:38] <awallin> the xyz table is an old Isel table. I think the xy area is A3 paper size (600x400mm or similar)
[22:02:44] <awallin> only 90mm z-travel
[22:02:59] <andypugh> Canoes for hamsters then.
[22:03:09] <skunkworks> awallin: are you happy with it so far?
[22:03:42] <Connor> awallin: nice. That all EMC?
[22:03:44] <awallin> with the extruder we are still just learning how to print things nicely
[22:04:01] <Connor> What do you have controlling the extruder Axis ?
[22:04:04] <awallin> Connor: yes, temp-control and extruder control were added to the standard parport/stepper config
[22:04:25] <Connor> NICE gears.
[22:04:25] <awallin> there is a stepper drive which takes step/dir signals that drives the extruder stepper motor
[22:04:53] <awallin> andypugh: here's that same Isel xyz router table in 2006: http://www.anderswallin.net/2006/04/the-new-deck-takes-shape/
[22:05:07] <Connor> You doing 5D with it? or just turning the extruder on/off at a set RPM ?
[22:05:42] <awallin> it is configured as the A-axis in emc, so to emc I guess it looks like a 4D machine
[22:05:59] <awallin> the temp-control is not an axis/joint, it's just a separate PID loop in HAL
[22:06:25] <Connor> Not in that regard.. 5D means XYZ + Extruder + acceleration
[22:06:48] <awallin> to me 5D is a camera made by canon, but OK...
[22:07:05] <awallin> yes there is acceleration control on the A-axis
[22:07:08] <Connor> Yea.. strange crap coming from the printer community.
[22:07:19] <Connor> cool so the A axis Ramps up down as does XYZ
[22:07:48] <Connor> What STL-->Gcode program you using? Skeinforge, ReppSanpper etc??
[22:07:53] <awallin> yes, now the accelerations are set quite high so it's not visible/hearable
[22:08:15] <awallin> these tests were hand-programmed, I haven't had time to look at STL->gcode
[22:08:40] <awallin> If I get inspired I might do something with opencamlib, but it will have to wait until January or later
[22:09:32] <Connor> AHH. Okay. That was my roadblock.. Their is something called Ooze Bane in one of them (SF I think) that reverses the Extruder stepper for a 2nd then stops it so you can move to print a different area so it doesn't leave a stray thread.. that's really nice to have
[22:10:11] <Connor> Be sure you post up you hal setup for the axis and pid stuff.. I'll be getting mine up and printing pretty soon.
[22:10:28] <Connor> BTW, Nice gears on the extruder.
[22:10:46] <awallin> the gears are courtesy of our in-house workshop, I can't take credit for them :)
[22:11:02] <Connor> You using ABS or PLA ?
[22:11:12] <Connor> still, really nice looking.
[22:11:13] <awallin> this is ABS
[22:11:23] <Connor> 3 or 1.75mm?
[22:11:28] <awallin> 3mm
[22:11:39] <Connor> I've got both in ABS and 3mm in PLA.
[22:11:52] <Connor> along with a geared stepper extruder from makergear.
[22:12:03] <awallin> I think the extruder head is 0.5mm, not sure, the head was bought from a shop selling reprap stuff
[22:12:16] <Connor> reprap-parts.com ?
[22:12:21] <Connor> you in UK ?
[22:12:38] <awallin> land of nokia and linux, finland...
[22:12:53] <awallin> and snow.
[22:12:54] <Connor> Ah. okay. still, on the other side of the pond from me.
[22:13:15] <Connor> Heating build platform for ABS...
[22:13:19] <Connor> when doing larger parts..
[22:13:49] <awallin> we have a Veller heat-plate for soldering smd-parts. I think we are going to try that.
[22:14:05] <Connor> you only need around 40-50c
[22:14:19] <awallin> similar to this: http://www.soldertechnic.com/weller_accessory/image005.jpg
[22:14:36] <awallin> ok, I just heard 100c from somewhere
[22:15:36] <Connor> Maybe the Heat platform needs to be hotter.. dunno.. people saying 40-50c for enclosed unit..
[22:15:51] <Connor> high tall was each layer?
[22:16:08] <awallin> we moved 0.5mm up for each layer
[22:16:39] <Connor> okay.
[22:16:44] <awallin> I think the extruder nozzle is 0.5mm but the plastic gets plattened to something wider (0.7mm?) in these tests
[22:16:49] <Connor> you can play with different heights for that.
[22:16:55] <Connor> should be around .58mm.
[22:17:01] <Connor> http://www.makergear.com/products/nozzles
[22:31:02] <droid> droid is now known as Guest89700
[22:37:30] <Jymmm> WTF http://www.cnn.com/video/#/video/us/2010/02/17/tsr.cafferty.tsa.cnn
[22:45:51] <awallin> I cheated a bit, those were not the real first 3d prints. here's the very first one: http://www.youtube.com/watch?v=_oKpUVGw3yw
[23:20:52] <JT-Shop> Connor: you get the bushings?