[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
it's usually only down when they restart the machine where linuxcnc.org is hosted
(stupid autocomplete ;)
i have a question about cutting with g33...
i'm trying to cut some pipe threads 1/8-27
using g33 to cut the tapered thread
the program runs great, but stops right on the g33 line and won't continue
like it's waiting for something...
i have a index pulse only
which i thought the 2.3-head version now supported
i checked halscope and it seems to be at the proper speed
the 2.3 encoder has an interpolated position output
do I need to enable that?
and I think that one needs to be connected to the motion controller
dareposte: sorry, I've never used it.. so I'm mostly guessing
maybe you can wait for someone who does know how it's supposed to work :D
at least its a starting point..
maybe my hal configuration needs to "simulate" a real encoder some how
I would get a real encoder
i plan to do that
but at the moment I only have an index pulse
(open to suggestions for a good spindle encoder, if anybody knows what works well)
depends on your input device AFAIK
parallel port 100 ppr or so
okay, any vendors you know of?
i do want to get one fitted
I like Automation Direct
what duty? they have light, medium, and heavy
I guess it depends on the application...
* BigJohnT looks at them a bit
i was just reading there
they are cheaper than I imagined they would be
dareposte: you need to connect the single puls to spindle index and spindle phase A
i'm guessing stepconf won't do that, so i have to learn about this hal thing finally I guess
BigJohnT: These look like they would get in the way of my spindle's through hole?
you mount a toothed belt pulley over your spindle and on your encoder so it sits beside your spindle
Hi, is there a ini file available for a Sherline metric lathe?
stepconf has one as the default
not default, my brain is fried
as an option
2.3 has one
hugomatic: if you want to run that with 2.2.8 you need to add some things to it
there used to be a SHMEM_KEY = 111 in the ini file
yeah don't try using stepconf between 2.2.8 and 2.3
and a reference to it int he hal file
hugomatic: look at any 2.2.x config, and you'll see
I have a stepconf one, but I get following errors... so I'll use your numbers only. Thanks
[21:42:43] <alex_joni> http://cvs.linuxcnc.org/cvs/emc2/configs/SherlineLathe/SherlineLathe_mm.ini.diff?r1=1.2;r2=1.3;f=h
that's the reverse of the operation you need to do
You mean I'm backwards ;-)?
hugomatic: nope, not yet
hey I noticed a new feature in 2.3... now when you touch off it has the option to touch off to the tool file ???
that is the best idea ever whoever came up with it
thank you thank you
talk about a time saver
is that your doing cradek?
yep that's my fault
it has encouraged me to actually set up my tool angles and orientations
thanks, I like it very much too
cool cradek. I did not know that that functionality was added!
Just poping over for a little before taking a nap...
Alex: I just took a quick look at that link, but am not sure what I am supposed to be looking at...
you said you didn't know the functionality was added
that's a list of all the latest things that got added ;)
SWPLinux: I should hook motion.spindle-index-enable to index-enable pin?
not related to NURBS ;)
dareposte: I would expect so
alex_joni: its going too fast... it moves 10mm but only shows 2.25mm. Is there a param i can tweak? I copied the axis section into my file so there must be something else to change...
Alex: you or Jeff might want to take a look at the hal_find/get_device fixes in the patch. I discovered that hal_find_device is depricated.
Sounds exactly like what I need
hugomatic: I would have expected the scale to be ok, but probably you used a different microstep setting
alex_joni: I'm not using the Sherline box, I have a custom thing that a friend gave me
ah, that might explain things :)
but then again the step timings might be off for the custom box
I see in SherlineLathe_mm.ini
in the [AXIS_0] section
Should I change the output scale as well? currently I have -800 for scale and -800 for output scale
SCALE = -800
OUTPUT_SCALE is irrelevant
it shouldn't be in there
I added "net spindle-revs <= parport.0.pin-15-in-not
but i'm stabbing in the dark
heh, pitch black
see you later
close your eyes it is easier to see in the dark
well that didn't work at all
dareposte: obviously not ;)
spindle-revs needs to come from the encoder component in your case
obvious to you maybe :)
alex_joni: the distances are right, but the z axis is much faster than the x and the stepper stalls. Any other pointer?
alex_joni: forget that, I'm testing again
hugomatic: adjust MAX_VELOCITY
for the Z-axis
i guess i am reading the old documentation, because it doesn't have any encoder component
ahh there it is
i found the 2.3 docs
[22:05:26] <BigJohnT> http://www.linuxcnc.org/docview/html//man/man9/encoder.9.html
alex_joni: thank you very much... it seems to be working perfectly
so i need to "loadrt encoder"
that is step one...
then maybe a "net encoder.0.phase-A <= parport.0.pin-15-in-not"
dareposte: seems your slowly getting there ;)
hugomatic: cool, glad it works
nope that wrecked it for me
the sherline configs will be part of 2.2.9
you gotta addf the encoder to a thread
dareposte: if you use stepconf to connect spindle-phaseA to a parport pin, then you can add a net command to the custom.hal file, something like "net spindle-phaseA encoder.0.index"
the encoder will be loaded and partially connected by stepconf, you only have to add the additional connection
have fun. I'm heading out for a walk on Waikiki beach :)
SWPLinux: enjoy ;)
heh. see you later
any CNC machines around there?
lots of big shipping stuff, so they probably need repairs from time to time
SWPLinux: thanks for the tip
* BigJohnT ponders shoveling snow or relaxing with a glass of cognac...
BigJohnT: Drink while riding the lawn mower with snow blower attachemnt
I'm just wondering about the deck it is 1200 sq feet and the lawn mower won't climb the stairs
kinda hard to enjoy cognac on a lawnmower
Not if you drink enough of it =)
Eh, back ho would work
If I drink enough of it I forget my name
Who are you?
If you wait long enough, it will melt
that's what I'm hoping for :)
Have any pink prima-cord? 24K FPS =)
all out but we have some tannerite
all right, it seems to be one step further along now, but its running extremeeeely slow when its cutting the threads
maybe it thinks the phase A has more than 1 ppr
you need to set the scale right
would that be encoder.count?
the use "/ scale"
encoder.N.position-scale float rw
Use the Force Luke!
oh that's handy, all this time i didn't realize emc had its own man pages
they are even in a pdf for people who don't use man
or want to read them offline
man is glorious
i set it to 1.00
i think i have to do something with position-interpolated too
it runs now but is extremely jerky
No, rsync & ssh is glorious, man is nice.
holy cow it worked
maybe need a bigger stepper
good night all