[Emc-users] G38.2 probing in machine coord system?

2016-08-25 Thread dannym
I'm trying the G38.2 z-probe in an ngc call.  I keep getting an error "Probe 
move on line 6 would exceed joint 2's negative limit".

Problem seems to be that G38.2 uses the current coord system.  I've got the 
Z-home working now, and machine coords knows the furthest it can go, whereas 
the active coord system Z-value is meaningless for a max probe target.

I tried to prefix the G38.2 with G53 (machine coord operation), but I get an 
error that G53 only works on G0/G1.

Am I looking at the problem right?  How can I make this "probe to a fixed 
machine coord point"?

Danny

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


Re: [Emc-users] Silly Q about glues

2016-08-25 Thread Gene Heskett
On Thursday 25 August 2016 14:38:19 Gene Heskett wrote:

> On Thursday 25 August 2016 12:55:23 Przemek Klosowski wrote:
> > On Thu, Aug 25, 2016 at 12:25 PM, Gene Heskett
> > 
>
> wrote:
> > > Setting up the start-stop and done settings in my gcode, I had a
> > > good pressure on it, and had cleaned the face of the chuck with
> > > acetone, s superglue should have stuck it for a non-slip grip.
> > > Peeled it loose on the third touch of the tool.
> >
> > Superglue is brittle (hard but not tough), so it probably fails from
> > tool chatter. I think you'd have a better time with Goo, contact
> > cement or carpet tape. Even 5-min epoxy should be better, and it has
> > the advantage of disassembling by heating.
>
> No tool chatter, just the nearly silent scraping sound as it just
> barely make a bit of dust.
>
> I have no clue how it will take the cutting heat, but while out
> getting a scrpt for Dee at CVS I found some double-sided, no foam,
> scotch tape that claimed to be permanent. Since there are empty jaw
> slots in the chuck, I'd bet it is removable. :)
>
> Anyway the job is started, will take about 500 minutes to run.
>
And the tape squirted out of the interface in about 45 minutes.  So after 
feeding us I read the directions on the 3M metal glue, and applied it 
after cleaning up the gooey from the tape.  But its a 24 hour cure time, 
so I can't hit the r key till late tomorrow.  It looks to be a formula 
similar to gorilla glue, expanding as it cures by stealing moisture from 
the air.  Cream colored expansion foam where the tailstock pressure 
squeezed it out. 

> Looking at the backplot highly magnified, it looks as if the first few
> cuts are light, and by the time it was to make the last sweep, the cut
> would be pretty heavy, so I reduced the decrement multiplier, and then
> adding a teeny bit to it in the loop, which made the last half look
> like a pretty consistent cut.  We came in to check on my lady, &
> rebore and refill the coffee cup, and we'll go see how its doing once
> it starts to cut a visible curve.  And take my IR thermometer along to
> see how hot its getting when I go back up the hill.

Which after cutting for about 1/2 hour, before the tape failed, said 99F 
in an 87F building.

> If that fails, I also bought a small tube of "metal" glue, which reads
> like it might work, but has a 24 hour under clamp cure time.
>
> Fun and games, but so far I'm not keeping score.

3 days on this, and the #@^% "fun" is wearing thin.  I can't feed too 
heavy else the polygroove belt slips, but if I tighten it, then it 
breaks other drive parts.  Damned if I do, and damned if I don't. If the 
Sheldon was usable, this would be a 50 minute job just because I could 
take a decent cut.

So I'll go cry in my last beer, and see about finishing up the slider 
plate mounting strips that will mount the X motor on the Sheldon for 
tomorrows project. Bearings for the x thrust container are trickling in 
slowly.  No sign of the torrington cartridges that go in this same shaft 
assembly yet.

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 

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread andy pugh
On 25 August 2016 at 19:41, John Thornton  wrote:
> A couple of vids showing my testing of JA
> https://www.youtube.com/watch?v=1OtWNuLWfwc
> https://www.youtube.com/watch?v=wgNLd6A34Vo

They both claim to be using the gantry component?

