[Emc-users] Email Test (Please Disreguard)

2024-10-02 Thread Todd Zuercher
I tried changing my email address used for the mailing list, but have not
been receiving emails from the list since.  Just trying to test what the
problem might be

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


Re: [Emc-users] [Emc-developers] rt preempt

2024-09-23 Thread Todd Zuercher via Emc-users
I can't imagine it not being at least a build consideration that must be 
enabled when the kernel is compiled (like so many other things.)  but what do I 
know, I've never even built a kernel myself.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Friday, September 20, 2024 1:38 PM
To: EMC developers 
Cc: Enhanced Machine Controller 
Subject: Re: [Emc-users] [Emc-developers] rt preempt

[EXTERNAL EMAIL] Be sure links are safe.

On Fri, 20 Sept 2024 at 17:47, Rene Hopf via Emc-developers 
 wrote:
>
> Rt preempt is now mainline

Is it still a special build configuration, or can it be enabled on released 
vanilla kernels?

--
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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.9.3 has been released

2024-08-27 Thread Todd Zuercher via Emc-users
I have no experience with the Pi.   But I've been of the opinion that computer 
horse power has not been a real issue for Linuxcnc for a very long time.  A 
pc's real time latency generally has (or used to have) little to do with how 
fast the computer actually is.  It is more about the whole of the computer's 
architecture.  Back in the day we were running EMC2 on pcs with Pentium III and 
Pentium 4 cpus with respectable latency and adequate speeds.  Even a Pi3 is 
probably at least as fast or a faster pc than most of those old dinosaurs.

As long as a computer has enough processing power and resources to comfortably 
meet the host operating systems requirements, it will be fast enough to run 
Linuxcnc, so long as it can also reliably meet the real-time latency 
requirements.  Or at least that was the case with older RTAI kernels.  The 
newer Preempt-RT ones do seem to be more reliant on processing power to get 
decent latency.  I believe that may be because it is more of a patch within the 
kernel vs RTAI which is more on the outside.

Now to my uninformed mind it appears to me that ARM cpus would have a strike or 
two against them when it comes to real time.  (But I have no idea if that is 
actually true or just my own personal misconception.)  My thoughts being that 
an ARM cpu operates in more of an indeterminant manor than a CISC one.  True 
ARMs are used all the time for real real-time applications, but those are 
generally using a dedicated real-time os to do singular tasks, not trying to do 
real time within a threaded PC environment.   If this isn't the case would 
someone more familiar with the inner workings of computers please set me 
straight.

All that said, Pi3s have already been proven to work at least marginally, Pi4s 
to work adequately, and Pi5s???, but there's no evidence to expect less than 
the Pi4.

What was the question again?  And why did I type all this?  I'm just going to 
click send rather than delete, to try to justify my wasting of time.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: John Dammeyer 
Sent: Tuesday, August 27, 2024 12:38 PM
To: 'Enhanced Machine Controller (EMC)' 
Subject: Re: [Emc-users] LinuxCNC 2.9.3 has been released

[EXTERNAL EMAIL] Be sure links are safe.

I've read a posting on another forum where the author states he's running 
LinuxCNC with a Raspberry Pi using the Pi4 (and now Pi5) I/O pins configured to 
duplicate the PC parallel port.  With the quad core processor on the Pi is it 
now fast enough to duplicate a PC with a parallel port or is the guy full of BS?
John

> -Original Message-
> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> Sent: July 13, 2024 11:40 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] LinuxCNC 2.9.3 has been released
>
> If the old Lenovo PC has ahard drive, or better yet an SSD inside,then
> it will run much better then the Pi4 that is runniong off an SD card.
> Those cards a re very slow.
>
> If you want to upgrade the hardware replace th mechanical hard drive
> in the PC with a SATA SSD.  If it already has an SSD, then you are
> good already
>
> > On Jul 13, 2024, at 11:24 AM, John Dammeyer 
> wrote:
> >
> >
> >
> >> From: andy pugh [mailto:bodge...@gmail.com]
> >>
> >> On Sat, 13 Jul 2024 at 19:00, John Dammeyer
> >> 
> >> wrote:
> >>>
> >>> Hi Andy,
> >>> On my workbench for playing around I'm running 2.8.4 on a Pi4 with
> >>> an
> LCD
> >> touch screen and the MESA 7i92H.  How easy to update that?
> >>
> >> The best thing to do with a Pi is probably to make a new SD card
> >> from the LinuxCNC image, then copy your existing config across
> >> (probably easiest to put the linuxcnc folder on a USB stick then
> >> swap SD cards) Then you can always go back to the old, working, SD
> >> card if there is a problem.
> >>
> >
> > Thanks.  That's what I figured.
> > What about the 2.8.1 PC?  Better to replace it?  I picked it up
> > surplus for
> about $75 a number of years ago.  I have a second one as a spare.
> > John
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://li/
> > sts.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Cto
> > ddz%40pgrahamdunn.com%7C4a116847897741b4963608dcc6b6d4c4%7C5758544c5
> > 73f47cebee96c3e0806fb43%7C0%7C0%7C638603735784920972%7CUnknown%7CTWF
> > pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> > 6Mn0%3D%7C0%7C%7C%7C&sdata=fj%2FKIo

Re: [Emc-users] Question to electrics gurus: Correct setup forrectifier + capacitor

2024-08-07 Thread Todd Zuercher via Emc-users
Switching AC is much easier/cheaper than switching comparable DC voltage.  That 
is why most power supplies would put the inrush limiting circuit on the ac side 
of the rectifier.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis 
Sent: Wednesday, August 07, 2024 11:24 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Question to electrics gurus: Correct setup 
forrectifier + capacitor

[EXTERNAL EMAIL] Be sure links are safe.

trešd., 2024. g. 7. aug., plkst. 18:19 — lietotājs andy pugh
() rakstīja:
>
> Hopefully RS is more reputable:
> https://uk.r/
> s-online.com%2Fweb%2Fp%2Fsolid-state-relays%2F9032970%3Fgb%3Ds&data=05
> %7C02%7Ctoddz%40pgrahamdunn.com%7C3510c87aaee8449c88be08dcb6f529b6%7C5
> 758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638586411301778476%7CUnknown
> %7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ
> XVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Ia4IZ5KUJhqJ66yfDXAYYFn0yWIkH7HhdFR9mj2
> CvfQ%3D&reserved=0
>

Thank you! This looks better. Yes, I do trust RS. It says 240V AC on the case. 
What would it think about 340V DC?

Viesturs


___
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] 5v Encoder Power?

2024-07-19 Thread Todd Zuercher via Emc-users
Would it make a difference which card I have my 7i84 connected to?  I currently 
have it connected to the 7i85s.  Would moving it over to the 7i88 be better?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Wednesday, July 17, 2024 3:00 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] 5v Encoder Power?

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 17 Jul 2024, Todd Zuercher via Emc-users wrote:

> Date: Wed, 17 Jul 2024 16:59:54 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] 5v Encoder Power?
>
> Working on my 8 head machine refitting.
>
> The machine had been previously configured using a Mesa 5i25+7i85s 
> doing closed loop step/dir control with encoder feedback of 3 servos(xyz).
> (Other miscellaneous gpio was handled on an ISA card.)  Power for the 
> Mesa 7i85s was through the cable via the 5i25.
>
> With the update, the ISA card was replaced by a Mesa 7i84, and 7 
> additional step/dir outputs added using a Mesa 7i88.  The new machine 
> configuration is using 2 of the old servos to control the either end 
> of the Y gantry (previously only 1 servo), and 8 closed loop steppers 
> have been added for each of 8 Z spindles.


>
> It appears that adding and powering the 7i88 from the 5i25 has put too 
> much load on the 5v supply from the 5i25.  Now, when the servo drives 
> are not powered I am having trouble with the encoder feedback running 
> away.  I don't think this was a problem previously.  When the drives 
> are powered they add to the 5v that supplies the encoders and the feedback is 
> steady.

Thats unexpected since the 7I88 should draw only a few 100 ma when fully 
loaded. Are you sure the 5I25 and 7I88 cable power jumpers match?

>
> My 1st question is how large of a 5v supply should I add to power the 
> 7i85s and the encoder feedback?  Should I power both the 7i88 and 
> 7i85s using this supply or keep one powered from the 5i25?  Would 
> powering from a USB port be sufficient?

The 7I85S draws about 250 mA by itself, any encoder power needs to be added to 
this

>
> Next question while I setting up and trying to tune the gantry servos, 
> I found that I was having trouble with the position feedback from the 
> Mesa stepgen getting out of sync with the feedback from the encoders 
> if the drives were ever disabled.  Then when I am trying to run closed 
> loop using the encoder feedback, if the drives are disabled, I have 
> trouble with joint following errors when re-enabling them.  Any suggestions 
> for this problem?
> I believe the problem is the gantry is going out of alignment when 
> shut down and there needs to be some provision for resyncing them when 
> they are re-enabled.  But I'm not sure what steps need to be taken to do that.
> Rehoming might be an option (but not what I'd prefer), but I can't 
> even turn the machine back on (F3) without closing and restarting Linuxcnc.
>


If you are running with encoder feedback, the stepgen position should not be 
used (the stepgens would be run in velocity mode and only encoder feedback
used)




> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cd03a680d4c574b7238b408dca692ba65%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638568396327601119%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> Ab3OmM3kVfeS1343cihBJSCm5O2wo4%2FWhMikKz9PxIc%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cd03a680d4c574b7238b408dca692ba65%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638568396327615172%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=5%2FUdsJKuwA7kWOSULohDAzqYZhOrvw246nQXwfUOo8s%3D&rese
> rved=0
>

Peter Wallace
Mesa Electronics


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


[Emc-users] 5v Encoder Power?

2024-07-17 Thread Todd Zuercher via Emc-users
Working on my 8 head machine refitting.

The machine had been previously configured using a Mesa 5i25+7i85s doing closed 
loop step/dir control with encoder feedback of 3 servos(xyz).  (Other 
miscellaneous gpio was handled on an ISA card.)  Power for the Mesa 7i85s was 
through the cable via the 5i25.

With the update, the ISA card was replaced by a Mesa 7i84, and 7 additional 
step/dir outputs added using a Mesa 7i88.  The new machine configuration is 
using 2 of the old servos to control the either end of the Y gantry (previously 
only 1 servo), and 8 closed loop steppers have been added for each of 8 Z 
spindles.

It appears that adding and powering the 7i88 from the 5i25 has put too much 
load on the 5v supply from the 5i25.  Now, when the servo drives are not 
powered I am having trouble with the encoder feedback running away.  I don't 
think this was a problem previously.  When the drives are powered they add to 
the 5v that supplies the encoders and the feedback is steady.

My 1st question is how large of a 5v supply should I add to power the 7i85s and 
the encoder feedback?  Should I power both the 7i88 and 7i85s using this supply 
or keep one powered from the 5i25?  Would powering from a USB port be 
sufficient?

Next question while I setting up and trying to tune the gantry servos, I found 
that I was having trouble with the position feedback from the Mesa stepgen 
getting out of sync with the feedback from the encoders if the drives were ever 
disabled.  Then when I am trying to run closed loop using the encoder feedback, 
if the drives are disabled, I have trouble with joint following errors when 
re-enabling them.  Any suggestions for this problem?  I believe the problem is 
the gantry is going out of alignment when shut down and there needs to be some 
provision for resyncing them when they are re-enabled.  But I'm not sure what 
steps need to be taken to do that.  Rehoming might be an option (but not what 
I'd prefer), but I can't even turn the machine back on (F3) without closing and 
restarting Linuxcnc.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

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


Re: [Emc-users] Power source for 8i20

2024-06-25 Thread Todd Zuercher via Emc-users
Hang on here, back up a bit.  Start at the beginning.  What is the input 
voltage on the name  plate for the entire machine?  What voltage are you 
feeding to the machine?  For example if the machine's name plate calls for 
400v, but you are feeding it 460v, that would explain having about 30v too high 
voltage at the servo's transformer.  Does the machine have a large transformer 
in it similar to this that the main power goes through?
https://image.hgrinc.com/inventory/0823/0423194/20230804110345443_L.JPG
The different taps on a large transformer like that would allow you to adjust 
the main voltage to what is needed.  (Not all machines include this though.)

No, you cannot power an 8i20 with AC voltage, it must be fed DC.

All servo drives that run off AC power have the rectifier and capacitors for 
converting the AC to DC built in. (Therefore they are usually much larger and 
more expensive than an equivalent DC powered drive.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis 
Sent: Tuesday, June 25, 2024 5:02 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Power source for 8i20

[You don't often get email from viesturs.la...@gmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

piektd., 2024. g. 21. jūn., plkst. 15:52 — lietotājs Peter Wallace
() rakstīja:
>
> On Fri, 21 Jun 2024, Viesturs L?cis wrote:
>
> > Date: Fri, 21 Jun 2024 14:08:00 +0300
> > From: "[UTF-8] Viesturs L?cis" 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > 1) should I place rectifier bridge + capacitor for each drive
> > separately or feed them from one source?
>
> One source is better
>

Ok, got it!

>
> > 2) what is suggested max ripple voltage for 8i20?
> More an issue with the filter capacitors, the 8I20s current loop will
> track any ripple (which should be slight if you have 3 phase power)
>

I added those motor power ratings together, it is approximately 4kW. I found an 
online site that calculates required capacitance to achieve required ripple 
voltage. My assumption was 10V ripple (and even that requires 10mF capacitors). 
Is that acceptable value?

>
> > 3) do I understand correctly that rectifying 3phase 380VAC will
> > result in something around 540VDC which exceeds 8i20 limits and I
> > should use 1phase 230VAC (adding transformers seems to reduce AC
> > voltage seems like unjustified cost)?
>
> Yes, the 8I20 expects rectified 230V single phase or better, rectified
> 208V 3 phase. Rectifed 380VAC will cause an explosion...
>

I went back to machine and found out that servodrive power input is supposed to 
be 3phase 210VAC (210V between phases) - I had not paid much of attention to 
the transformer at the bottom of the cabinet. And under a layer of dust I found 
3 wires marked as 210V and in electric wiring diagram it also was marked as 
210VAC (between phases) and only destination of this output is servodrive power 
input. The thing is - I checked with multimeter and it was showing nice and 
stable 232,2 VAC between phases (+/- 0,1V between any of 3 phases, but I have 
no idea about the possible error of multimeter itself although I would assume 
it to be less than 1V). From servodrive manual it seems to me that this is a 
version with 3phase 200VAC input.

BTW If actual input seems to be 30V higher than rated, it seems to be the 
reason for A.40 "overvoltage" error.
Is there anything I can do to fix it? I have no idea. because it is direct 
output of transformer.

Anyway, the question is - how bad is it for 8i20 to rectify 3-phase 2302VAC?

>
> What are your motor voltage ratings?
>

I do not know where to check that. Nameplate in motor itself does not say that. 
From a table in servodrive manual I found that for Axis motor rated output is 
150W and rated current is 3A which make me think that rated voltage would be 
50V. Is it correct to calculate like that a 3phase motor? (IMHO this method 
should be fine for single phase).

Viesturs


___
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] Tool Offset Parameters?

2024-05-29 Thread Todd Zuercher via Emc-users
I was just trying to figure out something and found in my opinion the Linuxcnc 
parameters for #5401-5409 seem to be very broken.  The parameters only return 
the stored offsets for what ever tool number is loaded.  This seems very wrong 
to me, because the tool number loaded may have nothing to do with what tool 
offsets are actually applied.  I've often used a different tool offset with a 
tool number, such as for example using tool offset #102 with tool #2 to touch 
off on a feature of a profile tool rather than the tool tip.  But parameter 
#5403 will display the offset for the loaded tool number reguardless of what 
tool offset is actually applied using G43Hn or if additional offsets are 
applied using G43.1 or G43.2).  This seems like a big error to me.  Shouldn't 
these parameters return the offsets (or total offsets) applied by G43, G43.1, 
and G43.2 and not simply what is saved for the loaded tool number?

And if the developers feel the current behavior is correct, then how is a 
person supposed to look up what the current applied tool offset in fact is when 
it doesn't equal what is saved for the current tool number?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Tooloffset on Hal Pin?

2024-05-28 Thread Todd Zuercher via Emc-users
I tried to post this message las Friday, and a couple of times over the weekend 
and it kept bouncing.  What was up with that?

I think I was able to get an acceptable solution this morning from the forum by 
Aciera, here.  
https://forum.linuxcnc.org/24-hal-components/52747-custom-hal-component?start=0
And was able to use a user space python component to poll the tool table 
offsets I need and place them on hal pins.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher via Emc-users 
Sent: Tuesday, May 28, 2024 8:40 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: [Emc-users] Tooloffset on Hal Pin?

[EXTERNAL EMAIL] Be sure links are safe.

Is there a good way to read the values of multiple tool offsets from the tool 
table to hal pins?

For example I want to have 8 hal pins (offset-z1, offset-z2, offset-z3...) that 
would show the values saved in the tool table for (Tool#1 Z offset, Tool#2 Z 
offset, Tool#3 Z offset...).

Loading each tool offset one at a time so it can then be read from #5403, then 
writhing that to a hal pin using M68, is just not going to cut it.  I want to 
have all of the 8 different tool offsets I'm using expressed as hal pins at the 
same time, from machine start up, without user input or having to execute a 
g-code command.

No I am not using the tool offsets in a conventional manor.  The 8 offsets I'm 
using will be applied simultaneously to each of the 8 different Z axis joints 
for the 8 spindles on my gang router.  (The machine will never use a G43 or T 
code in a normal g-code file)  I do however want to be able to use G10 commands 
to set the values for each offset, both for manual adjustments, and probing 
routines.

Unfortunately I don't think I'm capable of writing some fancy hal component 
that reads the tool table then writes the appropriate values to 8 different hal 
pins.
(For me building a simple Python handler file that almost sort of works for a 
GladeVCP by cutting, pasting, and modifying excerpts of example code is 
daunting task that takes me days of fumbling around with.)


Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


___
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] Tooloffset on Hal Pin?

2024-05-28 Thread Todd Zuercher via Emc-users
Is there a good way to read the values of multiple tool offsets from the tool 
table to hal pins?

For example I want to have 8 hal pins (offset-z1, offset-z2, offset-z3...) that 
would show the values saved in the tool table for (Tool#1 Z offset, Tool#2 Z 
offset, Tool#3 Z offset...).

Loading each tool offset one at a time so it can then be read from #5403, then 
writhing that to a hal pin using M68, is just not going to cut it.  I want to 
have all of the 8 different tool offsets I'm using expressed as hal pins at the 
same time, from machine start up, without user input or having to execute a 
g-code command.

No I am not using the tool offsets in a conventional manor.  The 8 offsets I'm 
using will be applied simultaneously to each of the 8 different Z axis joints 
for the 8 spindles on my gang router.  (The machine will never use a G43 or T 
code in a normal g-code file)  I do however want to be able to use G10 commands 
to set the values for each offset, both for manual adjustments, and probing 
routines.

Unfortunately I don't think I'm capable of writing some fancy hal component 
that reads the tool table then writes the appropriate values to 8 different hal 
pins.
(For me building a simple Python handler file that almost sort of works for a 
GladeVCP by cutting, pasting, and modifying excerpts of example code is 
daunting task that takes me days of fumbling around with.)


Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Vevor 12 nm 90 v stepper servo

2024-05-23 Thread Todd Zuercher via Emc-users
Looks to be basically the same as these.
https://www.omc-stepperonline.com/ts-series-12-0-nm-1699-68oz-in-1-axis-closed-loop-stepper-cnc-kit-nema-34-motor-driver-1-cl86t-s120-v41
I have some of the much smaller NEMA23 version drives and motors from 
Stepperonline.  I am only just starting testing with them, so I don't have a 
lot of input to offer, other than they seem to work very well (so far.)  I also 
had one motor that had an encoder issue.  It behaved very oddly, until I 
figured that out.  (Sometimes almost running away before alarming and shutting 
down the drive.)  The encoder wheel had a sticky blob of goo smeared on it, 
cleaning it off fixed it though.

I did manage to kill one of them (accidentally connected the power supply 
reversed.)  And a brief autopsy reviled that the board inside the drive is 
labeled Leadshine with Leadshine part numbers.  And the drive's software for 
setting up, has Leadshine written all over it.  So it looks like Leadshine or 
their suppliers are selling to multiple resellers with similar parts (although 
with possibly different hardware options.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Dave Engvall 
Sent: Thursday, May 23, 2024 11:41 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Vevor 12 nm 90 v stepper servo

[EXTERNAL EMAIL] Be sure links are safe.

Hi,
Don’t know yet if I’m going to need this much power/torque but thot I’d ask 
anyway.
Does anyone have opinions/experience with these?  Tnx.
https://www.vevor.com/dc-stepper-motor-c_11221/2-phase-nema34-12nm-1712oz-in-closed-loop-stepper-servo-motor-hybrid-driver-cnc-p_010367219430?utm_source=taboola&utm_medium=paid.cpc_native&utm_campaign=taboola_dco_rt&tblci=GiBtwkCwiozAXA5Si6kNfSP3KvfDhFpOKrnj6DsAfV6lhiDm9V8o4eyxs5zi_7VyMPPiPQ#tblciGiBtwkCwiozAXA5Si6kNfSP3KvfDhFpOKrnj6DsAfV6lhiDm9V8o4eyxs5zi_7VyMPPiPQ
VEVOR Nema34 12Nm Closed Loop Stepper Servo Motor 2 Phase Hybrid Driver CNC Kit 
vevor.com ___
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] GladeVCP Question?

2024-05-22 Thread Todd Zuercher via Emc-users
So this begs the question, how is it done?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Morley 
Sent: Wednesday, May 22, 2024 11:58 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] GladeVCP Question?

[You don't often get email from chrisinnana...@hotmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

Yes



Sent from my Galaxy



 Original message 
From: Todd Zuercher via Emc-users 
Date: 2024-05-22 7:47 a.m. (GMT-08:00)
To: "Enhanced Machine Controller (EMC)" 
Cc: Todd Zuercher 
Subject: [Emc-users] GladeVCP Question?

Is it possible with Axis to have a GladeVDP side panel, and have a different 
GladeVCP embedded in a tab at the same time? How about multiple embedded tabs?

I've not seen examples how to do this.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


___
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


[Emc-users] GladeVCP Question?

2024-05-22 Thread Todd Zuercher via Emc-users
Is it possible with Axis to have a GladeVDP side panel, and have a different 
GladeVCP embedded in a tab at the same time? How about multiple embedded tabs?

I've not seen examples how to do this.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Tool length probe

2024-05-21 Thread Todd Zuercher via Emc-users
While your design is very simple and robust, it's lack of adjustability seems 
like it would be a bit of a problem.  This design by using button head screw 
heads for the contacts allows for very simple adjustability for leveling or 
concentricity.  I merely have the screws threaded into holes printed and taped 
into the plastic.  And the plastic holds the screws tight enough to not require 
any nuts.  I also didn't even bother with soldering anything, simply stuck the 
fine stranded wire into the screw holes before running in the screws.  I can 
adjust the level/concentrisity by changing the height of the screws.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Tuesday, May 21, 2024 9:11 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Tool length probe


[EXTERNAL EMAIL] Be sure links are safe.


On Tue, 21 May 2024 at 13:37, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
Don't know about that one.  But I did 3d print one that seems like it will work 
pretty well.

My design has been successfully 3D printed too: https://youtu.be/2ia1_NKQJKs

--
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] Tool length probe

2024-05-21 Thread Todd Zuercher via Emc-users
Don't know about that one.  But I did 3d print one that seems like it will work 
pretty well.  I haven't really used it much other than a few tests.  (I’m still 
working on The machine it is intended for.)  The design is based on this touch 
probe on thingiverse.  https://www.thingiverse.com/thing:721620  I made a flat 
base to replace the original top.  Attached is a Freecad file of the base I 
made.  Then for a touch surface I turned a steel piece 1.25" diameter with a 
1/4-20 threaded stud on the bottom, and honed the top surface smooth and flat.  
https://photos.app.goo.gl/yiyW5EA5syhmPgWw7



Todd Zuercher

P. Graham Dunn Inc.

630 Henry Street

Dalton, Ohio 44618

Phone:  (330)828-2105ext. 2031



-Original Message-

From: Viesturs Lācis 

Sent: Tuesday, May 21, 2024 7:03 AM

To: Enhanced Machine Controller (EMC) 

Subject: [Emc-users] Tool length probe



