Did you let the job out?

Jeff Johnson
john...@superiorroll.com
Superior Roll & Turning
734-279-1831

-----Original Message-----
From: emc-users-requ...@lists.sourceforge.net
[mailto:emc-users-requ...@lists.sourceforge.net] 
Sent: Friday, March 31, 2017 1:31 PM
To: emc-users@lists.sourceforge.net
Subject: Emc-users Digest, Vol 131, Issue 103

Send Emc-users mailing list submissions to
        emc-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/emc-users
or, via email, send a message with subject or body 'help' to
        emc-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        emc-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Emc-users digest..."


Today's Topics:

   1. Re: Documentaion Question / Addition (Joe Hildreth)
   2. Re: Milling setup question (andy pugh)
   3. Re: Documentaion Question / Addition (Gene Heskett)
   4. Re: Milling setup question (Gene Heskett)
   5. Re: Milling setup question (Drew Rogge)
   6. I am back to fighting with G2/3 again (Gene Heskett)


----------------------------------------------------------------------

Message: 1
Date: Fri, 31 Mar 2017 09:44:48 -0500 (CDT)
From: Joe Hildreth <j...@threerivershospital.com>
Subject: Re: [Emc-users] Documentaion Question / Addition
To: emc-users <emc-users@lists.sourceforge.net>
Message-ID:
        
<954469815.214679.1490971488617.javamail.zim...@threerivershospital.com>
        
Content-Type: text/plain; charset=utf-8

Gene,

I commented out the following variables:

[EMCMOT] section
 COMM_TIMEOUT = 1.0
 COMM_WAIT = 0.010

[TRAJ] section
 CYCLE_TIME = 0.010

Fired up the machine with the link on the desktop and didn't see any
warnings or anything through the axis gui.  Was able to jog all three axis
of the machine.  I didn't have time before leaving for work to do any more
testing.  (After reading your response a second time, I see you also removed
the CYCLE_TIME for [EMCIO].  That was not one I was asking about because I
found it in the INI documentation. although I see your point.)

My setup is parport driven stepper system with configs created by stepconf
using the axis gui.  I launched the controller with the link that stepconf
placed on the destop.  Should I be starting it from command line to see the
error you have or something else?

John suggest I open an issue on this but want to make sure I am not
including something that I shouldn't or vice versa before I do.

Regards.

Joe Hildreth 

> 
> Interesting comment, John K.
> 
> So I fired up the editor and took both CYCLE_TIME settings in the .ini 
> file out of the ini file for my small mill.
> 
> On running it, trajectory did not complain, but emcio did, saying it 
> was useing the default timing of .01 seconds, same as the ini file
setting.
> That did not prevent it from running. So I restored that one, but left 
> it commented out in the [TRAJ] section.
> 
> Based on that, the [TRAJ] section CYCLE_TIME could probably go away.
> 
> But does changing the one in [EMCIO] actually do anything in the way 
> of optimizing things better when generating motor steps in software? 
> Or conversely in a 5i25 or work-alike card where there is not a base 
> thread?
> 
> Whomever has kicked those "tires" recently should be able to comment.
> Adding to the wiki files under EMCIO would also be a nice clarification.
> 



------------------------------

Message: 2
Date: Fri, 31 Mar 2017 16:35:32 +0100
From: andy pugh <bodge...@gmail.com>
Subject: Re: [Emc-users] Milling setup question
To: "Enhanced Machine Controller (EMC)"
        <emc-users@lists.sourceforge.net>
Message-ID:
        <CAN1+YZVJMbQPAqT-KW=aksubbh4akqhxcuxmatpgsrtlqqz...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 31 March 2017 at 14:45, Gene Heskett <ghesk...@shentel.net> wrote:
>
> Humm, does that boring head have an automatic feed per rev?

Yes, it's one of my Wohlhaupters.

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed for
the especial use of mechanical geniuses, daredevils and lunatics."
? George Fitch, Atlanta Constitution Newspaper, 1916



------------------------------

Message: 3
Date: Fri, 31 Mar 2017 11:48:36 -0400
From: Gene Heskett <ghesk...@shentel.net>
Subject: Re: [Emc-users] Documentaion Question / Addition
To: emc-users@lists.sourceforge.net
Message-ID: <201703311148.36230.ghesk...@shentel.net>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Friday 31 March 2017 10:44:48 Joe Hildreth wrote:

> Gene,
>
> I commented out the following variables:
>
> [EMCMOT] section
>  COMM_TIMEOUT = 1.0
>  COMM_WAIT = 0.010
>
> [TRAJ] section
>  CYCLE_TIME = 0.010
>
> Fired up the machine with the link on the desktop and didn't see any
> warnings or anything through the axis gui.  Was able to jog all three
> axis of the machine.  I didn't have time before leaving for work to do
> any more testing.  (After reading your response a second time, I see
> you also removed the CYCLE_TIME for [EMCIO].  That was not one I was
> asking about because I found it in the INI documentation. although I
> see your point.)
>
> My setup is parport driven stepper system with configs created by
> stepconf using the axis gui.  I launched the controller with the link
> that stepconf placed on the destop.  Should I be starting it from
> command line to see the error you have or something else?
>
I have not started LCNC from the gui in better than a decade, I always 
have an open terminal, and type "linuxcnc -l", w/o the quotes, which 
runs the last selected config.  So I see a bit of checking and debugery 
on that screen as it starts and/or stops. It currently shows this:

gene@shop:~/linuxcnc/configs/my-mill-atom-3$ linuxcnc -l
LINUXCNC - 2.8.0-pre1-2948-g5405b9e
Machine configuration directory 
is '/home/gene/linuxcnc/configs/my-mill-atom-3'
Machine configuration file is 'my-mill-atom-3.ini'
Starting LinuxCNC...
.
Found file(REL): ./my-mill-atom-3.hal
note: MAXV     max: 0.290 units/sec 17.400 units/min
note: LJOG     max: 0.290 units/sec 17.400 units/min
note: LJOG default: 0.200 units/sec 12.000 units/min
note: AJOG     max: 40.000 units/sec 2400.000 units/min
note: AJOG default: 20.000 units/sec 1200.000 units/min
note: jog_order='XYZA'
note: jog_invert=set([])
task: main loop took 0.114146 seconds
Shutting down and cleaning up LinuxCNC...
task: 7260 cycles, min=0.000056, max=0.114146, avg=0.005173, 1 latency 
excursions (> 10x expected cycle time of 0.005000s)
gene@shop:~/linuxcnc/configs/my-mill-atom-3$ 

I have a 5i25 laying in front of that machine which I intend to put in 
that box sometime this summer. That, and another 10 volts of motor 
power, will triple the speed of an air cut.

In your ini file, there is a debug enable setting, which can make the 
terminal show a lot more info than is shown above, see the docs for a 
very terse description of what does what.

Thats not saying I detest the gui, but because I'm getting more capable 
at pyvcp stuffs, my axis gui keeps adding more things that will be or 
are usefull on that machine. Like on this lathe I'm rebuilding and 
converting, now has a spindle tach, 3 buttons under that to tally motor 
power and spindle direction if its on and turning, and now two more 
below that to show the currently selected size of the move for one 
detent click/move of the dials I put on the front of the apron.

Still not done with that, but making progress ATM rebuilding the 
countershaft because someone back in the mists of time, changed the 
spindle drive belts and re-installed the spindles drive pulley backwards 
on the shaft, so that when the belts were aligned, the pulley missed the 
key, threw it away, leaving the setscrew to try and hold it from 
slipping.  Horrible failure, and both the shaft and the pulley bore were 
eat out by the slippage. So I am fitting it with a taperlock hub, 
currently clamped down on the mill table with counterbores in the flange 
for the draw screws yet to be bored, and the tapping of the holes which 
will be done by rigid tapping on the mill. No hurry as amazon won't ship 
the last of the bearings for at least another 2 weeks. The manual I have 
on this style of drive says the two shafts are spinning in a pair of 
needle roller cartridges on each end of each shaft, but when I took it 
apart, they were bronze bushings and running too hot regardless of the 
grease I pumped in.

> John suggest I open an issue on this but want to make sure I am not
> including something that I shouldn't or vice versa before I do.

Thats the procedure, serving as a reminder that something needs some TLC.
Some of my own code could stand a lot of that.  OTOH, like this, it works 
anyway. :) But getting rid of cruft is always a good thing. I often long 
for the days when every byte of code had a memory cost, it made us 
carefull when memory was $400 for 4k of static.

> Regards.
>
> Joe Hildreth
>
> > Interesting comment, John K.
> >
> > So I fired up the editor and took both CYCLE_TIME settings in the
> > .ini file out of the ini file for my small mill.
> >
> > On running it, trajectory did not complain, but emcio did, saying it
> > was useing the default timing of .01 seconds, same as the ini file
> > setting. That did not prevent it from running. So I restored that
> > one, but left it commented out in the [TRAJ] section.
> >
> > Based on that, the [TRAJ] section CYCLE_TIME could probably go away.
> >
> > But does changing the one in [EMCIO] actually do anything in the way
> > of optimizing things better when generating motor steps in software?
> > Or conversely in a 5i25 or work-alike card where there is not a base
> > thread?
> >
> > Whomever has kicked those "tires" recently should be able to
> > comment. Adding to the wiki files under EMCIO would also be a nice
> > clarification.
>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



