[Emc-users] Servo to Go

2022-03-28 Thread andy pugh
On Mon, 28 Mar 2022 at 20:14, Dominic Francisco  wrote:

> Who can help us find a couple of Servo-To-Go motion control boards?

A bit of digging suggests that the servo-to-go trademark now belongs
to Electromate.

https://www.electromate.com/products/motion-automation-controllers/motion-controllers-pci-pc-sol-104-isa-bus/

-- 
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] can we get the key for the buildbot signed?

2022-03-28 Thread andy pugh
On Mon, 28 Mar 2022 at 20:14, Dominic Francisco  wrote:
>
> Big Howdy to the EMC Group:
> Who can help us find a couple of Servo-To-Go motion control boards?

Do you have a PC with an ISA bus to run them?

Also, StG is quite an expensive board, compared to (for example)
http://store.mesanet.com/index.php?route=product/product=83_85_id=297
and a pair of 
http://store.mesanet.com/index.php?route=product/product=83_86_id=74
(I have chosen an in-stock option, Mesa are having supply problems, as
is everyone else)

-- 
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] Homebuilt encoder

2022-03-28 Thread andy pugh
On Mon, 28 Mar 2022 at 03:14,  wrote:
>
> The Omron E6D-C series are rated at 12,000 rpm
> The Omron E6H-C series are rated at 10,000 rpm
>
> I ordered an E6H from eBay with delivery promised in a month.

You need to be a little careful with those, some have no index. The
advertisers don't appear to know the difference.
You can generally read the label in the photos to work it out.

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

2022-03-28 Thread andy pugh
On Mon, 28 Mar 2022 at 03:29, Thaddeus Waldner  wrote:

> Ah! I just saw that P0 is for the active coordinate system. Is P optional?

I think that 0 is assumed if P is omitted

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

2022-03-27 Thread Andy Pugh



> On 28 Mar 2022, at 00:26, Thaddeus Waldner  wrote:
> 
> I was able to get this working. Thanks for the help. I ended up using a macro 
> and modifying G54 Z offset

If you use G10 then it will use the current coordinate system. 

G10 is almost always the correct in to use for this. 

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


Re: [Emc-users] Homebuilt encoder

2022-03-27 Thread Andy Pugh


> On 27 Mar 2022, at 08:09, andrew beck  wrote:
> 
> And is bigger dia better for higher resolution?

Probably not, as it will perhaps have more scope to oscillate at 10,000 rpm. 

Don’t neglect the purely mechanical design of this fast-spinning part. 

Have you considered optical sensors rather than inductive?

What will be counting the pulses?

LinuxCNC can lathe-thread with one sensor. 
But rigid-tapping is different as it needs to accurately detect the reversal 
point. So you need three channels for index and full quadrature. 

Work out what error you can accept in the reversal point detection (as a 
fraction of thread pitch) and you can get a feel for how many slots you need. 




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


Re: [Emc-users] Probing

2022-03-26 Thread andy pugh
On Sat, 26 Mar 2022 at 06:14, Thaddeus Waldner  wrote:

>  I imagine that I should write the probing routine in g-code and run it at 
> the push of the button … somehow.

Have a look at MDI_COMMAND in the INI config.

There are a set of input pins that will trigger a line of G-code when toggled.

You need more than one line, so need to call an O-word subroutine.

Then G10 can be used to set the work or tool offset.


-- 
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] Thoughts / Recommendations on spindle drive and motor

2022-03-24 Thread andy pugh
On Thu, 24 Mar 2022 at 17:16, John Figie  wrote:
>
> 1) Keep the 5HP motor and use a VFD to run the motor faster to get my 2000
> spindle speed? 2000 * 47/30 = 3133 RPM. I don't have much experience with
> induction motor drives. Is is feasible to run my motor at nearly double it
> rated speed?

Yes, the mechanical parts of a 1750 motor are identical to those of a
3000 rpm motor (or whatever your 60Hz ones do) so they are generally
fine at double frequency.
One advantage of doing it this way rather than gearing up is that you
have more torque at the lower speeds.

I would expect the DC motor to perform better at low speeds than the
induction motor, though. If you can drive it.

-- 
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] build problem on buster

2022-03-23 Thread andy pugh
On Wed, 23 Mar 2022 at 17:57, gene heskett  wrote:

> dd installed an early 2019 buster image to a 64G u-sd card.

I have had much better luck with the Pi imager for getting the ISO onto an SD.

https://www.raspberrypi.com/software/

Maybe try the 64-bit Buster / LinuxCNC image here:
https://drive.google.com/file/d/1sdFvmJx439lZQsqxUZ8LXp5MmouADjQE/view


(Link copied 
from:https://forum.linuxcnc.org/9-installing-linuxcnc/45212-linuxcnc-on-raspberry-pi-4#237299
)


--
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] build problem on buster

2022-03-23 Thread andy pugh
On Wed, 23 Mar 2022 at 13:50, Mark Wendt  wrote:

> ./configure --help should give you all the options for that particular
> version of configure.

andypugh@buster:~/linuxcnc-dev$ ./debian/configure --help
configure: Set up debian/ files to build for a particular kernel

Usage:
configure uspace [noauto | rtai | rtai=packagename | xenomai] ...
Build for a userspace realtime systems or simulator

configure sim
Deprecated synonym for 'configure uspace'

configure [kernel-version]
Build for the installed RTAI realtime kernel specified by
[kernel-version], for example "3.4.9-rtai-686-pae"

configure -r
Build for the currently running kernel for RTAI realtime only

configure -a
If the currently running kernel has realtime extensions, use it.
Otherwise use any available realtime kernel it can find.

I have a feeling that this is mentioning RTAI in rather more places
than it should.

-- 
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] build problem on buster

2022-03-23 Thread andy pugh
On Wed, 23 Mar 2022 at 12:14, gene heskett  wrote:

> cd /media/pi/workspace/buster-linuxcnc/debian
> ./configure uspace

I think that debian/configure ignores "uspace"
https://github.com/LinuxCNC/linuxcnc/blob/cd053635eafb7963a0f66836acf30d87b2102d1c/debian/configure#L48

From the linuxcnc-dev folder (one below debian) I do:

./debian/configure -r
dpkg-buildpackage -b -uc

-- 
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] build problem on buster

2022-03-23 Thread andy pugh
On Tue, 22 Mar 2022 at 14:55, gene heskett  wrote:

> When that error was generated, .configure uspace had been run, which
> supposedly should have canceled the run-in-place.

I don't think so. Building LinuxCNC creates a run-in-place unless you
pass it an install location (which is deprecated as there is then no
way to clean up)

To get a non-run-in-place you should create a deb package and install that.

-- 
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] buildbot apt-key?

2022-03-21 Thread andy pugh
On Mon, 21 Mar 2022 at 19:27, gene heskett  wrote:

> How do I get and install the buildbot's apt-key EF1B07FEE0EE663E ?

Do the instructions on the buildbot page not work?
http://buildbot.linuxcnc.org



--
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] Because I can't seem to finish anything... Nebel lathe conversion.

2022-03-21 Thread andy pugh
On Mon, 21 Mar 2022 at 16:03, dave engvall  wrote:

> In line with the nebel prize: the machine should be a very light grey
> and your hand should pass thru it easily.  ;-) Nebel = fog.

Indeed. The Germans don't call it "mist" :-)

-- 
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] Because I can't seem to finish anything... Nebel lathe conversion.

2022-03-21 Thread andy pugh
On Mon, 21 Mar 2022 at 12:23, Sam Sokolik  wrote:
>
> Dad ground the ball screw nut.

Inventive :-)