[You don't often get email from viesturs.la...@gmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]



[EXTERNAL EMAIL] Be sure links are safe.



Hello!



I need to add tool length sensor to a Biesse retrofit. So I wanted to ask the 
audience to share their experience of where to get one.

I found this:

https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.aliexpress.com%2Fitem%2F1005002538659888.html&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901084174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1ymY80qoOnunMvr9dKZui4WWZd%2F4dvQkqhOZTHXP2wg%3D&reserved=0



Any thoughts on how good/bad it is?



Viesturs





___

Emc-users mailing list

Emc-users@lists.sourceforge.net

https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901092336%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=cnzhdfAd5sIc%2FQplomZxEbrtqs%2FKqC9hACBEnBqBb0c%3D&reserved=0


Tool Touch Base.FCStd
Description: Tool Touch Base.FCStd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beam Stiffening?

2024-05-20 Thread Todd Zuercher via Emc-users
I did to exactly that.  With the dial indicator on the ends vs the center, it 
moved 10 times more in the center of the gantry than it did on the ends.  I 
will be the 1st to agree that the servo tuning could probably be better.  But 
this thing really is(was) a wet noodle.  At 12ft long, with the ends 
disconnected from the ball screws, +/-1 inch differences between the ends of 
the gantry wasn't difficult to achieve.  The two servos driving them really 
interact very little and behave independently of each other with one not really 
affecting the tune of the other.  More than likely this has been the true root 
cause of the majority of my servo tuning/carving issues with this machine since 
day 1. (We bought it about 15yrs ago.)  Originally the machine's two ends were 
driven by rack and pinions with a 12ft long torque tube connected between the 
pinion gears.  I had been blaming most of the wobble problems on torsional 
twisting of tube, belt squirm on the 7":1/2" sprockets on the belt reduction 
pullies for the servo, and a huge inertia imbalance for the servo, being used 
with a gear ratio more appropriate for a stepper motor.

While I kind of liked the idea of using cable trussing, my colleges did not.  
So we decided to go ahead with the steel tubing we had on hand.

That said, I a cut a piece of the 2x4x1/8" wall steel tubing, drilled holes in 
it spaced 1ft apart and mounted it on edge on the back of the beam.  It has 
made a huge difference, and now the gantry no longer wobbles when homing and 
hitting the center behaves approximately the same as hitting it on the ends.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Albertson 
Sent: Tuesday, May 14, 2024 9:26 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Beam Stiffening?

[EXTERNAL EMAIL] Be sure links are safe.

I think I fell for the “beam is bending” idea too.   It might be.   The way to 
find out is to measure the beam center with the dial indicator and then measure 
the ends of the beam.   It might be that the entire beam is moving

Is the gantry belt driven?   Long belts can act like springs.  The solution is 
wider belts.  It is easy to see that a belt that is twice as wide is twice as 
stiff.

I’d measure movement at the ends before any more thinking about the beam.

As for modifying the beam, you have to model it.  Guessing and “eyeball 
engineering” generally does not work well.   Any fix is going to be very 
expensive.  It is best to know it will work.


Everything that you add to that beam also adds mass.   Mass is what you want to 
get rid of.





> On May 14, 2024, at 1:56 PM, gene heskett  wrote:
>
> On 5/14/24 14:34, Eric Keller wrote:
>> Do something cheap because I'm not convinced it's the beam.  I've
>> done troubleshooting on things like this, and sometimes it's
>> stiffness and sometimes it's not stiffness. But it really doesn't
>> make sense that it would sit there and ring after a move, so you also
>> may have some tuning to do.  Possibly a notch filter?
>> Eric Keller
>> Boalsburg, Pennsylvania
>> On Mon, May 13, 2024 at 4:50 PM Todd Zuercher via Emc-users
>>  wrote:
>>>
>>> Anyone have any brilliant ideas to stiffen a woefully inadequate cross beam 
>>> on a gantry router without adding too much mass?  What is there now is a 4" 
>>> x 8" rectangular 3/8" walled extrusion that is 145" long.
>>>
>>> Under normal jogging commands the two servos control the ends of this 
>>> gantry reasonably well, but while the axis is homing the thing shakes and 
>>> wobbles terribly bad.
>
> This, on 3rd or 4th read, sounds as if the two servo's are not in tune with 
> each other.  Tuning servo's is not my strong suit, (and the only servo I had 
> was destroyed by the new autotune pid in linuxcnc, it found settings that mde 
> it ocillate and fried a $125 motor in around a minute. But this would be a 
> lot easier to synchronize if stepper/servo's were used. Rigged with a home 
> switch, maybe a prox switch since its non contact, with logic rigged so they 
> can back away from home and move in sync the rest of the day, getting sync is 
> running toward home until the switch trips on that end of the beam, run 
> toward home until both ends have tripped, call that home. From then until 
> powerdown, both motors getting the same step/dir signals will be in sync till 
> the powerdown. No fighting because the two servo's are not in an identical 
> state of tune. Hanpose has nema 34 and 42 motors of 12 NM, probably with more 
> torque and speeds than your servo's. The best description is that they just 
> work. And they use much less power than reg

Re: [Emc-users] Acceleration Settings?

2024-05-16 Thread Todd Zuercher via Emc-users
Maybe I spoke too soon.  I did a little more searching and found that there is 
an issue with MDI commands that they are executed with half of the acceleration 
of the settings.  Is this intentional for some reason, or is it a bug?

I confirmed with this machine that yes, regular G-code programs and jogging 
moves use the correct acceleration limits, but MDI commands only use half.  Why 
is that?  2.7 didn't have this behavior.

It kind of makes testing machine settings a pain in the...

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Jon Elson 
Sent: Wednesday, May 15, 2024 7:20 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Acceleration Settings?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/15/24 12:23, Todd Zuercher via Emc-users wrote:
> I'm trying to figure out something goofy that seems to be going on with my 
> acceleration settings.
> I'm running Linuxcnc 2.9.0 and Axis ui.
> I have all of the max_acceleration settings set for 20.0 (and 
> stepgen_maxaccel = 25), and for some reason everything only  moves with an 
> acceleration of 10 ipsps for G0 and G1 moves (confirmed with Halscope), but 
> jogging does go at 20.  Is there normal behavior or am I missing some setting 
> somewhere that is limiting the acceleration?
>
In the latest LinuxCNC there are TWO places that have accel and max velocity 
settings.  Jogging is in the JOINT_x part, and CNC moves are in the AXIS_x 
section.  In general, you want the same settings in both JOINT and AXIS 
sections.

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


[Emc-users] Acceleration Settings?

2024-05-15 Thread Todd Zuercher via Emc-users
I'm trying to figure out something goofy that seems to be going on with my 
acceleration settings.
I'm running Linuxcnc 2.9.0 and Axis ui.
I have all of the max_acceleration settings set for 20.0 (and stepgen_maxaccel 
= 25), and for some reason everything only  moves with an acceleration of 10 
ipsps for G0 and G1 moves (confirmed with Halscope), but jogging does go at 20. 
 Is there normal behavior or am I missing some setting somewhere that is 
limiting the acceleration?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


[Emc-users] Beam Stiffening?

2024-05-13 Thread Todd Zuercher via Emc-users
Anyone have any brilliant ideas to stiffen a woefully inadequate cross beam on 
a gantry router without adding too much mass?  What is there now is a 4" x 8" 
rectangular 3/8" walled extrusion that is 145" long.

Under normal jogging commands the two servos control the ends of this gantry 
reasonably well, but while the axis is homing the thing shakes and wobbles 
terribly bad.  Also If I put a dial indicator in the center of the bridge and 
hit the bridge forward or backward it will flex and wobble enough to displace 
the dial indicator +/-0.03 and it takes nearly a dozen wobbles to dampen it.  
But on the ends the servo's only have a few thousandths of give.

I'm less concerned about the actual stiffness and more worried about dampening 
the wobble.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Mesa Card Stepgens?

2024-05-10 Thread Todd Zuercher via Emc-users
Peter,

I've ran into another bit of a snag.  I have a couple of 24v relays from 
Automationdirect.  The resistance on the coils is about 635ohms.  I thought 
that the outputs on the 7i84 were supposed to be ok with running a small relay 
with up to about 40mA without needing a flyback diode.  It's close but just 
under that.  Well, I've managed to kill 3 of the outputs with those relays (the 
outputs are stuck always on).  I've put a couple of diodes on the relay coils, 
I hope that works and I don't ruin any more.  What does it take to replace the 
chip or chips that would be damaged by this?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace 
Sent: Monday, April 15, 2024 5:09 PM
To: Todd Zuercher 
Cc: Todd Zuercher via Emc-users 
Subject: RE: [Emc-users] Mesa Card Stepgens?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 15 Apr 2024, Todd Zuercher wrote:

> Date: Mon, 15 Apr 2024 20:22:03 +
> From: Todd Zuercher 
> To: Peter Wallace ,
> Todd Zuercher via Emc-users 
> Subject: RE: [Emc-users] Mesa Card Stepgens?
>
> Thanks Peter,
>
> We've had this 7i85s for quite a while, and it must be one of the
> early ones because I see DS34C87TM chips on it.
>
> I'm not sure I like the idea of using them single ended.  But is a
> +5v-0v single ended signal actually any better or even much different
> than a +/-3v differential signal?  How hard would it be to move the
> last steepen over to the 7i88 and have all 8 of these stepgens on one
> card?  I am not planning on using the Smart Serial output on the 7i88.
> The 3 servos have been working on the 7i85S for years and can stay there.

Differential is needed and advised for servo drives with line receiver inputs, 
however, with optocoupled input step/dir drives, there is little advantage to 
differential mode. With optocoupled input step/dir drives the input will only 
see ~3V drive in differential mode with the DS34C87 driver, so its better to 
run in single ended mode with the 7I85S sinking so you get full 5V drive.

>
> I am using the Smart Serial connection on the 7i85s to connect a 7i84.
>
> If all else fails I can simply set all of the other steppers the same
> as the slow one and leave it be.  Even the slow one is working as fast
> or faster than I was hoping it would, but a little more safety margin would 
> be nice.

The drives are likely not rated for 3V input so you would probably be better 
off if you ran single ended.


>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -----Original Message-
> From: Peter Wallace 
> Sent: Monday, April 15, 2024 3:41 PM
> To: Todd Zuercher via Emc-users 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mesa Card Stepgens?
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> On Mon, 15 Apr 2024, Todd Zuercher via Emc-users wrote:
>
>> Date: Mon, 15 Apr 2024 19:27:19 +
>> From: Todd Zuercher via Emc-users 
>> To: "Enhanced Machine Controller (EMC)"
>> 
>> Cc: Todd Zuercher 
>> Subject: [Emc-users] Mesa Card Stepgens?
>>
>> I was working on this machine where I need a whole bunch of extra stepgens.  
>> I am using a Mesa 7i85S and a 7i88 connected to a 5i25 card.  I was testing 
>> some of the stepper drives and I noticed that with one of the drive/motor 
>> combinations I am needing to use slightly longer step timing and lower max 
>> velocity.  I thought that this was odd, because all of the drives, motors, 
>> and mechanicals are the same for all of the ones I was testing.  The only 
>> difference is that the slower one was connected to a stepgen on the 7i85S 
>> and all of the others are on the 7i88.  So just for curiosity sake I checked 
>> the voltage at the input terminals of step/dir signals of the drive.  On the 
>> terminals connected to the 7i88 I found +/-5v, and on the one connected to 
>> the 7i85S there is only +/-3v.  This is the only difference I've been able 
>> to find between the different joints in question.
>>
>> Does it make sense that the voltages would be different on the step/dir 
>> outputs between the 7i85s and the 7i88?  Does it make sense that the 
>> difference would cause a difference in the required step timing?  Why might 
>> there be a difference between the output voltage on the two cards?
>>
>> Both cards are getting their 5v from the 5i25.  The 7i85S is also connected 
>> to 3 step/gen servo drives and their encoder's feedbacks.  Is it possible 
>> that the 5v drain from the encoders might be causing the lower voltage on 
>> the 7i85S's outputs?
>
>

Re: [Emc-users] Global Named Parameter?

2024-05-10 Thread Todd Zuercher via Emc-users
But I need to read them when they are not applied.  (I'm not using the tool 
offsets in the conventional manor.)

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: Andy Pugh 
Sent: Friday, May 10, 2024 3:31 PM
To: Todd Zuercher 
Cc: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Global Named Parameter?


[EXTERNAL EMAIL] Be sure links are safe.



On 10 May 2024, at 19:55, Todd Zuercher 
mailto:to...@pgrahamdunn.com>> wrote:
Is there a way to bring out a tool offset to a hal pin?

HALUI<http://linuxcnc.org/docs/stable/html/man/man1/halui.1.html#Tool>
linuxcnc.org<http://linuxcnc.org/docs/stable/html/man/man1/halui.1.html#Tool>
[cid:image001.png@01DAA2F4.C58B4690]<http://linuxcnc.org/docs/stable/html/man/man1/halui.1.html#Tool>

Halui.tool

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


Re: [Emc-users] Global Named Parameter?

2024-05-10 Thread Todd Zuercher via Emc-users
Is there a way to bring out a tool offset to a hal pin?

Here is a better description of what I'm trying to do.  On this gang router 
machine I'm working on.  I created an extra joint for each of the 8 stepper 
motors that move each of the 8 spindle Z axis.  In the config I have the Z axis 
connected to a dummy joint that doesn't actually do anything.  I have 8 enable 
signals from a gladevcp that can turn on/off each spindle.  When a spindle is 
enabled the spindle run signal is connected to the VFD for that spindle, and 
the position command from the dummy Z axis joint is connected to that spindle's 
extra Z-axis joint plus an offset.  I want to use that offset to adjust for 
tool and material height differences between each of the spindles.  When the 
spindle is disabled, the spindle's extra joint is moved up to it's "zero" home 
position and the VFD is disabled.

I want the machine operator to both be able to manually make adjustments to 
that offset between the Z-axis command and extra spindle joint, and be able to 
use a probing routine to touch off the tool using a touch probe.  Initially I 
thought it would work well to use 8 tool offsets for this, but I'm unsure of 
the best way to put those tool offset values on hal pins to connect them to the 
offset pins.  The machine will not be using T codes or G43 tool offsets in the 
G-code, so using the tool table in not quite the normal fashion shouldn't cause 
any problems.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Thursday, May 09, 2024 7:33 PM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Global Named Parameter?


[EXTERNAL EMAIL] Be sure links are safe.


On Thu, 9 May 2024 at 18:55, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
I would like to create a few persistent global named parameters.

Hmmm

You can make numbered parameters persistent simply by adding them to the .vars 
file.

 So one way would be to run a subroutine in STARTUP_G_CODES which transfers 
persistent numerical parameters into named ones.
But that leaves the storage of them unsolved.

I did something like you describe with a Python HAL component a while ago. 
Maybe this can be modified to do the trick for you?

https://forum.linuxcnc.org/38-general-linuxcnc-questions/50010-stmbl-pseudo-absolute-resolver-behaviour#280386

It basically loads some values from a file at startup, then saves the values to 
file at shutdown.
https://forum.linuxcnc.org/38-general-linuxcnc-questions/50010-stmbl-pseudo-absolute-resolver-behaviour#280386

--
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] cloning hard drive

2024-05-10 Thread Todd Zuercher via Emc-users
I'll 3rd Clonezilla.  I also use it quite a bit at work, for backing up and 
restoration of hard drives for machines, (mostly Windows machines, but it works 
on Linux as well.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Sam Sokolik 
Sent: Friday, May 10, 2024 6:50 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] cloning hard drive

[EXTERNAL EMAIL] Be sure links are safe.

2nd clonezilla..  use it all the time at work.

On Fri, May 10, 2024, 5:42 AM Ed  wrote:

> On 5/10/24 4:10 AM, andrew beck wrote:
> > hey everyone
> >
> > a bit off topic here
> >
> > i have my main laptop that i want to clone the hard drive on it for
> > a identical laptop for a backup
> >
> > this is used for running the linuxcnc machines and programming
> > drawing
> etc
> >
> > anyway just want to know what software people prefer for disk
> > cloning i have never done it before and i'm sure someone on here is
> > a expert on it
> >
> > cheers
> >
> > andrew
>
> Not an expert.
>
> Clonezilla.
>
> The computer that ran my CHNC lathe went down but the drive was OK.
> Used Clonezilla and transferred from a PATA drive to a SATA on a newer
> computer and was back on the air in about 2 hrs total.
>
>
> Ed.
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C5b7b68c5c80745f1683b08dc70df26bf%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638509350948595383%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=jFUoKK1NxJ0aZqNC%2FmKsy8%2BPTVysmPibAPUwPd%2FbNKE%3D&
> reserved=0
>

___
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] Global Named Parameter?

2024-05-09 Thread Todd Zuercher via Emc-users
I would like to create a few persistent global named parameters.  I want to be 
able to set and read the values of these parameters and save the value from one 
session to the next, and I want to be able to have the current value of these 
expressed as a hal output pin.

I want to use these parameters for setting and remembering the position offsets 
for extra joints (non axes joints).

Am I thinking along the right lines for this, or might there be a better way?  
Initially I thought about using tool offset table values, but I wasn't sure how 
to get those as hal pins to use in the hal file for offsetting the joint's 
position.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Like I said earlier, I added the user to the dialout group (using that usermod 
command below) and that fixed my issue.

My system does not show /dev/ttyUSB0 as locked  (I can't say for sure if that 
was the case before I added dialout to the user's groups.

"stat /dev/ttyUSB0"  does contain  Gid: ( 20/ dialout)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: zz...@seznam.cz 
Sent: Wednesday, May 08, 2024 1:45 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Mb2hal 2.9?

[You don't often get email from zz...@seznam.cz. Learn why this is important at 
https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

Bookworm has /dev/ttyUSB "locked"
File icon has red cross

stat /dev/ttyUSB0

Check if it contain:

Gid: ( 20/ dialout)

Then:

sudo usermod -a -G dialout $USER

"-- Původní zpráva --
Od: Todd Zuercher via Emc-users 
Datum: 08.05.2024 19:27:15
Předmět: Re: [Emc-users] Mb2hal 2.9?

Thanks Gene,

I'm not sure that, bug is completely relevant to my issue. As my Mb2hal config 
never used serial/by-id. It has always used /dev/ttyUSB0 to address the RS485 
device. Maybe serial by id might be a better way to address the specific serial 
port used, but I am not even sure if it is even be supported by Mb2hal or 
exactly how to set it up that way (none of the example Mb2hal configurations 
use it.) And even if it were possible, I'm not sure if I still would have had 
the permission problems and I would have also had to fix the udev bug first. 
Changing the permission is all I needed to do to get this working as it was 
before.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone: (330)828-2105ext. 2031

-Original Message-
From: gene heskett
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not. The old pc was running Ubuntu 10.04. (Because that
> was
the last Linuxcnc distro that seemed work with this old pc and it's ISA IO
card.) The new PC is running Debian 12 (installed using an ordinary Debian net 
install iso).
>
> The groups the user belongs to on the PC are "adm, dialout, cdrom,
plugdev, lpadmin, admin, and sambashare". The groups for the new PC are "cdrom, 
floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout"
> might
be the most logical possible permission deficiency, but I'm not sure if "dip" 
might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already. 
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.>
> http://www.p/
> grahamdunn.com%2F%252Findex.php%26data%3D05%257C02%257Ctoddz%2540&data
> =05%7C02%7Ctoddz%40pgrahamdunn.com%7C59f83c23425d48a02e7308dc6f8b585a%
> 7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507891505884667%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=AiUEBo31wTc8tCmh01ycujCEAsHQS1vaCpN0
> RI5YgCM%3D&reserved=0
pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone: (330)828-2105ext. 2031
>
> From: andy pugh
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
>
> Cc: Todd Zuercher
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users > wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C6

Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Gene,

Tell me more about this udev bug.

I'm not so sure this system even has it.  If I check the directory  
/dev/serial/by-id is there and has one device in it, and it looks like it is 
most likely my device.  If my system was affected bu this bug would the by-id 
directory not be there, or would it not have any devices in it, or would the 
device just not work?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was 
> the last Linuxcnc distro that seemed work with this old pc and it's ISA IO 
> card.) The new PC is running Debian 12 (installed using an ordinary Debian 
> net install iso).
>
> The groups the user belongs to  on the PC are "adm, dialout, cdrom, plugdev, 
> lpadmin, admin, and sambashare".  The groups for the new PC are "cdrom, 
> floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
> the most logical possible permission deficiency, but I'm not sure if "dip" 
> might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already.  
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> From: andy pugh 
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
> mailto:emc-users@lists.sourceforge.net>> 
> wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call  the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv
> ed=0

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis



___
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] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Thanks Gene,

I'm not sure that, bug is completely relevant to my issue.  As my Mb2hal config 
never used serial/by-id.  It has always used  /dev/ttyUSB0 to address the RS485 
device.  Maybe serial by id might be a better way to address the specific 
serial port used, but I am not even sure if it is even be supported by Mb2hal 
or exactly how to set it up that way (none of the example Mb2hal configurations 
use it.)  And even if it were possible, I'm not sure if I still would have had 
the permission problems and I would have also had to fix the udev bug first.  
Changing the permission is all I needed to do to get this working as it was 
before.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, May 08, 2024 12:23 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On 5/8/24 08:13, Todd Zuercher via Emc-users wrote:
> No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was 
> the last Linuxcnc distro that seemed work with this old pc and it's ISA IO 
> card.) The new PC is running Debian 12 (installed using an ordinary Debian 
> net install iso).
>
> The groups the user belongs to  on the PC are "adm, dialout, cdrom, plugdev, 
> lpadmin, admin, and sambashare".  The groups for the new PC are "cdrom, 
> floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner"
>
> So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
> the most logical possible permission deficiency, but I'm not sure if "dip" 
> might be an equivalent replacement for that.
>
Your debian 12 install has the udev bug I sent you a link to the fix already.  
It restores the missing two lines that setup the serial/by-id stuff for usb.

> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> From: andy pugh 
> Sent: Wednesday, May 08, 2024 4:18 AM
> To: Enhanced Machine Controller (EMC)
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
>
> On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
> mailto:emc-users@lists.sourceforge.net>> 
> wrote:
> It was already set to 3.
>
> What is your MB2HAL load line?
> What does lsusb call  the dongle?
>
> Are the two PCs in question running the same version of Linux?
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D&reserv
> ed=0

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis



___
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] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
Yes, it was a permission issue.  After I added the user to the "dialout" group 
it worked fine.  Thanks Peter for putting me on the right track.

That might be something that should be added to the Mb2hal documentation.  (If 
there isn't something about it already there.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-----
From: Todd Zuercher via Emc-users 
Sent: Wednesday, May 08, 2024 8:13 AM
To: andy pugh ; Enhanced Machine Controller (EMC) 

Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it's ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the old PC are "adm, dialout, cdrom, 
plugdev, lpadmin, admin, and sambashare".  The groups for the new PC are 
"cdrom, floppy, sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and 
scanner"

So, I'm not sure, to my unskilled eye, it would seem that "dialout" might be 
the most logical possible permission deficiency, but I'm not sure if "dip" 
might be an equivalent replacement for that.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread Todd Zuercher via Emc-users
No, they are not.  The old pc was running Ubuntu 10.04.  (Because that was the 
last Linuxcnc distro that seemed work with this old pc and it’s ISA IO card.) 
The new PC is running Debian 12 (installed using an ordinary Debian net install 
iso).

The groups the user belongs to  on the PC are “adm, dialout, cdrom, plugdev, 
lpadmin, admin, and sambashare”.  The groups for the new PC are “cdrom, floppy, 
sudo, audio, dip, video, plugdev, users, netdev, lpadmin, and scanner”

So, I’m not sure, to my unskilled eye, it would seem that “dialout” might be 
the most logical possible permission deficiency, but I’m not sure if “dip” 
might be an equivalent replacement for that.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

From: andy pugh 
Sent: Wednesday, May 08, 2024 4:18 AM
To: Enhanced Machine Controller (EMC) 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?


[EXTERNAL EMAIL] Be sure links are safe.


On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users 
mailto:emc-users@lists.sourceforge.net>> wrote:
It was already set to 3.

What is your MB2HAL load line?
What does lsusb call  the dongle?

Are the two PCs in question running the same version of Linux?

--
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] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
It was already set to 3.

On May 7, 2024 7:37 PM, John Dammeyer  wrote:
[EXTERNAL EMAIL] Be sure links are safe.

Todd,
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLinuxCNC%2Flinuxcnc%2Fblob%2Fmaster%2Fsrc%2Fhal%2Fuser_comps%2Fmb2hal%2Fm&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7C70ae95d405504cef1b5d08dc6eee9e4d%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507218366550444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7UxWW9Wd0gVGG%2BBuIZdcbVxL8nWIQbQcXnDPRfxz8Bg%3D&reserved=0<https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/user_comps/mb2hal/m>
b2hal_HOWTO.ini
This link says you can set a debug level.

#OPTIONAL: Debug level of init and INI file parsing.
# 0 = silent.
# 1 = error messages (default).
# 2 = OK confirmation messages.
# 3 = debugging messages.
# 4 = maximum debugging messages (only in transactions).
INIT_DEBUG=3

Maybe set yours to 3 to get more information?
John

> -Original Message-
> From: Todd Zuercher via Emc-users [mailto:emc-
> us...@lists.sourceforge.net]
> Sent: May 7, 2024 1:29 PM
> To: Peter Wallace; Todd Zuercher via Emc-users
> Cc: Todd Zuercher
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
> Peter,
>
> Not sure,  considering how many years ago its been since I set this up I
may
> have forrgotton about changing user permisions or adding a group.  I'll
have
> to look into that tomorrow.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Peter Wallace 
> Sent: Tuesday, May 07, 2024 4:16 PM
> To: Todd Zuercher via Emc-users 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Mb2hal 2.9?
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:
>
> > Date: Tue, 7 May 2024 19:59:55 +
> > From: Todd Zuercher via Emc-users 
> > To: "Enhanced Machine Controller (EMC)"
> > 
> > Cc: Todd Zuercher 
> > Subject: [Emc-users] Mb2hal 2.9?
> >
> > The machine that I've been working on updating from 2.7 to 2.9 has hit a
> snag.  The one thing I didn't change now seems to be giving me the most
> trouble.
> >
> > The machine has 8 vfds for running 8 router spindles, they are/were
> connected to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working
> find on the old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the
old
> mb2hal.ini and it's associated hal file over to the new machine and added
> them to the config, but I can not seem to establish communication between
> Linuxcnc and the drives.  Starting Linuxcnc from the terminal, and it
pukes out
> this string of error messages, so fast that I can't find any other
possibly more
> informative error messages further up the log, (beacaue I can't scroll
past all
> this other junk.)  My mb2hal config has 32 transactions, and there is an
error
> msg like below for each of the 32, then the list repeats ad nauseum.   Any
> one have any ideas what's going on?  The PC is running Debian 12, with
> Linuxcnc installed from the Debian repos.
> >
> > mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot
> connect
> > to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7]
> > mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal
> > get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to
> > link, ret[-1] fd[-1]
> >
> > Moving the RS485 dongle back to the old pc and loading the mb2hal config
> there gives no errors.  So it shouldn't be a hardware or config issue that
I'm
> aware of.  Did something significant change in mb2hal between 2.7 and 2.9
> that would require a change to the mb2hal configuration files?
> >
> > Todd Zuercher
> > P. Graham Dunn
> >
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2F&data=05%7C02%7Ctoddz%40pgrahamdunn.com%

Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
Peter,

Not sure,  considering how many years ago its been since I set this up I may 
have forrgotton about changing user permisions or adding a group.  I'll have to 
look into that tomorrow.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Tuesday, May 07, 2024 4:16 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mb2hal 2.9?

[EXTERNAL EMAIL] Be sure links are safe.

On Tue, 7 May 2024, Todd Zuercher via Emc-users wrote:

> Date: Tue, 7 May 2024 19:59:55 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] Mb2hal 2.9?
>
> The machine that I've been working on updating from 2.7 to 2.9 has hit a 
> snag.  The one thing I didn't change now seems to be giving me the most 
> trouble.
>
> The machine has 8 vfds for running 8 router spindles, they are/were connected 
> to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
> old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini 
> and it's associated hal file over to the new machine and added them to the 
> config, but I can not seem to establish communication between Linuxcnc and 
> the drives.  Starting Linuxcnc from the terminal, and it pukes out this 
> string of error messages, so fast that I can't find any other possibly more 
> informative error messages further up the log, (beacaue I can't scroll past 
> all this other junk.)  My mb2hal config has 32 transactions, and there is an 
> error msg like below for each of the 32, then the list repeats ad nauseum.   
> Any one have any ideas what's going on?  The PC is running Debian 12, with 
> Linuxcnc installed from the Debian repos.
>
> mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect 
> to link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[1] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[3] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[5] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1] mb2hal get_tx_connection ERR: mb_tx_num[7] 
> mb_links[0] cannot connect to link, ret[-1] fd[-1] mb2hal 
> get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to 
> link, ret[-1] fd[-1]
>
> Moving the RS485 dongle back to the old pc and loading the mb2hal config 
> there gives no errors.  So it shouldn't be a hardware or config issue that 
> I'm aware of.  Did something significant change in mb2hal between 2.7 and 2.9 
> that would require a change to the mb2hal configuration files?
>
> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cab367b57db9e4abbdc5108dc6ed282a3%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507097628024227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> rIq1Puq3K28VXm9oJqLE09fKDnjDgo1XGfCzicJGRTQ%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>

Could this be some permissions or device name error with USB--> RS-485 device 
driver?


Peter Wallace
Mesa Electronics


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


[Emc-users] Mb2hal 2.9?

2024-05-07 Thread Todd Zuercher via Emc-users
The machine that I've been working on updating from 2.7 to 2.9 has hit a snag.  
The one thing I didn't change now seems to be giving me the most trouble.

The machine has 8 vfds for running 8 router spindles, they are/were connected 
to Linuxcnc using Mb2hal and a usb RS485 dongle.  It was working find on the 
old pc running Ubuntu, RTAi, and Linuxcnc 2.7.  I copied the old mb2hal.ini and 
it's associated hal file over to the new machine and added them to the config, 
but I can not seem to establish communication between Linuxcnc and the drives.  
Starting Linuxcnc from the terminal, and it pukes out this string of error 
messages, so fast that I can't find any other possibly more informative error 
messages further up the log, (beacaue I can't scroll past all this other junk.) 
 My mb2hal config has 32 transactions, and there is an error msg like below for 
each of the 32, then the list repeats ad nauseum.   Any one have any ideas 
what's going on?  The PC is running Debian 12, with Linuxcnc installed from the 
Debian repos.

mb2hal get_tx_connection ERR: mb_tx_num[0] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[1] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[2] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[3] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[4] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[5] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[6] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[7] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]
mb2hal get_tx_connection ERR: mb_tx_num[8] mb_links[0] cannot connect to link, 
ret[-1] fd[-1]

Moving the RS485 dongle back to the old pc and loading the mb2hal config there 
gives no errors.  So it shouldn't be a hardware or config issue that I'm aware 
of.  Did something significant change in mb2hal between 2.7 and 2.9 that would 
require a change to the mb2hal configuration files?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] BeagleY-AI

2024-04-30 Thread Todd Zuercher via Emc-users
Why in the world would anyone here say not to bother with Linuxcnc?

However the idea of putting together, selling, and supporting long term a 
turnkey CNC kit sounds like a difficult and daunting task.  The turnover and 
obsolescence of commodity hardware is a big problem.  That is what would make 
creating such a kit not worth the effort.  (Although customer support and 
service is a big job to, and one certainly not to my liking.)  To do it you 
would almost have to go a route similar to Acorn where you build control the 
production of much of the hardware, so that you can ensure supply and 
compatibility between versions.

All that said, I'm not so sure the world really even needs it.  If you are 
going to build or retrofit a cnc machine, there is a certain knowledge and 
skill level that is required, regardless what hardware or software is used.  
Learning Linuxcnc should be well within the capabilities of anyone who has any 
business attempting such a task.

(Machinekit however might be mostly dead.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: John Dammeyer 
Sent: Tuesday, April 30, 2024 12:25 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] BeagleY-AI

[EXTERNAL EMAIL] Be sure links are safe.

Apparently available in June it looks like this version of the Beagle may well 
be a good successor to the original Beagle and MachineKit.

https://www.mouser.ca/new/beagleboardorg/beagleboard-beagle-y-ai-computer/



Except it would still require an add on card still called a cape perhaps?
And then would that cape be any cheaper than one of the Ethernet or SPI based 
products from MESA?  Is the projected $70 US cost any lower than a brand new PC 
clone that already runs LinuxCNC?



Just curious if this is finally the step into the single small box with 
LinuxCNC or MachineKit Turnkey CNC system for the older MACH or other users.
Or has the market now matured enough with other solutions like the Centroid 
ACORN

https://www.centroidcnc.com/centroid_diy/acorn_cnc_controller.html

and it's pointless to even bother with LinuxCNC?



John


___
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] VCP Panel Options?

2024-04-18 Thread Todd Zuercher via Emc-users
It has been a few years since I last built a VCP panel for a machine, and well 
time marches on and things change.  What would be the considered the most main 
stream, best supported VCP panel system?

The machine I'm overhauling had been set up with a PyVCP panel along the Axis 
UI.  Later machines I did used GladeVCPs.  Since then there have been newer QT 
based things for building VCPs (I know next to nothing about them.)  My old 
PyVCP was rather complex, it had check buttons to enable/disable each of the 8 
router spindles and displays to indicate each spindles run status feed back 
from the modbus control (run, stop, accel, decel, fault,...)  as well as a 
number of convenience features (cycle time display, jogging of work coord. 
Vacuum clamping...)  Most of these I could easily reproduce in a GladeVCP, 
except I'm not sure how to do the Spindle status displays.  In the PyVCP I used 
the image_u32 widget to display an appropriate image/lable for each possible 
status feedback from all of the VFDs.

There had been a lot of fuss with tools and depency depreciation for Glade 
about the last time I tried to use it  But QtVCP at that time was still not 
quite ready for simple use (needed more programming skills than I have.)

Is there or what might be the simplest way to achieve the same or equivalent 
display features I had before with Glade or QT VCP?  There are other changes I 
need to make to the VCP necessitated by changes made to the machine, so I need 
to re do it.  The old PyVCP is a bit of a bear to work with, expecially when 
things get complex.  So just weighing my options before I jump in and try to 
learn or relearn what I need to get this done.

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Big Tree Tech Re: Mesa Card Stepgens?

2024-04-18 Thread Todd Zuercher via Emc-users
What happens if your "NOW" time stamped command, is delayed in transmitting to 
the hardware's que and it isn't read until after it's time stamp has happened?  
(Things like this happen without realtime.)  There could be situations where 
too late could almost be worse than not at all.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Albertson 
Sent: Wednesday, April 17, 2024 8:51 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Big Tree Tech Re: Mesa Card Stepgens?

[EXTERNAL EMAIL] Be sure links are safe.

No it does not fail, we can always send new commands in real time to be 
executed “right away” (at the current time) and make the queued execution 
system look and act as if there were no queue.   A command taged with the 
current time will jump to the front of the queue.

The system also allows for very delayed execution of commands, like “in five 
minutes”.   This works well because you can queue a macro to do something like 
poll the voltage of a battery and then place itself back in the queue for five 
minutes later.  But as said with a current time or a special tag that says 
“now” it reverts back to the way LCNC works.

Remember that a time-tagged queue is not executed in order.  It is not  FIFO, 
so a command that is placed in the queue, even with 100 commands waiting does 
not need to wait for the others.


> On Apr 17, 2024, at 5:05 PM, Ray Henry  wrote:
>
> On Wed, 2024-04-17 at 09:13 -0700, Peter Wallace wrote:
>>
>>> LCNC really should be doing this.  If the Measa cards would maintain
>>> a queue and a synchronized clock we would not care at all about
>>> latency.
>>> Klipper
>>> proves the idea works.
>>
>> This is basically what Mach 3/4 do
>>
>> This fails as soon as you need the control to repond to feedback in
>> real time (Spindle synchronized motion, plasma THC etc etc) Its
>> possible of course to build this feedback into the interface
>> hardware, but there is a big advantage to having this feedback in
>> LinuxCNC where is works with any interface hardware, is extensible
>> and open, and where the feedback control math/logic has unlimited
>> resources.
>>
>>
>>
>> Peter Wallace
>
>
> The message on my 25+ year old coffee cup from the NIST Intelligent
> Systems Division reminds me at least three times a week to "SENSE ->
> MODEL -> ACT." in that order.  Thanks.
> Peter.
>
> Ray
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Ccd85dee376d64f54939b08dc5f41bfc7%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638489983214968539%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=bdsmSu1FEmeuDj6DNsClXkmGOwjVOMp4n5fcAew1Mjs%3D&reserv
> ed=0



___
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] Home to index triggers following error

2024-04-17 Thread Todd Zuercher via Emc-users
The machine is currently running Linuxcnc 2.7, but the Mesa cards, are 
significantly older, dating back to the Linuxcnc 2.5 era.

I'm not sure how comfortable a feel about updating this machine to current at 
the moment.  It is running 32-bit RTAI, and I'm not confident I'll be able to 
achieve the necessary latencies with the currently available mainstream 64-bit 
real time kernels required for the current version of Linuxcnc on the machine's 
current computer.  

All of my actively running Linuxcnc machines are still on 2.7.  I am in the 
midst of a major overhaul of one machine that will be current version of 
Linuxcnc.  But I'm very hesitant to pull the other running machines out of 
production to upgrade until after I have more experience working with the newer 
versions.  (JA and the move to requiring 64-bit kernels were very big changes.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Wednesday, April 17, 2024 1:09 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Home to index triggers following error

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 17 Apr 2024, Todd Zuercher via Emc-users wrote:

> Date: Wed, 17 Apr 2024 17:00:31 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: Re: [Emc-users] Home to index triggers following error
>
> Sorry to hijack the thread, but I've had to live with this on a machine that 
> I'm using cascaded double PID loops on.  I have the velocity loop PIDs 
> running in a fast floating point base thread to help with the tuning of some 
> cantankerous torque mode servos.  The position loops are still in the servo 
> thread (because I can't run the whole servo thread as fast as I can the 
> floating point base thread.)  Reading/writing to the Mesa hardware in a 
> faster loop than the servo thread seems to break the f-error disable for the 
> encoder reset.  I think because the encoder reset doesn't always occur when 
> the it is expecting it or something to that effect.  I've tried just running 
> a faster servo-thread, but I can run the lighter floating point base thread 
> about 4x faster than I can the whole servo-thread.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031

What LinuxCNC version?


There was a bug in the hostmot driver index handling that was fixed fairly 
recently (a couple of years ago)

>
> -Original Message-
> From: andy pugh 
> Sent: Wednesday, April 17, 2024 8:47 AM
> To: Enhanced Machine Controller (EMC) 
> 
> Subject: Re: [Emc-users] Home to index triggers following error
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> On Wed, 17 Apr 2024 at 12:45, Tomaz T.  wrote:
>
> now it doesn't trigger following error any more (homing completes
>> successfully), interesting thing is, that on first attempt of homing 
>> after fresh starting LinuxCNC I see quite large spike on f-error when 
>> hitting index pulse, this large spike doesn't accrue on any more on 
>> second attempt of homing or later, only after fresh start and on first one.
>
>
>
> It will only trigger the f-error  if the difference between the current 
> encoder position and the zero position is larger than the f-error limit.
> Once you have homed once jump will be at most a few encoder counts.
>
> --
> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Caabbda5a92bc456d94f908dc5f01089e%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638489705254573705%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=lQy1UeoeN80M7tWPYw5Dn5zQ7h6kCmXWUFT6iXsEPqs%3D&reserv
> ed=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2
> Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ct
> oddz%40pgrahamdunn.com%7Caabbda5a92bc456d94f908dc5f01089e%7C5758544c57
> 3f47cebee96c3e0806fb43%7C0%7C0%7C638489705254582556%7CUnknown%7CTWFpbG
> Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
> 3D%7C0%7C%7C%7C&sdata=%2B%2B3zezrWIsuDQ6dkuMvAJJeGqiK4NQ0XqmScHe6k2fc%
> 3

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Todd Zuercher via Emc-users
Sorry to hijack the thread, but I've had to live with this on a machine that 
I'm using cascaded double PID loops on.  I have the velocity loop PIDs running 
in a fast floating point base thread to help with the tuning of some 
cantankerous torque mode servos.  The position loops are still in the servo 
thread (because I can't run the whole servo thread as fast as I can the 
floating point base thread.)  Reading/writing to the Mesa hardware in a faster 
loop than the servo thread seems to break the f-error disable for the encoder 
reset.  I think because the encoder reset doesn't always occur when the it is 
expecting it or something to that effect.  I've tried just running a faster 
servo-thread, but I can run the lighter floating point base thread about 4x 
faster than I can the whole servo-thread.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Wednesday, April 17, 2024 8:47 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Home to index triggers following error

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 17 Apr 2024 at 12:45, Tomaz T.  wrote:

now it doesn't trigger following error any more (homing completes
> successfully), interesting thing is, that on first attempt of homing
> after fresh starting LinuxCNC I see quite large spike on f-error when
> hitting index pulse, this large spike doesn't accrue on any more on
> second attempt of homing or later, only after fresh start and on first one.



It will only trigger the f-error  if the difference between the current encoder 
position and the zero position is larger than the f-error limit.
Once you have homed once jump will be at most a few encoder counts.

--
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Cebfea5c501924f029c5308dc5edcaa7a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638489549065500531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=iNxGqNzkAKwXtD4PmQ2hHgkBuriUCq88Wl5WraibpAA%3D&reserved=0<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] Mesa Card Stepgens?

2024-04-15 Thread Todd Zuercher via Emc-users
Thanks Peter,

We've had this 7i85s for quite a while, and it must be one of the early ones 
because I see DS34C87TM chips on it.

I'm not sure I like the idea of using them single ended.  But is a +5v-0v 
single ended signal actually any better or even much different than a +/-3v 
differential signal?  How hard would it be to move the last steepen  over to 
the 7i88 and have all 8 of these stepgens on one card?  I am not planning on 
using the Smart Serial output on the 7i88.  The 3 servos have been working on 
the 7i85S for years and can stay there.

I am using the Smart Serial connection on the 7i85s to connect a 7i84.

If all else fails I can simply set all of the other steppers the same as the 
slow one and leave it be.  Even the slow one is working as fast or faster than 
I was hoping it would, but a little more safety margin would be nice.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Monday, April 15, 2024 3:41 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] Mesa Card Stepgens?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 15 Apr 2024, Todd Zuercher via Emc-users wrote:

> Date: Mon, 15 Apr 2024 19:27:19 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] Mesa Card Stepgens?
>
> I was working on this machine where I need a whole bunch of extra stepgens.  
> I am using a Mesa 7i85S and a 7i88 connected to a 5i25 card.  I was testing 
> some of the stepper drives and I noticed that with one of the drive/motor 
> combinations I am needing to use slightly longer step timing and lower max 
> velocity.  I thought that this was odd, because all of the drives, motors, 
> and mechanicals are the same for all of the ones I was testing.  The only 
> difference is that the slower one was connected to a stepgen on the 7i85S and 
> all of the others are on the 7i88.  So just for curiosity sake I checked the 
> voltage at the input terminals of step/dir signals of the drive.  On the 
> terminals connected to the 7i88 I found +/-5v, and on the one connected to 
> the 7i85S there is only +/-3v.  This is the only difference I've been able to 
> find between the different joints in question.
>
> Does it make sense that the voltages would be different on the step/dir 
> outputs between the 7i85s and the 7i88?  Does it make sense that the 
> difference would cause a difference in the required step timing?  Why might 
> there be a difference between the output voltage on the two cards?
>
> Both cards are getting their 5v from the 5i25.  The 7i85S is also connected 
> to 3 step/gen servo drives and their encoder's feedbacks.  Is it possible 
> that the 5v drain from the encoders might be causing the lower voltage on the 
> 7i85S's outputs?


I would check the 5V rail at the 7I85S card, and if its low, power the 7I85S 
directly from 5V rather the through the parallel cable. ALso the very first lot 
(many years ago) of 7I85S cards were built with DS34C87 drivers which do not 
have full 5V drive. If you have this card, you can get 5V drive by using single 
ended sinking outputs and 5V+ to drive step+ and 7i85s step- to drive
step-

>
> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cc87909c9a4b6452a9e7008dc5d83f6a5%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638488068569795566%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> %2BkgiY%2FC9l6%2BqT2O6bnpxqPKur7Myu6%2BaULa01B910Ck%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cc87909c9a4b6452a9e7008dc5d83f6a5%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638488068569804807%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=sb3DbNBIrWxq9OqYRv32Q6KHka%2FvXqAzp1QV8vF5EeA%3D&rese
> rved=0
>

Peter Wallace
Mesa Electronics


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


[Emc-users] Mesa Card Stepgens?

2024-04-15 Thread Todd Zuercher via Emc-users
I was working on this machine where I need a whole bunch of extra stepgens.  I 
am using a Mesa 7i85S and a 7i88 connected to a 5i25 card.  I was testing some 
of the stepper drives and I noticed that with one of the drive/motor 
combinations I am needing to use slightly longer step timing and lower max 
velocity.  I thought that this was odd, because all of the drives, motors, and 
mechanicals are the same for all of the ones I was testing.  The only 
difference is that the slower one was connected to a stepgen on the 7i85S and 
all of the others are on the 7i88.  So just for curiosity sake I checked the 
voltage at the input terminals of step/dir signals of the drive.  On the 
terminals connected to the 7i88 I found +/-5v, and on the one connected to the 
7i85S there is only +/-3v.  This is the only difference I've been able to find 
between the different joints in question.

Does it make sense that the voltages would be different on the step/dir outputs 
between the 7i85s and the 7i88?  Does it make sense that the difference would 
cause a difference in the required step timing?  Why might there be a 
difference between the output voltage on the two cards?

Both cards are getting their 5v from the 5i25.  The 7i85S is also connected to 
3 step/gen servo drives and their encoder's feedbacks.  Is it possible that the 
5v drain from the encoders might be causing the lower voltage on the 7i85S's 
outputs?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Carving a spiral

2024-04-10 Thread Todd Zuercher via Emc-users
Sudo spirals using line segments of arbitrary length are very simple with polar 
coordinates.
Here is a small g-code with anl o-sub that make one:

g20 g64 g90
s3400 m3
g0 z1
g0 x2 y0
g1 z-.1 f24
o100 repeat [800]
g91 g1 @-.0025 ^4.5
o100 endrepeat
g90 g0 z1
m2

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Chris Albertson 
Sent: Wednesday, April 10, 2024 4:26 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Carving a spiral

[EXTERNAL EMAIL] Be sure links are safe.

> On Apr 10, 2024, at 10:44 AM, Ralph Stirling via Emc-users 
>  wrote:
>
> Use the parametric equation of a spiral and compute it *inside* your
> g-code program.
>
> x(t) = c1 * t * cos(t) + x0
> y(t) = c2 * t * sin(t) + y0


COnceptually that is it.  But do you really want to cut afull depth 3mm slot 
with a 3mm tool in one pass?

There is another problem.  If you make equal increments of “t” the step size 
increases over time.  The steps are farr too small near the center so you waste 
time cutting too slowly.   You want to move in steps such that the desired arc 
and the straight line approximation is within some tolerance.   This is a hard 
problem.   I tried to solve it myself years ago.  My boss suggested a 
sollution:  Advance ’t’ is very tiny steps and co,put the error, if the error 
is small advance it advance it again, if not drop a point.  If you do this each 
point is just inside the tolerance.   It was slow.   I decided to make bigger 
jumps and if i overstepped to backup.

A good solution is not something you can program in g-cose and every get it 
right.

Today,  any reasonable engineer would simply draw the spiral in CAD and then 
click “generate path” and the CAD system would output the gcode and it would 
handle the roughing and finishing cuts and the tool changes and handle the 
spindle speed and cutting rates.   No math or thinking is required.

But as a challenge or a student exercise, writing an OPTIMAL solution in pure 
g-code that cuts the metal at the best rate while keeping tolerances is an 
interesting problem, not simple at all.  Most people would let their CAM system 
figure this out for them.



___
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: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Todd Zuercher via Emc-users
Your tool error problem may be unrelated to the encoder issue.   I'd start by 
examining the clamping mechanism and related safety switches that tell the 
control that the tool is properly locked in position.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia 
Sent: Wednesday, April 10, 2024 1:06 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

[EXTERNAL EMAIL] Be sure links are safe.

Found the main issue. The terminal block in wich the turret signals were 
connected is broken. Some of them were making contact. I isolate the terminals 
and now the no indexing problem is solved.

The only problem I have left to solve is why with some tools (like tool 8 for 
example) even if the indexing and clamping is done I get the tool error.

In any case, the plan of retrofitting the lathe to LinuxCNC is still going 
because I know this control will fail eventually.

El mié, 10 abr 2024 a las 14:03, Leonardo Marsaglia ()
escribió:

> From what I could find in the manual of the lathe it works in plain
> binary. Now I'm trying to measure the signals.
>
> Here's a link to the encoder manual:
> https://mp-e/
> lektronik.de%2Fwp-content%2Fuploads%2F2020%2F07%2FMP-BA-BRGE1-...-K-SA
> 12-SA13-en.pdf&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7C039cb05fb3184b
> 070ade08dc5980a365%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638483
> 656245382475%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
> zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=b3jfy3th9jvvEbMqu
> LHia7TpNGJWsh3i70N17ENFMh0%3D&reserved=0
>
>
>
>
> El mié, 10 abr 2024 a las 12:51, andy pugh ()
> escribió:
>
>> On Wed, 10 Apr 2024 at 15:05, Leonardo Marsaglia
>> 
>> wrote:
>>
>> >
>> > It seems there is a pattern, but it's a pretty weird one.
>>
>>
>> Do you know if the output is binary or gray code?  Gray code is more
>> likely.
>>
>> encoder value
>>
>> 00 =  = not used?
>> 01 = 0001 = good
>> 02 = 0011 = good
>> 03 = 0010 = good
>> 04 = 0110 = bad
>> 05 = 0111 = bad
>> 06 = 0101 = bad
>> 07 = 0100 = good
>> 08 = 1100 = wierd
>> 09 = 1101 = bad
>> 10 =  = bad
>>
>> I am not seeing an obvious pattern, but it is likely that tool 1 =
>> encoder 0, so.
>>
>> Pocket number
>>
>> 01 =  = good
>> 02 = 0001 = good
>> 03 = 0011 = good
>> 04 = 0010 = bad
>> 05 = 0110 = bad
>> 06 = 0111 = bad
>> 07 = 0101 = good
>> 08 = 0100 = wierd
>> 09 = 1100 = bad
>> 10 = 1101 = bad
>>
>> OK, still not seeing it...
>>
>> Straight binary?
>>
>> pocket
>>
>> 01 =  = good
>> 02 = 0001 = good
>> 03 = 0010 = good
>> 04 = 0011 = bad
>> 05 = 0100 = bad
>> 06 = 0110 = bad
>> 07 = 0111 = good
>> 08 = 1000 = wierd
>> 09 = 1001 = bad
>> 10 = 1011 = bad
>>
>> Hmmm We really need the encoder output scheme, rather than guessing.
>>
>> --
>> 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://lis/
>> ts.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctodd
>> z%40pgrahamdunn.com%7C039cb05fb3184b070ade08dc5980a365%7C5758544c573f
>> 47cebee96c3e0806fb43%7C0%7C0%7C638483656245392287%7CUnknown%7CTWFpbGZ
>> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
>> 3D%7C0%7C%7C%7C&sdata=MRgeEAFeEsT1ZlaPr0gFywDb%2FZeQdSPNo9b32MtZ0q8%3
>> D&reserved=0
>>
>

___
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: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Todd Zuercher via Emc-users
Are you sure that the machine uses an encoder for the turret positioning?  The 
fact that it will work at some tool positions seems to sound more like it has a 
series of switches, and that one of them isn't working.  The switches might be 
arrayed kind of like a Gray code encoder to give a form of absolute position 
for each pocket.  Loosing one signal could cause several of the pockets to not 
be seen and cause an endless hunt.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia 
Sent: Wednesday, April 10, 2024 7:56 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

[EXTERNAL EMAIL] Be sure links are safe.

Hello guys, I hope you're doing well

I'm having problems with a Daewoo Puma 12L lathe to index some tools. The 
problem is that some tools work well and others don't seem to be detected by 
the control to stop at the position and clamp the turret. So the turret keeps 
rotatring until the timeout triggers.

The lathe is working now because some turret positions are usable. But I would 
like to try and detect the problem in case it's the encoder, because they seem 
hard to find. Are you familiar with any of these? My idea in case the problem 
is the encoder is:

1- Replace it for the same encoder (which I can't find anywhere)

2- Use a 100 pulses abs encoder and scale it via a microcontroller to 10 pulses 
to accommodate it to what I need. Then feed those signals to the control. (The 
problem is I only found a basic manual for the encoder with the pinout, but 
nothing about how it behaves, I don't know if it uses a BCD or plain binary, 
etc...)

Of course in the near future this will be converted to LCNC and none of this 
would be a problem. But in the meantime I would like to have a backup in case 
the encoder fails completely.

Thank you!

___
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] 7i84 Trouble?

2024-04-02 Thread Todd Zuercher via Emc-users
Went and powered up the machine again today to give it a another look, and now 
I only get the two yellow LEDs on the 7i84 card (no red or green) and Linuxcnc 
isn't seeing the 7i84.