------------------------------

Message: 4
Date: Fri, 31 Mar 2017 11:50:35 -0400
From: Gene Heskett <ghesk...@shentel.net>
Subject: Re: [Emc-users] Milling setup question
To: emc-users@lists.sourceforge.net
Message-ID: <201703311150.35684.ghesk...@shentel.net>
Content-Type: Text/Plain;  charset="utf-8"

On Friday 31 March 2017 11:35:32 andy pugh wrote:

> On 31 March 2017 at 14:45, Gene Heskett <ghesk...@shentel.net> wrote:
> > Humm, does that boring head have an automatic feed per rev?
>
> Yes, it's one of my Wohlhaupters.

I can smell the pile of EU's from here. But it sure adds to the 
versatility.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



------------------------------

Message: 5
Date: Fri, 31 Mar 2017 09:24:49 -0700
From: Drew Rogge <d...@dasrogges.com>
Subject: Re: [Emc-users] Milling setup question
To: "Enhanced Machine Controller (EMC)"
        <emc-users@lists.sourceforge.net>
Message-ID: <3e8f0c76-a13a-0bb3-887d-1af179f00...@dasrogges.com>
Content-Type: text/plain; charset=utf-8; format=flowed



On 3/31/17 2:00 AM, andy pugh wrote:
> On 31 March 2017 at 04:02, Drew Rogge <d...@dasrogges.com> wrote:
>
>> place the part on the base and machine large face
> Initially the base will have a casting draft on it, so isn't
> perpendicular to the large flat face. The large flat face is the mould
> parting line, so should be fairly flat. This is why I was using it as
> the initial reference.
Maybe I'm misunderstanding what your doing. I'm assuming that the two things
you want aligned are
the bore perpendicular to the large face and a key way  in the base. I was
wrong in referring to the key way as a t-slot. In the original mail you were
referring to making a hole perpendicular to and aligned to the center of the
bore. Couldn't see a hole in the drawing and it looked like there was a key
way aligning the center of the bore to the center t-slot of the table.

One more setup then; large face down and face cut base, then base down and
face cut large face, back to large face down and skim cut on base and cut
key way on base. This gets the two faces perpendicular and the center of the
key way perpendicular to the large face.
>> sweep the two sides of the t-slot to center spindle on slot
> When you say "T slot" do you mean the one in the table? Those run the
> wrong direction.
>
> Here is the machine in action making a similar sort of part:
> https://goo.gl/photos/UikBgobYDxCnHAZi7
> Though that one didn't need an alignment key as it was a fit, dial in
> once and pin in place job.
>
Sorry about the confusion with regards to t-slot and key way.

Drew

-- 
Drew Rogge
d...@dasrogges.com

Phone: 8934OOO629OO4829631OOOOOOO




------------------------------

Message: 6
Date: Fri, 31 Mar 2017 13:31:14 -0400
From: Gene Heskett <ghesk...@shentel.net>
Subject: [Emc-users] I am back to fighting with G2/3 again
To: "Enhanced Machine Controller (EMC)"
        <emc-users@lists.sourceforge.net>
Message-ID: <201703311331.14942.ghesk...@shentel.net>
Content-Type: text/plain;  charset="us-ascii"

Greetings all;

Scenario: Trying to cut a counterbore. At 3 locations around the 
perimeter of this taperlock flange.

Drive the machine to where the counterbore is to be cut, using that 
location as the X=0,y=0 center point, get the machine there and execute 
this subroutine: Machine is in g90 mode at the call.

o<drill_countersink> sub
s750m3
g1f1500 z#<_tool2work_offset>
g91 (incremental distance moves)
g4p.1 (queue breaker)
g1 f200 X2.6625 Y0.0000 (move from center of hole to outer edge of 
counterbore in relative mode)
g91.1 (relative I/J/K, is default mode anyway)
g4p.1 (another queue breaker)
G3 X2.6625 Y-0.0000 I-2.6625 J-0.0000
g90
o<drill_countersink> endsub

When this works, the G3 will be converted for a spiral down to depth 
line, by placing that line above this one and letting this one clean up 
the bottom of the hole.

popup on reload says its a 50% error, regardless of where I put the g91.1 
or g91.

Proper Fix?

Thank you.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



------------------------------

----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


End of Emc-users Digest, Vol 131, Issue 103
*******************************************


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to