Re: [Emc-users] Issues with custom pendant.

2021-03-02 Thread John Dammeyer
Further to this.  I unplugged the USB pendant.
Commented out 
HALFILE = LIB:xhc-hb04.tcl

I had actually set up two buttons.  Once for G0 Z0 and one for G0 X0 Y0 in 
order to prevent running into something on the table while moving XYZ 
simultaneously.
[HALUI]
# add halui MDI commands here (max 64)
MDI_COMMAND = G0 Z0
MDI_COMMAND = G0 X0 Y0

And in the postgui_call_list.hal
net remote-rapid-to-Z-home halui.mdi-command-00 <= pyvcp.rapid-to-Z-home
net remote-rapid-to-XY-home halui.mdi-command-01 <= pyvcp.rapid-to-XY-home

And without the pendant they work exactly as expected.

If I change the halui.mdi-command-nn to 16,17 instead of 00,01, which puts them 
after the Pendant MDI_COMMANDs like this:
net remote-rapid-to-Z-home halui.mdi-command-16 <= pyvcp.rapid-to-Z-home
net remote-rapid-to-XY-home halui.mdi-command-17 <= pyvcp.rapid-to-XY-home

I get a totally different error.  Now when booting and running the xhc-hb04.tcl 
the system complains that it's trying to create an already defined 
spindle-vel-cmd-rpm-abs

Which in a way makes sense because in the pyvcp_options.hal file we have
#  Setup of spindle speed display using pyvcp -START 

net spindle-vel-cmd-rpm-abs=>pyvcp.spindle-speed
net spindle-at-speed-led=>pyvcp.spindle-at-speed-led

#  Setup of spindle speed display using pyvcp -END 

The real question is why without the new buttons on the axis screen this error 
doesn't occur.

Still  very confused.
John


> -Original Message-
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: March-02-21 7:13 PM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] Issues with custom pendant.
> 
> Alright thanks.  I'll look into that.  I don't think it's a spelling mistake. 
>I suspect that it's two outputs connected to one input since the
> pendant I have has a button that sends all three axis to home.
> 
> Based on
> http://www.linuxcnc.org/docs/2.5/html/hal/basic_hal.html
> 
> The net signal name "remote-rapid-to-home"
> Is connected to the input pin "halui.mdi-command-00"
> defined in the section
> [HALUI]
> MDI_COMMAND = G0 X0 Y0 Z0
> 
> The value of pyvcp.rapid-to-home comes from the screen button I created in 
> the xml file.  (it's on the screen and shows motion
> when I click on it).
> 
> Now I forgot to mention that there's a included file layout2.inc which I've 
> attached.  I just noticed that it also has a [HALUI] section
> and has the same MDI command.
> 
> And under [XHC_HB04_BUTTONS]
> goto-zero   = halui.mdi-command-00
> 
> So it looks like there are two outputs both connected to the input
>   halui.mdi-command-00
> Does that make sense?
> Is that why there's an error?
> 
> I'm assuming it must be possible to have a screen button and something else 
> cause motion because the Up arrow key on the
> keyboard, the MPG on the Pendant and the Axis Screen button all move the Y 
> axis.
> 
> So I'm a tad confused.
> Thanks
> John
> 
> 
> 
> > -Original Message-
> > From: Jon Elson [mailto:el...@pico-systems.com]
> > Sent: March-02-21 6:24 PM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] Issues with custom pendant.
> >
> > On 03/02/2021 08:11 PM, John Dammeyer wrote:
> > > I've followed the directions in this link.
> > > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons
> > >
> > > LinuxCNC fails on start up if I include this line in the postgui.hal file.
> > > net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home
> > >
> > >
> > If you run LinuxCNC from the command line, you should get a
> > specific message about what on that line was wrong.  But,
> > you could also use hal configure or even halmeter to look
> > for the two
> > hal pins at the end of that command line.  I'd give about
> > 90% chance that one of these hal pin names is either
> > mistyped or doesn't exist due to something not having been
> > loaded with the
> > loadrt or loaduser command.  Once you know which of the pins
> > is missing, you can search for why it did not get exported.
> > The other possibility is you are trying to connect two
> > output or input pins together.  Every net should have one
> > output pin and as many input pins as needed.  The only
> > exception is where two inout pins are connected.
> >
> > Jon
> >
> >
> > ___
> > 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] Issues with custom pendant.