Yesterday it was at least half working with the proper LEDs on at the correct 
times (two yellow, and red with Linuxcnc not running, and two yellow, and 
blinking green with Linuxcnc.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher via Emc-users 
Sent: Tuesday, April 02, 2024 7:57 AM
To: Peter Wallace ; Todd Zuercher via Emc-users 

Cc: Todd Zuercher 
Subject: Re: [Emc-users] 7i84 Trouble?

[EXTERNAL EMAIL] Be sure links are safe.

Yes I have both VFIELDA and VFIELDB connected (I have a jumper wire between 
them).

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace 
Sent: Monday, April 01, 2024 5:30 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] 7i84 Trouble?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 1 Apr 2024, Todd Zuercher via Emc-users wrote:

> Date: Mon, 1 Apr 2024 20:49:01 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)"
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] 7i84 Trouble?
>
> I am working at trying to set up a 7i84 io card on a machine that I am
> refitting and I'm having some trouble with it.
>
> The outputs all seem to be working correctly, but I can only seem to
> get half of the inputs to work.  I have 24v DC to all of the Vin terminals.
> The inputs on TB2 seem to all be ok.  But the ones on TB3 are not.  In
> Hal, the 1st 8 inputs (0-7) all read false (no mater what I connect to
> them, and the 2nd 8 all read true (8-15) no mater what is connected to
> them.> The 7i84 is connected to the SS port on a 7i85S that is connected to a 
> 5i25.
>
> Any ideas what I might have messed up?   My best guess is that while I was 
> wiring up and testing limit switches I may have had a stray loose wire with 
> 24v touch against some place it shouldn't have.  (In hind sight, I probably 
> should have turned off the 24v while I was working on that.)
>

Do you have both VFIELDA and VFIELDB connected? sounds like an issue there



> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.p/
> grahamdunn.com%2F&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Ce662d0e5ba5
> 4462b099908dc53111a7a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638
> 476580144714557%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=2O6%2FRohCfn9f
> ji0EZDM7Hp6nCBbvIyFU4fmDXUxGqyE%3D&reserved=0%2Findex.php&data=05%7C02
> %7Ctoddz%40pgrahamdunn.com
> %7C186c62e7c8e744291a7008dc5292f955%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638476038415014930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> ccrEHvkZWcpQ9FU9Z6v%2B0A9SBejjH0hFMty1aNEg520%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> %2F&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Ce662d0e5ba54462b099908dc5
> 3111a7a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C63847658014472077
> 0%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6
> Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=z0vE8WEGy63egCOnOyoYxHVqMMWV
> 5r2QCHznB0Lw2LY%3D&reserved=0
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C186c62e7c8e744291a7008dc5292f955%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638476038415023302%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=BVn076kBBUwINxm1WL%2BuwiDZQhSzcDPl5KdAHBvBjOE%3D&rese
> rved=0
>

Peter Wallace
Mesa Electronics


___
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] 7i84 Trouble?

2024-04-02 Thread Todd Zuercher via Emc-users
Yes I have both VFIELDA and VFIELDB connected (I have a jumper wire between 
them).

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace  
Sent: Monday, April 01, 2024 5:30 PM
To: Todd Zuercher via Emc-users 
Cc: Todd Zuercher 
Subject: Re: [Emc-users] 7i84 Trouble?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 1 Apr 2024, Todd Zuercher via Emc-users wrote:

> Date: Mon, 1 Apr 2024 20:49:01 +
> From: Todd Zuercher via Emc-users 
> To: "Enhanced Machine Controller (EMC)" 
> 
> Cc: Todd Zuercher 
> Subject: [Emc-users] 7i84 Trouble?
>
> I am working at trying to set up a 7i84 io card on a machine that I am 
> refitting and I'm having some trouble with it.
>
> The outputs all seem to be working correctly, but I can only seem to 
> get half of the inputs to work.  I have 24v DC to all of the Vin terminals.
> The inputs on TB2 seem to all be ok.  But the ones on TB3 are not.  In 
> Hal, the 1st 8 inputs (0-7) all read false (no mater what I connect to 
> them, and the 2nd 8 all read true (8-15) no mater what is connected to 
> them.> The 7i84 is connected to the SS port on a 7i85S that is connected to a 
> 5i25.
>
> Any ideas what I might have messed up?   My best guess is that while I was 
> wiring up and testing limit switches I may have had a stray loose wire with 
> 24v touch against some place it shouldn't have.  (In hind sight, I probably 
> should have turned off the 24v while I was working on that.)
>

Do you have both VFIELDA and VFIELDB connected? sounds like an issue there



> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> www.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7C186c62e7c8e744291a7008dc5292f955%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638476038415014930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=
> ccrEHvkZWcpQ9FU9Z6v%2B0A9SBejjH0hFMty1aNEg520%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C186c62e7c8e744291a7008dc5292f955%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638476038415023302%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=BVn076kBBUwINxm1WL%2BuwiDZQhSzcDPl5KdAHBvBjOE%3D&rese
> rved=0
>

Peter Wallace
Mesa Electronics


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


[Emc-users] 7i84 Trouble?

2024-04-01 Thread Todd Zuercher via Emc-users
I am working at trying to set up a 7i84 io card on a machine that I am 
refitting and I'm having some trouble with it.

The outputs all seem to be working correctly, but I can only seem to get half 
of the inputs to work.  I have 24v DC to all of the Vin terminals.  The inputs 
on TB2 seem to all be ok.  But the ones on TB3 are not.  In Hal, the 1st 8 
inputs (0-7) all read false (no mater what I connect to them, and the 2nd 8 all 
read true (8-15) no mater what is connected to them.

The 7i84 is connected to the SS port on a 7i85S that is connected to a 5i25.

Any ideas what I might have messed up?   My best guess is that while I was 
wiring up and testing limit switches I may have had a stray loose wire with 24v 
touch against some place it shouldn't have.  (In hind sight, I probably should 
have turned off the 24v while I was working on that.)

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] GibbsCAM machine .pst file.

2024-03-28 Thread Todd Zuercher via Emc-users
About to say, what you were describing didn't sound like a standard Fanuc 
g-code to me.

You might also try looking at the output for other machine brands that you know 
use Fanuc controlers.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: John Dammeyer 
Sent: Thursday, March 28, 2024 1:35 AM
To: 'Enhanced Machine Controller (EMC)' 
Subject: Re: [Emc-users] GibbsCAM machine .pst file.

[EXTERNAL EMAIL] Be sure links are safe.

Oh and I made a mistake.  The pst file I have is for a Fadal.  And a reference 
to that systems G-Code is here:
https://www.helmancnc.com/fadal-g-codes-m-codes-fixed-subroutines/
Now I know what an 'E' does and also the 84.1 and 84.2.

> -Original Message-
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: March 27, 2024 10:03 PM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] GibbsCAM machine .pst file.
>
> Thanks for the feedback.  I did find a LinuxCnc-Mill-jk.pM3  file which is 
> used
> with the PostHaste Plugin.   It produced code that didn't cause LCNC to
> complain.
> However I can't figure out how to actually create a .pst file.  I have
> about 28 days left on my GibbsCAM evaluation so perhaps I'll reach out to 
> them.
> John
>
> > -Original Message-
> > From: Phill Carter via Emc-users
> > [mailto:emc-users@lists.sourceforge.net]
> > Sent: March 27, 2024 9:32 PM
> > To: linuxcnc-users
> > Cc: Phill Carter
> > Subject: Re: [Emc-users] GibbsCAM machine .pst file.
> >
> > If you cannot get a post processor for LinuxCNC then another option
> > would be to run the Fanuc g-code file through a Python filter
> > program to
> automate
> > any required changes:
> >
> > <http://li/
> > nuxcnc.org%2Fdocs%2F2.9%2Fhtml%2Fgui%2Ffilter-programs.html&data=05%
> > 7C02%7Ctoddz%40pgrahamdunn.com%7C413fe5fe7c194f7ce11908dc4ee90747%7C
> > 5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638472009975876775%7CUnkn
> > own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
> > wiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=4lA742cFoRkcVglIcsx4rcZezgEyvu6e
> > MEbpcaVhH5U%3D&reserved=0>
> >
> >
> >
> > > On 28 Mar 2024, at 2:01?pm, John Dammeyer 
> > wrote:
> > >
> > > Does anyone have a generic GibbsCAM  .pst file for LinuxCNC?
> > >
> > > I've generated G-Code for a FANUC but comments start with a '*'
> > > and it
> has
> > > rigid tapping using G84.1 and G84.2.  I replaced those with G84
> > > just to see if it would load.  Had to add an M3 in front of the S300.
> > >
> > > There are probably other issues too that I haven't found yet.
> > >
> > > Thanks
> > >
> > > John
> > >
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2F
> > > lists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%
> > > 7Ctoddz%40pgrahamdunn.com%7C413fe5fe7c194f7ce11908dc4ee90747%7C575
> > > 8544c573f47cebee96c3e0806fb43%7C0%7C0%7C638472009975882137%7CUnkno
> > > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha
> > > WwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=8iRKFjv4iAEJO3QqD0YQSEJjqQ5gR
> > > YdXiw2W164%2FDhw%3D&reserved=0
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://li/
> > sts.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Cto
> > ddz%40pgrahamdunn.com%7C413fe5fe7c194f7ce11908dc4ee90747%7C5758544c5
> > 73f47cebee96c3e0806fb43%7C0%7C0%7C638472009975887333%7CUnknown%7CTWF
> > pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> > 6Mn0%3D%7C0%7C%7C%7C&sdata=PAUbVCzAFe6EBeFmuYSTnKgde9jqaVoIUyGfzby1L
> > 4E%3D&reserved=0
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C413fe5fe7c194f7ce11908dc4ee90747%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638472009975892478%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=6mM6XoeGRlkIzVeVcKB9WTu7Vox%2FPI3XhBHg4jg3Xkw%3D&rese
> rved=0



___
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] Not so slight problem with spindle/tools

2024-03-19 Thread Todd Zuercher via Emc-users
I think I'd rather just fix the washer stack/clamping issue.  Repeatable, easy 
tool changes is so worth the effort.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Dave Engvall 
Sent: Tuesday, March 19, 2024 11:18 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Not so slight problem with spindle/tools

[EXTERNAL EMAIL] Be sure links are safe.

Indeed, using drive dog threaded holes. Initially I did think about a flat disc 
but cannot see that gives me  any better holding strength than the dogs with a 
slight tee on top so one gets both drive and cat40 retention.

The other problem is keeping the  spindle from rotating while I torque down the 
tool.
Tool holder is a Cat40 SK16 which gives me better rigidity than a ER collet. 
The concept is to use AlCrN coated tools with coolant in hopes of getting 
decent tool life. A local shop is getting about 5000 feet of path length/cutter 
but also using coolant! Even with light cuts that is moving a lot of material 
in my case 8620 or 20 carbon steel, not too challenging.


> On Mar 18, 2024, at 5:26 PM, andy pugh  wrote:
>
> On Mon, 18 Mar 2024 at 21:13, Dave Engvall  wrote:
>
>> So I’ve built Tee-nuts that will retain the cat40 assuming the
>> M6 shcs hold. Planned use is to use small tools at max spindle speed.
>> (4K). I need ideas to clamp the cat40 so I can torque down tool while
>> in the spindle.
>>
>
> I am not 100% sure what you are describing.
>
> Are you saying that you are using some tapped holes in the spindle
> face to hold Tee nuts to retain the tooling? Or are you maybe using
> the drive dog threaded holes?
>
> Whilst a proper repair to the drawbar seems like the correct fix, I
> think that a machined ring to retain an ER collet holder might be
> better than what I think you are describing.
>
> (Then you can just swap tools and collets)
>
> --
> 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://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C1d89087e4afa4f525de208dc4827e52d%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638464583399170359%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=qu%2FmUEH7qsgy%2BQuI05lJwjYTsJ7jycTBFHv51Gf33qI%3D&re
> served=0



___
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] black list aliexpress

2024-03-18 Thread Todd Zuercher via Emc-users
Gene,

In all honesty I wouldn't mind knowing more about your VFD source you say you 
want black listed.  I'm so sick of trying to track down high speed VFDs that 
I'm almost tempted to pay the machine manufacturer's ridiculous 3X normal 
retail list price markup the next time we need a new one.   We occasionally 
have needed a replacement VFD capable of running about a 15kw 4pole router 
spindle at up to 24krpm (that is 800hz output, most drives seem to max out at 
or are limited to 500-600hz output.)  The last time we tried to order a new 
drive with these specs it was put on back order for more than 1 year before we 
canceled the order.  (We canceled after the delivery date had been pushed back 
3 months for the 5th time.)  Then we bought a used one off of ebay.  (Tracking 
down a used drive on ebay with documented proof of the correct high speed 
firmware, when the sellers have no clue, is also another annoying trick to 
perform.)

Todd Zuercherm
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Sunday, March 17, 2024 8:52 AM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] black list aliexpress

[EXTERNAL EMAIL] Be sure links are safe.

They just sent me an adv for a vfd capable of building an atomic centrifuge, 10 
horse, 30 kilohertz top speed. There's enough h-bombs to sterilize the planet 
here now, don't encourage them.

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis


___
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] How to treat rusted linear rails?

2024-03-13 Thread Todd Zuercher
Are the ways grease or oil lubricated?  A grease lubricated system will be much 
more difficult to clean up and get working correctly if the grease has dried 
out, or worse had different incompatible greases used.  (Incompatible greases 
will sometimes react with each other and solidify plugging everything up.)

Those are not Hiwin HG style ways in your photos.  The HG ways are cheap and 
easy to get with lots of compatible imitations from various Chinese suppliers.  
Those look more like a Rexroth style rail.  Not that they are that brand, but 
that style/shape.  My experience are they are generally much better quality 
than the Hiwin HG style, but also more expensive.  That said I've had to 
replace lots of worn out Hiwin HG style bearings and rails on various machines, 
and I've never had a failure of a Rexroth style rail or bearing.  For example 
we had two identical machines from the same manufacturer but 1 year different, 
one had Rexroth (the older one), the other Hiwin.  In about 15 years I had 3 
bearing block failures on the newer Hiwin equipped machine vs none on the 
Rexroth.  Mode of failure is the plastic ball return endcaps blow out on the 
bearing blocks and all the balls fall out.   I've also had spalling issues in 
the ball tracks on a couple HG style rails (not sure who the manufacturer was, 
they were unlabeled so they probably weren't Hiwin, who usually laser etches 
their name on the rails.)

The differences between the two style rails are; Rexroth style rails have all 4 
bearing races inside the concave sides of the rail below the flat top.  The 
Hiwin HG style rail has one pair of races on the sides and one pair on the top 
edge of the rail.  The Bearing blocks on the Rexroth have a thick sheet metal 
reinforcing plate that wraps around the sides of the ball return end caps, 
while the Hiwin only has a thin piece of flat sheet metal embedded in the seal 
on the end of the ball return cap or on "heavy duty" versions a 2nd heavier 
reinforcing plate, but nothing that wraps around the sides of the cap to 
reinforce where the balls blow out.  Also the Hiwin plastic end caps are not 
solid pieces they have lots of internal hollow space around the ball return 
tracks.  (No idea of the internal construction of the Rexroth end caps I've 
never had the opportunity to take one apart they've always just worked.)

Yes, unfortunately your machine is what I would consider a cantilever style 
machine.  Any slop in either the X and/or Y axis will be amplified by the 
distance the Y axis is extended.  At it's furthest extension there is more than 
a couple meters of leverage applied to the X axis ways.  All directly acted 
upon by both accelerative and cutting forces.  While at rest, with gravity 
settling it into a single position, you might not be able to easily measure the 
lash, but you may find it quite compliant dynamically if anything is loose, 
resulting in wobbly movement at all but the slowest changes of direction or 
load.  What's worse the slop in the X and Y axis will be additive compounding 
on each other.  (It will also mess with your Z axis accuracy.)  Unlike in a 
more conventional style machine where X and Y impression is mostly independent 
of each other.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis 
Sent: Wednesday, March 13, 2024 5:32 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] How to treat rusted linear rails?

[You don't often get email from viesturs.la...@gmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

Thank you for suggestions! Just to clarify a little bit of what kind of machine 
is that - here you can see backside of the machine:
https://wta.hoechsmann.com/en/article/72463/biesse_rover_322.html#gallery-4

In my case the main problem are the rails along X axis (length of machine), 
where all that Y axis frame is mounted (in that picture it is retracted to left 
side, it will move all the way to right side, it might fall into category of 
'cantilevered frame') . So taking the rails off the machine is definitely not a 
thing I want to do. Y axis rails are in much better condition and Y axis 
ballscrew also is better (X axis has rack and pinion drive)

The size of the rails is approximately equivalent to Hiwin HGR35.

Unfortunately I did not notice the condition of rails when machine was loaded, 
so it was moved half a way to make room for placing the control cabinet on top 
of the machine frame. It seems to me that cleaning the rails AND injecting lots 
of grease in the bearing blocks is mandatory before attempting to move it again.

From all the responses I am not sure I understand completely, what is 'elbow 
grease'?
I would use something like this for the bearing blocks:
https://www.q

Re: [Emc-users] How to treat rusted linear rails?

2024-03-11 Thread Todd Zuercher
Those look awful.  But sometimes those sort of things will surprise you how 
well they clean up.  We had an old machine that had rectangular ways with tank 
bearings that looked nearly that bad.  Some oil, steel wool, and some elbow 
grease and they looked surprisingly well afterword.  But I think those tank 
bearings and rectangular ways are a lot more forgiving than profile ways with 
their small ball bearings.  Like others have said, you won't really be able to 
judge the extent of the damage until they are cleaned up.  But for a wood 
working machine it may still be serviceable once it's cleaned up.  Also depends 
a bit on the configuration of the machine.  For example for a long cantilevered 
gantry like a lot of the European pod and rail type machines are built like, 
will not tolerate any slop in the long axis ways.

What ever you do, don't try moving any of the axis until all that rust is 
cleaned up.  Hopefully your screws don't look like that.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis 
Sent: Monday, March 11, 2024 3:43 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] How to treat rusted linear rails?

[You don't often get email from viesturs.la...@gmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

Hello!

Last year there was a chance to acquire Biesse machine for a a really low price 
so I surprised myself with pretty large and heavy Christmas present. Just put 
it in the workshop (where heating is not yet
present) and was waiting for a warmer weather to start retrofitting it with 
LinuxCNC.

Since this machine has spent at least several years in a shed - roof above it 
but no other protection against outside temperatures, I did not worry about 
adding one more winter to it.

I have 2 questions:
1) are there any recommendations for outside temperature when trying to connect 
it to power? I want to see the status messages on servodrives - hopefully they 
are good (I have done 4 similar retrofits so I feel familiar with those old 
drives).

2) my main problem is the rust on linear rails. what is recommended procedure 
to treat this?
Here is a picture that show the extent of the issue:
https://pasteboard.co/C1EAn0w5t8KT.jpg
What I did is brushing it with a piece of steel wool moisted with oil.
I am not sure that it is sufficient so I would appreciate any tips on how to 
treat them.

Viesturs


___
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] Mesa 7i84 Field IO?

2024-03-09 Thread Todd Zuercher
Peter,

But the only 5v output I need is for the servo drive enable(s) All the limits 
are 24v prox sensors etc.

On Mar 8, 2024 3:25 PM, Peter Wallace  wrote:
[EXTERNAL EMAIL] Be sure links are safe.

On Fri, 8 Mar 2024, Todd Zuercher wrote:

> Date: Fri, 8 Mar 2024 19:59:14 +
> From: Todd Zuercher 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: [Emc-users] Mesa 7i84 Field IO?
>
> Hello,
>
> I am working at connecting a 7i84 IO card to a machine that I am refitting a
> newer Linuxcnc PC to.  The old PC used an ISA card for IO.  That will no
> longer be an option with a newer PC.
>
> My questions, the servo drives used 5v TTL signals for IO signals
> specifically the ready/fault output, and the enable input.  How should I
> interface these with the new 7i84 card (which is using 24v field power)?
>
> The ready/fault output seems simple enough.  It is an "open collector
> outputs without pull-up resistors, they are rated for switching
> non-inductive loads up to 40V at a maximum of 100mA" (quote from the drive's
> manual).  So I simply need to add a 24v pullup for each of those signals.
> The question is what size pullup resistor should I use?
>
> The harder question for me is how to handle the 5v drive enables?  Would it
> be best just to connect them to via a relay?  Or would there be a better
> way?
>
> Other Mesa cards in this system, a 5i25, 7i85S, and 7i88.  Both parallel
> port headers are used on the 5i25.  The smart serial port on the 7i85s is
> used to connect the 7i84.  All of the step/dir outputs on the 7i88 are being
> used.  The only IO not being used are on the 7i84, one encoder input and one
> step/dir output pair on the 7i85s.
>
> Would it be ok to try to use one of the free the step or dir outputs as the
> 5v enable signal for all 3 servo drives or is a relay on one of the 7i84
> outputs a better idea?
>
> Todd Zuercher
> P. Graham Dunn 
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.php&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Ce108e8921bd54255526108dc3fade55a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638455263349734755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=XRIyXLeyG8U3g88fMC2Ol%2FSF1UiEtqXgnZsb%2FFOmKLE%3D&reserved=0<http://www.pgrahamdunn.com/index.php>>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Ce108e8921bd54255526108dc3fade55a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638455263349743308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=bJdIPRVg10jNuyZNcT3IowWdwDqBOY1PC8aJ0%2BO6pgs%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/emc-users>
>

You can use a 7I84 with 5V I/O

In this case you supply VIN with 12 or 24V
but supply VFIELDA and VFIELDB with 5V
This will make the I/O all 5V

If you happen to have a REV A 7I84
you can run the whole card on 5V only
(VIN,VFIELDA,VFIELDB)


(none of this applies to the 7I84D)

Peter Wallace
Mesa Electronics


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%40pgrahamdunn.com%7Ce108e8921bd54255526108dc3fade55a%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638455263349748706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=CU5cksSKPb%2B7qI5Zi4%2FDUAw47dXgWXEegfEEblxHMIU%3D&reserved=0<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] Mesa 7i84 Field IO?

2024-03-08 Thread Todd Zuercher
Hello,

I am working at connecting a 7i84 IO card to a machine that I am refitting a 
newer Linuxcnc PC to.  The old PC used an ISA card for IO.  That will no longer 
be an option with a newer PC.

My questions, the servo drives used 5v TTL signals for IO signals specifically 
the ready/fault output, and the enable input.  How should I interface these 
with the new 7i84 card (which is using 24v field power)?

The ready/fault output seems simple enough.  It is an "open collector outputs 
without pull-up resistors, they are rated for switching non-inductive loads up 
to 40V at a maximum of 100mA" (quote from the drive's manual).  So I simply 
need to add a 24v pullup for each of those signals.  The question is what size 
pullup resistor should I use?

The harder question for me is how to handle the 5v drive enables?  Would it be 
best just to connect them to via a relay?  Or would there be a better way?

Other Mesa cards in this system, a 5i25, 7i85S, and 7i88.  Both parallel port 
headers are used on the 5i25.  The smart serial port on the 7i85s is used to 
connect the 7i84.  All of the step/dir outputs on the 7i88 are being used.  The 
only IO not being used are on the 7i84, one encoder input and one step/dir 
output pair on the 7i85s.

Would it be ok to try to use one of the free the step or dir outputs as the 5v 
enable signal for all 3 servo drives or is a relay on one of the 7i84 outputs a 
better idea?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Mitsubishi VFD control

2024-03-01 Thread Todd Zuercher
I haven't worked with your drive specifically, but most drives have a setting 
that must be set to define where it reads the source of the speed input from.  
Be it an analog input from the screw terminals, a digital preset input, serial 
command, or something else.  Be sure to check that that setting is correct for 
your application.

You didn't say what hardware you are using to connect to the drive.  Are you 
using a serial modbus adapter?  If so what driver for hal?  Are you using 
something else to send an analog signal for the speed? (such as a Mesa board.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: lloyd wilson 
Sent: Friday, March 01, 2024 8:35 AM
To: Emc mail list 
Subject: [Emc-users] Mitsubishi VFD control

[You don't often get email from llwilso...@rochester.rr.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

I'm using a Mitsubishi E500 VFD for spindle drive on the VMC I'm retrofitting & 
can't get variable speed to cooperate. The mitsub_vfd program operates properly 
(I think)- run/stop behaves as expected, speed commands are generated and 
accepted by the VFD, but the  motor speed stays the same. I hacked in a couple 
of debugging statements to show the dialogs (running in halcmd):

setp sp.motor-cmd 50
halcmd: 01ED11388EF   SENT: 0x5 0x30 0x31 0x45 0x44 0x31 0x31 0x33 0x38
0x38 0x45 0x46
7!DEBUG:  ,0,1, 0x6 0x30 0x31

show pins



  4  float IN 50  sp.motor-cmd

...

  then

setp sp.motor-cmd 80
halcmd: 01ED11F40F6   SENT: 0x5 0x30 0x31 0x45 0x44 0x31 0x31 0x46 0x34
0x30 0x46 0x36
7!DEBUG:  ,0,1, 0x6 0x30 0x31

show pins



  4  float IN 80  sp.motor-cmd

...

the messages are properly formatted per the Mitsub manual & replies show no 
errors

--but the test motor keeps running at the same speed.

Anyone have a clue where to look for the solution?

as always, thanks

-ldw



___
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] PCIe parallel port card suggestion

2024-01-02 Thread Todd Zuercher
Meant to say; The onboard (built in) parallel port of a mother board isn't a 
PCI device so lspci -v won't show anything about it.
This command should show your built in parallel port address.
cat /proc/ioports | grep parport

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-----
From: Todd Zuercher 
Sent: Tuesday, January 02, 2024 11:04 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] PCIe parallel port card suggestion

[EXTERNAL EMAIL] Be sure links are safe.

The onboard (built in) parallel port of a mother board isn't a PCI device so 
won't show anything about it.
This command should show your built in parallel port address.
cat /proc/ioports | grep parport


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Tomaz T. 
Sent: Tuesday, January 02, 2024 8:16 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] PCIe parallel port card suggestion

[You don't often get email from tomaz_...@hotmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

>But; why doesn't the onboard port work? It really would be expected to.

lspci - did not return any useful information about onboard lpt

dmesg did:
[5.032598] ppdev: user-space parallel port driver
[5.036312] parport_pc 00:01: reported by Plug and Play ACPI
[5.036380] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]

[5.140591] lp0: using parport0 (interrupt-driven).

anyway, then I tried to run Lcnc (2.9.2):