-- 
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

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


Re: [Emc-users] Zeroing work coord via tool touch-off

2016-08-25 Thread andy pugh
On 25 August 2016 at 18:29,   wrote:

> Can we have a combination of HAL and .ngc be set to this:
> Logic #1:
>  if (button & !isProbing), then set isProbing=TRUE, execute myProbe.ngc, and 
> set isProbing=FALSE when it returns
> and Logic #2:
> if(!button & isProbing), then issue a STOP (same as pressing the STOP 
> button), and isProbing=FALSE

That is basically what I was suggesting, but the "isProbing" input to
HAL is a digital output from G-code.

Which GUI are you using? With Touchy there is a pin "touchy.abort"
which is ideal for what you are wanting. I have also spotted
"halui.abort" which should also work to stop the running .ngc program.

It should be possible to use a latch component, set by the button and
cleared on completion of the probe routine (mode.is-auto goes to
false?) or on halui.abort going true.

And yes, one button can drive both an MDI-command and a HAL input pin.
But writing the isProbing pin from inside the .ngc stops the situation
where the realtime code sees the button press but the userspace code
(mdi_command) doesn't.

-- 
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

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread John Thornton
Having "messed with" both the  gantry component and thanks for writing 
that and JA now Master. I much prefer JA homing. Much more straight 
forward to me.

A couple of vids showing my testing of JA
https://www.youtube.com/watch?v=1OtWNuLWfwc
https://www.youtube.com/watch?v=wgNLd6A34Vo

JT