2021-03-02 Thread John Dammeyer
Alright thanks.  I'll look into that.  I don't think it's a spelling mistake.   
 I suspect that it's two outputs connected to one input since the pendant I 
have has a button that sends all three axis to home.

Based on 
http://www.linuxcnc.org/docs/2.5/html/hal/basic_hal.html

The net signal name "remote-rapid-to-home" 
Is connected to the input pin "halui.mdi-command-00" 
defined in the section 
[HALUI]
MDI_COMMAND = G0 X0 Y0 Z0
  
The value of pyvcp.rapid-to-home comes from the screen button I created in the 
xml file.  (it's on the screen and shows motion when I click on it).  

Now I forgot to mention that there's a included file layout2.inc which I've 
attached.  I just noticed that it also has a [HALUI] section and has the same 
MDI command.

And under [XHC_HB04_BUTTONS]
goto-zero   = halui.mdi-command-00

So it looks like there are two outputs both connected to the input
  halui.mdi-command-00
Does that make sense?
Is that why there's an error?

I'm assuming it must be possible to have a screen button and something else 
cause motion because the Up arrow key on the keyboard, the MPG on the Pendant 
and the Axis Screen button all move the Y axis.

So I'm a tad confused.
Thanks
John



> -Original Message-
> From: Jon Elson [mailto:el...@pico-systems.com]
> Sent: March-02-21 6:24 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Issues with custom pendant.
> 
> On 03/02/2021 08:11 PM, John Dammeyer wrote:
> > I've followed the directions in this link.
> > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons
> >
> > LinuxCNC fails on start up if I include this line in the postgui.hal file.
> > net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home
> >
> >
> If you run LinuxCNC from the command line, you should get a
> specific message about what on that line was wrong.  But,
> you could also use hal configure or even halmeter to look
> for the two
> hal pins at the end of that command line.  I'd give about
> 90% chance that one of these hal pin names is either
> mistyped or doesn't exist due to something not having been
> loaded with the
> loadrt or loaduser command.  Once you know which of the pins
> is missing, you can search for why it did not get exported.
> The other possibility is you are trying to connect two
> output or input pins together.  Every net should have one
> output pin and as many input pins as needed.  The only
> exception is where two inout pins are connected.
> 
> Jon
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


layout2.inc
Description: Binary data
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tandem home switches on single axis

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:59:49 andy pugh wrote:

> On Mon, 1 Mar 2021 at 04:24, Feral Engineer 
 wrote:
> > z axis utilize a mechanical limit switch to latch home position, but
> > then each axis has a pnp proximity sensor that triggers the actual
> > home position
>
> Are both the switch and the PNP on at the same time?
> Is the PNP "long" enough to serve as a limit switch all by itself?
>
> If it is, then you can use AND logic, either in the HAL or, as
> suggested by R Jollivert, in the physical wiring.
>
> If the PNP pulse is too short to serve as a home switch then you could
> try using HOME_INDEX_NO_ENCODER_RESET
> http://linuxcnc.org/docs/devel/html/config/ini-config.html#_joint__lt_
>num_gt_section Though that only exists in Master.

Another rather odd sentence in that file.

 'PROGRAM_EXTENSION = .gcode 3D Printer

Without a second quote.

Do we actually have such a gcode dialect translator? I missed the memo 
big time if so.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Issues with custom pendant.

2021-03-02 Thread Jon Elson

On 03/02/2021 08:11 PM, John Dammeyer wrote:

I've followed the directions in this link.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons

LinuxCNC fails on start up if I include this line in the postgui.hal file.
net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home


If you run LinuxCNC from the command line, you should get a 
specific message about what on that line was wrong.  But, 
you could also use hal configure or even halmeter to look 
for the two
hal pins at the end of that command line.  I'd give about 
90% chance that one of these hal pin names is either 
mistyped or doesn't exist due to something not having been 
loaded with the
loadrt or loaduser command.  Once you know which of the pins 
is missing, you can search for why it did not get exported.  
The other possibility is you are trying to connect two 
output or input pins together.  Every net should have one 
output pin and as many input pins as needed.  The only 
exception is where two inout pins are connected.


Jon


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


Re: [Emc-users] Engraver Depth Control

2021-03-02 Thread Thaddeus Waldner

> 
> On the scale you are talking about it might be hard to get enough
> resolution, and there is a susceptibility to electrical noise.
> 
> I imagine the travel distance is tiny? I would be looking at
> (analogue) inductive sensors. Or possibly laser triangulation sensors,
> if I could find one cheap on eBay.

Travel distance is a the max cutting depth of a single flute 1/4” engraving 
tool, which is about 1/2”, plus a bit of headroom. 

The tool needs to first engrave the material, then contour cut. The material 
can theoretically be up to 1/2” thick.

So a 1000ppr encoder with a reasonably small gear meshing with a linear rack or 
even a gt2 belt would let me get to within 1 thou, which is plenty precise for 
this application. An encoder is also easier for me to integrate because I have 
an unused encoder input on the Mesa board.






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


[Emc-users] Issues with custom pendant.

2021-03-02 Thread John Dammeyer
I've followed the directions in this link.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons

LinuxCNC fails on start up if I include this line in the postgui.hal file.
net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home

I am also running the XHC_HB04 Pendant and in the HAL file there is this
[HAL]
HALFILE = LIB:xhc-hb04.tcl

[XHC_HB04_CONFIG]
layout = 2

There's also the xhc-hb04-layout2.cfg
[XHC-HB04]
BUTTON=01:button-goto-zero
BUTTON=02:button-start-pause
BUTTON=03:button-rewind
BUTTON=04:button-probe-z
BUTTON=05:button-macro-3
BUTTON=06:button-half
BUTTON=07:button-zero
BUTTON=08:button-safe-z
BUTTON=09:button-home
BUTTON=0A:button-macro-1
BUTTON=0B:button-macro-2
BUTTON=0C:button-spindle
BUTTON=0D:button-step
BUTTON=0E:button-mode
BUTTON=0F:button-macro-6
BUTTON=10:button-macro-7
BUTTON=16:button-stop
BUTTON=17:button-reset

I can't find how the button-goto-zero is linked to 
MDI_COMMAND = G0 X0 Y0 Z0
Any suggestions?
Thanks
John

"ELS! Nothing else works as well for your Lathe"
Automation Artisans Inc.
www dot autoartisans dot com 




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


Re: [Emc-users] syntax for naming .bit files

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 14:34:32 dave engvall wrote:

> Hi,
> I've downloaded the 7i90.zip  and unpacked to get the .bit files. Is
> there a short tutorial or plain list that interprets the file names
> and gives me encoders, pwm, etc.
> As always TIA
>
> Dave

Sure but its in the pdf "manual" sitting right beside the zip of the 7i90 
bitfiles on Peters web page at www.mesanet.com.

One could say its a bit terse, but its all there. Print it and add it to 
your library.  And scribble the printout date on it so you are reminded 
to get a new copy in around a year. He does occasionally update the 
stuff. I think there's an incomplete set of .pin files in the zip you 
have, and they are sort of readable too.

Take care you two, stay safe and well.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Engraver Depth Control

2021-03-02 Thread andy pugh
On Tue, 2 Mar 2021 at 20:44, Thaddeus Waldner  wrote:

> What I would like to do is mount the spindle directly to the z-axis (as one 
> normally would). Then have a collar that surrounds the engraving bit rub with 
> spring pressure against the top surface of the workpiece. This collar would 
> be mounted to a linear axis with an encoder, in the same orientation as the 
> z-axis, and thus track the surface of the workplace relative to the spindle 
> position.

That certainly ought to work.

Two coaxial sliding tubes is a capacitor. So you can actually measure
the displacement with an LC bridge circuit.

(I actually did this once, when I needed to measure displacement on a
_very_ fast moving thing)

On the scale you are talking about it might be hard to get enough
resolution, and there is a susceptibility to electrical noise.

I imagine the travel distance is tiny? I would be looking at
(analogue) inductive sensors. Or possibly laser triangulation sensors,
if I could find one cheap on eBay.

Or, actually, something that is really cheap, effective and accurate...
Use a thin leaf spring to hold the collar against the work (a simple
C-shaped one, maybe two at 180 degrees around the Z axis)
Bond strain-gauges to the inside and outside of the curve of each in a
Wheastone Bridge, and take to a simple Op-amp amplifier circuit.

I used to use these all the time in a previous job, and was getting
sub-micron accuracy over a 5 mm range.

Strain gauges are about $1 from eBay and can be bonded on with
ordinary super-glue.

(After abrading and de-greasing the surface, pick up the strain gauge
with Sellotape (Scotch tape) and tape it down in place. Then peel up
one end of the tape, lifting the gauge, put a drop of glue under it,
and tape it back down.)

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


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


Re: [Emc-users] OT: pcb milling

2021-03-02 Thread Nicklas SB Karlsson

Den 2021-03-02 kl. 17:20, skrev Roland Jollivet:

Has anyone tried this for holding down PCB's when milling?

https://www.materialsampleshop.com/products/micro-suction-tape
Have an engraver and it have something similar to keep plastic sheet in 
place, feels like soft rubber.



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


Re: [Emc-users] OT: pcb milling

2021-03-02 Thread N. Christopher Perry
I use this tape and live it: 
Polyken 108/NAT225 108

When you’re done machining it with alcohol and it lets go.

N. Christopher Perry

> On Mar 2, 2021, at 3:44 PM, Greg Bernard  wrote:
> 
> Looks interesting. I've used double sided tape to hold circuit boards and
> sheet aluminum but dealing with the adhesive residue can be a nuisance.
> 
> On Tue, Mar 2, 2021, 10:23 AM Roland Jollivet 
> wrote:
> 
>> Has anyone tried this for holding down PCB's when milling?
>> 
>> https://www.materialsampleshop.com/products/micro-suction-tape
>> 
>> Roland
>> 
>> ___
>> 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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: pcb milling

2021-03-02 Thread Greg Bernard
Looks interesting. I've used double sided tape to hold circuit boards and
sheet aluminum but dealing with the adhesive residue can be a nuisance.

On Tue, Mar 2, 2021, 10:23 AM Roland Jollivet 
wrote:

> Has anyone tried this for holding down PCB's when milling?
>
> https://www.materialsampleshop.com/products/micro-suction-tape
>
> Roland
>
> ___
> 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] Engraver Depth Control