Note: Using POSIX realtime
PPMC: bus 0 epp_dir = 0
PPMC: bus 1 epp_dir = 0
PPMC: bus 2 epp_dir = 0
PPMC: checking EPP bus 0 at port 0378
PPMC: slot 0: ID code: 54 Univ. PWM Controller
PPMC:  exporting UxC digital inputs
PPMC:  exporting UxC digital outputs
PPMC:  exporting PWM generators
PPMC: exporting encoder pins / params
read cache bitmap: 7fff
write cache bitmap: f0ff2000
PPMC: slot 2: ID code: 43 Univ. Stepper Controller
PPMC:  exporting UxC digital inputs
PPMC:  exporting UxC digital outputs
PPMC:  slave UxC addr 26
PPMC:  slave UxC # 8
PPMC:  exporting step generators
PPMC: exporting encoder pins / params
read cache bitmap: 7fff
write cache bitmap: a000

BUT there is no position feedback from any encoder!

PS. Wiring is OK as machine works on Lcnc 2.7 (on different/older computer).


___
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] PCIe parallel port card suggestion

2024-01-02 Thread Todd Zuercher
The onboard (built in) parallel port of a mother board isn't a PCI device so 
won't show anything about it.
This command should show your built in parallel port address.
cat /proc/ioports | grep parport


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Tomaz T. 
Sent: Tuesday, January 02, 2024 8:16 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] PCIe parallel port card suggestion

[You don't often get email from tomaz_...@hotmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL EMAIL] Be sure links are safe.

>But; why doesn't the onboard port work? It really would be expected to.

lspci - did not return any useful information about onboard lpt

dmesg did:
[5.032598] ppdev: user-space parallel port driver
[5.036312] parport_pc 00:01: reported by Plug and Play ACPI
[5.036380] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]

[5.140591] lp0: using parport0 (interrupt-driven).

anyway, then I tried to run Lcnc (2.9.2):

Note: Using POSIX realtime
PPMC: bus 0 epp_dir = 0
PPMC: bus 1 epp_dir = 0
PPMC: bus 2 epp_dir = 0
PPMC: checking EPP bus 0 at port 0378
PPMC: slot 0: ID code: 54 Univ. PWM Controller
PPMC:  exporting UxC digital inputs
PPMC:  exporting UxC digital outputs
PPMC:  exporting PWM generators
PPMC: exporting encoder pins / params
read cache bitmap: 7fff
write cache bitmap: f0ff2000
PPMC: slot 2: ID code: 43 Univ. Stepper Controller
PPMC:  exporting UxC digital inputs
PPMC:  exporting UxC digital outputs
PPMC:  slave UxC addr 26
PPMC:  slave UxC # 8
PPMC:  exporting step generators
PPMC: exporting encoder pins / params
read cache bitmap: 7fff
write cache bitmap: a000

BUT there is no position feedback from any encoder!

PS. Wiring is OK as machine works on Lcnc 2.7 (on different/older computer).


___
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] Starting up in Machine ON

2023-12-18 Thread Todd Zuercher
Probably, but we will need a better explanation of exactly what machine 
responses you want to what machine inputs, before we could give a detonate yes 
or instructions how to do so.

Are you asking for the machine to automatically home all joints when the 
machine power/enable button is pressed?

Are you asking for a reset button that returns the machine to a ready position 
after an incident or interruption of a program?

Something else entirely?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Alan Thomason via Emc-users 
Sent: Monday, December 18, 2023 12:01 PM
To: emc-users@lists.sourceforge.net
Cc: Alan Thomason 
Subject: [Emc-users] Starting up in Machine ON

[EXTERNAL EMAIL] Be sure links are safe.

Hi There...

We have a positioning machine that uses linuxcnc that we want to better 
automate the restart procedure.  Is it possible to script in the initial file 
for the system to switch to Machine ON (as long as there are no active limit 
switches).

This machine is inaccessible to humans without turning off power, so there is 
no safety concern.

Thanks so much,

Alan


Sent from my iPhone

___
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 Fanuc ot-c cpu power supply A16B-1212-0950

2023-12-05 Thread Todd Zuercher
I think all Fanuc red cap encoders are digital.  The question marks are if the 
coms signal is differential quadrature or serial and if serial what format, and 
what the commutation tracks/signals are or if they are rolled into the absolute 
encoder serial signal.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Tuesday, December 05, 2023 11:52 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] OT Fanuc ot-c cpu power supply A16B-1212-0950

[EXTERNAL EMAIL] Be sure links are safe.

On 12/5/23 08:17, Leonardo Marsaglia wrote:
> Hello guys, and thanks for all the replies!
>
> Well, we swapped the majority of the capacitors on the board and we
> still get the alarm on the PSU. I'm almost inclined to consider this a
> LCNC project and start doing the conversion.
>
> One thing I'm considering before doing that is if It's possible to use
> the original Fanuc Servo motors replacing only the drives. I know the
> drives will not be usable because they communicate with their own
> Fanuc serial protocol, but maybe there's a chance I can use the same motors.
>
> I'm attaching a picture of the X axis motor so you can see. I guess it
> should be possible to control it, but I don't really know how the
> encoder works. I know there's a Hostmot encoder module for Fanuc but I
> don't know anything about them so swapping the servo motors is another
> option too. I have several servo motors here just in case this happened so I 
> can use them.
>
That looks like the output stage of a 7.5 horse vfd could drive it. A PID's 
error voltage might be used to control the driving current, much like the 
current crop of smaller 3 phase stepper drivers we have already, like the 
LCDA357H but with much higher rated output devices since that one has a 50 
volt, 4 or 5 amp limit. Give me enough time I could figure that out but someone 
probably has already. I'm sure you could move it weakly, laying on the table, 
with an LCDA357H, a function generator to make steps, a switch to control 
direction and a 42 volt power supply.  A proof of concept test. You would have 
to find its encoder on the connector though, because w/o the encoder, the 
LCDA357H will see an error and shut down on the first step. A schematic of the 
connector and description of the encoder would be VERY helpful. The LCDA357H is 
designed for quadrature encoders (optical) but sin/cos magnetic analog types 
are a different game. The motor itself looks to be a std 3 phase motor.  My bet 
is the encoder is an analog sin/cos type needing a carrier frequency drive.  In 
which case the digital encoder input on the likes of the LCDA357H is worthless. 
 So the encoder is the
$64,000 question.  Which is it?

> Thanks again a lot for your help guys! Sorry that I don't reply
> individually :)
>
> El dom, 3 dic 2023 a las 9:00, gene heskett ()
> escribió:
>
>> On 12/3/23 04:42, Roland Jollivet wrote:
>>> If you can obtain/borrow any thermal imaging device, then run with
>>> the
>> PSU
>>> with covers off and check every 5min. You should identify a
>>> cap-thermal problem.
>>>
>> For that, a $500 ir imager would be nice, but a $29 ir thermometer
>> from the local lumber yard can do as well. Leonardo might even have
>> one of those in his toolbox, if only to check his food for adequate
>> cooking. I do. When I'm on the road, living out of the fridge and
>> microwave of a motel room.
>>>
>>>
>>> On Sat, 2 Dec 2023 at 21:14, John Dammeyer 
>> wrote:
>>>
>>>>> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
>>>>>
>>>>> If it is a simple linear power supply, yes they are very easy to
>>>>> debug
>>>> and
>>>>> repair,  LIkey it is the caps.
>>>>>
>>>>> But switching power supplies are much harder to debug, You can
>>>>> guess it might be the same issue but these have dozens of parts that can 
>>>>> fail..
>>>> In any
>>>>> case, the cost to repair is small.
>>>>>
>>>>
>>>> I disagree.  Switching power supplies are way more likely to fail
>>>> from high ESR.  That the system runs for a short while and then
>>>> fails is
>> again a
>>>> symptom of a capacitor overheating due to high ESR.  Or the voltage
>>>> is right on the edge and as the cap warms up the heat results in a
>>>> change
>> that
>>>> results in the power supply moving out of spec.There may even be
>> enough
>>>> heat developed

Re: [Emc-users] OT Fanuc ot-c cpu power supply A16B-1212-0950

2023-12-05 Thread Todd Zuercher
You could try looking up the encoder part number or the motor part number in 
the Fanuc servo conections manual.  There "might" be a pinout for the encoder 
cable there which would tell you if it is serial or quadrature.  (Fanuc's "Info 
Link" CD is useful for this sort of thing.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Tuesday, December 05, 2023 11:35 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT Fanuc ot-c cpu power supply A16B-1212-0950

[EXTERNAL EMAIL] Be sure links are safe.

On Tue, 5 Dec 2023 at 16:19, Leonardo Marsaglia  wrote:
>
> Sorry I forgot to attach the picture.

I am beyond the bounds of my knowledge in this area now. PCW (or possibly Rene) 
might know more.

--
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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa Step Pulses?

2023-10-25 Thread Todd Zuercher
Gene,

The drive is a "closed loop" stepper drive from Steperonline.
Here is a link to the doc.
https://www.omc-stepperonline.com/index.php?route=product/product/get_file&file=388/CL57T_V4.0.pdf

I've yet to actually power one of these up yet.  (Still have a lot more 
building to do before I'm ready for that.)  But I don't think I'm going to be 
asking too much of them.  At this point I'm only hoping for at least 1000rpm 
from these NEMA23 closed loop stepper motors.  (If I can get them to spin 
faster great, but I won't be upset if they can't do 2000rpm.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, October 25, 2023 11:17 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mesa Step Pulses?

[EXTERNAL EMAIL] Be sure links are safe.

On 10/25/23 08:24, Todd Zuercher wrote:
> Hello,
>
> It is my understanding that the step pulses generated by Mesa cards are 
> always the minimum pulse length set by for example 
> hm2_5i25.0.stepgen.00.steplen, only the space between the pulses is varied by 
> the step rate, is that correct?
>
> I was reading the manual for the new drive I was planning to use in my next 
> build and see that the drive calls a preference of a 50% duty cycle for step 
> pulse inputs.  I am guessing that it may have something to do with how the 
> drive's pulse filtering system works, such that for maximum noise filtering 
> and step reliability having the pulse length be approximately equal to the 
> step spacing gives the best results.
>
> So my questions are;  Would it be possible to make a Mesa card output a 50% 
> duty cycle step pattern instead of the current default pattern?  And would 
> doing this even be worth the effort?
>
Do yopu have a link to that doc?

In the drives I've played with using a function generator, a near 50% ratio can 
help when pushing the drive limits, but generally the speed of the 
opto-isolator is the ultimate limit, blurring the pulse into almost 
unrecognizable signals, slowed by the response times of the opto device used. 
For real dependability at 200 khz and up to the failure of the opto, usually 
around 375khz, trimming a wee bit one side or the other might get a motor with 
no load, just laying on the table some good, getting it upto 2000 revs but 
unless the motor voltage is also cranked uo, torque to do actual work at that 
speed is just a dream at 45 volts.
Some of the nextgen closed loop drivers can use 90-140 volts, overcoming the 
windings inductance much faster, That makes it possible to make usable torque 
at 3000 revs.  Those higher performance transistors do raise the price a bit. 
Particularly in the 3 phase versions. But they run like casper the ghost is 
turning the cranks, Quiet.
  > Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C01%7Ctoddz%40pgrahamdunn.com
> %7C0522ff7789484192c1e808dbd56d7fcc%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638338438551181150%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sda
> ta=GD9S6tywNNdc0N2LZQ6I10zMC0BZScL%2FKumvnpWyoz8%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
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, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis



___
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] Mesa Step Pulses?

2023-10-25 Thread Todd Zuercher
Peter,

Thanks,  But is it even going to be worth the effort?  Since I'm sure the 
regular minimum pulse length signal is still going to at least work albeit with 
some possible theoretical performance limitations.  I may not even require step 
rates beyond where this is a non-issue?

I've asked the drive manufacturer.  See if they get back to me.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace 
Sent: Wednesday, October 25, 2023 10:36 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Mesa Step Pulses?

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 25 Oct 2023, Todd Zuercher wrote:

> Date: Wed, 25 Oct 2023 12:22:40 +
> From: Todd Zuercher 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)"
> 
> Subject: [Emc-users] Mesa Step Pulses?
>
> Hello,
>
> It is my understanding that the step pulses generated by Mesa cards
> are always the minimum pulse length set by for example
> hm2_5i25.0.stepgen.00.steplen, only the space between the pulses is
> varied by the step rate, is that correct?
>
> I was reading the manual for the new drive I was planning to use in my
> next build and see that the drive calls a preference of a 50% duty
> cycle for step pulse inputs.  I am guessing that it may have something
> to do with how the drive's pulse filtering system works, such that for
> maximum noise filtering and step reliability having the pulse length
> be approximately equal to the step spacing gives the best results.
>
> So my questions are;  Would it be possible to make a Mesa card output
> a 50% duty cycle step pattern instead of the current default pattern?
> And would doing this even be worth the effort?

Its possible with a minor firmware change and LinuxCNC driver change to enable 
the mode.

>
> Todd Zuercher
> P. Graham Dunn
> Inc.<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> http://www.pgrahamdunn.com/%2Findex.php&data=05%7C01%7Ctoddz%40pgrahamdunn.com
> %7Ce5da628e16d4477d2d4008dbd567e82f%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638338414483169698%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sda
> ta=Zwbdv69ESSXKwXR%2FvXYbyijq1wOtyar%2FYeCMJAr6fgg%3D&reserved=0>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%
> 40pgrahamdunn.com%7Ce5da628e16d4477d2d4008dbd567e82f%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638338414483169698%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=f1ssQLGo0gn0%2B2tjHAUXLZOjfsSHNrJWTjJDkkDRuAA%3D&r
> eserved=0
>

Peter Wallace
Mesa Electronics


___
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] Mesa Step Pulses?

2023-10-25 Thread Todd Zuercher
Unfortunately no, it only has step/dir or CW/CCW as input options.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Wednesday, October 25, 2023 8:35 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Mesa Step Pulses?

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 25 Oct 2023 at 13:27, Todd Zuercher  wrote:

> I was reading the manual for the new drive I was planning to use in my next 
> build and see that the drive calls a preference of a 50% duty cycle for step 
> pulse inputs.

Does the drive have an option to use quadrature signals? The Mesa stephen can 
output 50% duty cycle in quadrature mode.


--
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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Mesa Step Pulses?

2023-10-25 Thread Todd Zuercher
Hello,

It is my understanding that the step pulses generated by Mesa cards are always 
the minimum pulse length set by for example hm2_5i25.0.stepgen.00.steplen, only 
the space between the pulses is varied by the step rate, is that correct?

I was reading the manual for the new drive I was planning to use in my next 
build and see that the drive calls a preference of a 50% duty cycle for step 
pulse inputs.  I am guessing that it may have something to do with how the 
drive's pulse filtering system works, such that for maximum noise filtering and 
step reliability having the pulse length be approximately equal to the step 
spacing gives the best results.

So my questions are;  Would it be possible to make a Mesa card output a 50% 
duty cycle step pattern instead of the current default pattern?  And would 
doing this even be worth the effort?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] stupid question

2023-10-16 Thread Todd Zuercher
Gene,

This is how I understand it to work.  (It's been a while since I did a lot of 
subroutine programming so hopefully I don't mislead you.)

1. Yes, subs. do have access to global variables. The also have access to 
ordinary variables grater than #30 from the calling program.
2. Yes, subs. can write to global variables.
3. When one sub calls another sub it is usually called nesting. Yes, nested 
subs are supported (up to 10 deep.)

Only parameter numbers #1-#30 are considered local variables and are not 
automatically passed from the calling program to the subroutines.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Monday, October 16, 2023 3:22 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] stupid question

[EXTERNAL EMAIL] Be sure links are safe.

I need to make some subroutines into callable files, but some sub call other 
subs.  So 3 Q?'s:

1; do sub files need all the data passed in [] or do they have access to 
globally defined vars? in the main calling program?

2; can a subroutine file write to a globally defined #<_variable_name> to 
update it?

3; can a subroutine file call another file, then use the results of that call?

Thanks all.

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


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


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


Re: [Emc-users] silly Q #42

2023-10-12 Thread Todd Zuercher
A shop vac should be able to run continuously with no hose attached without 
overheating.  However what would overheat one fairly quickly, would be running 
with a restriction in the exhaust.  Perhaps you're muffler is adding too much 
backpressure?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Wednesday, October 11, 2023 10:04 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] silly Q #42

[EXTERNAL EMAIL] Be sure links are safe.

On 10/11/23 21:30, Matthew Herd wrote:
> Hello Gene,
>
> 4HP peak is probably more like 2HP in actual use. They’re probably measuring 
> peak current draw during startup and extrapolating that to horsepower with 
> the clear intent to bamboozle the unsuspecting consumer. At 120V, 4x750W is 
> 25A. Considering they’re designing this to run on a 15A circuit, something 
> doesn’t add up. Real draw won’t exceed 12A continuous. Which is as I guessed 
> above, about 2HP.
>
> Matt

Well, with a fairly free flowing 3d printed muffler, and a 1.75" 12 foot hose 
replacing the original 10 foot, 1" hose, my calcs, base on the diff in square 
area between the hoses, and the same ratio applied to the old ones 6.5 amps, 
roughly translates to 16 amps. Plugged into the same 20 amp breaker that runs 
the go704, it didn't trip the breaker but I'd bet it was warming up.  Max draw 
is about 20 amps with a locked spindle for the go704. A heavier load on the 
go704's spindle probably would have cleared the breaker. Typical is around 3 
amps for the go704.

Its CCS service by the vac I'm concerned with, where most vacs happily are on 
for 5 minutes and have hours or days to cool from the heat surge, So I'm 
worried if I see over 7 amps on the Amprobe in the steady state running.  What 
I have, but not yet wired into it, is a small box with two 40 amp SSR's 
controlled by the flood button in linuxcnc so I turn it on and off with m8/m9 
in the gcode I write.  Two SSR's break both sides of the line. But that duality 
was because the original power switch was a dpst miniature rocker.

I have a high kilowatt powerstat that will give me some control too, but I'd 
druther not tie it up running the vac till the rapture.

Thanks Mathew.
>>
>> On Oct 11, 2023, at 9:08 PM, gene heskett  wrote:
>>
>> I blew up old bucket-vac by putting a larger diameter hose on the intake.  
>> This raised the air flow and the amps it drew, and apparently tripped a one 
>> time thermal fuse about 9 minutes into a 12 minute job.
>>
>> So now I am adapting by 3d printing, all the plumbing to use a 5 gallon 
>> wet-r-dry as a vacuum src, but this puppy came with a different motor claim, 
>> 4 hp peak, and no amperage data where the decade + older bucket-vac claimed 
>> 6.5 amps and IIRC 2.5 hp.
>>
>> This one claims 4 hp peak but that is likely only for short term use and 
>> this may run for a day at a time, possibly even longer. Sucking up swarf or 
>> saw dust as my go704 works.
>>
>> I have no clue how to translate 4hp into the amps I'd see on an Amprobe 
>> which would equal 4hp on a 125 volt circuit. What I intend to do is restrict 
>> the size of the intake nozzle until the amps drop to whatever corresponds to 
>> 3.5 hp.  These things are $50 a pop at Wallies, and I'd like to run it at 
>> something resembling a CCS rating.
>>
>> Does anyone have a clue how to translate that 4hp into amperage for the 
>> motor?
>>
>> Thanks all.
>>
>> 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, 1940)
>> If we desire respect for the law, we must first make the law respectable.
>> - Louis D. Brandeis
>> Genes Web page
>> <http://gen/
>> eslinuxbox.net%3A6309%2F&data=05%7C01%7Ctoddz%40pgrahamdunn.com%7C08b
>> 2b2f6f92441cd302108dbcac9f2ad%7C5758544c573f47cebee96c3e0806fb43%7C0%
>> 7C0%7C638326740971431741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
>> LCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=
>> YM8H%2FfSwN62xRpKFPYbmw%2FiA8kAnNRC5%2ByXJOksuFg4%3D&reserved=0>
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lis/
>> ts.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctodd
>> z%40pgrahamdunn.com%7C08b2b2f6f92441cd302108dbcac9f2ad%7C5758544c573f
>> 47cebee96c3e0806fb43%7C0%7C0%7C638326740971431741%7CUnknown%7CTWFpbGZ
>> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj

Re: [Emc-users] Y axis gantry safety measure question

2023-10-05 Thread Todd Zuercher
That might cause problems while the gantry is squaring its self during the 
homing process.  Another option might be to use the Near component to monitor 
either the joint positions or joint velocities, then set an alarm if the 
difference is too great.
https://linuxcnc.org/docs/html/man/man9/near.9.html

I think the encoder ratio component was a tool that was used for slaving before 
Linuxcnc added the JA branch.  (It is kind of obsolete now.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia 
Sent: Thursday, October 05, 2023 9:26 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Y axis gantry safety measure question

[EXTERNAL EMAIL] Be sure links are safe.

Hi guys!

I hope you're all doing well,

I've had a really strange behavior with my router on the Y axis when homing. 
Basically one joint tried to move while the other didn't. I could ESTOP the 
machine before anything happened but this only happens from time to time when 
homing. The drivers show no error signal and everything looks normal even after 
the behaviour. I'm monitoring everything before I hit home axes so I really 
can't track where the problem is.

Anyway, I was thinking about using the ENCODER_RATIO component to track both 
servo motor speeds and trigger the ESTOP automatically when the speed error 
exceeds a certain amount (I will have to play with that value). What do you 
think about this measure to at least not worry if the problem persists?

Thanks!

___
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] trash collection

2023-10-03 Thread Todd Zuercher
Remember, blowing large quantities of air though PVC plumbing can build up 
"entertaining" amounts of static charge.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Tuesday, October 03, 2023 9:49 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] trash collection

[EXTERNAL EMAIL] Be sure links are safe.

On 10/2/23 23:19, gene heskett wrote:
> On 10/2/23 11:06, andy pugh wrote:
>> On Mon, 2 Oct 2023 at 15:41, Todd Zuercher  wrote:
>>
>>> What I think I would do is build a multi chambered box similar to a
>>> car muffler,
>>
>> Or, in fact, a car muffler
>>
> I considered that too Andy, but the chances of finding a suitably
> short one takes considerable search time, so I went to Lowes and
> picked up enough pvc sched40 pipe and have the stuff nearly all
> printed already to make 2 of these out of 3 pieces of 2 foot pipe, 2",
> 3" and 4" in diameter. 1st one s/b done by 4AM.
>
> That is the beauty of 3d printing, you can make what you can measure.
> In this case moving stuff around for clearance to other stuff in the
> environment it has to work in.
>
Further updates. I'll send pix but no matter what size I scrunch them down to, 
JK rejects them.  Why is that? I'll attach some png's from OpenSCAD anyway cuz 
a pix is worth 10,000 words. The 3 combined is only around 63k.

This fits the old style shop-vac bucket-vac with both ports facing up.
I assemble this using 1 foot of a 2 foot piece of 4" sched40 as the outer hull. 
the inner 2 inch and 3 inch pieces will need to be cut to 10 3/8", 1 & 5/8" 
shorter.

The internal offset is driven by the clearance to the intake port and to the 
motor housing on top of my older style bucket-vac. The top end of the 2" 
section will have 4, 1 in holes drilled in the side with a hole saw to function 
as the 2 inch to the clearance between the 2 inch and 3 inch sections. The end 
of the 3 inch fits in the notches cut in the locating dividers which serves as 
the 3 inch to 4 inch transition.

The rest will be sawed to length on my Bosch cantilevered chop saw. I can make 
more of these end pieces if someone else needs them. PM me for details.

Take care & stay well, all.

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


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


Re: [Emc-users] trash collection

2023-10-02 Thread Todd Zuercher
Gene,

What I think I would do is build a multi chambered box similar to a car 
muffler, with some fiberglass insulation or soft open cell foam lining the 
walls.  But not stuffing it full, just a layer on the walls.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett 
Sent: Sunday, October 01, 2023 10:20 AM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] trash collection

[EXTERNAL EMAIL] Be sure links are safe.

Greetings all;

I've converted my vacuum setup for the go704 mill from my shop made extra 
cyclone separator to the hf version, which is tapered like a proper cyclone 
using the new, bigger and better built 12' hose I got from Lowes to reach a 
printed nose piece on the mill, works better than ever, swarf plugged up the 
cheap & too small hose that came with the bucket vac. Now I'm in need of an 
exhaust muffler for the bucket-vac, and I didn't find anything suitable on 
thingiverse.

So what have the rest of you cobbled up to quiet the bucket vac? 2" OD sched 40 
fits its exhaust port. Listening to that for 2 hours non-stop is quite 
annoying, even headache inducing.

Thanks for any ideas.

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


___
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] 3 encoders on 7i76E?

2023-09-25 Thread Todd Zuercher
In addition to what Peter said, it is unlikely that adding encoder feedback to 
Linuxcnc will improve their accuracy or error tolerance.  Most decent quality 
servo drives do as good or better with encoder error detection than Linuxcnc.  
So if their servo drive is missing or picking up false encoder counts more than 
likely Linuxcnc will do the same.   There are always possible exceptions to 
that, a good example might be an old Gecko 320 servo drive.   Another 
possibility is if the step/dir commands are not being received properly due to 
noise or another electrical problem, this situation probably would improve when 
closing the position loop in Linuxcnc (provided the encoder signals are clean.)

That said for diagnostic purposes it might be advantageous to connect the 
feedback from each axis temporarily in turn to the 7i76E's single encoder 
feedback for testing purposes, and to check the signal quality.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Peter Wallace 
Sent: Monday, September 25, 2023 12:05 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] 3 encoders on 7i76E?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 25 Sep 2023, Viesturs L?cis wrote:

> Date: Mon, 25 Sep 2023 18:47:03 +0300
> From: "[UTF-8] Viesturs L?cis" 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)"
> 
> Subject: [Emc-users] 3 encoders on 7i76E?
>
> Hello!
>
> I am trying to help a guy to sort out config changes for their LinuxCNC 
> machine.
> Currently they are running servo motors with step/dir signals and
> there is no position feedback to LinuxCNC. They are having some issues
> with machining errors and they want to change the config so that
> encoder signal from servodrive is fed to LinuxCNC with an intention
> that it will improve positioning precision. 7i76E is supposed to be
> capable of reading 3 encoders - one for spindle and two for MPG. The
> idea is to use these 3 encoders for X and Y axes (it is a gantry
> machine with total of 3 joints for XY plane).
>
> The problem is that this line in INI file:
> CONFIG="num_encoders=3 num_stepgens=4 sserial_port_0=0xxx"
>
> Gives an error on LinuxCNC startup and I believe this line to be the crucial:
> config.num_encoders = 3, but only 1 are available, not loading the
> driver