On 8/25/2016 12:18 PM, Charles Steinkuehler wrote:
> On 8/25/2016 11:38 AM, dan...@austin.rr.com wrote:
>> So I guess it does do that.  Now if one home was physically
>> installed where it trips 0.53" before physical end-of-travel, if
>> this were NOT the gantry axis I'd just give its final machine coord
>> as 0.53" and its machine coord is correct (0=end-of-travel).  But
>> in this one, say one gantry switch is mounted to trip at 0.5" but
>> the other trips at 0.65".  If homing acts like non-gantry joints,
>> it would physically leave it at 0.5" and 0.65" and leave joint mode
>> with it physically out of sync like that.  Which would mean the
>> joints are racked by 0.15" and will forever be locked like that
>> because future moves are in axis mode, not joint mode.
>>
>> Does it have the ability to physically move the joints into
>> alignment based on .ini parameters saying one switch is 0.15" off,
>> or do I just need to keep physically remounting one switch until
>> its trip point is "close enough" to the other?
> No.  On the machines I wrote the gantry component for, typically there
> is a small screw used to adjust the tripping point for each homing switch.
>
> As Andy mentioned, you may want to just use a version of LinuxCNC that
> supports JA.  When I wrote the gantry component that wasn't an option,
> and the behavior of LinuxCNC with any non-trivial kinematics (even
> something as simple as a gantry) was very painful from a user
> perspective (or at least from *THIS* user's perspective).  I haven't
> messed with JA, but it's supposedly *MUCH* better at handling these
> sorts of machines.
>
>
>
> --
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Silly Q about glues

2016-08-25 Thread Gene Heskett
On Thursday 25 August 2016 12:55:23 Przemek Klosowski wrote:

> On Thu, Aug 25, 2016 at 12:25 PM, Gene Heskett  
wrote:
> > Setting up the start-stop and done settings in my gcode, I had a
> > good pressure on it, and had cleaned the face of the chuck with
> > acetone, s superglue should have stuck it for a non-slip grip. 
> > Peeled it loose on the third touch of the tool.
>
> Superglue is brittle (hard but not tough), so it probably fails from
> tool chatter. I think you'd have a better time with Goo, contact
> cement or carpet tape. Even 5-min epoxy should be better, and it has
> the advantage of disassembling by heating.

No tool chatter, just the nearly silent scraping sound as it just barely 
make a bit of dust.

I have no clue how it will take the cutting heat, but while out getting a 
scrpt for Dee at CVS I found some double-sided, no foam, scotch tape 
that claimed to be permanent. Since there are empty jaw slots in the 
chuck, I'd bet it is removable. :)

Anyway the job is started, will take about 500 minutes to run.

Looking at the backplot highly magnified, it looks as if the first few 
cuts are light, and by the time it was to make the last sweep, the cut 
would be pretty heavy, so I reduced the decrement multiplier, and then 
adding a teeny bit to it in the loop, which made the last half look like 
a pretty consistent cut.  We came in to check on my lady, & rebore and 
refill the coffee cup, and we'll go see how its doing once it starts to 
cut a visible curve.  And take my IR thermometer along to see how hot 
its getting when I go back up the hill.

If that fails, I also bought a small tube of "metal" glue, which reads 
like it might work, but has a 24 hour under clamp cure time.

Fun and games, but so far I'm not keeping score.

Thank you Przemek.

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 

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread dannym
I floundered around with other components while trying to set this up, and was 
told "WTH are you doing just use 'gantry'".  So I went with gantry component, 
and it's worked ok.  But if I need something else, I'm open to it.

I have the RT version of LinuxCNC.  Will that update with this JA stuff but 
remain the RT version?  Or does it already have it?  (that machine's at the 
shop across town, otherwise I'd give the version # and probably just try the 
joint-axes features to see if they exist).

Is there any sort of backup process recommended in case the upgrade breaks 
something, somehow?  

Full disclose, I'm not much of a Linux person (big surprise).  I'm used to 
downloading a file and "run as administrator" in Windows.  Not refusing to 
learn or anything, just fessing the situation.

Danny

 andy pugh  wrote: 
> On 25 August 2016 at 05:25,   wrote:
> I have a gantry router with 2x X motors.  I'm using the "gantry" component.

Have you considered using the Master branch? Gantries are a lot simpler there:
http://linuxcnc.org/docs/devel/html/getting-started/updating-linuxcnc.html#_updating_configuration_files
You don't need the "gantry" component with that LinuxCNC version.

> X2 axis is 3.  axis.3.home-sw-in axis.3.neg-lim-sw-in do not exist to connect 
> to, neither one.

What is the "num_joints" of your "loadrt motmod" line?

> What's the homing situation like on this?

I believe that the home switches connect to the "gantry" component
rather than to the axis.N.home switches.
There is a sample config here:
https://github.com/cdsteinkuehler/linuxcnc/blob/0e0418b362f45d7ad332fa3f211cbf8c2f24efd9/configs/ARM/BeagleBone/Probotix/Comet.hal#L101


-- 
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

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



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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread Charles Steinkuehler
On 8/25/2016 11:38 AM, dan...@austin.rr.com wrote:
> 
> So I guess it does do that.  Now if one home was physically
> installed where it trips 0.53" before physical end-of-travel, if
> this were NOT the gantry axis I'd just give its final machine coord
> as 0.53" and its machine coord is correct (0=end-of-travel).  But
> in this one, say one gantry switch is mounted to trip at 0.5" but
> the other trips at 0.65".  If homing acts like non-gantry joints,
> it would physically leave it at 0.5" and 0.65" and leave joint mode
> with it physically out of sync like that.  Which would mean the
> joints are racked by 0.15" and will forever be locked like that
> because future moves are in axis mode, not joint mode.
> 
> Does it have the ability to physically move the joints into
> alignment based on .ini parameters saying one switch is 0.15" off,
> or do I just need to keep physically remounting one switch until
> its trip point is "close enough" to the other?

No.  On the machines I wrote the gantry component for, typically there
is a small screw used to adjust the tripping point for each homing switch.

As Andy mentioned, you may want to just use a version of LinuxCNC that
supports JA.  When I wrote the gantry component that wasn't an option,
and the behavior of LinuxCNC with any non-trivial kinematics (even
something as simple as a gantry) was very painful from a user
perspective (or at least from *THIS* user's perspective).  I haven't
messed with JA, but it's supposedly *MUCH* better at handling these
sorts of machines.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread andy pugh
On 25 August 2016 at 17:38,   wrote:
> Which would mean the joints are racked by 0.15" and will forever be locked 
> like that because future moves are in axis mode, not joint mode.

So, you are saying that you want to square a gantry to non-square switches?

Use JA, you know it makes sense, even if your requirements don't.

-- 
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

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


Re: [Emc-users] Silly Q about glues

2016-08-25 Thread Gene Heskett
On Thursday 25 August 2016 12:35:40 R.L. Wurdack wrote:

> ""Make"" magazine a while back had a nice table of glues vs
> applications that I found useful.
>
> Dick
>
I just spent half an hour clicking "more" without finding it.

Thank you for trying.
>
> - Original Message -
> From: "Gene Heskett" 
> To: 
> Sent: Thursday, August 25, 2016 9:25 AM
> Subject: [Emc-users] Silly Q about glues
>
> > Greetings;
> >
> > Trying to carve the toolpost support for the little monster, on the
> > little monster. I had it lopsided in the chuck, roughly centered on
> > the QC's bolt hole. But that meant the chuck jaws were turned around
> > and I couldn't get to the bottom 9/16 of an inch because of flying
> > jaws .  I needed the cutaway down to perhaps 3mm of the carriage
> > sled, so I wrote some gcode to cut the hollowed out curve. I was
> > going to see if I could put it on the faceplate, but its a full 7"
> > in diameter and hits the motor & electronics box on the back of the
> > lathe.
> >
> > So that was out. I put the 5" 4 jaw back on, w/o the jaws, putting a
> > live center in the tailstock, I ran it out far enough to get some
> > saddle movement room but left it pushing about 100lbs worth and ran
> > a line of fresh superglue all the way around it..
> >
> > Setting up the start-stop and done settings in my gcode, I had a
> > good pressure on it, and had cleaned the face of the chuck with
> > acetone, so superglue should have stuck it for a non-slip grip. 
> > Peeled it loose on the third touch of the tool. 3 times now, with
> > longer setting times each time.
> >
> > If I can find it, I've some double stick tape, or does someone else
> > have an even  better idea?
> >
> > Thanks.
> >
> > 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 
> >
> > 
> >-- ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> ___
> 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 

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


Re: [Emc-users] Zeroing work coord via tool touch-off

2016-08-25 Thread andy pugh
On 25 August 2016 at 17:22,   wrote:

> But, just to complicate things, I'd really like to have this deadman, so you 
> must hold down the Probe-Z button or it will abort the process immediately 
> and fail to set the Z-home.

You could consider driving motion.enable to false. Though that might
over-react.

So, the setting sequence sets a digital output to true, and then
motion.enable is held true only if the switch is also true.

Truth-table

DIO  Button motion.enable
0 01
0 11
1 00
1 11

It's (Button OR NOT(DIO)) which can be done with "or2"and "not" HAL
functions, but I think I would use a LUT5 so that it is easy to expand
and add other functions.

For example, if you use LUT5 you can feed the output back into one of
the inputs to make the logic state-aware.

LUT5 version

motion.enable(in)  DIO   Button  motion.enable(out)
  0 0 0  1
  0 0 1  1
  0 1 0  0
  0 1 1  0
  1 0 0  1
  1 0 1  1
  1 1 0  0
  1 1 1  1

With this logic motion.enable "sticks" false until the DIO pin is
reset to false.

The homing code needs to re-set the digital pin to 0 on completion.

-- 
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

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


Re: [Emc-users] Silly Q about glues

2016-08-25 Thread R.L. Wurdack
""Make"" magazine a while back had a nice table of glues vs applications 
that I found useful.

Dick


- Original Message - 
From: "Gene Heskett" 
To: 
Sent: Thursday, August 25, 2016 9:25 AM
Subject: [Emc-users] Silly Q about glues


> Greetings;
>
> Trying to carve the toolpost support for the little monster, on the
> little monster. I had it lopsided in the chuck, roughly centered on the
> QC's bolt hole. But that meant the chuck jaws were turned around and I
> couldn't get to the bottom 9/16 of an inch because of flying jaws .  I
> needed the cutaway down to perhaps 3mm of the carriage sled, so I wrote
> some gcode to cut the hollowed out curve. I was going to see if I could
> put it on the faceplate, but its a full 7" in diameter and hits the
> motor & electronics box on the back of the lathe.
>
> So that was out. I put the 5" 4 jaw back on, w/o the jaws, putting a live
> center in the tailstock, I ran it out far enough to get some saddle
> movement room but left it pushing about 100lbs worth and ran a line of
> fresh superglue all the way around it..
>
> Setting up the start-stop and done settings in my gcode, I had a good
> pressure on it, and had cleaned the face of the chuck with acetone, so
> superglue should have stuck it for a non-slip grip.  Peeled it loose on
> the third touch of the tool. 3 times now, with longer setting times each
> time.
>
> If I can find it, I've some double stick tape, or does someone else have
> an even  better idea?
>
> Thanks.
>
> 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 
>
> --
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> 



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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread dannym
OK, well the gantry man page says:

"All controlled joints track the commanded position (with a per-joint offset) 
unless in the process of homing. Homing is when the commanded position is 
moving towards the homing switches (as determined by the sign of search-vel) 
and the joint home switches are not all in the same state. When the system is 
homing and a joint home switch activates, the command value sent to that joint 
is "frozen" and the joint offset value is updated instead. Once all home 
switches are active, there are no more adjustments made to the offset values 
and all joints run in lock-step once more."

So I guess it does do that.  Now if one home was physically installed where it 
trips 0.53" before physical end-of-travel, if this were NOT the gantry axis I'd 
just give its final machine coord as 0.53" and its machine coord is correct 
(0=end-of-travel).  But in this one, say one gantry switch is mounted to trip 
at 0.5" but the other trips at 0.65".  If homing acts like non-gantry joints, 
it would physically leave it at 0.5" and 0.65" and leave joint mode with it 
physically out of sync like that.  Which would mean the joints are racked by 
0.15" and will forever be locked like that because future moves are in axis 
mode, not joint mode.  

Does it have the ability to physically move the joints into alignment based on 
.ini parameters saying one switch is 0.15" off, or do I just need to keep 
physically remounting one switch until its trip point is "close enough" to the 
other?

Danny


 dan...@austin.rr.com wrote: 
> What's that mean?  Does it just drive both in tandem until both switches are 
> TRUE, then call it homed?  That wouldn't work, I need independent homing for 
> sure.
> 
> Not sure what the Probotix code is saying but I'll try it out later:
> 
> # join the home switch signals so that both switches have to be closed to 
> trigger a home position
> net switches-y1   => gantry.0.joint.00.home
> net switches-y2 => gantry.0.joint.01.home
> 
> 
> 
> Danny
> 
>  Charles Steinkuehler  wrote: 
> > On 8/24/2016 11:25 PM, dan...@austin.rr.com wrote:
> > > I have a gantry router with 2x X motors.  I'm using the "gantry"
> > > component.
> > > 
> > > Installing homing switches.  Got the Y working right off the bat.
> > > I can see the X1 and X2 switches trigger in HAL Scope so I'm good
> > > to go. This is a wide gantry which can rack somewhat so independent
> > > homing is essential.
> > > 
> > > axis.0.home-sw-in axis.0.neg-lim-sw-in hooked up fine for the X1
> > > side.
> > > 
> > > X2 axis is 3.  axis.3.home-sw-in axis.3.neg-lim-sw-in do not exist
> > > to connect to, neither one.
> > 
> > If you are using the gantry HAL component (and not gantrykins), the
> > motion planner runs as a standard Cartesian machine.  You wire the two
> > homing switches to the gantry component (gantry.N.joint.MM.home),
> > which merges them and generates a single home switch output
> > (gantry.N.home) that you connect to the motion planner.
> > 
> > http://linuxcnc.org/docs/html/man/man9/gantry.9.html
> > 
> > -- 
> > Charles Steinkuehler
> > char...@steinkuehler.net
> > 
> 
> 
> --
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread Peter Rosenblom
Here is the .hal i'm using with the gantry comp.

https://forum.linuxcnc.org/forum/47-hal-examples/30818-gantry-hal-example

//Peter

2016-08-25 18:10 GMT+02:00 Charles Steinkuehler :

> On 8/25/2016 11:00 AM, dan...@austin.rr.com wrote:
> > What's that mean?  Does it just drive both in tandem until both
> > switches are TRUE, then call it homed?  That wouldn't work, I need
> > independent homing for sure.
>
> No, it doesn't just drive both motors.  It stops the first motor to
> hit the home switch, then keeps the other motor going until it hits
> the home switch as well.  Perhaps this video will help...it's a
> Probotix Comet with a gantry for the Y axis:
>
> https://youtu.be/7XhIoDV8Hp8
>
> --
> Charles Steinkuehler
> char...@steinkuehler.net
>
>
> 
> --
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Silly Q about glues

2016-08-25 Thread Gene Heskett
Greetings;

Trying to carve the toolpost support for the little monster, on the 
little monster. I had it lopsided in the chuck, roughly centered on the 
QC's bolt hole. But that meant the chuck jaws were turned around and I 
couldn't get to the bottom 9/16 of an inch because of flying jaws .  I 
needed the cutaway down to perhaps 3mm of the carriage sled, so I wrote 
some gcode to cut the hollowed out curve. I was going to see if I could 
put it on the faceplate, but its a full 7" in diameter and hits the 
motor & electronics box on the back of the lathe.

So that was out. I put the 5" 4 jaw back on, w/o the jaws, putting a live 
center in the tailstock, I ran it out far enough to get some saddle 
movement room but left it pushing about 100lbs worth and ran a line of 
fresh superglue all the way around it..

Setting up the start-stop and done settings in my gcode, I had a good 
pressure on it, and had cleaned the face of the chuck with acetone, so 
superglue should have stuck it for a non-slip grip.  Peeled it loose on 
the third touch of the tool. 3 times now, with longer setting times each 
time.

If I can find it, I've some double stick tape, or does someone else have 
an even  better idea?

Thanks.

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 

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


[Emc-users] Zeroing work coord via tool touch-off

2016-08-25 Thread dannym
Manual toolchanging here.

I have a wireless tool setter already wired in, and an XHC-HB04 wireless 
pendant.  I'd like to press the "Probe-Z" button and have it zero the work 
coords on the touch.

But, just to complicate things, I'd really like to have this deadman, so you 
must hold down the Probe-Z button or it will abort the process immediately and 
fail to set the Z-home.  

There are others using the machine and it's quite easy to forget to put the 
tool probe down or fail to align the tool directly over the probe properly.  
This is the sort of thing people readily say "oh crap!" and promptly forget to 
go looking for the Stop button.  It's a large router and the physical e-stop 
may be some distance away, and if you used that it's gonna unhome the whole 
machine coord system.  I could also reasonably expect some to "fix" it by just 
pausing which actually leaves its move pending.  So there's a big advantage to 
deadmanning that button.

I have coded up other XHC buttons in the HAL to do simple things (home 
button=G0 X0 Y0).  I do see Probe solutions that call a g-code .ngc file but 
that can't deadman AFAIK.  

Is there a reasonably practical way to do this?

Danny

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread Charles Steinkuehler
On 8/25/2016 11:00 AM, dan...@austin.rr.com wrote:
> What's that mean?  Does it just drive both in tandem until both
> switches are TRUE, then call it homed?  That wouldn't work, I need
> independent homing for sure.

No, it doesn't just drive both motors.  It stops the first motor to
hit the home switch, then keeps the other motor going until it hits
the home switch as well.  Perhaps this video will help...it's a
Probotix Comet with a gantry for the Y axis:

https://youtu.be/7XhIoDV8Hp8

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Info needed.

2016-08-25 Thread Gene Heskett
On Thursday 25 August 2016 09:43:53 Dave Cole wrote:

> On 8/25/2016 5:56 AM, andy pugh wrote:
> > On 25 August 2016 at 10:30, Dave Cole  
wrote:
>  It is, from a Yamaha R1 in fact.
> >>
> >> Well that will last forever!
> >
> > Indeed, the one in my bike has done 100,000 miles running a lot
> > faster and at far higher load than it will see in the lathe.
>
> You have a bike with 100K miles??I didn't know that was possible!
>
> Dave
>
Not impossible at all. While the Gold Wing is not the crotch rocket 
Andy's R1 is, I know where there is one with nearly 300,000 on it, 
probably over by now, and its never had anything done but oil changes, 
one set of plugs & wires and the yappets set at the books recommended 
intervals. He bought it new about a year after they came to the states, 
and has used it for a chair car all these years.

Sorta like the Eveready drum playing bunny.

But I learned a lesson about Honda's myself, Honda has zero spare parts 
for anything they sold after the last one of that model has rolled off 
the production line, they set a clock, and when 5 years has passed, it 
all goes to the re-cyclers.  So when the alternator coil failed in 
my '73 350F, I had to find one in a junk yard in 1979.  Since I was 
using it for a chair car because my other rig was a 28' Pace Arrow that 
got about 3mpg, I loaded it up with 2 more of those H3 driving lights in 
addition to a sick bird 140 watt high beam in an 8" headlight hiding in 
a wannabe windjammer fairing.

I bought that bike with 23k miles on it, drove it 14 months & traded for 
a GS550 Suzi.  It was when I was making out the title stuff for the next 
owner that I realized I had put another 34k miles on it it that 14 
months. A couple sets of chains & sprockets and that alternator coil 
plus a brake rebuild, I'd put some makeup in the cylinders marked Dot-3 
with some rotgut I got at the local parts house, labeled Dot-3-4, and it 
ate all the rubber stuff in about 24 hours.

Biggest problem, leaky headgasket in the timing chain swell between the 
center cylinders, kept your pant cuffs well soaked in oil.  I was told 
it was generic to that engine.  Red line was 11k, and it was still 
pulling strong, I probably ticked it to 13k several times.

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 

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread dannym
What's that mean?  Does it just drive both in tandem until both switches are 
TRUE, then call it homed?  That wouldn't work, I need independent homing for 
sure.

Not sure what the Probotix code is saying but I'll try it out later:

# join the home switch signals so that both switches have to be closed to 
trigger a home position
net switches-y1 => gantry.0.joint.00.home
net switches-y2 => gantry.0.joint.01.home



Danny

 Charles Steinkuehler  wrote: 
> On 8/24/2016 11:25 PM, dan...@austin.rr.com wrote:
> > I have a gantry router with 2x X motors.  I'm using the "gantry"
> > component.
> > 
> > Installing homing switches.  Got the Y working right off the bat.
> > I can see the X1 and X2 switches trigger in HAL Scope so I'm good
> > to go. This is a wide gantry which can rack somewhat so independent
> > homing is essential.
> > 
> > axis.0.home-sw-in axis.0.neg-lim-sw-in hooked up fine for the X1
> > side.
> > 
> > X2 axis is 3.  axis.3.home-sw-in axis.3.neg-lim-sw-in do not exist
> > to connect to, neither one.
> 
> If you are using the gantry HAL component (and not gantrykins), the
> motion planner runs as a standard Cartesian machine.  You wire the two
> homing switches to the gantry component (gantry.N.joint.MM.home),
> which merges them and generates a single home switch output
> (gantry.N.home) that you connect to the motion planner.
> 
> http://linuxcnc.org/docs/html/man/man9/gantry.9.html
> 
> -- 
> Charles Steinkuehler
> char...@steinkuehler.net
> 


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


Re: [Emc-users] Info needed.

2016-08-25 Thread Dave Cole
On 8/25/2016 10:03 AM, andy pugh wrote:
> On 25 August 2016 at 14:43, Dave Cole  wrote:
>> You have a bike with 100K miles??I didn't know that was possible!
> Not only that, I still take it on track days in the fast group.

Wow...

Dave

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


Re: [Emc-users] Info needed.

2016-08-25 Thread Todd Zuercher
That isn't at all unheard of in BMW circles, a bit more rare with other bikes, 
but not necessarily because they aren't capable of it.
Here, if you see a bike on the highway in the rain it seems like 95% of the 
time the guy is on a BMW.

What is impressive is that he accomplished those miles in the dreary land of 
England.  Me, I'm more of a fair weather short commute rider.

- Original Message -
From: "Dave Cole" 
To: emc-users@lists.sourceforge.net
Sent: Thursday, August 25, 2016 9:43:53 AM
Subject: Re: [Emc-users] Info needed.

On 8/25/2016 5:56 AM, andy pugh wrote:
> On 25 August 2016 at 10:30, Dave Cole  wrote:
 It is, from a Yamaha R1 in fact.
>> Well that will last forever!
> Indeed, the one in my bike has done 100,000 miles running a lot faster
> and at far higher load than it will see in the lathe.

You have a bike with 100K miles??I didn't know that was possible!

Dave
>

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

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


Re: [Emc-users] Info needed.

2016-08-25 Thread andy pugh
On 25 August 2016 at 14:43, Dave Cole  wrote:
> You have a bike with 100K miles??I didn't know that was possible!

Not only that, I still take it on track days in the fast group.

-- 
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

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


Re: [Emc-users] Info needed.

2016-08-25 Thread Dave Cole
On 8/25/2016 5:56 AM, andy pugh wrote:
> On 25 August 2016 at 10:30, Dave Cole  wrote:
 It is, from a Yamaha R1 in fact.
>> Well that will last forever!
> Indeed, the one in my bike has done 100,000 miles running a lot faster
> and at far higher load than it will see in the lathe.

You have a bike with 100K miles??I didn't know that was possible!

Dave
>

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


Re: [Emc-users] Can't figure out homing on gantry

2016-08-25 Thread Charles Steinkuehler
On 8/24/2016 11:25 PM, dan...@austin.rr.com wrote:
> I have a gantry router with 2x X motors.  I'm using the "gantry"
> component.
> 
> Installing homing switches.  Got the Y working right off the bat.
> I can see the X1 and X2 switches trigger in HAL Scope so I'm good
> to go. This is a wide gantry which can rack somewhat so independent
> homing is essential.
> 
> axis.0.home-sw-in axis.0.neg-lim-sw-in hooked up fine for the X1
> side.
> 
> X2 axis is 3.  axis.3.home-sw-in axis.3.neg-lim-sw-in do not exist
> to connect to, neither one.

If you are using the gantry HAL component (and not gantrykins), the
motion planner runs as a standard Cartesian machine.  You wire the two
homing switches to the gantry component (gantry.N.joint.MM.home),
which merges them and generates a single home switch output
(gantry.N.home) that you connect to the motion planner.

http://linuxcnc.org/docs/html/man/man9/gantry.9.html

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Info needed.

2016-08-25 Thread andy pugh
On 25 August 2016 at 10:30, Dave Cole  wrote:
>>> It is, from a Yamaha R1 in fact.

> Well that will last forever!

Indeed, the one in my bike has done 100,000 miles running a lot faster
and at far higher load than it will see in the lathe.

-- 
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

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


Re: [Emc-users] Info needed.

2016-08-25 Thread Dave Cole
On 8/24/2016 8:52 PM, Gene Heskett wrote:
> On Wednesday 24 August 2016 19:58:39 andy pugh wrote:
>
>> On 25 August 2016 at 00:27, Dave Cole  wrote:
>>> I sense an automotive presence in that carriage...  looks like a
>>> timing chain!  :-)
>> It is, from a Yamaha R1 in fact.
> And I didn't recall correctly. :(
>
> Cheers, Gene Heskett

Well that will last forever!

Dave


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