2021-03-02 Thread Thaddeus Waldner
Hi,

I have an engraving spindle that rides on a spring-loaded carrier. The carrier 
rubs against the workpiece being engraved. The depth of cut is controlled by 
adjusting the distance that the engraving bit protrudes from the rub contact 
face of the carrier. The advantage of this tool is that it is not dependent on 
the thickness of the workpiece, so it works well for inconsistent material. It 
also holds down flexible materials as it’s being engraved.

The problem is that the depth of cut is manually adjusted via a screw on the 
carrier. This is particularly cumbersome, for example, when engraving and 
cutting multiple pieces on the same job.

I’m looking to design an engraving tool that measures and compensates for depth 
of cut in real time.

What I would like to do is mount the spindle directly to the z-axis (as one 
normally would). Then have a collar that surrounds the engraving bit rub with 
spring pressure against the top surface of the workpiece. This collar would be 
mounted to a linear axis with an encoder, in the same orientation as the 
z-axis, and thus track the surface of the workplace relative to the spindle 
position. 

The LinuxCNC output to the motor drivers is step-direction

I’m thinking that with appropriate PID limits, I don’t need to do anything 
special in the control logic other than setting this up as a regular servo axis 
with encoder feedback.

Comments? Insights?


Thaddeus Waldner

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