The num-encoders line only applies to quadrature encoders built into the FPGA 
(and there is only 1 quadrature encoder in the standard 7I76E firmware)

If you wish to use the MPG encoders, you must use sserial mode 2:
( sserial_port_0=2xxx ) and the 7i76 mpg encoder hal pins

>
> Do I understand correctly that simple change of firmware is required?
> Can someone suggest what would be correct firmware for this?
>

This is standard

> And then one more question - are those inputs for MPG encoders
> suitable to read "normal" encoder signal, meaning - are there any
> limitations on max pulse frequency the inputs can handle for these 2
> encoders?
>

They are quite limited (to say 40,000 counts per second) In addition they are 
single ended only and do not support index

In general they are not recommended for motion applications and rather just for 
supporting MPGs

A much better solution is to add a 7I85 or 7I85S


> Thanks in advance!
>
> Viesturs
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%
> 40pgrahamdunn.com%7Ca221c8a563624364bf3c08dbbde14d64%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638312547604979777%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=w0Fr4Dlp9vKXUc04CtmJaOHxsUZZj9NbSZx%2BWzJPfec%3D&r
> eserved=0
>

Peter Wallace
Mesa Electronics


___
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] PCIe to PCI adapter?

2023-08-24 Thread Todd Zuercher
I think they work, but it might be worth the extra cost of upgrading to an 
actual PCIe or Ethernet version FPGA card simply to avoid the mounting hassle 
issues that would go along with using that sort of adapter.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Ralph Stirling 
Sent: Thursday, August 24, 2023 11:37 AM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] PCIe to PCI adapter?

[EXTERNAL EMAIL] Be sure links are safe.

I am upgrading an older setup with a newer small form factor computer, and 
realized that the new machine has no PCI interface, only PCIe.  I have a Mesa 
5i25 from the old system that I would like to use.  Has anybody tried using one 
of the $25 adapters I see advertised to connect a 5i25 to a PCIe interface?  
Something along the lines of this is what I'm thinking of:

https://www.ebay.com/itm/185692034687

Thanks,
-- Ralph

___
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] Reverse Pulse Control on Dust Collectors

2023-08-23 Thread Todd Zuercher
Thanks, That is what I thought.

I guess I didn't read the original post correctly.  I see now that he is 
talking about a 10ms burst from an air valve(s) not reversing the blower.  That 
makes a lot more sense.  Wouldn't a simple timer relay be sufficient?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Thaddeus Waldner 
Sent: Wednesday, August 23, 2023 9:18 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Reverse Pulse Control on Dust Collectors

[EXTERNAL EMAIL] Be sure links are safe.

Pulse cleaning on commercial filter systems is accomplished with a blast of 
compressed air. The systems usually have large diameter air valves and piping 
leading from an accumulator to the clean side of the filter. The valves are 
triggered in stages, so that each stage receives the full volume of the 
accumulated air.

Ideally you want the blower to be stopped while cleaning takes place, so that 
the dust falls into the hopper instead of being sucked back into the filter. So 
a good practice is to run a cleaning cycle after every shutdown. Some systems 
also run a cleaning cycle based on system vacuum between the blower and filter. 
In this case you sometimes can’t stop the filter, so you would slow it down as 
a compromise while the cleaning takes place, as the OP described.

> On Aug 23, 2023, at 8:01 AM, Todd Zuercher  wrote:
>
> Just curious how this could work physically.  I can't imagine how a dust 
> collector motor could reverse for a 10th of a second.  Every dust collector 
> I've worked with seems to take at least half a second (or more, sometimes a 
> lot more if it's a big one) just to spin up to speed let alone move an 
> appreciable amount of air.  I also can't imagine the impellers working well 
> with or liking being reversed.  Or are you talking about diverting the air 
> flow to reverse the air flow to the filtration unit somehow?  The large dust 
> collector systems I've worked with all use a separate blower contained within 
> the filter bag house system that blows a reverse pulse of air into the filter 
> bags to clean them, and the small ones don't have anything.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Earl Weaver 
> Sent: Tuesday, August 22, 2023 11:41 AM
> To: emc-users@lists.sourceforge.net
> Subject: [Emc-users] Reverse Pulse Control on Dust Collectors
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Hi everyone,
>
> Does anyone have suggestions what would be a good option for reverse pulse 
> control on my dust collectors?
>
> I have 3 separate dust collectors that use (two each) air solenoid valves to 
> give the filters an alternating 100 millisecond (1/10 second) pulse to remove 
> the dust from the filters.
> I have solid state switch relays (triac) to pulse the 120 volt AC solenoid 
> valves.
>
> I already have this setup on my LinuxCNC Plasma cutter and have it working 
> with ClassicLadder in LinuxCNC.
> It seems somewhat overkill to use a full LinuxCNC setup to control these 
> other three dust collectors.
>
> Would a micro-controller like Arduino be a better solution?
> I have no experience with Arduino.
>
> What about a PLC?
>
> Any input, or suggestions?
>
> Thanks,
> Earl
> --
>
>
>
>
> ___
> 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

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


Re: [Emc-users] Reverse Pulse Control on Dust Collectors

2023-08-23 Thread Todd Zuercher
Just curious how this could work physically.  I can't imagine how a dust 
collector motor could reverse for a 10th of a second.  Every dust collector 
I've worked with seems to take at least half a second (or more, sometimes a lot 
more if it's a big one) just to spin up to speed let alone move an appreciable 
amount of air.  I also can't imagine the impellers working well with or liking 
being reversed.  Or are you talking about diverting the air flow to reverse the 
air flow to the filtration unit somehow?  The large dust collector systems I've 
worked with all use a separate blower contained within the filter bag house 
system that blows a reverse pulse of air into the filter bags to clean them, 
and the small ones don't have anything.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Earl Weaver 
Sent: Tuesday, August 22, 2023 11:41 AM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] Reverse Pulse Control on Dust Collectors

[EXTERNAL EMAIL] Be sure links are safe.

Hi everyone,

Does anyone have suggestions what would be a good option for reverse pulse 
control on my dust collectors?

I have 3 separate dust collectors that use (two each) air solenoid valves to 
give the filters an alternating 100 millisecond (1/10 second) pulse to remove 
the dust from the filters.
I have solid state switch relays (triac) to pulse the 120 volt AC solenoid 
valves.

I already have this setup on my LinuxCNC Plasma cutter and have it working with 
ClassicLadder in LinuxCNC.
It seems somewhat overkill to use a full LinuxCNC setup to control these other 
three dust collectors.

Would a micro-controller like Arduino be a better solution?
I have no experience with Arduino.

What about a PLC?

Any input, or suggestions?

Thanks,
Earl
--




___
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] Installing From Debian?

2023-07-11 Thread Todd Zuercher
Here is a link to the instructions of how to correct a borked Debian 12 
installation from one of the live amd64 ISOs.
https://forums.debian.net/viewtopic.php?t=155245

You need to perform 3 command line commands (with root or sudo privileges.)
# rm 
/etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
# apt purge raspi-firmware
# rm -rf /boot/firmware

I tested this and it does seem to get things working correctly again.  And then 
I could install the real-time or other kernels without issue.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher 
Sent: Monday, July 10, 2023 4:21 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

Karl,

Have you tried installing Debian using one of the Bookworm live ISOs?  I have, 
and the Mate version I downloaded on 3/30/2023 is definitely borked.  I don't 
remember and didn't take notes of the actual details of the problems.  (and 
I've since wiped that install.)  It would run live fine, install and run fine, 
install new software from the repos fine, but could not install a new kernel 
via apt-get or Synaptic (same thing really).  I didn't' bother putting much 
effort into finding or fixing the problem.

I have it installing again on a spare old harddrive to check out exactly what 
the problems were.

The system I installed on was an older Lenovo desktop with an i5 (not sure the 
exact model.)  I don't have a rbpi or any other arm devices.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Karl Schmidt 
Sent: Monday, July 10, 2023 2:39 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

@Todd -

Not likely a Debian problem - I would have to see his /etc/apt/sources.list to 
know what is going on.

To upgrade you also need something like this in /etc/apt.conf.d/local

APT::Default-Release "/^bookworm(|-security|-updates)$/";

He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - 
thus amd64.

I don't think the 'Raspberry Pi Desktop' is part of Debian - so his 
sources.list is probably wacked.

Other things to look at:
# cat /etc/issue
# uname -a


 From a normal Debian system with these lines in sources.list:
deb http://ftp.us.debian.org/debian/ bookworm  main contrib non-free deb 
http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware 
deb http://security.debian.org/debian-security bookworm-security main contrib 
non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates 
main contrib non-free non-free-firmware

# wajig listall linuxcnc
linuxcnc-doc-de   motion controller for CNC machines and robots (German 
documentation)
linuxcnc-doc-en   motion controller for CNC machines and robots 
(English documentation)
linuxcnc-doc-es   controlador de movimiento para máquinas CNC y robots 
(Español).
linuxcnc-doc-fr   motion controller for CNC machines and robots (French 
documentation)
linuxcnc-doc-zh-cnmotion controller for CNC machines and robots (Chinese
linuxcnc-uspace   motion controller for CNC machines and robots
linuxcnc-uspace-dev   PC based motion controller for real-time Linux

The only drawback to running a pure Debian system is it 'tends to be VERY 
conservative' - so the big advantage of running pure Debian is it 'tends to be 
VERY conservative' - something I want for running machine-control or public 
facing systems.

I really want to praise the guys that did all the heavy lifting to get linuxcnc 
into Debian - not a small task - (the software has to survive all sorts of 
probes by the "Lintian" a comprehensive package checker - Debian Policy 
violations and violations of various sub-policies, best practices, common 
mistakes, and problems that maintainers like to catch before uploads. )

I'm sure the code will be picked up by the manny distributions that feed off of 
Debian. The more eyes on the code - the more users - the more polished it 
becomes.




--

Karl Schmidt  EMail k...@lrak.net
3209 West 9th Street  Ph (785) 841-3089
Lawrence, KS 66049

Data mining fools the miner first.
Bayesian thinking is not a human trait.
--kps



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


___
Emc-users mailing l

Re: [Emc-users] Installing From Debian?

2023-07-11 Thread Todd Zuercher
Here is a link to the forum thread that pointed me to using the net install to 
avoid the bug in the live iso.
https://forums.debian.net/viewtopic.php?t=154857
This is definitely a Debian bug (nothing to do with Linuxcnc.)

It looks like I need to create a user account to add my voice to the complaints 
to fix this bug.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher 
Sent: Monday, July 10, 2023 5:10 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

I just tried to install the real time kernel on a fresh install from the " 
debian-live-12.0.0-amd64-mate.iso".
I don't have time to dig up error logs... right now.  (Trying to wrap stuff up 
before heading out on vacation for the 2nd half of the week.) No idea why 
"raspi-firmware: missing" would be mentioned in the error list below.  Maybe 
that has something to do with the problem, but this machine and installation 
has nothing to do with a Raspberrypi.  Again this is a pure clean installation 
from the Debian live iso, then the first and only thing I did after installing 
was open Synaptic check the box to install the "linux-image-rt-amd64" meta 
package, then let Synaptic do it's thing.

Error Message from Synaptic:
E: linux-image-6.1.0-10-amd64: installed linux-image-6.1.0-10-amd64 package 
post-installation script subprocess returned error exit status 1
E: linux-image-6.1.0-10-rt-amd64: installed linux-image-6.1.0-10-rt-amd64 
package post-installation script subprocess returned error exit status 1
E: linux-image-rt-amd64: dependency problems - leaving unconfigured
E: linux-image-amd64: dependency problems - leaving unconfigured

Repositories List:
deb http://deb.debian.org/debian/ bookworm main deb-src 
http://deb.debian.org/debian/ bookworm main deb 
http://security.debian.org/debian-security bookworm-security main deb-src 
http://security.debian.org/debian-security bookworm-security main # 
bookworm-updates, to get updates before a point release is made; # see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main deb-src 
http://deb.debian.org/debian/ bookworm-updates main


Everything from the Changes Aplied, Details window:
(Reading database ... 286299 files and directories currently installed.) 
Preparing to unpack .../00-libcpupower1_6.1.37-1_amd64.deb ...
Unpacking libcpupower1 (6.1.37-1) over (6.1.27-1) ...
Preparing to unpack .../01-linux-compiler-gcc-12-x86_6.1.37-1_amd64.deb ...
Unpacking linux-compiler-gcc-12-x86 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-headers-6.1.0-10-common.
Preparing to unpack .../02-linux-headers-6.1.0-10-common_6.1.37-1_all.deb ...
Unpacking linux-headers-6.1.0-10-common (6.1.37-1) ...
Preparing to unpack .../03-linux-kbuild-6.1_6.1.37-1_amd64.deb ...
Unpacking linux-kbuild-6.1 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-headers-6.1.0-10-amd64.
Preparing to unpack .../04-linux-headers-6.1.0-10-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-headers-6.1.0-10-amd64 (6.1.37-1) ...
Preparing to unpack .../05-linux-headers-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-headers-amd64 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-image-6.1.0-10-amd64.
Preparing to unpack .../06-linux-image-6.1.0-10-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-6.1.0-10-amd64 (6.1.37-1) ...
Selecting previously unselected package linux-image-6.1.0-10-rt-amd64.
Preparing to unpack .../07-linux-image-6.1.0-10-rt-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
Preparing to unpack .../08-linux-image-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-amd64 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-image-rt-amd64.
Preparing to unpack .../09-linux-image-rt-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-rt-amd64 (6.1.37-1) ...
Preparing to unpack .../10-linux-libc-dev_6.1.37-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (6.1.37-1) over (6.1.27-1) ...
Setting up linux-libc-dev:amd64 (6.1.37-1) ...
Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-9-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-9-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-10-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-10-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
dkms: autoinstall for kernel: 6.1.0-10-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmw

Re: [Emc-users] Installing From Debian?

2023-07-10 Thread Todd Zuercher
-amd64
/etc/kernel/postinst.d/dkms:
dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel 
headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return 
code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-10-rt-amd64 (--configure):
 installed linux-image-6.1.0-10-rt-amd64 package post-installation script 
subprocess returned error exit status 1
Setting up linux-compiler-gcc-12-x86 (6.1.37-1) ...
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-10-rt-amd64 (= 6.1.37-1); 
however:
  Package linux-image-6.1.0-10-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-6.1.0-10-common (6.1.37-1) ...
Setting up linux-kbuild-6.1 (6.1.37-1) ...
Setting up linux-headers-6.1.0-10-amd64 (6.1.37-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
dkms: autoinstall for kernel: 6.1.0-10-amd64.
Setting up linux-headers-amd64 (6.1.37-1) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however:
  Package linux-image-6.1.0-10-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9) ...
Errors were encountered while processing:
 linux-image-6.1.0-10-amd64
 linux-image-6.1.0-10-rt-amd64
 linux-image-rt-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
dkms: autoinstall for kernel: 6.1.0-10-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return 
code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-10-amd64 (--configure):
 installed linux-image-6.1.0-10-amd64 package post-installation script 
subprocess returned error exit status 1
Setting up linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
/etc/kernel/postinst.d/dkms:
dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel 
headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return 
code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-10-rt-amd64 (--configure):
 installed linux-image-6.1.0-10-rt-amd64 package post-installation script 
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-10-rt-amd64 (= 6.1.37-1); 
however:
  Package linux-image-6.1.0-10-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however:
  Package linux-image-6.1.0-10-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-10-amd64
 linux-image-6.1.0-10-rt-amd64
 linux-image-rt-amd64
 linux-image-amd64


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Todd Zuercher 
Sent: Monday, July 10, 2023 4:21 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

Karl,

Have you tried installing Debian using one of the Bookworm live ISOs?  I have, 
and the Mate version I downloaded on 3/30/2023 is definitely borked.  I don't 
remember and didn't take notes of the actual details of the problems.  (and 
I've since wiped that install.)  It would run live fine, install and run fine, 

Re: [Emc-users] Installing From Debian?

2023-07-10 Thread Todd Zuercher
Karl,

Have you tried installing Debian using one of the Bookworm live ISOs?  I have, 
and the Mate version I downloaded on 3/30/2023 is definitely borked.  I don't 
remember and didn't take notes of the actual details of the problems.  (and 
I've since wiped that install.)  It would run live fine, install and run fine, 
install new software from the repos fine, but could not install a new kernel 
via apt-get or Synaptic (same thing really).  I didn't' bother putting much 
effort into finding or fixing the problem.

I have it installing again on a spare old harddrive to check out exactly what 
the problems were.

The system I installed on was an older Lenovo desktop with an i5 (not sure the 
exact model.)  I don't have a rbpi or any other arm devices.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Karl Schmidt 
Sent: Monday, July 10, 2023 2:39 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

@Todd -

Not likely a Debian problem - I would have to see his /etc/apt/sources.list to 
know what is going on.

To upgrade you also need something like this in /etc/apt.conf.d/local

APT::Default-Release "/^bookworm(|-security|-updates)$/";

He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - 
thus amd64.

I don't think the 'Raspberry Pi Desktop' is part of Debian - so his 
sources.list is probably wacked.

Other things to look at:
# cat /etc/issue
# uname -a


 From a normal Debian system with these lines in sources.list:
deb http://ftp.us.debian.org/debian/ bookworm  main contrib non-free deb 
http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware 
deb http://security.debian.org/debian-security bookworm-security main contrib 
non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates 
main contrib non-free non-free-firmware

# wajig listall linuxcnc
linuxcnc-doc-de   motion controller for CNC machines and robots (German 
documentation)
linuxcnc-doc-en   motion controller for CNC machines and robots 
(English documentation)
linuxcnc-doc-es   controlador de movimiento para máquinas CNC y robots 
(Español).
linuxcnc-doc-fr   motion controller for CNC machines and robots (French 
documentation)
linuxcnc-doc-zh-cnmotion controller for CNC machines and robots (Chinese
linuxcnc-uspace   motion controller for CNC machines and robots
linuxcnc-uspace-dev   PC based motion controller for real-time Linux

The only drawback to running a pure Debian system is it 'tends to be VERY 
conservative' - so the big advantage of running pure Debian is it 'tends to be 
VERY conservative' - something I want for running machine-control or public 
facing systems.

I really want to praise the guys that did all the heavy lifting to get linuxcnc 
into Debian - not a small task - (the software has to survive all sorts of 
probes by the "Lintian" a comprehensive package checker - Debian Policy 
violations and violations of various sub-policies, best practices, common 
mistakes, and problems that maintainers like to catch before uploads. )

I'm sure the code will be picked up by the manny distributions that feed off of 
Debian. The more eyes on the code - the more users - the more polished it 
becomes.




--

Karl Schmidt  EMail k...@lrak.net
3209 West 9th Street  Ph (785) 841-3089
Lawrence, KS 66049

Data mining fools the miner first.
Bayesian thinking is not a human trait.
--kps



___
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] Installing From Debian?

2023-07-10 Thread Todd Zuercher
Andy,

Which ISO did you use to install?  (The Net-Install works, the Live-Mate 
version I downloaded didn't.)   I'm 95% sure this isn't a Linuxcnc issue but a 
Debian one.  I first tried installing Linuxcnc from Synaptic and letting it 
pull in the kernel dependencies.  That failed to install the real time kernel 
with the same errors John Dammeyer found.  I fiddled with that for a bit 
without success.  Wiped the drive and reinstalled again, this time only trying 
to install the real-time kernel without Linuxcnc and still had the same 
problem.  I then tried googling the issue, and didn't find much, but did find 
one thread addressing it.  The instructions for fixing it seemed somewhat 
complex and I didn't try to follow them, when I saw that the thread mentioned 
that the Net-install ISO was unaffected by the problem.  I downloaded that and 
it installed and installed Linuxcnc with the real-time kernal without a hitch.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Saturday, July 08, 2023 1:29 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

On Thu, 6 Jul 2023 at 02:59, Todd Zuercher  wrote:
>
> Any one installed Debian 12 and running  Linuxcnc on a machine?

I recently did a clean install on my Macbook (I can now dual-boot
simultaneously: https://photos.app.goo.gl/jEjzzJmjDVqouQh79 )

It went very smoothly. I downloaded the ISO, put it on a USB using dd, 
installed Linux and then sudo apt-get install linuxcnc and it all just worked.

--
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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings

2023-07-07 Thread Todd Zuercher
The single line look-ahead is only a limiting factor when commanded g-code 
segments are shorter than what your acceleration settings can achieve the 
commanded speed in.  For example if your machine is configured for 100in/sec^2 
acceleration and milling at 90inchs/min it would be able to maintain full speed 
through g-code with segments a little less than 0.01 inch long without any slow 
down due to single line look-ahead.

Don't be confused by the huge slow down potentially caused by not using G93 
(inverse time feeds) when you should be for mixed linear/angular commands.  
That slow down is caused by the F feed rate being applied in degrees/min 
limiting the moves speed (a 10 degree move at normal F90 will take 6.7 
seconds.)  A move will always be limited by which ever is slower the move's F 
speed in degrees/min or distance/min.  If a combined move's degrees moved is 
greater than the linear distance moved, then the feed rate of the angular move 
will be controlling the time of the move.  Switching from inches to mm in your 
G-code could also have a big effect, making the F settings 25.4 times larger, 
and therefore the angular moves 25.4 times faster.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Marius 
Sent: Friday, July 07, 2023 4:17 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings

[EXTERNAL EMAIL] Be sure links are safe.

On 2023/07/06 22:54, John Allwine wrote:
> The latest software on the Pocket NC is using the same trajectory planner as 
> what is in LinuxCNC.
>
> I haven’t followed the whole thread. What seems to be wrong with the 
> trajectory planner when doing 4 or 5-axis?

The trajectory planner only has one line look ahead for any rotary axis.
So this means that trajectory planning is not really happening and performance 
is very poor when trying to achieve faster moves.



>> On Jul 6, 2023, at 12:34 PM, Eric Keller  wrote:
>>
>> The Pocket NC runs Machinekit.  I'm told machinekit has a better TP,
>> but I haven't seen any evidence of that.
>>
>>> On Thu, Jul 6, 2023 at 12:27 PM Roland Jollivet
>>>  wrote:
>>>
>>> The small 4-axis CNC machine,'Pocket Nc' uses LinuxCNC as far as I
>>> can tell, and it seems to run just fine. Or does it?
>>>
>>> Roland
>>>
>>>
>>>
>>>> On Tue, 4 Jul 2023 at 20:16, andy pugh  wrote:
>>>>
>>>>> On Tue, 4 Jul 2023 at 18:34, Marius  wrote:
>>>>> The problem seems to be that our trajectory planner lack the
>>>>> ability to look ahead for any rotary axis. This means that a
>>>>> coordinated move that includes a rotary move will be dysfunctional at 
>>>>> best.
>>>> It's not as bad as that.
>>>>
>>>> There is a 9-axis blending planner in Tormach, but it's not trivial
>>>> to merge it with Linuxcnc due to divergence in the codebase.
>>>>
>>>> If we could get hold of the patches that introduced it to Tormach
>>>> then we could look at integrating it, but doing it just from
>>>> comparing the code sounds hard.
>>>>
>>>> --
>>>> 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://l/
>>>> ists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7C
>>>> toddz%40pgrahamdunn.com%7Cab74bf847dbf4526bf1508db7ec2a17c%7C575854
>>>> 4c573f47cebee96c3e0806fb43%7C0%7C0%7C638243146663401436%7CUnknown%7
>>>> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC
>>>> JXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TFj1jTETd5iX3h7J8%2B%2FNc3usPgZF
>>>> o8N4E7lrAShUfhU%3D&reserved=0
>>>>
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://li/
>>> sts.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Cto
>>> ddz%40pgrahamdunn.com%7Cab74bf847dbf4526bf1508db7ec2a17c%7C5758544c5
>>> 73f47cebee96c3e0806fb43%7C0%7C0%7C638243146663401436%7CUnknown%7CTWF
>>> pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL

Re: [Emc-users] Installing From Debian?

2023-07-06 Thread Todd Zuercher
I've been playing with it a bit today.

The first and biggest news that I've found is that the Debian live ISOs for 
Bookworm seem to be borked somehow.  It seems to install and run fine until you 
try to install a different kernel than the original one on the ISO.  Then it 
get all huffy about some deb not installing correctly and remaining 
unconfigured and makes it all but impossible to install the real time kernel.  
(It is a bit beyond the effort I was wanting to put into it to figure it out.)

Using the Net Install ISO however worked fine and allowed the Preempt-RT kernel 
to install correctly.  Latency is only OK but should work with the Mesa card I 
plan to use.  (Still fiddling with getting the best latency, right now the best 
I have is about 60us with ISOLCPUS=2,3 on an older i5 pc.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Thaddeus Waldner 
Sent: Wednesday, July 05, 2023 10:51 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

I just set up a replacement computer for an existing machine. The part I had 
the most trouble with turned out to be caused by a wifi router being 
misconfigured. Once that was ironed out, system took off without a hitch and 
has been running trouble-free for several days now.

I followed the guide here:

http://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html


I highly recommend this route.

To aid in figuring out which cores to isolate, I like to use lstopo. It is part 
of the hwloc package.

I have found that on multicore machines, it helps to isolate the last core, as 
well as any adjacent cores that it shares resources with. For example, some low 
power quad core Intel processors share a L2 cache between 2 cores.



> On Jul 5, 2023, at 5:22 PM, Todd Zuercher  wrote:
>
> I have a machine that I am starting to refit and I am considering trying to 
> install that way rather than using one of the more obsolete Linuxcnc ISOs.


___
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] Installing From Debian?

2023-07-05 Thread Todd Zuercher
Any one installed Debian 12 and running  Linuxcnc on a machine?  Since Linuxcnc 
is now in Debian Stable, I was wondering if anyone cared to voice their 
opinions about installing and running Linuxcnc that way.

I have a machine that I am starting to refit and I am considering trying to 
install that way rather than using one of the more obsolete Linuxcnc ISOs.

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


Re: [Emc-users] Drilling holes in the back of a stepper motor

2023-06-26 Thread Todd Zuercher
I was just about to suggest gluing the thing on.  You beat me to it.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Roland Jollivet 
Sent: Monday, June 26, 2023 1:17 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Drilling holes in the back of a stepper motor

[EXTERNAL EMAIL] Be sure links are safe.

You have such a large flat surface area there. Design an encoder mount plate of 
similar size where the end result is also has a flat surface.

Rough and clean the back of the motor up, then use a decent polyurethane 
adhesive to bond it on. During the setup you could use a jig to keep it 
concentric with the shaft.
Design it in such a way that you can still replace the encoder if need be.

Roland




On Sun, 25 Jun 2023 at 05:31, John Dammeyer  wrote:

> I want to add an encoder onto the back of this stepper motor.  I can
> install either a US Digital or a CUI since both mounting flanges can
> extend out near the edges of the back mounting plate.
>
>
>
> Is there any reason I can't clamp the motor in a vice and pop in two holes
> and tap them with a bottom tap at the spacing of the mounting flange?
>
> John
>
>
>
> ___
> 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 makino knucklehead huge mass and fast

2023-06-14 Thread Todd Zuercher
Think that is a solid chunk of steel mounted on that?  If so about what would 
it probably weigh?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Thomas J Powderly 
Sent: Wednesday, June 14, 2023 5:39 AM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] OT makino knucklehead huge mass and fast

[EXTERNAL EMAIL] Be sure links are safe.

OT but certainly an achievement

https://www.youtube.com/watch?v=4x1900_T4-M

they must have had the concrete barbers in to anchor it down

tomp



___
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] Suggestions for cutting an odd little thread.

