theorb is now known as theorbtwo
has anyone use the ddm-tech.com servos with EMC2?
Not that I know of, though I have frequently looked at the site.
I seem to recall some debate about whether there is an encoder output usable by emc2
They have absolute encoders (is that a problem for EMC?) but I don't know if they have output that EMC can use....
EMC2 would need feedback of some sort to close the positioning loop.
They show db-9 connectors from the motor encoder...
[00:42:30] <andypugh> http://www.dmm-tech.com/Files/Dyn2-spec.pdf
So this drive is closing the servo loop, yes? EMC could still control it, but wouldn't get position feedback?
drive it as a stepper perhaps?
It might be worth contacting them. That spec sheet shows a bunch of serial comms and a PWM.
What specifically would I ask them? is there an encoder output? Can I drive it with an outboard PWM? ?
PWM + direction
You don't necessarily mind driving it with step and direction, but emc2 needs to know where it is. So you need either a quadrature encoder output, or some form of serial data that EMC2 can use.
Why does it need to be quadrature output? Why can't EMC use the absolute position?
if you are driving it with step and direction EMC doesn't need to know anything about it
just drive it like a stepper
just need some kind of home output
ries_ is now known as ries
cradek: do you have one of these? http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,10/id,5049/lang,english/#5055
maxnc has made machines for 20 years - they have changed drives a lot
asking someone else with a maxnc what kind of drives you have is not a useful tactic IMO
I see, I didn't have a clue about maxnc
my original drivers were shittastic phase drive
they also had step/dir drives and proprietary "as good as servos! honest!" drives
sounds like time for a hammer
their proprietary scheme had encoders - I have no idea what it was
[13:20:54] <cradek> http://groups.yahoo.com/group/mach1mach2cnc/message/29842
yeah, looks weird - no idea what it is
has he plugged these 19 wires into a parport? those (obviously) aren't a parport pinout
me neither, didn't make any sense to me
thanks for the info
* JT-Hardinge goes back to removing the chips from the holes
psha is now known as psha_
what kind of tooling would you use to radius the edges in this: http://www.artichoke.org/holder.jpg
they make round over bits.
and use the same tool path as the cutter?
you really see them in wood working - but I have seen them in metal working
you might back it out just a little bit so that you don't get a ledge.
the radius is in the end of the cutter?
[14:13:51] <skunkworks_> http://www.use-enco.com/CGI/INSRIT?PMAKA=619-2303&PMPXNO=16720059&PARTPG=INLMK
or wood working.. http://www.sears.com/shc/s/p_10153_12605_00964213000P?prdNo=1&blockNo=1&blockType=G1
I might have one of those
guess I need a better spindle with a bigger collet
the guy that makes teh stuff in the pic (and more, really nice looking stuff) uses a table saw and a router table
things can actually made without the help of a cnc.. ;)
yeah, but I like to make things move
(I don't understand those people either)
I'd be a terrible machinist
the actual cutting useful stuff is secondary to making things move where you tell them
psha_ is now known as psha
weee rigid tapping some 3/8-16 holes in 1018 next :)
spiral point, I hope?
yea, thru holes :)
I chicken to do spiral flute (blind holes)
I'm not chicken, but I'm too poor to buy the taps
I did some 1/2-13 blind last night - by hand tap :-P
I just let my other brother John tap the blind holes now
still, having the tap upright (using a springy pointy thing in the mill) is very helpful
heh, being the only one who doesn't break taps off, I do them myself
spiral taps make all the difference :)
I have a basic set of spiral flute taps that I use on blind holes in aluminum by hand
that was fun... nothing broke
lathe or mill?
the BP Discovery 308 VMC one
cradek, are you around?
I am not doing something correctly and am receiving an error when loading .dxf into EMC
the error is as follows:
Near line 2 of /home/mike/emc2/nc_files/gantry_side.dxf:
Bad character '0' used.
emc doesnt handle .dxf natively
have you set up dxf converter?
attempting to use "Realize"
check out sheetcam.com , i know the linux version is a few behind but it does a lot
and is free
thanks skinny, will look at it, but I was hoping to use something directly in ACAD2000
Sure, i'd try it out too if i had AC2000
cradek has the solution as to what I was looking for
head -n 10 gantry_side.dxf
would help to see whats in that file
I tried to try realize the other day. I got it to generate drill code fine, but my mill stuff didn't work. Pretty easy to visualize with colored layers too
rgr that atmega
I know I am missing some step
the part where it asks you for a filename
and I believe it is when I initially run realize and select the filename...
I know when I get this figured out it will be something simple that I am presently doing incorrectly
g'day all, back again
atmega: no, tried something different this last time, still no joy
I think it has to do with how I am saving the file
there is no Header in the file for one thing
good evenig i want some idea for tool lathe presetting is can ?
kinda cool! http://softsolder.com/2010/05/06/sherline-cnc-mill-digital-knurling/
Thats neat skunkworks
i have aturret with 16 tool lathe. i have preset all tool on the piece for x and z coordinate.for preset it i call m6 t1 , go on piece in x read the quote the maschine position and write in x offset ?
I set my lathe tools Z offset from the spindle face, X offset from spindle center, touch off my g54 Z offset from the workpeice
i have prove this. change m6 t1 , and enable g43 tool offset.when change m6 t2 the offset not is active i write again g43 for enable offset, but this not is correct
JT-Hardinge, i don't can remenber every change tool the enable g43
anyone use DraftSight?
motioncontrol: you are right: you need to program G43 after every tool change. This is the same for mill or lathe.
I am doing something incorrect with Realize
well stop doing that
sure would if I knew what it was that was incorrect
right now, I am guessing that my error comes at the time I save the file
cradek, excuse for wait. i have on lathe 16 tool. every tool change i call g43 ?
cradek, ok have traslate.but for preset all 16 tool on x zero piece and z zero piece, i change tool m6 t1 , read the x position maschine and z position maschine and write this position on x and z offset in tool table ?
i have prove m3 whith g96 s200 d800 and when move x have costant velocity,but if have m4 and g96 s200 d800 and move x the velocity the spindle not change because ?
I have a joystick for manual control of my EMCO mill. It was set up according to: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
I want to have a button (or jog speed) that will move a single, specific amount each time a button or jog is pressed. it is possible to set a jog speed that coorelates to "move 0.001"? I have buttons 1,2,3 set to specific jog speeds, and was hoping I could somewhow assign button 4
grommit: when you figure that out add it to the wiki your not the first to want that
I like your thinking..."when you figure it out" no "if" :-)
be back in a few
grommit: if halui lacks ability of fixed jog it may be added
if you give me half an hour i may modify add it to halui
as in an update to EMC, or just a change to a local file?
you may recompile halui only
I installed from the LiveCD, would have have to rebuild using dev build or something?
as halui is C program you need to rebuild it after making changes
or wait for snapshot build
can I rebuild it and add the new module to my build from the livecd?
halui is userspace component so it must be found somewhere in PATH
so let me take a look on it first :)
that would very cool!
as another workaround you may create simple python component responsible for fixed joggin only
I think you just stepped beyond my capabilities...
so let it be python comp :)
does that mean I am on my own?
i think i may help a bit... :)
oh good :-)
so, will you create something like halui.jog.fixed-distance and map that to a commanded postion move of that distance?
grommit: you may test somethink like this
[20:56:47] <psha> http://psha.org.ru/p/fixedjog.py
it's only capable of one jog at time
he reboots to linux to irc, back to win* for autocad
psha: what do I do with it, exactly?
load it as userspace component
it would create fixed-jog.* pins
connect to them and be happy )
set fixed-jog.speed and .step to needed values
then trigger fixed-jog.AXIS-NUMBER to jog
I did open file from Axis and I think it crashed...
Oh hang on, I see you said redownload...
loadusr -Wn fixed-jog path/to/fixedjog.py
in hal file
grommit: How ugly are you prepared to use?
what do you mean?
You _could_ link an MDI_COMMAND to the jog button, and call a G91 X0.01
andypugh: leaving grommit to you :)
it's already night and time to sleep :)
For more elaboration, HAL logic could put the desired X/Y/Z offsets into three G-code analogue inputs.
Alternatively (and this is probably neater) some HAL logic could increment/decrement some counters connected to the same hal-pins as you use for a MPG.
sounds great expcept I have no idea how to do that :-)
[21:26:52] <andypugh> http://linuxcnc.org/docs/html/config_emc2hal.html
That's where the "signal" needs to go.
what I am seeing is a sample-hold function wired back to itself with an add2, so that any time the "hold" bit goes high, it takes on the value of itself+increment. You then wire the output of that to the jog pin.
grommit has the right idea - if you want incremental jog, just add it to halui
all the other guis have incremental jog
psha has the right idea, grommit and I are just bodging with the existing structure.
well, one of us is anyways (not me) :-)
Ah, cradek, while you are there: How would you rate the chances of running MaxNC closed-loop drivers from EMC2?
I don't know anything about their proprietary drivers
so, uh, 50%
No guesses what the interface protocol might be? I guess it could be anything, including morse code.
some pinout on some web bbs says something about quadrature
it's made of a bunch of PICs
Yeah, But I would guess that might only be the open-loop variant.
so yeah, I'm guessing morse code, or gcode encoded in baudot
why not fire up the original software and reverse engineer the output
StepNC in baudot.
That was my most recent suggestion.
(using halscope to watch the pins)
how would you run halscope and the original software at the same time?
so who will add fixed-jog.speed and fixed-jog.step to halui?
That might need two PCs, or possibly not.
grommit: It's open source, feel free to do it yourself :-)
Other options are a mess of edge detectors, sample-holds and suchlike in HAL.
Or potentially a hal component that does much the same thing as a single block.
I am feeling free, just not able :-P
Which parallel port pin do you want to use for x-jog-plus?
I can make up a bit of HAL code to do one axis. The rest would be much the same
I want to hold down input.0.btn-top (on my cheapo joystick) and as a result have each push on the X,Y,and/orZ joysticks move an incremental distance.
Not sure how that translates to parallel port pin
Ah, OK, no problem.
gotta go, will try to check back later and/or look at archive... thx for the help (and snide remarks) all!
grommit: 3 mins?
ok, 3 mins...
Ah, forget it.
[22:00:53] <andypugh> http://www.pastebin.ca/1981048
Except that it needs functions to convert s32 to float and back again as sum2 can't add integers. It needs to not use motion.spindle (that was just a button I had to test with), instead it needs some more logic on buttons and joystick values, and the setp has to replace the hard-coded 3 with the reqired jog increment
So, other than being no use at all, and not working, and only being one axis, untested, job done.
It is an approach that can be made to work.
But it would be a lot better built in to halui, or into a comp
I used to work with a French guy who, when asked: "Is that software done?" used to say "Basically" (though he pronounced it "Bass-ically")_and it meant NO! :-)
Even with it in halui, you will still need window-comparators and and2 functions to make your inputs into a form that halui would take.
Did he work for Delphi or Siemens? Sounds very familier.
I worked with him at a small comapny but he moved back to France and worked for Motorola (may still)...
now I do have to leave. thx again.
BAH I made a box that at the resonant freq!!!
Ah, scrolling back, psha's pythin file was all ready to run and use, wasn't it?
ries_ is now known as ries
i'm finishing mechanical part of small router
my first one
i have L297 stepper drivers from pminmo.com
and few nema17 motors from office equipment
drivers need input voltage more then 18v dc
is it ok for nema17 motors? I do not have specs for them
then I tried one it got very hot too fast
when I tried one it got very hot too fast
less input voltage I think is not enough for +5v power converter and driver does not work
may be I need external +5v power source and less power voltage on L298 and motors, what do you think?