#emc | Logs for 2008-02-25

[00:00:09] <BigJohnT_> so the other way around from how I pictured it?
[00:01:07] <alex_joni> I'm not sure you're allowed to have HOME_OFFSET outside your working range
[00:01:09] <BigJohnT_> the experiance I got was joint 1 on limit switch error
[00:01:21] <alex_joni> try home_offset=0, home=-.025
[00:01:29] <alex_joni> -0.25
[00:02:03] <BigJohnT_> one moment
[00:02:54] <BigJohnT_> same experiance as before joint 1 on limit switch ie. it went the wrong way
[00:03:21] <alex_joni> hrmm.. prod jmkasunich ;)
[00:03:38] <BigJohnT_> -Y moves toward the switch and +Y moves away when jogging
[00:03:43] <jmkasunich> huh, wha? me?
[00:04:13] <alex_joni> BigJohnT_: then somethings set up in reverse
[00:04:41] <jmkasunich> get jogging directions working right before you even think about homing
[00:04:41] <alex_joni> can you describe the axis?
[00:04:52] <alex_joni> left far travel is -50, right far travel is 0
[00:04:59] <alex_joni> jog y- should move left
[00:05:06] <alex_joni> jog y+ should move right
[00:05:20] <BigJohnT_> this is Y so away from front is + and toward the front is -
[00:05:49] <jmkasunich> you are moving tool, not work, right?
[00:05:50] <alex_joni> ok.. so forwardmost is -50
[00:05:56] <BigJohnT_> yes
[00:06:00] <BigJohnT_> to both
[00:06:12] <alex_joni> and the switch is backward most?
[00:06:16] <BigJohnT_> yes
[00:06:52] <BigJohnT_> jmkasunich: I am moving in the correct direction for Y yes?
[00:06:54] <alex_joni> so jog y- is moving to front?
[00:06:59] <BigJohnT_> yes
[00:07:14] <alex_joni> 01:59 < BigJohnT_> -Y moves toward the switch and +Y moves away when jogging
[00:07:28] <BigJohnT_> crap
[00:07:40] <BigJohnT_> that was backwards
[00:07:50] <jmkasunich> -y is close to you, +y is away, where is the switch? near or far?
[00:07:57] <BigJohnT_> far
[00:08:03] <jmkasunich> ok, so that means its plus
[00:08:08] <jmkasunich> search vel must be +
[00:08:12] <BigJohnT_> it is
[00:08:18] <alex_joni> and latch vel is +
[00:08:21] <jmkasunich> latch vel can be - or +, your choice
[00:08:24] <BigJohnT_> it is
[00:08:32] <BigJohnT_> it is +
[00:08:36] <jmkasunich> what are your limits?
[00:08:39] <jmkasunich> your choices are:
[00:08:45] <jmkasunich> +50 far from you, and zero near
[00:08:47] <BigJohnT_> min -50
[00:08:57] <BigJohnT_> max .25
[00:09:10] <jmkasunich> ok, -50 is near you, far away is +0.25
[00:09:16] <BigJohnT_> yes
[00:09:17] <jmkasunich> is the switch location supposed to be 0?
[00:09:38] <BigJohnT_> the home offset is 0.25
[00:09:42] <jmkasunich> is the switch location supposed to be 0?
[00:09:54] <BigJohnT_> no it would be .25
[00:10:04] <jmkasunich> ok, so that is a limit switch as well as a home?
[00:10:10] <BigJohnT_> yes
[00:10:16] <jmkasunich> ok
[00:10:20] <alex_joni> min = -50
[00:10:25] <alex_joni> max = .25
[00:10:33] <alex_joni> home_offset = .25
[00:10:35] <alex_joni> home = 0
[00:10:38] <jmkasunich> right
[00:10:42] <BigJohnT_> that is what I have
[00:10:44] <alex_joni> latch and search vel = +
[00:10:51] <BigJohnT_> yes
[00:11:09] <jmkasunich> that should work - goes away from you, hits switch, backs off, goes to switch slower, hits it again, then rapids back 1/4" and stops
[00:11:28] <alex_joni> are you sure that it's off the switch at 0.25 - 1/4" ?
[00:11:46] <jmkasunich> you'll need to have IGNORE_LIMITS set, since your switch is not inside the limits
[00:12:32] <BigJohnT_> jmkasunich: let me check that
[00:12:33] <alex_joni> and you have to home one at a time
[00:13:35] <BigJohnT_> home ignore limits = yes, but even though I only seleced on axis with a home switch home_sequence= 2
[00:14:06] <alex_joni> BigJohnT_: if you only home Y, it shouldn't matter
[00:14:17] <alex_joni> (the home_sequence is when you hit home-all)
[00:14:39] <BigJohnT_> ok, I'm just using a stepconf generated one at the moment
[00:16:05] <BigJohnT_> I commented it out and it didn't not make a difference
[00:16:41] <alex_joni> so it did make a difference?
[00:16:49] <jmkasunich> didn't not ;-)
[00:16:57] <alex_joni> * alex_joni grins
[00:17:35] <BigJohnT_> did not, fingers faster than brain today LOL
[00:19:11] <rayh> I used a 0.25 back move on the Smithy machines. Works fine with both prox and microswitches.
[00:21:21] <BigJohnT_> rayh: the switch seems to work well... http://i47.photobucket.com/albums/f163/johnplctech/Plasma%20Cutter/Plasma006.jpg
[00:22:17] <alex_joni> well.. I really gotta sleep
[00:22:21] <alex_joni> work tomorrow.. :/
[00:22:24] <jmkasunich> goodnight
[00:22:25] <BigJohnT_> good night alex
[00:29:11] <rayh> Got a look at this in the latest portable mag. http://www.versalogic.com/Products/DS.asp?ProductID=187
[00:29:35] <rayh> I'll have to call em and see about price.
[00:34:27] <BigJohnT_> jmkasunich: I was stalling my stepper out but didn't see it till I increased the distance. I put a lower power resistor in just to test and it bites me on the ass
[00:38:24] <BigJohnT_> so until I can get by the resistor store I'll have to set my MAX_ACCELERATION way down to 100
[00:38:46] <BigJohnT_> sorry about the wild goose chase
[01:51:04] <steve_stallings> steve_stallings is now known as steves_logging
[04:31:40] <tomp> on the Axis gui, the axis are labeled 0, 1 , 2, ... On some controls this is the way the control thinks, but there is a file or params to equate 0=A 1=Z 2=B whatever the integrator likes
[04:33:36] <cradek> no, the joints are numbered; axes have letter names like you say
[04:33:40] <fenn> tomp: the axes will be 0,1,2 if you are in joint mode
[04:33:54] <fenn> for trivial kinematics you should never see 0,1,2
[04:34:12] <tomp> hmm, i thought i set trivkins
[04:35:30] <tomp> frnn: u right, i got 5axiskins :) (hey thats hard to say!)
[04:35:35] <tomp> fenn
[04:38:05] <tomp> workin on this 'fixed bed' visualization http://imagebin.org/14309, it moves now
[04:38:41] <fenn> before it had a cylinder under the head - where'd that go?
[04:39:50] <fenn> vismach is fun
[04:45:04] <tomp> fenn: the cyclinder was an A axis for an odd job, i had probs with it, so removed it to get the damn thing to move
[04:46:38] <tomp> wicked the vismach is doing circlular interp now, you guys rule!
[04:47:31] <tomp> i gotta figure out that vnc server stuff so i can capture gl movies
[04:49:01] <tomp> hah, when i was joining the assemblies together, i ended up with the X saddle and had to put it on the big pedestal , so it's the 'horse' of course
[04:52:33] <tomp> and G17 18 19 loop d loops wheeee
[04:58:28] <fenn> tomp: i havent tried it but pointing LD_LIBRARY_PATH to libmesa should work with xvidcap
[04:58:44] <tomp> it seems too ignore G19 circular interp ( F100 , G91, G2 Y0 Z0 J0 K50)
[04:58:55] <tomp> fenn: yeh i should try that thx
[04:59:10] <tomp> try that ( giddy form the vismach stuff )
[05:00:09] <tomp> does G19 work? emc2 doesnt complain but doesnt move, run from terminal & no info printed
[05:01:49] <fenn> gah that damn emc1 handbook always shows up first in google results
[05:03:32] <fenn> grumble dee dum
[05:05:41] <fenn> g19 works for me (it goes out of bounds though and emc doesnt complain
[05:08:04] <fenn> http://fennetic.net/pub/irc/g19-bounds.png
[05:08:15] <tomp> g2 Y Z J K ? could you try G91, G2 Y0 Z0 J0 K1? Should be in bounds with any luck, should be a full circle
[05:09:05] <tomp> no need, i see your's works
[05:09:13] <tomp> wtf?
[05:13:30] <fenn> hmm if i just try to do a g17 arc it doesn't move
[05:15:25] <fenn> hurr how do i get "issuing circular move (blah blah blah)"
[05:16:21] <fenn> oh it never gets that far
[05:16:28] <fenn> just this: Issuing EMC_TASK_PLAN_EXECUTE -- (+509,+268, +19,g2\032y0\032z0\032j0\032i5,)
[05:16:32] <fenn> emcTaskPlanExecute(g2 y0 z0 j0 i5) returned 0
[05:18:06] <tomp> i got mine to move,,, i kept trying g91 and no luck, then tried g90, it worked, then said aha, then tried g91 again, it still worked & i said huh?
[05:18:19] <fenn> i wonder if this bug depends on a certain range of values for 'small'
[05:18:43] <tomp> my radii have been big, 100 200 50 units
[05:18:58] <fenn> my position.txt shows: 5.00000000979206050 0.00000002735994009 0.00000000164264760
[05:19:36] <tomp> totally unaware of position.txt
[05:20:35] <tomp> gonna restart emc to see reproducabillity
[05:20:50] <fenn> its in the same dir as your config file
[05:26:09] <tomp> in ~/emc2-trunk/configs/4from4gui i have no position.txt , and do have .ini .var .hal ,tbl & emc.nml .and btw, well, G19 works outta the box now
[05:27:17] <tomp> fenn: thx I gotta crash, goin on midnite & i haven't stood up all day , bye 4 now
[05:29:45] <toastydeath> blammo
[05:32:02] <fenn> someone send a fire truck
[05:36:09] <fenn> nope it wasnt the position file..
[05:43:20] <fenn> hard time reproducing this bug
[11:37:40] <mumu> hello
[11:40:06] <mumu> I am interested in pid controll. What is the maximum output pwm frequency and maximum input encoder frequency?
[12:19:54] <BigJohnT_> alex_joni: you around?
[12:22:56] <alex_joni> yup
[12:22:58] <alex_joni> barely
[12:24:24] <BigJohnT_> interesting thing about last nights "problem" is with the reduced current on my new drive (I didn't have the proper resistor on hand) It would do a G0 without stalling but would not come off the home switch
[12:24:31] <BigJohnT_> make any sense?
[12:25:18] <BigJohnT_> once I slowed the acceleration down to 1/3 of what it was it would move off the home switch as I expected...
[12:33:39] <mumu> Does anybody know what is the maximum output pwm frequency and maximum input encoder frequency?
[12:34:48] <BigJohnT_> I think that depends on the latency of your computer...
[12:36:28] <alex_joni> mumu: usually with a parport control you can get 30-50kHz max if you're lucky
[12:36:46] <alex_joni> but if you use special hardware, then you can go up to 100-200kHz at least
[12:37:05] <alex_joni> although PWM doesn't make sense at more than 100kHz afaik
[12:50:38] <mumu> would it be possible to move the pid component (or others) to external hardvare (fpga). How can i solve the data exchange in this case (all component signals are float type)?
[12:52:39] <alex_joni> mumu: how fast PID do you need?
[12:54:51] <mumu> i would like to controll galvos (dont actualy know how fast it should be). What speed is emc capable of?
[13:07:42] <alex_joni> galvos?
[13:08:01] <alex_joni> mumu: regular emc2 applications involve 1-2kHz servo period
[13:09:40] <JymmmEMC> howdy alex_joni
[13:10:30] <eric_U> galvos = hydraulic servo valves?
[13:11:09] <JymmmEMC> eric_U: electro-magnetic
[13:11:27] <alex_joni> for laser usually.. of I read the web right
[13:11:30] <alex_joni> howdy JymmmEMC
[13:11:37] <alex_joni>
[13:12:19] <JymmmEMC> http://en.wikipedia.org/wiki/Galvanometer
[13:15:08] <mumu> galvo=gavanometer...used to controll mirrors for laser show
[13:18:47] <JymmmEMC> eric_U: You remember the old voltmeters with a needle on them?
[13:19:51] <JymmmEMC> eric_U: Just replace the needle with a mirror and that's basically what a galvo is
[13:20:34] <eric_U> actually, it is the same as a hydraulic servo valve
[13:21:32] <eric_U> just missing all the oil all over the floor
[13:22:40] <anonimasu_> eric_U: :)
[13:22:58] <JymmmEMC> alex_joni: I'm just not seeming how they're getting two axises from those photos
[13:24:07] <archivist> ones output sin
[13:24:28] <archivist> ones output points at second at right angles
[13:24:28] <JymmmEMC> ?
[13:24:48] <alex_joni>
[13:24:50] <archivist> pressed return early
[13:25:08] <alex_joni> JymmmEMC: 2 "motors", each with a mirror
[13:25:23] <alex_joni>
[13:25:29] <JymmmEMC> alex_joni: I saw that one, but the nicer looking ones below that
[13:25:30] <alex_joni> slightly better pic
[13:26:38] <anonimasu_> jepler: you have two galvos..
[13:26:39] <anonimasu_> with mirrors..
[13:26:40] <JymmmEMC> alex_joni: I'm still not seeing how... that last pic looks like it's attached to the mirror in both axis which wouldn't move at all
[13:26:43] <anonimasu_> one for x and one for y..
[13:27:03] <anonimasu_> one that swings in the X axis and one that swings in the Y axis..
[13:28:04] <anonimasu_> JymmmEMC: get that?
[13:28:44] <JymmmEMC> anonimasu I get it, but I'm not seeing it in any of the nicer photos on that page
[13:29:07] <JymmmEMC> ok, off to work... laters.
[13:29:40] <anonimasu_> there are comercial ones that are really really cute
[13:29:40] <anonimasu_> :)
[14:36:22] <tomp> ebay "SCANPRO30, 30k Scanner Galvo Laser Show DPSS Argon" laser, 2 amps, 2 galvos, draw pix on wall by redirecting with galvos, capable of scanning the ILDA test pattern at and above 30kpps.
[14:36:23] <tomp> manual ==> http://www.lasershowparts.com/files/Manuals/SCANPRO/SCANPRO30_40.pdf
[14:42:48] <tomp> this paper shows an analog feedback and twin analog drive signal per galvo http://ocw.mit.edu/NR/rdonlyres/65B85BDA-91B7-4975-AD7D-9A18CEE17358/0/scanner06.pdf
[14:47:33] <alex_joni> bbl
[14:50:23] <tomp> Norms Homade Laser show... some l298's? for running galvos? it would be cool for an emc controlled galvo, but 15 to 30k steps/sec is pretty fast, dunno if angle feedback is just to hardware or back to control computer
[14:55:28] <tomp> same site has a series of pix of a 'bundt pan' mold, wire frame but clipped, animating it with g-thumb shows a pretty nice display of 'cad'. hmm, a wall projected cnc display?
[16:23:36] <micges> hello
[16:32:07] <BigJohnT> * BigJohnT is caught up to last Friday, got all the bills paid...
[16:46:00] <BigJohnT> micges: you get your park button figured out?
[16:54:26] <micges> not yet,
[16:54:47] <micges> so little time..
[16:57:55] <BigJohnT> I know what you mean
[17:04:45] <micges> BigJohnT: I have already park button but want do this more oficcally :)
[17:18:06] <BigJohnT> what do you mean?
[17:19:30] <BigJohnT> btw it is spelled officially
[17:20:59] <micges> :P
[17:21:45] <micges> I have modified axis so I have park button
[17:22:25] <micges> but Its done quick'n'dirty
[17:22:44] <micges> in MDI
[17:25:43] <micges> and when interpreter behave different in newest versions of EMC
[17:25:54] <micges> my moves also behave different
[17:26:03] <BigJohnT> that's not good
[17:27:38] <micges> so I search better way
[17:31:50] <BigJohnT> did you look into the pyVCP and Hal way?
[17:53:28] <micges> I dont understand pyvcp way
[17:53:41] <micges> and I newer think of hal way
[18:03:37] <BigJohnT> the pyvcp will make a control panel for you that you can have extra buttons etc
[18:04:26] <BigJohnT> lots of good info here http://www.linuxcnc.org/docview/html//hal_vcp.html
[18:04:54] <BigJohnT> then you can link a button on your pyvcp to a hal component
[18:11:24] <micges> I see
[18:12:47] <micges> thanks
[18:13:33] <BigJohnT> cool
[18:17:58] <micges> bbl
[18:46:03] <findux> hello. how to do dxf to g code
[18:49:26] <rayh> You need a CAM program.
[18:50:39] <rayh> to read the dxf, as questions about tools, material and create the gcode.
[18:50:48] <rayh> ask
[19:06:50] <findux> i want to do dxf to g code in ubuntu like to (image to gcode). image to gcode program inculded in ubuntu life cd
[23:27:51] <alex_joni> g'night all
[23:32:04] <fenn> anyone wanna live in a giant snail? http://dvice.com/archives/2008/02/fantastic_nauti.php
[23:38:51] <SkinnypuppY34> Fenn thats interesting to say the least. I like the stained glass wall http://dvice.com/galleries/nautilushouse/nautilus4.jpg
[23:41:19] <fenn> i'd like to see the look on the zoning board's faces when they see the cad drawings
[23:42:06] <fenn> though i suppose technically it could be a greenhouse
[23:44:41] <SkinnypuppY34> Here's a crazy little place to the northeast of myself.
[23:44:42] <SkinnypuppY34> http://www.pasaquan.com
[23:48:38] <fenn> reminds me of a tibetan putt putt course
[23:50:33] <SkinnypuppY34> Yeah it was a bit ecclectic for me but neat since it is in my state.