2023-05-11 Thread Todd Zuercher
Might it be simpler to remake both screws and change the knurled locking screw 
to a more conventional thread?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Thursday, May 11, 2023 12:15 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Suggestions for cutting an odd little thread.

[EXTERNAL EMAIL] Be sure links are safe.

The Rivett 608 lathe has knurled screws to lock the micrometer dials.
These are quite long, going down the centre of the feedscrew and pushing out a 
radial wedge.

I am making some new feedscrews and have realised that these screws are 
threaded 0.190" x 30

This is probably #10-30 though 3/16 is possible. However I have never found a 
screw to be _above_ nominal diameter, so think it is #10-30.

#10-30 is listed as an old ASME (pre-war) standard. But finding the taps in the 
UK seems about as easy as you would expect.

So, how else to cut the thread? Maybe a very tiny thread mill?
Single-point cutting might work, but it's a rather deep thread for the 
diameter. And I don't have a suitable tool (such as
https://www.ebay.com/itm/383646508366 ). Thread-milling would be an excuse to 
add live tooling to the lathe, and an almost-suitable cutter is affordable: 
https://www.shop-apt.co.uk/single-tooth-thread-mills-for-general-use-internal-60-partial-profile/internal-partial-profile-60-thread-mill-05-08mm-pitch.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


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


Re: [Emc-users] Medium voltage BLDC motor

2023-04-25 Thread Todd Zuercher
Unfortunately a drive built to run off of line AC will generally be 
approximately the same amount larger as the size power supply you need.  Simply 
because you've stuck the power supply inside the drive.  You could try looking 
for a smaller supply?  Can you combine the power supply with any other power 
source needs in you're machine?

Here is a little 120w 24v one that mounts on a din rail and only takes up about 
1.5"x5"x4".  (But maybe that isn't any better than you have.)
https://www.amazon.com/NVVV-EDR-120-24-24VDC-Industrial-Supplies/dp/B0932X2WHW/ref=sr_1_11?keywords=24v+5a+power+supply&qid=1682435519&s=electronics&sr=1-11

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Thaddeus Waldner 
Sent: Tuesday, April 25, 2023 9:27 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Medium voltage BLDC motor

[EXTERNAL EMAIL] Be sure links are safe.

What I mean is that specific driver would not fit into my space. I am currently 
using a custom 24v BLDC driver that I built. But the only option for power 
supply at this point is a wall wart that is about twice the size of your 
typical laptop charger, which I'd like to eliminate.


> On Apr 25, 2023, at 7:00 AM, Todd Zuercher  wrote:
>
> I'm a little confused, a BLDC motor is still going to need a drive/driver, 
> weather or not it runs at line voltage, that you say you don't have space 
> for.  How is that going to help you?
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Thaddeus Waldner 
> Sent: Monday, April 24, 2023 5:40 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: [Emc-users] Medium voltage BLDC motor
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> HI,
>
> I have an application where I need a NEMA 23-size 80-120 watt brushless DC 
> motor. The machine housing doesn't have space for a 100w DC 24v power supply, 
> so I would like to use a controller and motor that runs at line voltage.
>
> Does anyone know of a small BLDC/PMAC/Synchronous AC motor that is designed 
> to run at about 150v coil voltage?
>
> Motors this size/voltage are apparently quite common in kitchen appliances 
> that use pumps or fans, but I cannot seem to find a plain motor with output 
> shaft.
>
>
>
> Thanks,
>
> Thaddeus Waldner
>
> ___
> 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


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


Re: [Emc-users] Medium voltage BLDC motor

2023-04-25 Thread Todd Zuercher
I'm a little confused, a BLDC motor is still going to need a drive/driver, 
weather or not it runs at line voltage, that you say you don't have space for.  
How is that going to help you?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Thaddeus Waldner 
Sent: Monday, April 24, 2023 5:40 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Medium voltage BLDC motor

[EXTERNAL EMAIL] Be sure links are safe.

HI,

I have an application where I need a NEMA 23-size 80-120 watt brushless DC 
motor. The machine housing doesn't have space for a 100w DC 24v power supply, 
so I would like to use a controller and motor that runs at line voltage.

Does anyone know of a small BLDC/PMAC/Synchronous AC motor that is designed to 
run at about 150v coil voltage?

Motors this size/voltage are apparently quite common in kitchen appliances that 
use pumps or fans, but I cannot seem to find a plain motor with output shaft.



Thanks,

Thaddeus Waldner

___
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] RTAI?

2023-04-18 Thread Todd Zuercher
So is RTAI currently supported in 2.9?

Is there a projected date for the official release of 2.9?

Some of the reasons for asking, we just sold a machine I had running 2.7 on 
Wheezy and using 2 or 3 parallel ports.  It had been installed and set up 
before Wheezy went EOL.  Unfortunately it seems the HD may have died sometime 
since the last time we used the machine and the new owner took possession (it 
was in storage for a couple years.)  While we do have some backups of the main 
router configuration for the machine, there were some experimental configs that 
weren't backed up for a CO2 laser and a glass cutter that were not backed up.  
(The Laser's PWM gen setup might be missed the most.)  I'm afraid restoring 
Wheezy to a useful state may be out of reach for a computer newb who knows 
nothing of Linux.  (I know I would struggle with it and I've been a user for a 
while.)

What is the current state of RTAI kernels available for use with Linuxcnc?  Are 
there precompiled binarys avalible for the RTAI kernel or for Linuxcnc to run 
on it?  Last I heard Andy you had compiled one but there was some question as 
to its stability and support for RTAI was pulled from Master(2.9-pre).  That 
was a while ago, 2.9 has been "frozen" for release and Master is now 2.10-pre.  
Is it better to install Linuxcnc via the current ISO on Linuxcnc.org, or to 
install using Debian Bookworm and it's repositories (since Debian seems about 
as close to releasing it as Linuxcnc is to releasing 2.9, maybe closer)?

I really like Bookworm, it seems much smoother around the edges than Buster and 
no comparison to Wheezy.  Is there any chance that it might be possible to get 
acceptable latency using a Preempt-RT on an older anemic Atom CPU (D2700) that 
could run a parallel port config?  Is it even worth the effort to try?  Just 
trying to chart the best course to recommend to get this poor guy who bought 
our old machine going again.

I'm afraid that the buyer really knows nothing of computers, to the extent that 
he may have taken the old PC that he was having trouble with to some "PC guy" 
who then knowing nothing of Linux wiped the old HD, when he couldn't get his 
Windows tools to work on it ☹ sigh.

Which is very unfortunate because I know I rewired some things when I set up 
the CO2 laser, but don't remember exactly what or how, so it would be difficult 
or impossible for me to recreate that configuration without being at the 
machine.  (Machine was originally configured with two 7hp routers.)  It was 
right at the beginning of COVID shutdown and we were experimenting with using 
the machine to cut out gowns from poly sheeting using the laser cut and weld 
the layers.  It almost worked but the welding was too inconsistent.  And that 
was the last time we used the machine, and it was put into storage not long 
after that.



Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: andy pugh 
Sent: Monday, April 17, 2023 4:49 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] RTAI?

[EXTERNAL EMAIL] Be sure links are safe.

On Mon, 17 Apr 2023 at 17:33, Todd Zuercher  wrote:

> Is RTAI still going to be supported in Linxcnc versions 2.9+?


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

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


[Emc-users] RTAI?

2023-04-17 Thread Todd Zuercher
Is RTAI still going to be supported in Linxcnc versions 2.9+?

Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] Mill ramp angle

2023-04-14 Thread Todd Zuercher
I've had great success with 1/4" O-flutes in aluminum.  But I spiral those in 
pretty much exclusively and use HSM style tool paths where the tool never sees 
more than about 20-30% engagement.  (While I've broken lots of 1/4" O-flues, 
I've never noticed the tip breaking.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Rob C 
Sent: Friday, April 14, 2023 9:04 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Mill ramp angle

[EXTERNAL EMAIL] Be sure links are safe.

what is the material?
what is the endmill material?
how many flutes?
is it centre cutting tool or non-center cutting end mill?

I have always struggled on o-flute endmills and ramp or plunge (breaking the 
tip :(

https://zero-divide.net/?&article_id=4307_plunging-and-ramping-recomendations-and-techniques

On Fri, 14 Apr 2023 at 12:56, Nicklas SB Karlsson  wrote:

> fre 2023-04-14 klockan 12:07 +0100 skrev andy pugh:
> > On Fri, 14 Apr 2023 at 10:29, Nicklas SB Karlsson  wrote:
> >
> > >
> > > Anyone have any suggestion about this? Decrease ramp angle?
> > >
> >
> > Can you spiral down, making a hole slightly less than twice the tool
> > diameter, so that only one side of the tool is engaged?
> Yes it would be possible.
>
> If possible to convince CAM module in CAD software I could also plunge
> into a hole with a diameter 2mm less than mill.
>
>
> Nicklas Karlsson
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://list/
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%
> 40pgrahamdunn.com%7C0a8897a3cab844908e5708db3ce8de16%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638170743088332739%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=8YboLOEp9TzsBnJd9rorTnrtXIalE6uXFDUVlnThlA4%3D&res
> erved=0
>

___
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] Mill ramp angle

2023-04-14 Thread Todd Zuercher
Spiraling in, even without a predrilled hole there is much easier on the 
spindle and tool than a straight line ramp, because like Andy said you are only 
loading one side of the cutting tool and not cutting the full tool width.  A 
full tool width cut is much more limited as far as maximum depth per pass than 
a cut that is only engaging a percentage of the tool.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Nicklas SB Karlsson 
Sent: Friday, April 14, 2023 7:53 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mill ramp angle

[EXTERNAL EMAIL] Be sure links are safe.

fre 2023-04-14 klockan 12:07 +0100 skrev andy pugh:
> On Fri, 14 Apr 2023 at 10:29, Nicklas SB Karlsson  wrote:
>
> >
> > Anyone have any suggestion about this? Decrease ramp angle?
> >
>
> Can you spiral down, making a hole slightly less than twice the tool
> diameter, so that only one side of the tool is engaged?
Yes it would be possible.

If possible to convince CAM module in CAD software I could also plunge into a 
hole with a diameter 2mm less than mill.


Nicklas Karlsson



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%40pgrahamdunn.com%7C65541116cb2b49624b4008db3cdf0ac5%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638170700879252042%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7pcN18n2tSWJ8KSoxNqKpGD0ajffsy6Qs%2B4rFHgOuSs%3D&reserved=0<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] Custom Cast Iron castings

2023-04-03 Thread Todd Zuercher
Google up some names and make some phone calls.  There are literally thousands 
of small foundries across the US.  The trick is finding which one wants your 
money and is most convenient for you.  

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: hubert  
Sent: Sunday, April 02, 2023 1:11 PM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] Custom Cast Iron castings

[EXTERNAL EMAIL] Be sure links are safe.

  I have a new spindle that I would like to mount on my Mill.  It larger, 
faster and more powerful than my current spindle.  I have created a 3D model of 
the desired spindle holder box that I would like to get converted to cast iron.

I would appreciate recommendations on sources of custom castings.

I live in central Texas.

Hubert



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%40pgrahamdunn.com%7Cb7c4ae84bd1546b4b75008db339f3b9e%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638160531218900158%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rkhVNnOD5ghrL%2BUAxVXh0vwtzjq2NXxvWMPYm872ToA%3D&reserved=0


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


Re: [Emc-users] Reusing Fanuc servo drive?

2023-03-28 Thread Todd Zuercher
My personal opinion, Fanuc drives and motors (while good hardware) can be quite 
difficult to try to reuse outside of a Fanuc control system.  The cost and 
difficulty often exceeding what you would spend on buying more generic 
hardware.  (Especially if you sold the old Fanuc hardware to offset the cost of 
the replacement.)

It would be one matter if you were attempting this for your own personal 
challenge.  Quite another as paid work for someone else.  If someone were 
paying me to retrofit a machine I probably wouldn't even consider trying to 
reuse the Fanuc stuff.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis  
Sent: Tuesday, March 28, 2023 3:30 PM
To: Enhanced Machine Controller (EMC) 
Subject: [Emc-users] Reusing Fanuc servo drive?

[EXTERNAL EMAIL] Be sure links are safe.

Hello!

I am asked to retrofit some old 3 axis mill to LinuxCNC. It is not yet clear if 
original servodrives are working or not, so the owner wants to reuse Fanuc 
servodrives and motors they have removed from another machine. This is label of 
the servodrive:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FLNVjuaBYC3Ox.jpg&data=05%7C01%7Ctoddz%40pgrahamdunn.com%7Cf388c380421348eb548408db2fc30f21%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638156287067372405%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dzJeiXT2W5hmtFIPAJvrij9mCVBPm4NHYlDYQzcFw0A%3D&reserved=0

I have zero experience with Fanuc, so I am hoping for collective wisdom to 
understand - is this a good idea?
My main concern is PID tuning in the drive. Do I understand correctly that even 
with the original motor and cabling but different load it will not be stable 
and reliable?
Or should I look for bigger stepper motors in case original drives have retired?

Viesturs


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C01%7Ctoddz%40pgrahamdunn.com%7Cf388c380421348eb548408db2fc30f21%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638156287067372405%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uykRj%2FO%2FeiMw1dW3RU0yG26B%2Fh38Efwcnaud%2F2jTbGc%3D&reserved=0


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


Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-22 Thread Todd Zuercher
They don't even always have the extra sticker.  Most of the ones we have that 
came in machines here don’t.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Stuart Stevenson 
Sent: Tuesday, March 21, 2023 8:15 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

Dark thought

remove the extra sticker and ship the drive anywhere

On Tue, Mar 21, 2023 at 11:38 AM Todd Zuercher 
wrote:

> As far as the firmware goes, it is not an option for the end users to
> change a Yaskawa drive's firmware.  (At least that is what I was told
> when I was shopping for a new drive.)  The drive's firmware can't be
> re-flashed by the end user and I don't even think they will give out
> the HF code or the equipment for their techs to reflash them at a
> dealer or repair facility.  It all seems rather fishy to me.  Most of
> the HF Yaskawa drives I have, are labeled like the regular low freq.
> drives, and list 400hz as their max freq. on the drive's label.  They
> just have a sticker stuck on above the old printed label  showing the
> part number for the HF firmware (the regular drive's part number with
> 1F-056 stuck on the end).  There is no other outward difference in
> appearance between the regular and the HF drives. (see attached
> picture if it goes through.) I really don't think there is any real
> difference in the actual hardware.  (It does seem odd that they
> wouldn't just reprint the whole label with the correct output freq.
> and any other applicable differences.)
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Leonardo Marsaglia 
> Sent: Tuesday, March 21, 2023 9:07 AM
> To: Enhanced Machine Controller (EMC)
> 
> Subject: Re: [Emc-users] OT: Air cooled router spindle problem
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Thanks a lot Todd!
>
> That works perfect. I didn't mess around with the firmware yet but
> since 590hz of max frequency is doing fine for me I didn't worry.
>
>
>
> El lun., 20 de marzo de 2023 10:30, Todd Zuercher
> 
> escribió:
>
> > You're minimum frequency and voltage don't seem right.  You won't be
> > able to command a speed below 6000RPM.  Which might not be all bad,
> > but that may also mean that the 0.1v from the analog command input
> > may = 6000rpm and 10v =  590hz.  This might through off your speed
> > command output from your controller.  The bigger problem might be
> > that your volt hz curve output will be 16.2v @ 200hz then linearly
> > to interpolated to 0 below that and linearly interpolated up from
> > that point to your mid-range setting of 32.2v @ 300hz, and then
> > linearly from there up to 380v @ 400hz.  With those settings I'm
> > going to guess
> that you will have almost no torque below about
> > 350rpm.  (Maybe not even enough to get the spindle running.)   162.0v @
> > 200hz and 322.0v @ 300hz would sound more normal for a 380v high
> > speed spindle to me.  Attached are some example Yaskawa VFD settings
> > from a CNC router manufacturer for some of their spindles used in the past.
> > (These are for an older 626 model drive, and some of those charts
> > are not high speed router spindles, but the parameter numbers are
> > usually similar for the newer model drives.)
> >
> > You might also be able to run the drive's auto tuning feature.  It
> > may or may not work.  Usually auto tuning in a VFD is geared towards
> > setting up 50-60hz motors.  I suspect it often doesn't work for high
> > speed spindles designed to operate above 300hz.  (All of the drive's
> > I've set up using the high speed firmware option have the auto
> > tuning feature disabled and it can't be used.)
> >
> > The GA500 drive series is available with the high speed firmware
> > option, Did you try to get one of those?
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> > -Original Message-
> > From: Leonardo Marsaglia 
> > Sent: Sunday, March 19, 2023 6:18 PM
> > To: Enhanced Machine Controller (EMC)
> > 
> > Subject: Re: [Emc-users] OT: Air cooled router spindle problem
> >
> > [EXTERNAL EMAIL] Be sure links are safe.
> >
> > By the way, the red ones are the ones I modified to suit what I
> > think the motor should be. Please co

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-16 Thread Todd Zuercher
I've had to replace all of the power cables for the servo motors and spindle on 
a large CNC wood router that was only 10 years old.  This was a machine with 
Fanuc control and servos.  (I think it had a Yaskawa VFD).  The encoder cables 
were higher quality and didn't give problems.  It was giving all sorts of weird 
intermittent alarms mostly for the servos.  When I opened up the cable chains, 
I couldn't hardly believe that it hadn't caught fire.  There were broken and 
exposed and charred wires all over the place.  The spindle cable had broken 
wires in at least a half dozen places.  It was a wonder it ran at all.  It was 
a major mess.  (Sorry Gene I don't think any of those cables had red 
insulation.)  I think the machine manufacturer cheeped out and didn't use cable 
chain rated cable or just got a bad batch.  We had an identical machine a year 
older and never had those problems.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: gene heskett  
Sent: Thursday, March 16, 2023 3:50 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

On 3/16/23 12:44, Leonardo Marsaglia wrote:
> I've checked that the terminals are connected well but I didn't check 
> for the entire cable to be alright.
>
> I thought about it but I really didn't think such an intermittent 
> failure could be caused by the cable alone. Do you recommend to 
> install a new cable just in case?
>
That depends on how old that cable is, and how much flexing it has endured in 
its time.  And in some instances, what color the plastic used for insulation 
is. Magenta, aka hot red or hot pink, contains a chemical I can't name but it 
destroys the copper in the wire by converting it to a fine, rust colored powder 
that may, or may not, properly conduct electricity. That color is most often 
found in two-way radio microphone cords as the connection to the tx button, or 
today, more commonly as the outer jacket of a sata drive cable in your 
computers.  In either case, the failure rate by the time its 5 years old, is 
well up the far end of the well known bathtub curve. I long ago changed all of 
mine out for any color but hot red/aka magenta.  End of drive errors.

I have serious doubts that is the problem in this case, since the currents 
involved are definitely capable of starting a noticeable fire.
But a hand, run along the length of the cable, looking for hot spots when the 
failure is in evidence might not be a bad idea. Or better yet, tracing the wire 
with an IR thermometer or infra-red camera.

> El jue., 16 de marzo de 2023 13:37, Todd Zuercher 
> 
> escribió:
>
>> Have you checked your cabling between the motor and VFD?

And please folks, take a break on the mail server, and trim your posts down to 
the context of your reply.
Cheers, Gene Heskett.
--


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


Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-16 Thread Todd Zuercher
A spindle motor is an induction motor, not a permanent magnet synchronous motor 
like a BLDC one.  It should not be able to slip and stall like a BLDC can if 
synchronization is lost.  If there is too much slippage or the rotor stalls it 
should over current the drive.  

I suggested checking the cabling, because it sounds like an intermittent 
problem on one of the phases.  But what has me doubting this, is that most VFDs 
I've worked with will detect such a fault and shut down with an error code 
reflecting that.  (I know nothing about your model drive.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia  
Sent: Thursday, March 16, 2023 12:43 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

I've checked that the terminals are connected well but I didn't check for
the entire cable to be alright.

I thought about it but I really didn't think such an intermittent failure
could be caused by the cable alone. Do you recommend to install a new cable
just in case?

El jue., 16 de marzo de 2023 13:37, Todd Zuercher 
escribió:

> Have you checked your cabling between the motor and VFD?
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Leonardo Marsaglia 
> Sent: Thursday, March 16, 2023 11:03 AM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] OT: Air cooled router spindle problem
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> By the way. Could a not so good earth grounding of the machine cause this
> failure? Although the machine is grounded as always and the VFD was working
> perfectly for more than 6 months.
>
> El jue., 16 de marzo de 2023 11:47, Leonardo Marsaglia <
> ldmarsag...@gmail.com> escribió:
>
> > Hi again guys,
> >
> > Some news about the problem. I just cut 1 board with the spindle working
> > perfectly.
> >
> > Now with the second board we have problems again. Now we don't have
> > overcurrent but full rotor slipping.
> >
> > The VFD reaches the frequency and the whining sounds good but absolutely
> > no rotor movement. When I touch by hand I can feel it a little hard to
> turn
> > and also I can feel the vibration. When I command the VFD to stop the
> rotor
> > feels like always smooth and with no resistance.
> >
> > I think I'm going to purchase a new VFD because I don't know how much I
> > can play with this one without a solution. I mean an hour ago it was
> > working perfectly. And between starts and stops this happens and nothing
> > seems to fix it. The spindle is even colder now than when it was working
> > ok.
> >
> > Just wanted to tell you so you can let me know your thoughts, but I guess
> > this VFD is the problem.
> >
> > El mar., 14 de marzo de 2023 21:07, Leonardo Marsaglia <
> > ldmarsag...@gmail.com> escribió:
> >
> >> I can imagine marginal settings push a system over the edge into failure
> >>> at extreme temperatures.  Just for example, I was setting up a Yaskawa
> F7
> >>> hi-frequency drive for a 13kw 24k rpm spindle a couple weeks ago.  The
> >>> drive was starting and running the spindle seemingly fine while I was
> >>> testing it.  But when we started production we ran into an issue.
> Normally
> >>> the drive would only take a few seconds to spin the spindle up to
> cutting
> >>> speed.  But once it was warmed up it would start to over current on
> >>> accelerating and pause the acceleration to try to prevent the overload.
> >>> The result was the spindle wasn't up to speed when the control started
> the
> >>> cut and snapped off the bit.  The settings were close enough to
> prevent the
> >>> drive overloading and shutting down but not close enough to get the
> spindle
> >>> running right.  The problem ended up being that the minimum frequency
> and
> >>> voltage were not set to the defaults (used drive) and the min-volt
> setting
> >>> was too high causing the drive to overload when starting up the
> spindle.
> >>> When I was testing it, I was only seeing a brief blip of twenty some
> odd
> >>> amps of current when the spindle was accelerating from stopped.  I
> didn't
> >>> think that seemed out of place.  But once the spindle warmed up it was
> >>> enough to freak out the drive and cause it to slow the spindle
> acceler

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-16 Thread Todd Zuercher
Have you checked your cabling between the motor and VFD? 

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia  
Sent: Thursday, March 16, 2023 11:03 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

By the way. Could a not so good earth grounding of the machine cause this
failure? Although the machine is grounded as always and the VFD was working
perfectly for more than 6 months.

El jue., 16 de marzo de 2023 11:47, Leonardo Marsaglia <
ldmarsag...@gmail.com> escribió:

> Hi again guys,
>
> Some news about the problem. I just cut 1 board with the spindle working
> perfectly.
>
> Now with the second board we have problems again. Now we don't have
> overcurrent but full rotor slipping.
>
> The VFD reaches the frequency and the whining sounds good but absolutely
> no rotor movement. When I touch by hand I can feel it a little hard to turn
> and also I can feel the vibration. When I command the VFD to stop the rotor
> feels like always smooth and with no resistance.
>
> I think I'm going to purchase a new VFD because I don't know how much I
> can play with this one without a solution. I mean an hour ago it was
> working perfectly. And between starts and stops this happens and nothing
> seems to fix it. The spindle is even colder now than when it was working
> ok.
>
> Just wanted to tell you so you can let me know your thoughts, but I guess
> this VFD is the problem.
>
> El mar., 14 de marzo de 2023 21:07, Leonardo Marsaglia <
> ldmarsag...@gmail.com> escribió:
>
>> I can imagine marginal settings push a system over the edge into failure
>>> at extreme temperatures.  Just for example, I was setting up a Yaskawa F7
>>> hi-frequency drive for a 13kw 24k rpm spindle a couple weeks ago.  The
>>> drive was starting and running the spindle seemingly fine while I was
>>> testing it.  But when we started production we ran into an issue.  Normally
>>> the drive would only take a few seconds to spin the spindle up to cutting
>>> speed.  But once it was warmed up it would start to over current on
>>> accelerating and pause the acceleration to try to prevent the overload.
>>> The result was the spindle wasn't up to speed when the control started the
>>> cut and snapped off the bit.  The settings were close enough to prevent the
>>> drive overloading and shutting down but not close enough to get the spindle
>>> running right.  The problem ended up being that the minimum frequency and
>>> voltage were not set to the defaults (used drive) and the min-volt setting
>>> was too high causing the drive to overload when starting up the spindle.
>>> When I was testing it, I was only seeing a brief blip of twenty some odd
>>> amps of current when the spindle was accelerating from stopped.  I didn't
>>> think that seemed out of place.  But once the spindle warmed up it was
>>> enough to freak out the drive and cause it to slow the spindle acceleration
>>> way down.  I can't remember what I changed the minimum voltage from, but I
>>> lowered it significantly.  After doing that the current output to the
>>> spindle when accelerating from stopped stays in the mid-teens, and it
>>> always accelerates quickly at the programmed rate.
>>>
>>> Is your drive a Yaskawa?  What exactly are the drive fault messages?
>>>
>>
>> This is a Simphoenix E580 (or E280 depending on the market) chinese VFD.
>>
>> The fault I'm getting is overcurrent during operation. There's an
>> overcurrent during acceleration but that's not the one I'm getting although
>> the VFD is failing to get to the working speed. There's a parameter I can
>> try tomorrow that's called revolution tracking start. The manual says the
>> following:
>>
>> 1: Revolution tracking start
>> It is applicable to the occasion of fault resetting and restart and
>> restart after power-off. The inverter
>> will automatically judge the running speed and direction of the motor,
>> and starts the rotating motor in
>> a smooth and impact-free way according to the detection and judge
>> results; see below figure for the
>> revolution tracking start sketch.
>>
>> I'll keep reading to see If I can find a way to modify the voltage during
>> acceleration to avoid overcurrent also.
>>
>>
>> El mar, 14 mar 2023 a las 18:06, Todd Zuercher ()
>> escribió:
>>
>>> I can imagine marginal 

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-14 Thread Todd Zuercher
I can imagine marginal settings push a system over the edge into failure at 
extreme temperatures.  Just for example, I was setting up a Yaskawa F7 
hi-frequency drive for a 13kw 24k rpm spindle a couple weeks ago.  The drive 
was starting and running the spindle seemingly fine while I was testing it.  
But when we started production we ran into an issue.  Normally the drive would 
only take a few seconds to spin the spindle up to cutting speed.  But once it 
was warmed up it would start to over current on accelerating and pause the 
acceleration to try to prevent the overload.  The result was the spindle wasn't 
up to speed when the control started the cut and snapped off the bit.  The 
settings were close enough to prevent the drive overloading and shutting down 
but not close enough to get the spindle running right.  The problem ended up 
being that the minimum frequency and voltage were not set to the defaults (used 
drive) and the min-volt setting was too high causing the drive to overload when 
starting up the spindle.  When I was testing it, I was only seeing a brief blip 
of twenty some odd amps of current when the spindle was accelerating from 
stopped.  I didn't think that seemed out of place.  But once the spindle warmed 
up it was enough to freak out the drive and cause it to slow the spindle 
acceleration way down.  I can't remember what I changed the minimum voltage 
from, but I lowered it significantly.  After doing that the current output to 
the spindle when accelerating from stopped stays in the mid-teens, and it 
always accelerates quickly at the programmed rate.  

Is your drive a Yaskawa?  What exactly are the drive fault messages?

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia  
Sent: Tuesday, March 14, 2023 3:30 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

About the configuration. I don't know how to post that without making a mess 
but I just used the parameters that the spindle manufacturer sent me.
With that config I was working ok for more than 6 months. So unless something 
was right there at the limit too far from the correct one. The main change here 
is ambient temperature. It's been almost 3 weeks with temperatures of about 
38°C.

El mar, 14 mar 2023 a las 16:04, Todd Zuercher ()
escribió:

> Most of the big VFD manufactures do offer high frequency versions of 
> their VFDs but you might have to call and ask for it.  For most it is 
> simply loading in a special firmware version at the factory that 
> allows the drive to be set to the higher frequency.  There is usually 
> a compromise though and a number of other normal features must be 
> disabled because they don't work at the high frequency.  For example 
> with the current Yaskawa V1000 drive, the high frequency version goes 
> up to 1000hz (1500hz under certain circumstances), but it loses all 
> auto tuning features, flux vector control and a list of other things 
> are disabled. (Comes with a 10page or so supplement to the manual 
> covering all of the changes from the stock
> firmware.)  But they can be difficult to order.  We tried to order a 
> new Yaskawa drive more than a year ago, finally last month, after the 
> 3rd time of the shipping date getting pushed back, we got tired 
> waiting, canceled the order and bought a used drive off Ebay.  Also 
> they won't sell them to just anyone, you can't live in the wrong 
> country and have to offer some proof you have a legitimate use for it.
>
> PS, I'm still more inclined to thinking either there is a problem with 
> the VFD's configuration, or the spindle bearings are going bad.  I've 
> never had a drive cause problems like you're describing (not that I 
> have that much experience with drives going bad.)  Usually either they 
> work or they don't.  I've had rectifiers go bad and was able to 
> replace them and put the drive back in service.  Others that just died 
> I was not able to pinpoint the failure and just had to replace them.  
> This last drive I had to replace, I could see being a capacitor 
> problem.  It would fail to power up for a couple of hours after first turning 
> on the machine in the morning.
> It would run fine all week as long as it was left on, or if only 
> turned off for a few seconds but over night or the weekend it was wait 
> for the power LED on the drive to turn on, then cycle the power to the 
> machine to clear the alarms and you were good to go.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Leonardo Marsaglia 
> Sent: T

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-14 Thread Todd Zuercher
Most of the big VFD manufactures do offer high frequency versions of their VFDs 
but you might have to call and ask for it.  For most it is simply loading in a 
special firmware version at the factory that allows the drive to be set to the 
higher frequency.  There is usually a compromise though and a number of other 
normal features must be disabled because they don't work at the high frequency. 
 For example with the current Yaskawa V1000 drive, the high frequency version 