Re: [Emc-users] syntax for naming .bit files

2021-03-02 Thread andy pugh
On Tue, 2 Mar 2021 at 19:37, dave engvall  wrote:

> I've downloaded the 7i90.zip  and unpacked to get the .bit files. Is
> there a short tutorial or plain list that interprets the file names and
> gives me encoders, pwm, etc

ST = steppers
SV = servos (a matching pair of encoder and pwm, typically)
RM = Resolver
SS = Smart Serial
UA = UART

So, for example, 5i24_25_svss8_8.bit is a bitfile for a 25 k-gate 5i24
card with 8 x encoder, 8 x PWM and 8 x smart-serial channels.

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


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


[Emc-users] syntax for naming .bit files

2021-03-02 Thread dave engvall

Hi,
I've downloaded the 7i90.zip  and unpacked to get the .bit files. Is 
there a short tutorial or plain list that interprets the file names and 
gives me encoders, pwm, etc.

As always TIA

Dave


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


Re: [Emc-users] OT: pcb milling

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 11:55:06 ken.stra...@gmail.com wrote:

> Interesting! At 0.8mm thick I wonder how stable the positioning (both
> X/Y and Z) of the board would be. BTW, it seems to be available from
> Amazon Canada and probably many other places:
> https://www.amazon.ca/VViViD-AirFuse-Microsuction-Black-250mm/dp/B078F
>BQ3FC
>
> -Original Message-
> From: Roland Jollivet 
> Sent: March 2, 2021 11:20 AM
> To: Enhanced Machine Controller (EMC)
>  Subject: [Emc-users] OT: pcb milling
>
> Has anyone tried this for holding down PCB's when milling?
>
> https://www.materialsampleshop.com/products/micro-suction-tape
>
> Roland
>
The times I have done pcb's on a mill, I've always made a melamine pallet 
with a projecting tightly into a table groove bottom, with a dozen or so 
0-80 flathead screws to hold the edge of the pcb, wedging it to the left 
front corner of the pocket made for that board. That way I have drilled 
half way thru the pcb for a thru hole, turned the board over and drilled 
from the other side, meeting in the center of the boards thickness with 
perfect registration. Auto location was to the center of a small brass 
pipe just out of the lower left corner and at a known offset. That mill 
died, and if I was to do it again today on the 6040, I'd have to invent 
a pinned location for the pallet because the extruded  bed is such a 
mess, off Z as much as 1/8". So obviously its not been tried.
> ___
> 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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] OT: pcb milling