I have used the RSH style a couple of times now.
http://www.gtenballscrew.com.tw/Page/Product/ProductDetail.aspx?ProductCategoryNo=123=15
Odd that the 16mm is smaller than the 12mm, but that might be
explained by the 16mm having an external ball-return tube that isn't
shown in the diagram.

There is a pic of it here: https://bodgesoc.blogspot.com/2016/08/holbrook08.html



--
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] Because I can't seem to finish anything... Nebel lathe conversion.

2022-03-21 Thread andy pugh
On Mon, 21 Mar 2022 at 13:53, Leonardo Marsaglia  wrote:
>
> Sam, have you had to soften the final portion of the ballscrew to machine
> that thread? I've never done it and the ones I'm mounting in the router are
> fixed (rotating nut).

I have machined a number of ballscrews. Typically I peel of the outer
hardened layer with CBN-tipped tools, but mainly because I have some.
It can be done with normal carbide, though you might need more than
one.
Very high surface speed and very light cuts is the way to go.

https://youtu.be/SmuZXXP_hMY

-- 
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] Because I can't seem to finish anything... Nebel lathe conversion.

2022-03-18 Thread andy pugh
On Fri, 18 Mar 2022 at 03:11, Sam Sokolik  wrote:
>
> https://www.youtube.com/watch?v=mes7pFZ90Fg

If you fitted linear scales you could potentially have manual rapids
by disengaging the half-nuts.



-- 
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] Carousel. ordinary encoder as sensor, comments on improvements?

2022-03-17 Thread andy pugh
On Thu, 17 Mar 2022 at 16:34, Peter Hodgson  wrote:

> I will shortly be attempting an LCNC retrofit on an Emco 320 and was 
> wondering how I was going to manage the toolchanger. I think this will really 
> help.

I think that the Emco toolchanger was already supported, actually.
It's an index slot, slot per tool and backing against a pawl system isn't it?

-- 
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] Carousel. ordinary encoder as sensor, comments on improvements?