goes up to 1000hz (1500hz under certain circumstances), but it loses all auto 
tuning features, flux vector control and a list of other things are disabled. 
(Comes with a 10page or so supplement to the manual covering all of the changes 
from the stock firmware.)  But they can be difficult to order.  We tried to 
order a new Yaskawa drive more than a year ago, finally last month, after the 
3rd time of the shipping date getting pushed back, we got tired waiting, 
canceled the order and bought a used drive off Ebay.  Also they won't sell them 
to just anyone, you can't live in the wrong country and have to offer some 
proof you have a legitimate use for it.

PS, I'm still more inclined to thinking either there is a problem with the 
VFD's configuration, or the spindle bearings are going bad.  I've never had a 
drive cause problems like you're describing (not that I have that much 
experience with drives going bad.)  Usually either they work or they don't.  
I've had rectifiers go bad and was able to replace them and put the drive back 
in service.  Others that just died I was not able to pinpoint the failure and 
just had to replace them.  This last drive I had to replace, I could see being 
a capacitor problem.  It would fail to power up for a couple of hours after 
first turning on the machine in the morning.  It would run fine all week as 
long as it was left on, or if only turned off for a few seconds but over night 
or the weekend it was wait for the power LED on the drive to turn on, then 
cycle the power to the machine to clear the alarms and you were good to go.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia  
Sent: Tuesday, March 14, 2023 1:32 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

Hi guys, hope you are doing well.

Well, today I tested it again and had the same behaviour as before. It works 
perfectly at the beginning but then it fails and gives me an overcurrent alarm.

I took it apart and nothing seems to be wrong at first sight. I'm thinking 
about replacing the capacitors module but for that I'll have to wait a couple 
of weeks for the new module to arrive. I can desolder and install new 
capacitors on this module, but I can't find something as big as these ones here 
in Argentina. So I think I'll get a new VFD and with that solved I'll repair 
this one.

The best VFD I can get here in terms of cost benefit is a YASKAWA GA500 that 
reaches up to 590 Hz. It's more than ok for me since I don't usually go more 
than 500 Hz with this one so that's my solution at this point.


El mar, 14 mar 2023 a las 9:16, Todd Zuercher ()
escribió:

> No, they are not.  Yes most small high speed router spindles (less 
> than
> 10hp) are 2 pole.  But all of the big HSK-63f tool changer spindles on 
> our big routers at work (9kw+) are 4 pole.  Which by the way makes 
> getting a suitable VFD to run them much much more difficult.  Most 
> VFDs are limited to max output frequencies of about 500hz.  (Something 
> about preventing people from building high speed centrifuges I think.)
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Viesturs Lācis 
> Sent: Tuesday, March 14, 2023 6:18 AM
> To: Enhanced Machine Controller (EMC) 
> 
> Subject: Re: [Emc-users] OT: Air cooled router spindle problem
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Leonardo, are you sure about those Hz vs. RPM numbers? AFAIK all high 
> speed spindles are 2-pole motors (correct me if I am wrong on this), 
> then you should have 200 Hz for 200 RPS = 12000 RPM and 400 Hz for 400 
> RPS =
> 24000 RPM
>
> Viesturs
>
> pirmd., 2023. g. 13. marts, plkst. 18:55 — lietotājs Leonardo 
> Marsaglia (<
> ldmarsag...@gmail.com>) rakstīja:
> >
> > By  the way, the nominal frequency is 400 hz at 12000 rpm. Nominal 
> > voltage is 380 volts but that varies of course when the VFD is 
> > working. Max frequency is 800 hz at 24000 rpm but I never came close 
> > to
> that.
> >
> > El lun, 13 mar 2023 a las 13:50, Leonardo Marsagli

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-14 Thread Todd Zuercher
For a router spindle (designed to run at 12-24k rpm) we normally run a warm-up 
routine that takes about 5 min.  Run the spindle at 50% of its maximum rated 
speed for 2 min, then 75% for 2 more min, and then 1 min at 100% of the maximum 
rated speed.

Also I like to do a spindle run in on any spindle that is new or has not been 
ran or been in storage for 6 months or more.  This involves a series of running 
and stopping for a time going from a low speed up.  Checking the spindle temps 
regularly throughout.  It takes a couple of hours or more if all goes well.  If 
at any point during the run-in procedure the spindle starts to overheat, stop 
and let it cool for several hours, then start the run-in procedure over from 
the beginning.  Different manufacturers will have varying recommendations for 
this.  One I've seen is runs at 7% of rated speed for 15min, off for 5min, 12% 
for 15min, off 5min, 20% for 15min, off 5min, 25% for 15min, off 5min,  35% for 
10min, off 5min,  50% for 10min, off 5min, 70"% for 10min.  I've had freshly 
rebuilt spindles fail on the run-in, and some that I've had to restart about 
half way through a couple of times.  During each running step you should see 
bearing temperatures peak, level off and maybe drop a bit at each step in 
speed.  If during one of the steps you don't see the bearing temp level off, 
stop let it cool back to ambient temp and start over.

I would consider more than 20C above ambient temperature to be overheating in 
an air cooled spindle.  I've had spindles that would run that hot normally 
(Omlat "Self Cooled") but I was never able to get one of those to last more 
than 2 years in a 24hr 5day factory setting.  Got tired of paying over $9k a 
pop to rebuild them and replaced them with water cooled Hiteco spindles that 
cost about $6k new and spindle life more than tripled.  Those Omlat spindles 
would be OK in a shop that only runs 1 shift a day, but they don't hold up to 
running 24hr.  With no cooling capability other than sinking heat into the 
machine frame and radiant cooling those "Self Cooled" spindles need the 
overnight down time to cool off.
The other fan cooled spindles we have typicaly only run about 15C above ambient 
(or less).

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis  
Sent: Tuesday, March 14, 2023 6:27 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

General question to audience - how are you doing the warmup of spindle? 
Immediately at full speed? I am idling it for few minutes at low speed (around 
3000-5000 RPM) instead of going to full speed immediately. The idea is that 
grease is stiffer when cooler and warmup at lower speeds increases the lifetime 
of bearings.

Viesturs

pirmd., 2023. g. 13. marts, plkst. 18:56 — lietotājs Leonardo Marsaglia 
() rakstīja:
>
> Hi Todd, and thanks for the response!
>
> Well the manufacturer only gave nominal and max speed for the spindle 
> and a couple of graphics to see the u.f. and p.f. curves to have some 
> guidance.
> I'm always using the spindle at 15000 rpm so I think that's ok. Also 
> I've been using it like this for more than 6 months with no troubles 
> and it was working almost 10 hours straight each day.
>
> The spindle sounds right when at high speed and with no cutting forces 
> involved, I can't feel any difference from the first time I tested it. 
> Also by hand it feels the same as always but that could be my 
> perception off course.
>
> Anyway, last Saturday we tested it again. First 25 minutes of warming 
> up without cutting. The temperature settled at 55°C at the body of the 
> spindle. Then we cut a board for about 40 minutes. We monitored the 
> spindle temperature at the bearings and stator and never exceeded the 
> 65°C at the stator / 57°C at the bearings. VFD current, voltage and 
> internal temperature were ok (no more than 43°C when working at full 
> load on the VFD). Then we started to cut another board and that's when 
> the VFD started giving problems. At the moment we tried to accelerate 
> the spindle to 15000 rpm (I'm using a 10 seconds ramp approximately to 
> reach 15000 rpm) the overcurrent alarm started . There was no way of 
> making it to work. It looks to me that the VFD could be the problem because 
> everything else was ok.
>
> Today I'm going to test it again before taking it apart, and then I'll 
> open it and check the capacitors and all the joints to see if I see an 
> evident problem there. But I'm almost 100% sure the problem is in the VFD.
>
>
>
> El lun, 13 mar 2023 a las 13:19, Todd Zuercher 
> ()
> escribió:
>
> > T

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-14 Thread Todd Zuercher
No, they are not.  Yes most small high speed router spindles (less than 10hp) 
are 2 pole.  But all of the big HSK-63f tool changer spindles on our big 
routers at work (9kw+) are 4 pole.  Which by the way makes getting a suitable 
VFD to run them much much more difficult.  Most VFDs are limited to max output 
frequencies of about 500hz.  (Something about preventing people from building 
high speed centrifuges I think.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Viesturs Lācis  
Sent: Tuesday, March 14, 2023 6:18 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

Leonardo, are you sure about those Hz vs. RPM numbers? AFAIK all high speed 
spindles are 2-pole motors (correct me if I am wrong on this), then you should 
have 200 Hz for 200 RPS = 12000 RPM and 400 Hz for 400 RPS = 24000 RPM

Viesturs

pirmd., 2023. g. 13. marts, plkst. 18:55 — lietotājs Leonardo Marsaglia 
() rakstīja:
>
> By  the way, the nominal frequency is 400 hz at 12000 rpm. Nominal 
> voltage is 380 volts but that varies of course when the VFD is 
> working. Max frequency is 800 hz at 24000 rpm but I never came close to that.
>
> El lun, 13 mar 2023 a las 13:50, Leonardo Marsaglia 
> ()
> escribió:
>
> > Hi Todd, and thanks for the response!
> >
> > Well the manufacturer only gave nominal and max speed for the 
> > spindle and a couple of graphics to see the u.f. and p.f. curves to have 
> > some guidance.
> > I'm always using the spindle at 15000 rpm so I think that's ok. Also 
> > I've been using it like this for more than 6 months with no troubles 
> > and it was working almost 10 hours straight each day.
> >
> > The spindle sounds right when at high speed and with no cutting 
> > forces involved, I can't feel any difference from the first time I 
> > tested it. Also by hand it feels the same as always but that could 
> > be my perception off course.
> >
> > Anyway, last Saturday we tested it again. First 25 minutes of 
> > warming up without cutting. The temperature settled at 55°C at the 
> > body of the spindle. Then we cut a board for about 40 minutes. We 
> > monitored the spindle temperature at the bearings and stator and 
> > never exceeded the 65°C at the stator / 57°C at the bearings. VFD 
> > current, voltage and internal temperature were ok (no more than 43°C 
> > when working at full load on the VFD). Then we started to cut 
> > another board and that's when the VFD started giving problems. At 
> > the moment we tried to accelerate the spindle to 15000 rpm (I'm 
> > using a 10 seconds ramp approximately to reach 15000 rpm) the 
> > overcurrent alarm started . There was no way of making it to work. It looks 
> > to me that the VFD could be the problem because everything else was ok.
> >
> > Today I'm going to test it again before taking it apart, and then 
> > I'll open it and check the capacitors and all the joints to see if I 
> > see an evident problem there. But I'm almost 100% sure the problem is in 
> > the VFD.
> >
> >
> >
> > El lun, 13 mar 2023 a las 13:19, Todd Zuercher 
> > ()
> > escribió:
> >
> >> The wrong VFD settings can cause an overheat due to overcurrent.  
> >> Were you running the spindle at lower RPMs?  Router spindles 
> >> generally don't like running at speeds less than 6000rpm, 
> >> especially if the VFD settings aren’t right.  The VFD needs to be 
> >> set so that it reduces the voltage applied with reduced frequency.  
> >> If this volt/hz reduction curve isn't right, either you can over 
> >> current and overheat the motor at lower speeds, or if set too low 
> >> you lose what little torque the spindle has.  To know what these 
> >> settings need to be set to you need to know the motor's rated speed 
> >> and voltage at those speeds and current ratings.  If the spindle 
> >> manufacturer didn't supply a midrange voltage setting, you may need to 
> >> find that setting experimentally.
> >>
> >> That said, high speed spindle bearings can be failing and the 
> >> spindle still spin mostly freely by hand, but the spindle will be 
> >> loud at speed due to vibration and will overheat if run for 
> >> extended periods of time at speed.  A high speed spindle should be 
> >> very quiet at speed (not sound like a conventional router motor.) 
> >> Check for any slightest notchy-ness, when turning the spindle by 
> >> han

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-13 Thread Todd Zuercher
The wrong VFD settings can cause an overheat due to overcurrent.  Were you 
running the spindle at lower RPMs?  Router spindles generally don't like 
running at speeds less than 6000rpm, especially if the VFD settings aren’t 
right.  The VFD needs to be set so that it reduces the voltage applied with 
reduced frequency.  If this volt/hz reduction curve isn't right, either you can 
over current and overheat the motor at lower speeds, or if set too low you lose 
what little torque the spindle has.  To know what these settings need to be set 
to you need to know the motor's rated speed and voltage at those speeds and 
current ratings.  If the spindle manufacturer didn't supply a midrange voltage 
setting, you may need to find that setting experimentally.

That said, high speed spindle bearings can be failing and the spindle still 
spin mostly freely by hand, but the spindle will be loud at speed due to 
vibration and will overheat if run for extended periods of time at speed.  A 
high speed spindle should be very quiet at speed (not sound like a conventional 
router motor.) Check for any slightest notchy-ness, when turning the spindle by 
hand.  It is often more cost-effective to have a loud spindle rebuilt before it 
totally fails, than to run it till it won’t run anymore and then try to rebuilt 
it or have to replace it because damage to the spindle is too severe.

What are your spindle motor’s rated speed, voltage and current? What do you 
have the VFD set up for minimum, maximum, base and mid-range voltages, and 
frequencies?  Yes, those are 8 separate settings that most VFDs need to have 
configured to run a high speed spindle correctly.  Unfortunately many times the 
spindle manufacture will only provide you with the spindle’s rated frequency 
and voltage (use this for the “Base” frequency and voltage in the VFD) and the 
maximum frequency and  maybe voltage.  If you are lucky and the spindle 
manufacture provided you with some numbers to use for the mid-range settings if 
so, use them.  They may not be called that, it might just look like a low or 
minimum speed setting with a reduced voltage (might be 5-7k rpm).  If you don’t 
have a recommendation from the spindle manufacture, experiment with different 
mid-range voltage settings to find one that keeps the VFD’s current output 
safely below the spindles rated continuous current.

For example I was just working at replacing a VFD for an HSD spindle that had 
recommendations for 7k rpm @ 220v for the mid-range, but I also had to set the 
minimum frequency and voltage to 0.5Hz and 1.0v, to prevent the motor from 
occasionally stalling on acceleration when starting from stopped.  When those 
settings were incorrect the drive would overcurrent and shut down.  When they 
were close but not quite right the drive would run at high current and not 
always accelerate correctly (stalling).  With them correct the drive 
accelerates the spindle quickly and only shows peak currents of about 15amps 
while doing it.

PS I meant to send this last week, but forgot to click send, so it sat on my 
work computer till this morning.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia 
Sent: Wednesday, March 08, 2023 9:20 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

In fact, the day the rotor slipped, when the spindle cooled down a bit, it 
started to work ok until I had the problem again. What I'm mostly worried about 
is, if this was caused due to an overheat, why did that overheat occur in the 
first place?

El mié, 8 mar 2023 a las 11:17, Leonardo Marsaglia ()
escribió:

> Most high speed spindles (such as router spindles) are rather
> particular
>> about how the VFD is configured because of their low inductance.
>> What are your settings for base frequency and voltage? You may need
>> to adjust the settings for midrange frequency and voltage.  What
>> these settings will do is adjust the volts/hertz curve to help keep
>> the motor from overcurrent when running at lower RPMs, and help
>> prevent stalls/excessive slippage on acceleration.  These settings
>> usually need to be significantly different from most VFD's default
>> setting (which are usually configured for a 60hz
>> motor.)
>
>
> Hi Todd,
>
> I'll take a look and attach my settings as soon as possible for you to
> see. But this setup was working well until the extreme heat days started.
>
> Could it be that the ambient temperature (40ºC or more) could have
> made the rotor slip effect worse? Maybe I was on the limit before and
> the extreme heat conditions triggered the effect?
>
> Thank you!
>
> El mié, 8 mar 2023 a las 10:57, Todd Zuercher
> ()
> escribió:
>

Re: [Emc-users] OT: Air cooled router spindle problem

2023-03-08 Thread Todd Zuercher
Most high speed spindles (such as router spindles) are rather particular about 
how the VFD is configured because of their low inductance.  What are your 
settings for base frequency and voltage? You may need to adjust the settings 
for midrange frequency and voltage.  What these settings will do is adjust the 
volts/hertz curve to help keep the motor from overcurrent when running at lower 
RPMs, and help prevent stalls/excessive slippage on acceleration.  These 
settings usually need to be significantly different from most VFD's default 
setting (which are usually configured for a 60hz motor.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Leonardo Marsaglia  
Sent: Tuesday, March 07, 2023 10:05 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT: Air cooled router spindle problem

[EXTERNAL EMAIL] Be sure links are safe.

Well, I tested it for almost an hour with no load at 15000 RPM and the 
temperature settled at 55ºC in the bottom side where the bearings for the tool 
holder are, and almost 65º in the body part where the stator is.
According to one of the Chinese suppliers of these spindles, 75ºC it's a pretty 
common working temperature. I'm still waiting for a detailed answer from the 
factory. This time, the VFD worked fine, no whining with no rotor spin. Now I 
need to cut some wood while monitoring the temperature during the process and 
hope the temperature doesn't go too high.

Anyway, I'm looking for new VFD drives just in case. From what I can tell the 
problem could be the VFD as Gene and Jon pointed out.

I'll let you know how it goes when cutting wood again.

Thanks to all for your help! :)

El dom, 5 mar 2023 a las 18:11, gene heskett ()
escribió:

> On 3/5/23 12:59, Leonardo Marsaglia wrote:
> > By the way, one subtle thing I noticed too that leads me to the 
> > bearings
> as
> > a problem.
> >
> > Normally when the spindle is off and the dust removal vacuum system 
> > is working, the spindle tends to spin by itself because of the 
> > vacuum action on the impeller I installed. This almost never 
> > happened yesterday. So, to sum up: I was able to free turn the 
> > spindle by hand at all times, but the vacuum was not always able to 
> > make it spin the impeller and if it did it wasn't nearly as fast as 
> > days before. This is what makes me suspect about the bearings. Also, 
> > almost all the problems I experienced yesterday were with cutting 
> > forces involved, never with the spindle turning free. Could
> it
> > be that the extra heat and torque that's building up because of a 
> > damaged bearing is what's making the VFD triggering for overcurrent?
> >
> > What puzzles me still is when the spindle was too hot and with no 
> > load
> the
> > VFD only whined and couldn't make the spindle turn. This, as Jon 
> > pointed out, recovered on its own a few minutes later.
> >
> > I'll be there doing some tests in a few hours so I'll let you know 
> > if I
> can
> > note anything new.
> >
> > Again a lot of thanks to you guys for being so kind and helpful! :)
> >
> > El sáb, 4 mar 2023 a las 15:51, Leonardo Marsaglia (<
> ldmarsag...@gmail.com>)
> > escribió:
> >
> >> Hi guys.
> >>
> >> Sorry for the OT but I'm having a strange behavior with my spindle 
> >> and
> I'm
> >> a little worried.
> >>
> >> The problem I had today for the first time is the spindle was 
> >> getting really hot and started to slip (you could hear the 
> >> frequency from the inverter was on spot but the rotor sometimes 
> >> wasn't even turning).After
> a
> >> few seconds of slipping the VFD triggered the over current alarm 
> >> and the spindle was stopped. Once the the spindle cooled down it 
> >> worked
> perfectly.
> >> This never happened before but also I must clarify that today the
> ambient
> >> temperature reached 40⁰C and I'm sure that under that roof where 
> >> the
> router
> >> is placed there were 45⁰C so I suspect this has something to do 
> >> with the problem.
> >>
> >> The spindle is rated 11kw of max power output and is air cooled. It 
> >> has
> a
> >> built in fan motor so it doesn't rely on spindle speed for cooling. 
> >> It always gets warm (there are several labels on the spindle’s body 
> >> for caution because of the heat) but nothing like today.
> >>
> >> Could this be normal because of the extremely hot days I'm having here?
> >> S

  1   2   3   4   5   6   7   8   9   >