2021-03-02 Thread ken.strauss
Interesting! At 0.8mm thick I wonder how stable the positioning (both X/Y
and Z) of the board would be. BTW, it seems to be available from Amazon
Canada and probably many other places:
https://www.amazon.ca/VViViD-AirFuse-Microsuction-Black-250mm/dp/B078FBQ3FC

-Original Message-
From: Roland Jollivet  
Sent: March 2, 2021 11:20 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] OT: pcb milling

Has anyone tried this for holding down PCB's when milling?

https://www.materialsampleshop.com/products/micro-suction-tape

Roland

___
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] OT: pcb milling

2021-03-02 Thread Roland Jollivet
Has anyone tried this for holding down PCB's when milling?

https://www.materialsampleshop.com/products/micro-suction-tape

Roland

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


Re: [Emc-users] Tandem home switches on single axis

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:59:49 andy pugh wrote:

> On Mon, 1 Mar 2021 at 04:24, Feral Engineer 
 wrote:
> > z axis utilize a mechanical limit switch to latch home position, but
> > then each axis has a pnp proximity sensor that triggers the actual
> > home position
>
> Are both the switch and the PNP on at the same time?
> Is the PNP "long" enough to serve as a limit switch all by itself?
>
> If it is, then you can use AND logic, either in the HAL or, as
> suggested by R Jollivert, in the physical wiring.
>
> If the PNP pulse is too short to serve as a home switch then you could
> try using HOME_INDEX_NO_ENCODER_RESET

> http://linuxcnc.org/docs/devel/html/config/ini-config.html#_joint__lt_
>num_gt_section Though that only exists in Master.