2022-03-16 Thread andy pugh
in  bitenable "Set this pin high to start movement. Setting it
low will stop movement";
pin out bitactive "indicates that the component is active";
pin out bitready "This pin goes high when the carousel is in-position";
pin in  bitstrobe = 1 """Use this pin to indicate that the
position feedback is valid. Often
provided by binary encoders""";
pin  in bitparity_ """Some encoders supply a parity bit, if this
is connected then the
parity-error output bit will indicate parity errors""";
pin in  bitsense-# [32:personality] """Carousel position feedback
pins. In 'index' mode there
will be only 2 pins. sense-0 is the index and sense-1 is the pocket sensor.""";
pin in float rev-pulse """The duration in seconds for which a ratchet
changer (Boxford, Emco)
should pulse the reverse pin to lock the holder""";
pin in float fwd-dc "Velocity or duty cycle when forwards rotation is desired";
pin in float rev-dc " Velocity or duty cycle when reverse rotation is desired";
pin in float hold-dc "Duty cycle when carousel is in-position (to hold
against stop)";
pin in signed counts "Connect to the rawcounts of an encoder or a
stepgen in 'counts' mode";
pin in signed scale = 100"The number of stepgen or encoder counts
between successive pockets";
pin in signed width = 10 "How far each side of the exact scale to
signal a new pocket";
pin io bit index-enable "Used to home to an encoder index";
pin in  bitjog-fwd "Jog the carousel forwards one tool position";
pin in  bitjog-rev """Jog the carousel in reverse (only if dir = 2).
It is very important that these pins should be debounced and should probably
also be interlocked to only operate when the machine is idle.""";
pin out bitmotor-fwd "Indicates the motor should run forwards
(bigger numbers)";
pin out bitmotor-rev "Indicates the motor should run reverse.";
pin out bitparity-error "Indicates a parity error";
pin out signed current-position "This pin indicates the current
position feedback";
pin out float  motor_vel "The duty-cycle or velocity to drive a DC
motor or stepgen";

param r  signed state = 0 "Current component state";
param r  bithoming  = 0 "Shows that homing is in progress. Only
used for index mode";
param r  bithomed = 0 "Shows that homing is complete. Only used in
index and edge modes";
param r  float  timer "Shows the value of the internal timer";

option count_function;
option extra_setup;

license "GPL";
author "andy pugh";

variable int inst_sense;
variable int inst_dir;
variable int inst_pockets;
variable int inst_code;
variable int inst_parity;
variable int old_index = 0;
variable int base_counts = 0;
variable int target;
function _ ;

include "rtapi_math.h";

;;

int default_pockets = 8;
int default_code = 'G';
int default_dir = 2;
int default_sense = 4;
int default_parity = 0;

#define MAX_CHAN 8
static int pockets[MAX_CHAN] = {-1};
RTAPI_MP_ARRAY_INT(pockets, MAX_CHAN, "The number of pockets in each carousel")
static char *encoding[MAX_CHAN];
RTAPI_MP_ARRAY_STRING(encoding, MAX_CHAN, "Position feedback type")
static int dir[MAX_CHAN] = {-1};
RTAPI_MP_ARRAY_INT(dir, MAX_CHAN,
"set to 2 if the carousel is bidirectional")
static int num_sense[MAX_CHAN] = {-1};
RTAPI_MP_ARRAY_INT(num_sense, MAX_CHAN, "The number of sense pins to create")
// We have a hal pin and a modparam with the same name. From the user
// point of view I think that makes sense. In the code parity[] is the modparam,
// parity_ is the hal pin.
static int parity[MAX_CHAN] = {-1};
RTAPI_MP_ARRAY_INT(parity, MAX_CHAN, "0 for even parity, 1 for odd")

FUNCTION(_){
int i, d, pow;
int pcalc = 0;
int mod_pocket = 0;
int new_pos = 0;
unsigned int mask;

switch inst_code{
case 'G': // Gray Code
for (i = 0; i < inst_sense ; i++) {
new_pos += sense(i) << i;
pcalc ^= sense(i);
}
for(mask = new_pos >> 1 ; mask != 0 ; mask = mask >> 1){
new_pos ^= mask;
}
break;
case 'B': // Straight Binary
for (i = 0; i < inst_sense ; i++) {
new_pos += sense(i) << i;
pcalc ^= sense(i);
}
break;
case 'D': // BCD
i = 0;
pow = 1;
while (i < inst_sense){
int lim;
d = 0;
for (lim = i + 4; i < lim && i < inst_sense; i++) {
d += sense(i) << (i % 4);
pcalc ^= sense(i);
}
new_pos += d * pow;
pow *= 10;
   

Re: [Emc-users] math challenged Q

2022-03-12 Thread andy pugh
On Sat, 12 Mar 2022 at 03:44, gene heskett  wrote:

> The max radius the corners of that stick, as its turned, ought to be some
> figure plus the 26 starting point when the square has been turned 45
> degrees,

The diagonal of a square is just sqrt(2) x the edge. (this follows
from Pythagoras, but is just something I have picked up along the way.
As a CEE you might see a parallel with working out peak from RMS
voltage)

So, if the radius to the flat is 26mm then the radius to the corner is 36.8mm.
(If you are working in radius then the little square with one corner
in the centre of the block and one on the block corner is what you
need to imagine)

And, for a no-maths check, just draw it in cad and add some dimensions :-)

-- 
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] pressure sensor?

2022-03-10 Thread andy pugh
On Thu, 10 Mar 2022 at 13:00, gene heskett  wrote:

> But neither of the $23 sensors I bought, actually works. black to -, red
> to 5v, green to dvm on my test table, one rests at nominally 1 millivolt,
> the other at around 27 millivolts which doesn't change with the applied
> pressure.

What are the sensors? Are they possibly PWM output and need a pull-up?

-- 
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] Black screen after Grub on fresh buster install

2022-03-09 Thread andy pugh
On Tue, 8 Mar 2022 at 22:43, Leonardo Marsaglia  wrote:

> I'm installing the buster ISO with LinuxCNC on it on a new machine (this is
> for the router) and after the grub menu I get some loading messages and
> then a black screen with a blinking cursor.

I think I heard that waiting a long time (half an hour?) sometimes works.

Is this the case with every kernel that grub lets you choose?

There are probably things that you can add to the grub command line
that help. (I think you press "e" in the grub menu for this)
But Google is likely to be a lot more help than me at this point.

-- 
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] Laser measurement sensor

2022-03-08 Thread andy pugh
On Tue, 8 Mar 2022 at 14:31, Thaddeus Waldner  wrote:

> Now I need to get this signal into LinuxCNC. I think the MESA THCAD device 
> would work, though it’s a bit overkill. Does MESA have other 1 or 2-channel 
> A-D options, perhaps without the high voltage protection?

Many of the Mesa boards have (relatively low resolution) analogue
inputs on some pins.
But typically only 8 bit resolution which probably won't work here.

I would be tempted to try an ADS1256 board.
https://www.ebay.co.uk/itm/194241659854
I have one of those hooked up to the SPI of an AdaFruit Feather M0 as
part of a stalled Faro Arm project.

It _should_ be possible to read the SPI data in a HAL component. Somehow.

You could use a Mesa firmware with BSPI if the onboard SPI is hard to interface.

It looks easy in Python if you don't need realtime.
https://raspberrypi-aa.github.io/session3/spi.html

--
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] Laser measurement sensor

2022-03-08 Thread andy pugh
On Mon, 7 Mar 2022 at 17:47, Thaddeus Waldner  wrote:

> Does anyone here know of some brands/ models to check out?

I don't know if my reply got through. Look at micro-epsilon.


-- 
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] Laser measurement sensor

2022-03-07 Thread Andy Pugh


> On 7 Mar 2022, at 17:47, Thaddeus Waldner  wrote:
> 
> I’m looking for a laser distance sensor with about 1-3 thousandths resolution 
> and about a 5-10” working range. 
> I wouldn’t mind buying a used unit.

I think that some replies are being overly pessimistic
https://www.micro-epsilon.com/download/products/cat-optoncdt/dax--optoNCDT-1420--en.html#page=2=Fit
Looks like it might cover your requirements. 

Have a look on eBay there are some other variants on there. 


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


Re: [Emc-users] nother q re sensors

2022-03-07 Thread andy pugh
On Mon, 7 Mar 2022 at 02:08, gene heskett  wrote:

> The thread is not a tapered thread, measureing 12.95mm in the threads
> major diameter, and quite close to 1mm pitch, maybe .98mm?

If the measurements are correct then it is not BSP either.
https://en.wikipedia.org/wiki/British_Standard_Pipe
(Which is the international pipe thread standard used everywhere
except the US, a metricated imperial standard)

1/2" Gas thread fits the description:
https://www.bodgesoc.org/thread_dia_pitch.html
(Or possibly a "Brass" thread which were all 26 TPI)
But seems very unlikely on anything made after the 1950s.

Being pragmatic, I would run a die down the thread that I have a tap
for, and fit a Dowty washer,

-- 
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] step/dir driven spindle and rigid tapping

2022-03-06 Thread andy pugh
On Sun, 6 Mar 2022 at 22:31, Ralph Stirling
 wrote:

> plain parallel port stepper control.  I'm setting up the
> spindle as step/dir, since he doesn't have analog output.
> He especially wants to be able to do rigid tapping.
>
> I believe I can use the stepgen counts or position-fb
> in place of a spindle encoder

You sort-of can and sort-of can't.

It really ought to work, but threading relies in position zeroing at
the index. Encoders just do this, but stepgens don't AFAIK.

Basically the lack of index-enable in stepgen causes a problem with
this configuration.

I think that this has been solved on the forum, and I can think of
ways to do it in HAL, but it rather feels like something that should
be built in to stepgen.

If there is an actual one pulse-per-rev signal provided by the machine
then it's not so hard. Otherwise it is easier with 1:1 gearing and a
bit of a puzzle with not-1:1

This is all as I remember it, there might be things that I am unaware
of that are relevant.

-- 
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] Pi4 with LinuxCNC and MESA 7i92H

2022-03-06 Thread andy pugh
On Sun, 6 Mar 2022 at 19:22, Robin Szemeti via Emc-users
 wrote:
>
> Have you succesfully got the USB3 adapter to work with the Pi?  If so, what
> make/model is it,

Do you want USB to ethernet or USB to unspecified network? I have
several USB - Wifi things that work, but I am not sure that I have
tried my USB-ethernet adaptor with a Pi.

Typically my approach is to buy from PiHut, with the expectation that
they tested it.
https://thepihut.com/products/ethernet-hub-and-usb-hub-w-micro-usb-otg-connector
as an example.

-- 
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] talking to myself

2022-03-02 Thread andy pugh
On Wed, 2 Mar 2022 at 08:27, gene heskett  wrote:

> So, can I start at y=0 b=0 and run to y=457.2 b=20574 in one gcode move?

Yes.

-- 
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] Is there a better way - G76 for plain bearing lubricating grooves

2022-03-01 Thread andy pugh
On Tue, 1 Mar 2022 at 22:59, Peter Hodgson  wrote:

> The problem is that the spindle, run via a VFD needs to turn at only 50
> RPM to be able to have enough velocity on the Z stepper to achieve the
> correct pitch and the spindle doesn't seem to be stable enough or have
> enough torque at those revs to give a cosistent cut.

How many slots in the encoder? It should be possible to turn the
spindle by hand and get a stable cut...

In fact, turning the spindle by hand might be the answer to the low
torque issue. It is something that I have done in the past.
(In this video I have actually connected the table lift handle for the
mill to the back of the lathe spindle, the motor is turned off:
https://youtu.be/T4q8gCpeY1A?t=30 )

-- 
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] Recommendations for touch pad to replace mouse

2022-03-01 Thread andy pugh
On Mon, 28 Feb 2022 at 21:44, Ed  wrote:
>
> Title says most of it. For most commands I use the keyboard for the
> speed but changing the tooltable and a couple of other things I like to
> use a touchpad.

I use a touchscreen, and then in a holster in the side of the machine
I have an older version of this:
https://www.amazon.co.uk/Rii-K01X1-Mini-Wireless-Keyboard/dp/B01G6XGLQQ
Which offers a touchpad and a keyboard. It's actually pretty usable,
though I might go for something similar but bigger for more extensive
use.

-- 
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] Q for Peter?

2022-03-01 Thread andy pugh
On Tue, 1 Mar 2022 at 16:25, Peter C. Wallace  wrote:

> Not with firmware but you could replace the low side resistor network on the
> first 4 inputs with say 22K (was 1.8K) to get about a 5V full scale range

Or, less intrusively, boost the signal with an Op-Amp powered from the
field power?

-- 
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] Auxiliary axis DRO only

2022-02-28 Thread Andy Pugh


> On 26 Feb 2022, at 04:36, Thaddeus Waldner  wrote:
> 
> Anything else I can try?

How about a Python HAL component that logs encoder position (on a HAL pin) to 
file when a trigger pin goes high? 
As it would be a user space component you would need a “handshake” in the 
G-code. Ie a log / logged pair of signals. Possibly using a bidirectional pin 
in the same way as index-enable. 
M65(?) to trigger a measurement then wait-in-falling-edge before continuing 



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


Re: [Emc-users] Custom m codes

2022-02-28 Thread andy pugh
On Mon, 28 Feb 2022 at 10:51, andrew beck  wrote:
>

> I want to issue a m102
>
> And get this code run
>
> S5m3
> Halcmd setp hm2 7i77etc pin output on

This is slightly tricky, as you want to both issue a G-code command
and a Halcmd command.

I think you need to do a G-code remap to create a new M-code that runs
G-code, and then have that G-code include a custom M-code that calls
the halcmd.

Or:

Create a Python remap that includes an MDI to run the G-code then a
command to set the HAL pin.
(import linxcnc / import hal:
http://linuxcnc.org/docs/2.8/html/config/python-interface.html#_code_linuxcnc_command_code_attributes
http://linuxcnc.org/docs/devel/html/hal/halmodule.html#_set_p

Or:

Use a G-code remap and the little-documented (py, ...) "magic comment"
I have never seen docs for this, but alongside the other documented
"magic comments" there are:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_convert.cc#L1447


-- 
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] Couple Q's re 4th axis on a mill.

2022-02-25 Thread andy pugh
On Fri, 25 Feb 2022 at 15:19, gene heskett  wrote:

> Out of the alphabet of ABCUVW, which is the proper axis to call it?

If it is a rotary axis with an axis along Y then it is typically called "B".

> And, does this change the kinematics module which is trivkins now?

Probably not. It sounds like your job can be done with trivial kinematics.
Complex kinematics on cartesian machines is only generally needed for TCP code.
(TCP means that the G-code references XYZ positions and BC angles in
the _workpiece_ coordinate system rather than in the machine
coordinates.
There are examples on YouTube if you search for "LinuxCNC TCP")


-- 
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] Auxiliary axis DRO only

2022-02-25 Thread andy pugh
On Fri, 25 Feb 2022 at 05:12, Ralph Stirling
 wrote:
>
> You don't need a joint at all.  You can just have an encoder
> channel that doesn't connect to any joint.

True, though there is something to be said for having a dummy axis
just so that the LinuxCNC GUI will display the encoder position.

You don't need a stepgen, just set up the system as normal but leave
joint.N.motor-pos-cmd unconnected. Connect motor-pos-fb to the encoder
counter.
Then set the following error limits to several miles, and you should
get an onscreen readout of the probe position. (set the gui to actual,
not commanded..)

I am not sure what the built-in parameters such as #<_Z> show in this
situation. I would suspect that it is commanded position but it's not
hard to find out.

-- 
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] Auxiliary axis DRO only

2022-02-24 Thread andy pugh
On Thu, 24 Feb 2022 at 17:44, Thaddeus Waldner  wrote:

> Can anyone point me to a working example of this, or maybe point out what I 
> need to do with homing?

Set HOME_SEARCH_VELOCITY to zero and it will home to zero wherever it
is (ie, without attempting to move)
You also need to add a HOME_SEQUENCE for the dummy axis.

-- 
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] F-Engrave and LinuxCNC scripting

2022-02-24 Thread andy pugh
On Thu, 24 Feb 2022 at 01:42, Ralph Stirling
 wrote:
>
> If you wanted totally automated, you could use linuxcncrsh.

I don't think that linuxcncrsh is appropriate here, that is for remote
connection. I would plan on running the controlling script on the
actual controller PC.

It looks like what I intend can be done with the python interface:

program_open(string) - open an NGC file.
auto(int[, int]) - run, step, pause or resume a program.

Though the documentation on "auto" could afford to be a bit more
forthcoming on what the parameters do, or are for...

(Looking at emcmodule.cc it appears that the first integer is the command:
#define LOCAL_AUTO_RUN (0)
#define LOCAL_AUTO_PAUSE (1)
#define LOCAL_AUTO_RESUME (2)
#define LOCAL_AUTO_STEP (3)
#define LOCAL_AUTO_REVERSE (4)
#define LOCAL_AUTO_FORWARD (5)

And the optional second integer is the start line for run-from-line )

-- 
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] F-Engrave and LinuxCNC scripting

2022-02-23 Thread andy pugh
On Wed, 23 Feb 2022 at 17:58, mar...@r-bechtold.de  wrote:
>
> in the past I programmed single letters as gcode.

Yes, I have done the same thing for numbers to engrave scale rings.

This time I am using F-engrave and a cxf font that I created
specifically for the job at hand.

(CXF is easy, just a set of lines and arcs:
https://github.com/LinuxCNC/simple-gcode-generators/blob/master/engrave/cxf-fonts/normal.cxf
)

(note how this is part of the LinuxCNC code base already)

My questions are around how best to throw G-code at LinuxCNC and have
it do the job. I think I want my Python script to be in charge, ]

The simple option is to just keep overwriting a single file, then
reload that file and run it from the LinuxCNC GUI. But in some ways I
would prefer LinuxCNC to be entirely controlled by the Python script.
That is the part I am asking about. ie how to tell LinuxCNC to load a
file and then run it. part of this can be done in the _Axis_ interface
with axis_remote
(https://linuxcnc.org/docs/2.8/html/man/man1/axis-remote.1.html ) But
I am using Touchy. I was looking for a non gui-specific hook.


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] F-Engrave and LinuxCNC scripting

2022-02-23 Thread andy pugh
On Wed, 23 Feb 2022 at 16:36, Ralph Stirling
 wrote:
>
> Are you going to engrave one part at a time

One at a time. Each has a specific front and back (name on the front,
nickname on the back) so it's important to ensure they  match.

-- 
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] F-Engrave and LinuxCNC scripting

2022-02-23 Thread andy pugh
So,  have a spreadsheet of words to be engraved on several dozen
identical parts.

I am pretty sure that I can write a Python script to convert the words
to G-code using F-engrave in batch mode (I have done it from the CL,
so Python parsing CSV would just be a layer on top of that).

But what's the best way to get that G-code in to LinuxCNC and
executed? F-engrave can be used as an input filter, but I don't think
that is useful here.

I think I want to parse together a G-code program using output from
F-engrave, then push that to LinuxCNC (Touchy interface, to make it
more difficult :-)

Thoughts?

-- 
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] FW: [MachCNC] Mach4 teach/record

2022-02-23 Thread andy pugh
On Wed, 23 Feb 2022 at 04:46, Ralph Stirling
 wrote:

> The sserial i/o has some limitations
> on speed and is best suited to pendants and coolant or tool changer
> type use.

I don't think that this is true. I have been using sserial-connected
servo drives for 10 years or more. (8i20)

Have you noticed that the preferred interface for the STMBL is smart-serial?

One neat setup is a Mesa 7i94 hanging on the Ethernet port, and then
up to 8 STMBL drives.
http://store.mesanet.com/index.php?route=product/product=83_85_id=324

This does not _have_ to use proprietary Mesa hardware, a few folk have
made their own 7i94 equivalent boards using the Mesa firmware.
And STMBL talks STMBL but using STM32 code rather than the Mesa VHDL.


--
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] FW: [MachCNC] Mach4 teach/record

2022-02-22 Thread andy pugh
On Tue, 22 Feb 2022 at 18:01, Chris Albertson  wrote:

> That is the big advantage of open source.  But the problem is running it on
> an antique computer using a modified OS

I have rarely run LinuxCNC on an antique computer. Most of my
installations have been on brand-new hardware.

Although the _best_ computer I have for linuxCNC is fairly antique
(Core2 Duo) but gives latency figures in triple digits.
That's my testbed PC, permanently connected to a PCI parallel port,
7i73 via the onboard parallel port, 5i25 in the other PCI slot and a
7i80 hanging on the ethernet port.

It annoys me that so many people seem to believe that LinuxCNC
requires a parallel port. In fact it is mainly supported on an  "if
you really must, but..." basis.

-- 
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] FW: [MachCNC] Mach4 teach/record

2022-02-21 Thread andy pugh
On Mon, 21 Feb 2022 at 19:09, John Dammeyer  wrote:

> My wired pendant like the one in the video works great.  But I'm not sure how 
> that's relevant to my question with respect to someone wanting 4 rotary axis 
> that currently doesn't exist in MACH4

I don't think it matters all that much if an axis is rotary or linear.
There isn't anything to stop you setting the U axis scale such that it
rotates an effector in degrees.

Teach programming isn't super well-explored, I don't think. But there
is a sample script:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/scripts/teach-in.py
With a minimal manual page:
https://linuxcnc.org/docs/2.8/html/man/man1/teach-in.1.html
As it stands the script only records X, Y, Z. But as it's Python
expanding to more would be trivial. It would also be relatively easy
to have it output actual G-code programs rather than a position list.

-- 
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] need gcode maker

2022-02-21 Thread andy pugh
On Mon, 21 Feb 2022 at 17:33, gene heskett  wrote:

> G76 isn't terrible handy for a buttress thread being carved on a hard
> maple stick 20" long for a woodworking vise, turned by a B axis, with the
> 24k rev spindle doing the carving while y is being advanced by the pitch
> per rev.

OK, in that case I would code

G96 G1 Y-20 B28800 F0.001

(Well, actually, I would calculate the F rather than guess it)

You could use CAM, but I don't know of any free-to-use CAM systems
that do proper rotary axis work.

-- 
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] need gcode maker

2022-02-21 Thread andy pugh
On Sun, 13 Feb 2022 at 16:58, gene heskett  wrote:

> Does anyone else have a better idea?

For a simple thread? I would just hand-code a G76.

-- 
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] Mini-ITX PD12ri horrible jitter

2022-02-11 Thread andy pugh
On Sat, 12 Feb 2022 at 00:07, Andy Howell  wrote:

>   Its no pretty. Jitter is about 8. I had a look through bios
> settings, but nothing jumped out at me.
>
> Any ideas to improve it?

Which realtime system did you use? (at a guess, preempt-rt?)

Are you planning to use the parallel port? If not, then 80k is usable.

It _might_ be SMI. Is the latency generally good, with a regular crazy
excursion?
Try "latency-plot" from the command line to check this. If you see a
periodic spike every 64 seconds, then SMI is likely, but that
generally is a lot worse than 80k.


-- 
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] who has used thin client pcs

2022-02-10 Thread andy pugh
On Thu, 10 Feb 2022 at 03:04, andrew beck  wrote:
>
> Its just kinda hard to ship to New Zealand from UK.
> Anyone got a oceania source or asia

Mini-itx is just a motherboard standard.

mini-itx.com just happens to be a UK supplier. I often suggest using
their board finder, but then you can hopefully find a local supplier.

-- 
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] IJK vs R

2022-02-09 Thread andy pugh
On Wed, 9 Feb 2022 at 19:30, dave engvall  wrote:
>
> Hi,
> It would appear that the 'easy' way to compare the two methods would be
> to  use  sim or usrspace. That would get it plotted but I doubt the
> differences, unless gross, would be easily detectable on a plot.

Thde docs state that a 7% difference was seen, but with some brief
experimentation I can't see it:

F1000
G0 X0 Y0
G2 X10 Y0.1 R5.00025
G0 X0 Y0
G2 X10 Y0.1 I5.0 J0.05
M2

-- 
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] Setting up isolated spindle pot replacement

2022-02-09 Thread andy pugh
On Tue, 8 Feb 2022 at 20:05, andrew beck  wrote:

> Does anyone know how to set up the spinx1 cards I have a spare here.  What
> card Do I connect it up to?

You can connect it to anything that outputs PWM. Including the
parallel port (I think, it might not be very good at P-port PWM
frequencies)

-- 
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] Probably a silly question about G76 and G33

2022-02-09 Thread andy pugh
On Wed, 9 Feb 2022 at 15:01, Leonardo Marsaglia  wrote:

> I double checked my spindle.0.revs and went up to 1 for a full revolution
> and then resets to 0 to start over again. (positive values for clockwise
> rotation).

It sounds like something is resetting the spindle-index-enable bit for you.

-- 
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] Trouble with arc error

2022-02-08 Thread andy pugh
On Tue, 8 Feb 2022 at 02:57, Andy Howell  wrote:

> Maybe I'll set it up so when LinuxCNC
> starts, the tool table gets initialized with with just tool and pocket
> numbers.
...
> The init.ngc file does:
...
>G10 L2 P2 X0.484313 Y1.739985  ( Set jig offsets in G55 )

You can add
G10 L1 P1 X0 Y0 Z0
G10 L1 P2 X0 Y0 Z0
(etc, for every tool)


-- 
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] Trouble with arc error

2022-02-07 Thread andy pugh
On Tue, 8 Feb 2022 at 00:30, Andy Howell  wrote:

> What I still don't understand is how it got set. We don't use the tool
> table. We manually  touching off the Z.

It's easy to touch-off the wrong dimension. Perhaps someone, at some
point, jogged in Y just before touching-off. That sets Y as active
axis and if you don't notice, that is the one you touch off.
(you might also need to accidentally select the tool table, rather
than the coordinate system)

-- 
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] Trouble with arc error

2022-02-07 Thread andy pugh
On Mon, 7 Feb 2022 at 17:55, Andy Howell  wrote:

> I issued a G91.1 in the MDI as well.  I also deleted moved emc.var to
> make sure it wasn't picking anything up from there. There was nothing
> suspicious in there though. I don't think there are any other files that
> its stores state in, is there?

A spurious tool offset would be in the tool table.
Have a look in the tool.tbl file and ensure that you only have Z axis entries.

-- 
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] Trouble with arc error

2022-02-07 Thread andy pugh
On Mon, 7 Feb 2022 at 10:10, andy pugh  wrote:

> Have you accidentally switched between G90.1 and G91.1 ?

Forget that, I see that you have an explicit G91.1 in the code.

I suspect that you have accidentally introduced a Y _tool_ offset
during touch-off, touching off the tool rather than the coordinate
system.

-- 
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] Trouble with arc error

2022-02-07 Thread andy pugh
On Mon, 7 Feb 2022 at 05:12, Andy Howell  wrote:
>
> We had been cutting with the same gcode when suddenly it came up with an
> error:
>
> Radius to end of are differs from radius to start:

Have you accidentally switched between G90.1 and G91.1 ?

-- 
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] Execute MDI command, from hal pin

2022-02-05 Thread andy pugh
On Sat, 5 Feb 2022 at 20:24, Nicklas SB Karlsson  wrote:
>
> Anybody know about a method to execute a MDI command with g-code then on
> a hal pin flank?

What is the MDI_COMMAND?

I think that if it is pure G-code then it can be an OCALL
and you can use that same format in your G-code.

Alternatively, perhaps configure it as a use M-code or a remapped G-code.

-- 
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] What Would You Suggest?

2022-02-05 Thread andy pugh
On Sat, 5 Feb 2022 at 12:34, Stuart Stevenson  wrote:
>
> Guys,
> Causing me to 'think' this early hurts my head but I need to express this
> thought. It may be totally crazy but is there a way to 'double wind' a
> motor to cancel/use the back emf?

Yes, absolutely.
Unfortunately this also cancels out all the torque :-)

(In fact this is the way to identify the pole pairs and pole
directions on an 8-wire motor, by working out what combinations make
the rotor hard to turn, and which not, when the wires are shorted in
various combinations.)

-- 
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] Mini-itx 64bit mother board with parallel port

2022-02-03 Thread andy pugh
On Thu, 3 Feb 2022 at 15:28, dave engvall  wrote:

> At first glance it looks pretty good but lacks pci slots unless my eyes
> have fully given out.
> Ditto on disk interface.

Assuming you mean  https://www.onlogic.com/pd14ri/
It has 2 x SATA connectors and 1 x PCIe (so a Mesa 6i25 would fit)

-- 
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] Mini-itx 64bit mother board with parallel port

2022-02-03 Thread andy pugh
On Thu, 3 Feb 2022 at 02:11, Chris Albertson  wrote:
>
> I followed that link.Wow, that is a good deal.  Especially when you
> look at the power supply.   It uses a 12 volt barrel jack and a large size
> wall-wort.   The CPU burns all of 6 Watts.It could run on battery power.

If I was shopping I think I would look at:
https://www.mini-itx.com/~JNF9U-2930
Which has a DC power jack on the motherboard and will run from 24V
system power. (no PicoPSU or similar needed)

-- 
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] Mini-itx 64bit mother board with parallel port

2022-02-02 Thread andy pugh
On Wed, 2 Feb 2022 at 21:45, Andy Howell  wrote:

> Any suggestions for a 64bit mini-itx motherboard?

Where are you?

Try the board finder here:
https://www.mini-itx.com/store/category?type=motherboard

The left hand column lets you filter for p-port or p-port header at the bottom.
Don't select both, that returns nothing...

-- 
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] Stepper PID

2022-02-02 Thread andy pugh
On Wed, 2 Feb 2022 at 14:22, Thaddeus Waldner  wrote:

> Here is a short video that illustrates the problem.
> https://youtu.be/DdYYpdC51Vs

Admittedly I watched it with the sound off, but the P=100 looks "softer".

Maybe try going back to P=1000 but drop the axis, joint and stepgen
maxaccel down a bit.


--
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] 2.8 or 2.9?

2022-02-02 Thread andy pugh
On Wed, 2 Feb 2022 at 05:38, Andy Howell  wrote:

> I maintain a gantry style CNC  router for our high school robotics team.
> Tonight our hard disk died. I need to decide what version to install.
>  From reading the list, it looks like 2.9 is close to release. My
> preference would be to go with that. Any reason I should go with 2.8.2
> instead?

2.8.2 is tested, released, and known-good

2.9 is in development, might sometimes break, and contains
under-tested features.
As far as I know we don't even have a 2.9 release manager yet, so I
would not really describe it as "close to release"

Unless you need a feature that is in 2.9 but not 2.8 then I would suggest 2.8.

-- 
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] Stepper PID

2022-02-02 Thread andy pugh
On Wed, 2 Feb 2022 at 07:44, Thaddeus Waldner  wrote:

> 2) why is servo thread jitter even making into the stepper pulse train with a 
> Mesa Ethernet card and no communication errors? Do I have anything 
> misconfigured?

The idea of using a PID is that it compensates for the fact that the
servo thread updates don't get to the card exactly every servo period.
Sometimes the feedback - calculate - send of the required step rate
will run early, sometimes late.

I am hoping that PCW might pop up to explain exactly why the PID helps
here. It's not something I have paid that much attention to as I
rarely use steppers.

It might be interesting to try a non-pid config. (or just set P to
zero which has about the same effect)

-- 
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] motherboard that plays well with 7i43

2022-01-30 Thread andy pugh
On Fri, 28 Jan 2022 at 19:20, Chris Albertson  wrote:

> I was thinking of using the Ethernet interface Mesa board but then read it
> needs a dedicated Ethernet port in the host PC.  This means buying,
> installing, and configuring an Ethernet card. The PC or any PC today
> already has half a dozen USB ports.

And that's the answer. You connect the Mesa board to the onboard NIC
and then either use a WiFi or Ethernet USB dongle for networking.

-- 
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] motherboard that plays well with 7i43

2022-01-30 Thread andy pugh
On Fri, 28 Jan 2022 at 18:18, dave engvall  wrote:

> I'm looking for users that are actually using a motherboard with a 7i43
> and can recommend candidate boards from experience. Thanks in advance.

I used one for a while with an old Xeon server board, and have one on
my Core i5 test machine.

I don't think you will have any problems with any board that has a
built-in parallel port (back panel of mothrboard header) You can use
the board-finder here to locate candidates:
https://www.mini-itx.com/store/category?type=motherboard
Parallel ports / headers are on the left at the bottom of the list.

-- 
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] Axis configuration error

2022-01-30 Thread andy pugh
In the debug output I see:

HAL: ERROR: duplicate variable 'pyvcp.spindle-speed'

But don't see that in any of the HAL files that you have supplied.

Do you have a .axisrc file? I see some vaguely unfamiliar output after
Axis loads too.

-- 
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] mesa 7i80 configuration

2022-01-27 Thread andy pugh
On Thu, 27 Jan 2022 at 21:42, John Figie  wrote:

>  hm2: Firmware contains unknown function (gtag-7)

GTAG 7 is SPI:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hostmot2.h#L94

Do you need SPI?

-- 
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] miniature taper-lock type pulleys

2022-01-27 Thread andy pugh
On Thu, 27 Jan 2022 at 16:24, dave engvall  wrote:

> I use the mini   5/8" fits the SEM servo motors I use.

The problem with trantorque comes if you want a very small motor pulley.

What I have done in that situation when there is a thread in the end
of the motor shaft,  (in addition to the things already mentioned) is
bore the pulley tapered, then use a bolt in the shaft threaded hole to
pull a matching tapered split collar in.



-- 
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] Qtpyvcp error

2022-01-27 Thread andy pugh
On Wed, 26 Jan 2022 at 18:26, Valerio Bellizzomi  wrote:
>
> , I
> would need an ISO for master branch, how do I get it if it is
> available?

There isn't an ISO for master, as it hasn't been released.

-- 
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] buildbot key contains no user id

2022-01-27 Thread andy pugh
On Thu, 27 Jan 2022 at 13:45, Valerio Bellizzomi  wrote:

> the binaries ready to install, thank you Andy.

Go to store.mesanet.com, find your card then click the "Specification"
tab. For some opaque reason this is where the firmware download link
is.

-- 
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] buildbot key contains no user id

2022-01-27 Thread andy pugh
On Thu, 27 Jan 2022 at 11:06, Valerio Bellizzomi  wrote:

> Can you give me the URL for the hostmot firmware too?

Do you want the binaries or the (very out of date) version of the
source hosted by LinuxCNC?

-- 
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] miniature taper-lock type pulleys

2022-01-27 Thread andy pugh
On Thu, 27 Jan 2022 at 04:49, Ralph Stirling
 wrote:

>  I got to wondering if it
> would be possible to make a miniature taper lock
> type bushing and pulley to clamp onto a stepper
> shaft.  Anybody ever seen anything like that?

I have designed and used a few options.

Trantorque are great, but do require a relatively large pulley bore.
And they are not the cheapest.

Some alternatives that I have used:

Very thin taper-loc
https://bodgesoc.blogspot.com/2017/01/gears.html

Taper-loc / Trantorque hybrid
https://photos.app.goo.gl/8NTXSFrFtBfRQ2Ds7

-- 
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] BSPI man pages reference in documentation for mesa and hostmot2

2022-01-26 Thread andy pugh
On Wed, 26 Jan 2022 at 23:36, John Figie  wrote:

> *3) in the 7i65 component there are some lines that refer to RTAPI but in
> my case I am planning on using the PREEMPT RT enabled kernel. Does the
> component work with either?*

The RTAPI is a wrapper that supplies a uniform interface (API) for all
supported Realtime (RT) systems.

So the same RTAPI functions work for RTAI (kernel and uspace[1]),
Preempt-RT (uspace)  and Xenomai.

[1] Yes, you can compile uspace with an RTAI kernel, but I can think
of few reasons to do so

-- 
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] BSPI man pages reference in documentation for mesa and hostmot2

2022-01-26 Thread andy pugh
On Wed, 26 Jan 2022 at 23:36, John Figie  wrote:

> *1) what must I do to see these bspi man pages?*

Wel, they _should_ show up here at the bottom under "Hostmot2 API Calls"
https://linuxcnc.org/docs/2.8/html/
But they don't. Oddly.
They do appear in the old docs.
https://linuxcnc.org/docs/2.7/html/

It looks like the man pages are not being built. I hadn't noticed.

Not entirely legible versions (ie, groff/troff source) appear here:
https://github.com/LinuxCNC/linuxcnc/tree/master/docs/man/man3

-- 
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] 60's vintage position feedback.. (GE Accupins)

2022-01-23 Thread andy pugh
On Sat, 22 Jan 2022 at 04:49, Chris Albertson  wrote:
>
> Arduino?   Too slow to coune pulses if they happen every 0.0001 inch unless
> the table moves slow.

As long as it gets a couple of samples every 0.1" it should be fine.
Between the pins it's an absolute encoder, like a multi-turn resolver.

Though I would still suggest using one of the M4 or M0 boards from
Adafruit, as the clock rate and floating point performance are just
orders of magnitude higher, for about twice the cost.

-- 
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] rotary table re-engineeering

2022-01-23 Thread andy pugh
On Sun, 23 Jan 2022 at 23:30, fxkl47BF--- via Emc-users
 wrote:

> It looks like Palmgren had a passel of those.
> https://vintagemachinery.org/pubs/2459/16973.pdf

Page 14 shows a base design that could be copied.

-- 
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] rotary table re-engineeering

2022-01-23 Thread andy pugh
On Sun, 23 Jan 2022 at 18:59, Chris Albertson  wrote:

> But this is for a "*mini*-mill"  you do NOT need cast iron parts.

He said it was a "small mill". Many would consider a Bridgeport to be
a small mill. I certainly consider my Harrison to be small, but it
weighs nearly a ton.

But, making patterns and having parts cast is _fun_ :-)

-- 
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] rotary table re-engineeering

2022-01-23 Thread andy pugh
On Sun, 23 Jan 2022 at 02:26, fxkl47BF--- via Emc-users
 wrote:

> So from the photos in the ad what would I want to have made?
> A big rectangle?

Something stylish and in-keeping with the original, I would think.
Certainly a block thick enough to keep the lowest point of the main
casting clear of the table.
Then a couple of "wings" for hold-down bolts to clamp it to the mill
table. You need to decide whether you use 2 or 4 bolts. And think
about access to the nuts or bolt heads.

Then, because radiuses and fillets are "free" with printing and
casting, you might as well add those. Maybe your own logo :-)

Add extra metal where machining will be needed, and allow for shrinkage.

> The only "true" surfaces on the back are the dovetails.
> I think that's a bit of a wimpy mount.

It was considered adequate in the original design. I think it would be
fine. You could consider making the dovetail far longer, as you
probably don't need the traverse ability.
(But then you would have to make a new Gib rather than re-use the existing one)

Measuring the dovetail angle is important, I have seen 60, 45 and 55
degree dovetails on machines that I have owned.

-- 
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] UI options for small screen

2022-01-22 Thread andy pugh
On Sat, 22 Jan 2022 at 12:37, Thaddeus Waldner  wrote:

>Is it possible to modify Gscreen and remove/hide buttons and other features in 
>a way that will not be reversed with updates?

Gscreen is more of a framework for UI designing than a GUI, as I understand it.
https://linuxcnc.org/docs/2.8/html/gui/gscreen.html

Or, it seems that QtPyVCP is popular for custom GUIs too, for example:
https://www.qtpyvcp.com/showcase/mill_vcps.html
https://forum.linuxcnc.org/qtpyvcp/40082-monokrom-qtpyvcp-gui-for-plasmac-and-mill?start=0

Has anyone counted how many LinuxCNC GIUs there are now?

-- 
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] rotary table re-engineeering

2022-01-22 Thread andy pugh
On Sat, 22 Jan 2022 at 18:53, fxkl47BF--- via Emc-users
 wrote:

> Now just to get it shipped to southern US :)
> Actually there is a foundry not to far from me, Windy Hill Foundry.

Yes, if you are near Windy Hill, then I understand that they do a lot
of one-offs for vehicle restorers etc.

It's certainly worth considering.

-- 
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] rotary table re-engineeering

2022-01-22 Thread andy pugh
On Fri, 21 Jan 2022 at 16:25, fxkl47BF--- via Emc-users
 wrote:

> Making a new dovetailed back plate was what I was leaning towards.
> Any suggestion for material for this?
> A big slab of cast iron would be nice but I imagine but too pricey.

Well, I would 3D print a pattern and have it cast in iron. But I know
a foundry that is more than happy to do one-offs and charges £10 / kg
for castings pretty much irrespective of design.
(https://ajd-foundries.business.site)

If that isn't an option for you, then aluminium tends to come in most
cost effective per volume.

-- 
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] UI options for small screen

2022-01-22 Thread andy pugh
On Sat, 22 Jan 2022 at 06:00, Thaddeus Waldner  wrote:

> I’d be happy with the gmoccapy UI but it simply doesn’t fit on the screen. My 
> plan for now is to edit it and remove some of the manual control elements. 
> Any suggestions?

Try Gscreen, it is designed for editability.
Do you really mean 124x600?

-- 
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] rotary table re-engineeering

2022-01-21 Thread andy pugh
On Fri, 21 Jan 2022 at 15:15, fxkl47BF--- via Emc-users
 wrote:

> I recently acquired a Palmgren 800 rotary table for a faction of this cost.
> I would like to modify it to mount horizontally or vertically on a small mill.
> I'm open to suggestion before I start hacking.

I think that I would look at making a fixture to mount it via the
dovetail, and retain the angle bracket for vertical use.

I imagine that the intended use for it was on a horizontal mill.

Do you intend to keep it manual, or motorise it?

-- 
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] 60's vintage position feedback.. (GE Accupins)

2022-01-21 Thread andy pugh
On Fri, 21 Jan 2022 at 08:54, andy pugh  wrote:

> You might be able to do a lot better than that if you can find a way
> to have the Arduino set timers on interrupts.
> (How fast does the Arduino run a polling loop?)

I haven't watched the video yet (I am in a meeting :-) but I am not
clear on how the sampling rate relates to the positional accuracy.


-- 
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] 60's vintage position feedback.. (GE Accupins)

2022-01-21 Thread andy pugh
On Fri, 21 Jan 2022 at 04:50, Sam Sokolik  wrote:
>
> https://www.youtube.com/watch?v=ogUdjX3zerY
>
> The plan is to use the arduino to count the phase difference between the
> input and output.  The original control used a 250khz clock frequency to
> count

You might be able to do a lot better than that if you can find a way
to have the Arduino set timers on interrupts.
(How fast does the Arduino run a polling loop?)

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

2022-01-18 Thread andy pugh
On Mon, 10 Jan 2022 at 18:27, fxkl47BF--- via Emc-users
 wrote:

> > Though they are rather expensive if you pay full list price. I think I
> > found a good second-hand one.
>
> Just looking at the prices for those makes my pacemaker work overtime. :)

Maybe there is an answer here?

https://hackaday.com/2022/01/18/a-diy-cad-mouse-you-can-actually-build/

-- 
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] motor coolant for water cooled spindles.

2022-01-18 Thread andy pugh
On Tue, 18 Jan 2022 at 14:18, Todd Zuercher  wrote:
>
> Automotive applications were predominately iron, aluminum, and some plastic 
> with almost no copper for a very long time before different color antifreezes 
> became common.

Depends on your perspective, there is lots of copper in the engines I
am interested in. But those are probably older than you are thinking
of.

https://images.app.goo.gl/Y4ngUmEEtEftwtsX6

-- 
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] motor coolant for water cooled spindles.

2022-01-16 Thread andy pugh
On Sun, 16 Jan 2022 at 21:44, gene heskett  wrote:

> I first started out with rv antifreeze, but it spoiled and jelled solid

I think I would be tempted to try the waterless coolant that they sell
for cars, though that would depend on how much was needed. It's not
cheap.
https://motocrossactionmag.com/ten-things-you-need-to-know-about-waterless-coolant/

-- 
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] JOG motion inhibit

2022-01-16 Thread andy pugh
On Sat, 15 Jan 2022 at 02:40, Leonardo Marsaglia  wrote:

> I have a little question about inhibiting jogging motion. I know I can do
> that with G CODE but I would like to know if there's an easy way to extend
> it to JOG motion.

That depends on the source of the jog motion. I don't think that you
can do this for keyboard jogging in Axis, for example.

For jogwheel jogging in the HAL layer you can set the jog-enable pin
to false for the axis in question.
axis.L.jog-enable IN BIT / joint.N.jog-enable IN BIT

For continuous HALUI jogs I think you would need to set scale and / or
increment to zero to inhibit. (which does not affect keyboard / mouse
jogs from the GUI)
halui.axis.x.increment / halui.axs,jog-speed etc

A linked problem is deciding when to allow jogs to get away from the
limit shape. The GUIs tend to do this internally. If you are on the
positive limit then they allow negative jogs.

For a more complicated bounding box it is altogether more complicated.
I think that my approach would be to define the limits with an STL
file. The reason being that STL is a rather simple format, but
contains facet normal information.

Luckily jogging generally only happens in straight lines along each
axis (Not necessarily the case with analogue joypad jogging) so at the
start of motion you can pre-calculate the face that will be hit and
where.
Then, if the combination of the direction if that face normal, the
intercept point on the face, and the jog direction indicates that
motion should be allowed, then allow motion.

I would write this as a HAL realtime component, but it would probably
work OK as a Python userspace component, and then there would be
existing libraries available.

-- 
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] Field Oriented Control (FOC) algorithm for BLDC and Stepper motors.

2022-01-12 Thread andy pugh
On Wed, 12 Jan 2022 at 01:28, Chris Albertson  wrote:

>   This library would allow the stepper to be commanded
> as if it were a serial interfaced servo motor.

In principle so does LinuxCNC HAL and the "bldc" HAL 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, 1912


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


Re: [Emc-users] ER-32 Collet Wrench

2022-01-12 Thread andy pugh
On Wed, 12 Jan 2022 at 08:50, John Dammeyer  wrote:

> However, I foolishly did not order a collet wrench

I have only ever used hook-wrench style ones. It hasn't been a problem.

Or CNC then file out the corners of the teeth, by hand.

-- 
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] CNC controlled, plasma torch

2022-01-10 Thread andy pugh
On Mon, 10 Jan 2022 at 18:53, Robin Szemeti via Emc-users
 wrote:
>
> I'll probably just leave that one alone then, it spends most of its time
> cutting aluminium, where it isn't a problem.  I'd rather just have it
> working than spend too much time re-configuring it.

The changes required to go from 2.6 to 2.7 are minor:
http://linuxcnc.org/docs/2.7/html/getting-started/updating-linuxcnc.html#_updating_configuration_files

The 2.8 changes are significant, but almost entirely handled by an
automated script.

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

2022-01-10 Thread andy pugh
On Mon, 10 Jan 2022 at 19:04, Eric Keller  wrote:
>
> Does the space mouse work under linux?

Good question. apparently some models have a driver:
https://3dconnexion.com/uk/drivers/
-- 
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] CNC controlled, plasma torch

2022-01-10 Thread andy pugh
On Mon, 10 Jan 2022 at 14:15, Robin Szemeti via Emc-users
 wrote:

> ...  I've just been typing "sudo apt-get update" and "sudo apt-get upgrade"
> and letting it do its thing. I assume that it installs the latest available
> version for that platform.

No, it will install the latest release of that major version, but
moving between major versions has to be done deliberately (as it often
means config changes)

http://linuxcnc.org/docs/2.7/html/getting-started/updating-linuxcnc.html
http://linuxcnc.org/docs/2.8/html/getting-started/updating-linuxcnc.html

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

2022-01-10 Thread andy pugh
On Mon, 10 Jan 2022 at 17:14, fxkl47BF--- via Emc-users
 wrote:
>
> I'm in the market for a "decent" mouse for cad.

I think that any mouse will do. What makes the most difference for CAD
is what you have in the other hand.

I would now hate to be without my space-mouse for adjusting the
viewpoint, zoom etc,
https://3dconnexion.com/uk/product/spacemouse-compact/

Though they are rather expensive if you pay full list price. I think I
found a good second-hand one.

-- 
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] CNC controlled, plasma torch

2022-01-10 Thread andy pugh
On Mon, 10 Jan 2022 at 12:49, Robin Szemeti via Emc-users
 wrote:
>
> It's .. hmm ... I think 2.6 ... it was installed about 5 years ago I guess,
> and kept up with the occasional apt-get update/upgrade although it probably
> hasn't had one in the last year or so.  I can check the exact version next
> time I am in.

You should  be able to upgrade the linuxCNC version with no reason to
run the risk of an OS upgrade.

2.7 is available back to Ubuntu10.04 "Lucid" and 2.8 back to 12.04
"Precise" or Debian 7 "Wheezy".

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MinimumSoftwareVersions

The next version (2.9) will abandon almost all of the legacy OSs.
Because it is getting silly.

-- 
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] CNC controlled, plasma torch

2022-01-08 Thread andy pugh
On Sat, 8 Jan 2022 at 14:27, Robin Szemeti via Emc-users
 wrote:
>
> It was some years ago when I tried it, it was fine on thicker sheet, but
> not thin sheet, like I said, I expect there have been improvements in the
> trajectory planner since then.

There have been improvements to the TP and also some plasma-specific
tweaks, to the extent that I have read that LinuxCNC + PlasmaC is now
at least as good as the commercial controls and in many cases better.
(Note that I have never run a Plasma, this is purely from reading the
forum posts)

There is a plasma primer in the docs:
http://linuxcnc.org/docs/2.8/html/plasma/plasma-cnc-primer.html

There is a forum section on plasma cutters here:
https://forum.linuxcnc.org/plasma-laser
And a section specific to the Plasmac interface:
https://forum.linuxcnc.org/plasmac

-- 
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] Tormach writing open sorce ROS2/Machiekit/LCNC bridge.

2022-01-04 Thread andy pugh
On Tue, 4 Jan 2022 at 17:41, Robin Szemeti via Emc-users
 wrote:
>
> Out of interest, how is PathPilot related to LinuxCNC?

It's LinuxCNC with their own GUI on top. But maybe v2.7 as I don't
_think_ that they have the joints-axes changes in.

-- 
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] Harmonic Drive

2022-01-03 Thread andy pugh
On Mon, 3 Jan 2022 at 08:57, John Dammeyer  wrote:
>
> and then some sort of broaching/indexing to create the two ring gears

Have you seen: https://youtu.be/VJOem40ggkI?t=1167
(Home-shop gear skiving)

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


<    1   2   3   4   5   6   7   8   9   10   >