Did I spot a spelling error already? last line above the [FILTER] section 
reads:
HELP_FILE = tklinucnc.txt - Path to help file.
Shouldn't that be tklinuxcnc.txt? :)

25 pages to print, but worthwhile, lots of new info in that, thank you 
very much, Andy.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Tandem home switches on single axis

2021-03-02 Thread Gene Heskett
On Tuesday 02 March 2021 03:51:26 andy pugh wrote:

> On Tue, 2 Mar 2021 at 07:36, Gene Heskett  wrote:
> > The problem with homing the bs-1 is that the home switch is
> > activated by a notch in the hub of its spindle
>
> It's probably best to home a rotary axis to a 180 degree target. With
> search and backoff speeds set high, and a slow latch.
>
Agreed. But cutting the notch for the switch roller strains a 5mm carbide 
tool, that is hardened steel.  So I quit cutting while I still hadn't 
broken the tool. I could see in flexing.

> Then it only ever has to make a half turn.
>
> But, then, I have never bothered to put any switches on my rotary, it
> seems to be very rarely necessary to home it as the work that goes in
> isn't indexed to the chuck.

That could be fixed now that I've got a decent 3d printer. But I'd need 
some instructions on how to get freecad or openscad to make me a ring to 
fit the edge of the spindle flange, with a single tooth spanning 180 
degrees. openscad seems like it might be easier.  But my attempts have 
not been successful. All I seem to be able to generate are squares. 
GT2_3MM pulleys are a piece of cake, I've made a 13 tooth for the motor 
on the A axis that came with the 6040 mill, and an 83 tooth with a huge 
axle hole that is a tight press fit over the OEM axle pulley, using it 
for a hub since it has the key machined in.

I'm now waiting for the junk that has a pair of 3mm tooth x 6mm wide 
belts on it to arrive, but that's not till the end of the month.

Then I've got to design and make a couple sliders to carry ball bearing 
idlers to get a tight belt, well wrapped on the 13 toother.

This Dremel DigiLab 3d45 printer, makes 3mm pulleys that actually fit the 
belt OOTB, whereas I'm still fiddling with the steps/mm settings on the 
ender-3. PETG is at the extreme end of the enders temp ranges, but the 
3d45 acts like that's its sweet spot although its slower to heat at 
startup.

PETG parts made on the ender, like that 83 tooth sprocket, are almost 100 
grains heavier without much the stringing when the same .stl is fed to 
the 3d45 once cura has been taught to drive the 3d45. Beautiful parts 
that don't need a 30 minute cleanup. 5 minutes and they're 100% ready 
for use.  And PETG is tougher/harder than PLA by quite a bit. It should 
wear very slowly.

And I've not figured out how to enable freecad-19 to draw me anything, 
the drawing tools are all grayed out.

Thanks Andy.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Tandem home switches on single axis

2021-03-02 Thread andy pugh
On Mon, 1 Mar 2021 at 04:24, Feral Engineer  wrote:

> z axis utilize a mechanical limit switch to latch home position, but then
> each axis has a pnp proximity sensor that triggers the actual home position

Are both the switch and the PNP on at the same time?
Is the PNP "long" enough to serve as a limit switch all by itself?

If it is, then you can use AND logic, either in the HAL or, as
suggested by R Jollivert, in the physical wiring.

If the PNP pulse is too short to serve as a home switch then you could
try using HOME_INDEX_NO_ENCODER_RESET
http://linuxcnc.org/docs/devel/html/config/ini-config.html#_joint__lt_num_gt_section
Though that only exists in Master.

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


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


Re: [Emc-users] Tandem home switches on single axis

2021-03-02 Thread andy pugh
On Tue, 2 Mar 2021 at 07:36, Gene Heskett  wrote:

> The problem with homing the bs-1 is that the home switch is activated by
> a notch in the hub of its spindle

It's probably best to home a rotary axis to a 180 degree target. With
search and backoff speeds set high, and a slow latch.

Then it only ever has to make a half turn.

But, then, I have never bothered to put any switches on my rotary, it
seems to be very rarely necessary to home it as the work that goes in
isn't indexed to the chuck.


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


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