Re: [Emc-users] Tool length probe

2024-05-21 Thread andrew beck
Viesturs we use something similar from AliExpress

They work perfectly

On Tue, 21 May 2024, 23:08 Viesturs Lācis,  wrote:

> 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://www.aliexpress.com/item/1005002538659888.html
>
> Any thoughts on how good/bad it is?
>
> 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] Tool length probe

2024-05-21 Thread Peter Rosenblom
I have been thinking about using an old touch probe as a tool setter to
measure both z and diameter offset. Anyone had any luck with that so far?
I think it would be fancy if I could measure the diameter at the same time
as the z offset. My cheap sk40 tool holders have some run out, and using
tool compensation to get better tolerances would be fun.
/Peter

Den tis 21 maj 2024 kl 16:59 skrev andy pugh :

> On Tue, 21 May 2024 at 15:25, Todd Zuercher  wrote:
>
> > While your design is very simple and robust, it’s lack of adjustability
> > seems like it would be a bit of a problem.
> >
>
> I have added adjustability for use as an in-spindle probe to  the one I
> use. Just a flange with an M2 thread and adjusting screws.
>
> --
> 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] Tool length probe

2024-05-21 Thread andy pugh
On Tue, 21 May 2024 at 15:25, Todd Zuercher  wrote:

> While your design is very simple and robust, it’s lack of adjustability
> seems like it would be a bit of a problem.
>

I have added adjustability for use as an in-spindle probe to  the one I
use. Just a flange with an M2 thread and adjusting screws.

-- 
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
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 andy pugh
On Tue, 21 May 2024 at 13:37, Todd Zuercher via Emc-users <
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 gene heskett

On 5/21/24 08:35, Todd Zuercher via Emc-users wrote:

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

And that, Andy, looks like it would work better than some I've paid $75 
for.  Neat idea.


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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901084174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=1ymY80qoOnunMvr9dKZui4WWZd%2F4dvQkqhOZTHXP2wg%3D=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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901092336%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=cnzhdfAd5sIc%2FQplomZxEbrtqs%2FKqC9hACBEnBqBb0c%3D=0



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


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


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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901084174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=1ymY80qoOnunMvr9dKZui4WWZd%2F4dvQkqhOZTHXP2wg%3D=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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C73e7648ad8104b191c4408dc7985d28c%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638518862901092336%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=cnzhdfAd5sIc%2FQplomZxEbrtqs%2FKqC9hACBEnBqBb0c%3D=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] Tool length probe

2024-05-21 Thread andy pugh
On Tue, 21 May 2024 at 13:07, gene heskett  wrote:

>
> Probably as good as any. But its overkill, designed to impress the
> visiting frogs.


At $30 it's not very overkill, and foes provide provision for an air plast
to clean the tool of chips prior to measurement which is probably handy as
part of an automated tool length/breakage check process.

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

On 5/21/24 07:05, Viesturs Lācis wrote:

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://www.aliexpress.com/item/1005002538659888.html

Any thoughts on how good/bad it is?

Viesturs

Probably as good as any. But its overkill, designed to impress the 
visiting frogs.  When I need something like that, i usually saw off a 
small pad of double sided copper pcb, solder a wire to the top side and 
glue the bottom down someplace readily findable with the tool in the 
spindle. I usually clip a ground onto the tool since some spindle 
bearings are ceramic & not very good grounds. A G38-2 is used to find 
when the tool contacts the pcb. Sometimes I run the tool backwards so it 
doesn't cut the copper. If not spinning or is spinning backwards, leaves 
no mark of the pcb, repeatable to a tenth or better.  The major diff is 
the hardened contact face, and the added error caused by the switch in 
these gismo's. The repeat accuracy of the cobbled up pcb is probably 
better than this device if not abused. They'll all need calibrated, but 
that is a given. I'd opt to save that $35 + ship. A small sheet of pcb, 
doesn't need to be double sided, can be a lifetime supply of TLO 
setters.  Accuracy is improved if an air blast cleans the tool first. 
Old swarf stuck to the tool can give a premature reading a thou or so 
early. Stiction in how he machine moves is a bigger problem. But that is 
a machine with poor lube that will affect all such devices.  I'd save 
the $45 & use the pcb... If you wreck it with a spinning tool its pennys 
to make a new one. The bigger problem is remembering which pin on the 
breakout board is the probe connection. Find it once and bring it out to 
a banana socket with a dymo or p-touch label.  Problem solved.


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

2024-05-21 Thread Viesturs Lācis
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://www.aliexpress.com/item/1005002538659888.html

Any thoughts on how good/bad it is?

Viesturs


___
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 Chris Albertson


> On May 20, 2024, at 6:26 AM, Todd Zuercher via Emc-users 
>  wrote:
> 
> 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.

Good.  The cable idea would not have worked.  You would have done better with a 
steel rod the same diameter as the proposed cable.   The rod is stiffer than 
the cable.  But either way, the cross sectional area of the cable or rod is 
tiny compared to the beam. It would have a small effect because of the small 
amount of steel added.

What you did with that steel tube is you made the beam much wider.  Stiffness 
goes up with the cube of the width.  If the beam is now twice as wide, it is 8 
times more stiff.

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


___
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 regular steppers to get the job done. 
> A diff you can see i

Re: [Emc-users] HAL_TYPE_UNINITIALIZED

2024-05-18 Thread theman whosoldtheworld
for sure I upgrade to 2.9.1 . problem disappear ... sorry for late
reply . I do a tons of things not only scripting.

Now start to work over 6.6 kernel and 2.9.2 and 2.10.0 Lcnc  some
trouble with ethercat but nothing of important for now.

I try to renew joint/axis for insert all necessary change directly on
gcode  you know lego midstrom right? I suse similar code for cobot
china made. The c++ API connect to user object block is quite good
done in linux c++ ros2. Changing from joint to axis need to write
everytime on dialog box of object block the right velocity and
acceleration, plus radius needed for complete the action (similar to
G64 Pxx macro) now on Lcnc gcode need to have cutom M code to switch
to joint to axis and vice-versa. All data is write on custom M code
acc and max vel is write on INI file. I use switch kins on my custom
scara from 2 year without stop motion during ja operations  think
all was ready to convert custom M code to custom gcode, where axis
limit was read from INI file, so nothing need to write on it, exept
new vel and new acc. In these way Lcnc become completely robotics CNC
usable. For sure need some adjust on s curve and low vibration on
mechanical kinematics limit  but foward/reverse command add by
dgarret show the way to do these  adding a zone where vel decrease
automatically until 0 when robot reach kinematics insane limit. For
sure need to revrite all kins module for these pourpuse.

thanks a lot for your work on Lcnc.

Il giorno lun 8 gen 2024 alle ore 00:35 andy pugh 
ha scritto:
>
> On Thu, 2 Nov 2023 at 11:14, theman whosoldtheworld
>  wrote:
>
> > and every reading become HAL_TYPE_UNINITIALIZED . pieces of code
> > that I use for reading is these:
> >
>
> Sorry, I have been intending to look at this for months, but haven't.
> Did you get anywhere yourself?
>
> --
> 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] 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


Re: [Emc-users] A great example of CNC work and motion control.

2024-05-16 Thread gene heskett

On 5/16/24 03:55, Chris Albertson wrote:

Just by chance is anyone here interested in advanced machine control and CNC’d 
metal parts?



Here is a real product you can buy today for $16K that defines the above. It is 
just like our 3-axis milling machines but 43-axis. It just went on sale.  API 
is on GitHub.
See video —>  
https://www.unitree.com/images/Unitree%20G1%20EN%201080p%20%281%29.mp4

Now that, for $16k, is very impressive.  I could buy one, but how long 
would it take me to program it to hold my beer and watch this? Writing 
gcode for LCNC is more my speed.



No connections to LCNC except to show what a few guys in China are making with 
their CNC mills.

Already on another list, people are organizing some sort of group to buy one 
for shared access.  This is not at all like the Boston Dynamics “Atlas” which 
cost millions of dollars and was never intended to be sold.  This machine is 
currently being mass produced and is for sale today.

For the technically minded.   The robot has up to 43 motors, half of which are 
in the hands.  Each motor accepts commands for position, velocity, and torque 
and has two rotary encoders, one on the motor and one on the joint after the 
geared reduction drive.

There is a network protocol to send the motor commands.  They need to go over 
WiFi unless you pay extra for a second computer that fits inside and then 
commands can go over Ethernet.

The other control mode works in cartesian coordinates and you can give 
high-level commands like “stand and balance” or “walk” or “move hand to X,Y,Z”.

The internal battery claims a 2-hour run time based on some average motion.

Mechanically, it is just some BLDC motors and sun-planet gear reductions of 
maybe about 6:1 or 9:1, lower than some might expect.  All of the rotation 
shafts are hollow to allow cables to be routed through the moving joints.  What 
is impressive is the machine work.  As seen in the video, It is light enough to 
be lifted by one of the engineers at Unitree.

No more science fiction or “some day you will be able to buy a robot…”. If 
you've got $16K it ships directly from China.  The company has a decent 
reputation for building good quality hardware.

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


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


Re: [Emc-users] A great example of CNC work and motion control.

2024-05-16 Thread Gregg Eshelman via Emc-users
Boston Dynamics has retired their Atlas robots. Their new model is all 
electric. As a farewell they posted this video showing a lot of Atlas' 
failures, including many hydraulics blowouts from when it landed too hard and 
popped a hose or seal.

https://www.youtube.com/watch?v=-9EM5_VFlt8


On Thursday, May 16, 2024 at 01:58:44 AM MDT, Chris Albertson 
 wrote: 

Just by chance is anyone here interested in advanced machine control and CNC’d 
metal parts?

Here is a real product you can buy today for $16K that defines the above. It is 
just like our 3-axis milling machines but 43-axis. It just went on sale.  API 
is on GitHub.
See video —>  
https://www.unitree.com/images/Unitree%20G1%20EN%201080p%20%281%29.mp4

No connections to LCNC except to show what a few guys in China are making with 
their CNC mills.  

Already on another list, people are organizing some sort of group to buy one 
for shared access.  This is not at all like the Boston Dynamics “Atlas” which 
cost millions of dollars and was never intended to be sold.  This machine is 
currently being mass produced and is for sale today.

For the technically minded.  The robot has up to 43 motors, half of which are 
in the hands.  Each motor accepts commands for position, velocity, and torque 
and has two rotary encoders, one on the motor and one on the joint after the 
geared reduction drive.  

There is a network protocol to send the motor commands.  They need to go over 
WiFi unless you pay extra for a second computer that fits inside and then 
commands can go over Ethernet.

The other control mode works in cartesian coordinates and you can give 
high-level commands like “stand and balance” or “walk” or “move hand to X,Y,Z”.

The internal battery claims a 2-hour run time based on some average motion.

Mechanically, it is just some BLDC motors and sun-planet gear reductions of 
maybe about 6:1 or 9:1, lower than some might expect.  All of the rotation 
shafts are hollow to allow cables to be routed through the moving joints.  What 
is impressive is the machine work.  As seen in the video, It is light enough to 
be lifted by one of the engineers at Unitree.

No more science fiction or “some day you will be able to buy a robot…”. If 
you've got $16K it ships directly from China.  The company has a decent 
reputation for building good quality hardware.


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


[Emc-users] A great example of CNC work and motion control.

2024-05-16 Thread Chris Albertson
Just by chance is anyone here interested in advanced machine control and CNC’d 
metal parts?



Here is a real product you can buy today for $16K that defines the above. It is 
just like our 3-axis milling machines but 43-axis. It just went on sale.  API 
is on GitHub.
See video —>  
https://www.unitree.com/images/Unitree%20G1%20EN%201080p%20%281%29.mp4

No connections to LCNC except to show what a few guys in China are making with 
their CNC mills.   

Already on another list, people are organizing some sort of group to buy one 
for shared access.  This is not at all like the Boston Dynamics “Atlas” which 
cost millions of dollars and was never intended to be sold.  This machine is 
currently being mass produced and is for sale today.

For the technically minded.   The robot has up to 43 motors, half of which are 
in the hands.  Each motor accepts commands for position, velocity, and torque 
and has two rotary encoders, one on the motor and one on the joint after the 
geared reduction drive.   

There is a network protocol to send the motor commands.  They need to go over 
WiFi unless you pay extra for a second computer that fits inside and then 
commands can go over Ethernet.

The other control mode works in cartesian coordinates and you can give 
high-level commands like “stand and balance” or “walk” or “move hand to X,Y,Z”.

The internal battery claims a 2-hour run time based on some average motion.

Mechanically, it is just some BLDC motors and sun-planet gear reductions of 
maybe about 6:1 or 9:1, lower than some might expect.  All of the rotation 
shafts are hollow to allow cables to be routed through the moving joints.  What 
is impressive is the machine work.  As seen in the video, It is light enough to 
be lifted by one of the engineers at Unitree.

No more science fiction or “some day you will be able to buy a robot…”. If 
you've got $16K it ships directly from China.  The company has a decent 
reputation for building good quality hardware.

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


Re: [Emc-users] Acceleration Settings?

2024-05-15 Thread gene heskett

On 5/15/24 19:21, Jon Elson wrote:

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


I didn't know you could set them differently Jon. Any time I fiddle with 
those, if they don't match, hal yell's at me and exits.



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


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


Re: [Emc-users] Acceleration Settings?

2024-05-15 Thread Peter Wallace

On Wed, 15 May 2024, John Dammeyer wrote:


Date: Wed, 15 May 2024 16:57:44 -0700
From: John Dammeyer 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "'Enhanced Machine Controller (EMC)'" 
Subject: Re: [Emc-users] Acceleration Settings?





-Original Message-
From: Jon Elson [mailto:el...@pico-systems.com]
Sent: May 15, 2024 4:20 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Acceleration Settings?

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



That's interesting.  What is then the major difference between Joint and 
Axis?  Just jogging parameters?

John


LinuxCNC versions 2.8 and > separate joints (think of these as actuators or 
motors) and Axis. Axis are normally cartesian or rotary axis. This makes sense
for machines where joint and axis do not map exactly, such as gantry devices 
that may have duplicated X,Y,Z joints (so up to 6) but only 3 axis or say a 
CoreXY laser cutter where the joints and cartesian axis are related by a 
kinematics equation.


Peter Wallace
Mesa Electronics_______________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Acceleration Settings?

2024-05-15 Thread John Dammeyer


> -Original Message-
> From: Jon Elson [mailto:el...@pico-systems.com]
> Sent: May 15, 2024 4:20 PM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Acceleration Settings?
> 
> 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
> 
That's interesting.  What is then the major difference between Joint and Axis?  
Just jogging parameters?
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


Re: [Emc-users] Acceleration Settings?

2024-05-15 Thread Jon Elson

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


Re: [Emc-users] Beam Stiffening?

2024-05-14 Thread Chris Albertson
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 regular steppers to get the job done. 
> A diff you can see in the power bill if replacing burn your hand regular 
> steppers.
> 
> How fast and how strong are the servo's you are using now? Gear ratio's too.
> 
>  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
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 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 <mailto: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] Beam Stiffening?

2024-05-14 Thread gene heskett

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 regular steppers to get the job 
done. A diff you can see in the power bill if replacing burn your hand 
regular steppers.


How fast and how strong are the servo's you are using now? Gear ratio's too.

  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



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


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


Re: [Emc-users] Beam Stiffening?

2024-05-14 Thread Dave Engvall
This is why I’m a chemist not an engineer. So how does it break out cost vs 
results, not exactly the same as weight. Even tho it is not an aircraft app 
working towards lightness may make sense. Thanks for the elucidation. Really 
happy it is not my problem. ;-)  A Boeing engineer once commented that 
non-aeronautical applications were SO easy to make strong/stiff!

> On May 13, 2024, at 4:02 PM, andy pugh  wrote:
> 
> On Mon, 13 May 2024 at 22:50, Chris Albertson 
> wrote:
> 
>> Adding anything inside is the worst place to add material.
> 
> 
> Yes, without a doubt, but it seems fair to assume that the ganry has slides
> and other components on the outside, but not on the inside.
> 
> The base beam has an Iyy (bending in the plane of the smaller dimension )
> of 22in^4
> Doubling it internally gives: 34.2in^4, so about 50% stiffer
> Doubling externally gives: 57in^4 so getting on for 3x as stiff.
> 
> I admit I was imagining a thinner wall thickness relative to the overall
> dimensions, where the difference would be smaller.
> 
> There is less to be gained than you might think from making the section
> solid. You can do the experiments here:
> https://amesweb.info/section/second-moment-of-area-calculator.aspx
> 
> If stiffness is the key, then add a stiff material.
> Aluminium is 68GPa (moving away from measuring in bananas)
> Steel is 200GPa (this is the same for all iron alloys, hardened or
> unhardened, including cast iron)
> Titanium is 114GPa, so good for light, not for stiff.
> Carbon fibre is 181Gpa for uindirectional fibres, but more typically around
> 50GPa.
> Tungsten carbide is 600GPa (which is why solid carbide boring bars exist)
> Beryllium is 287 but probably out of both budget and COSHH limits.
> 
> -- 
> 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] Beam Stiffening?

2024-05-14 Thread Eric Keller
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.  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


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


Re: [Emc-users] Beam Stiffening?

2024-05-14 Thread Dave Engvall
Hi all, 
Since I’m cheap I’d prototype with a fiberglass tube and fill with urethane 
foam. How much does the modulus change between a rectangular tube and 
elliptical geometry?
Box with corner braces that are viscous damped. It all comes down to load and 
frequencies. 
I’m just the aging dummy in the corner. ;-)

> On May 13, 2024, at 2:36 PM, Chris Albertson  
> wrote:
> 
> 
> 
>> On May 13, 2024, at 1:45 PM, Todd Zuercher via Emc-users 
>> mailto:emc-users@lists.sourceforge.net>> 
>> 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.  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.
> 
> 
> What is the extrusion made of, I assume it is some kind of aluminum alloy.
> The simplest but expensive option is to replace it with a stronger/stiffer 
> material with the same dimensions.   Of course Titanium comes to mind but 
> that is maybe not in the budget.Carbon fiber could work and it is 
> possible to DIY carbon fiber beams with just hand tools.   I have made 4 
> meter long racing kayaks with carbon, using just a paint brush and scissors 
> in one weekend.   
> 
> The first class way is to make a female mold and polish it well so the part 
> looks nice.   The cheap way is to make one like they make surfboards.  You 
> start with a foam block, shape it then wrap it in fiber and resin.
> 
> The neat thing about carbon composite is that you are not limited to the 
> extrusion shape.   I would make the entire beam a compound curve with no flat 
> or straight or cylindrical sections,  Maybe like a very elongated American 
> football but with ovil cross section.
> 
> I like to use the car hood story.  A flat sheet of sheet steel is bendable by 
> hand.  But after they stamp it into the shape of a car hood it becomes rigid. 
>   So rather then a square tube, way not oval but with a larger diameter in 
> the center where all the bending force is?
> 
> The way you make it is to first make a full-size model out of wood and bondo. 
> Do a test-fit and give it an automotice grade paint finsh and then paste wax. 
>  Make a fiber glass mold, then from that your part.   Yes that is a lot of 
> work.  This is why you have an aluminum extrusion there now, because that was 
> easy and cheap.
> 
> 
> 
> 
> 
> 
>> 
>> 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 <mailto: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] Beam Stiffening?

2024-05-14 Thread Chris Albertson
This kind of design “works” only if you make the overall dimension MUCH larger. 
   It is an overall more efficient design but bmovimng material does not add 
streght of stiffness.  You would need to do something like scale the beam up to 
maybe twice its size then cut away half the metal.

The first step should be to look for a material with the best stiffness to 
weight ratio you can afford.  Then if you change the shape, you woiuld have to 
go outside of the current 4x8 dimensions.

“Strength” is not just the tensile strength of the material but, that tiimes 
the cross sectional area,  and then you multiply by the distance from a kind of 
“center line”.   

The problem is cost.  The machine has the aluminum extrusion likely because it 
was the loest cost reasonable solution.   They could have used a high grade of 
tool steel machine into a truss frame but that might cost more than some cars.

My suggestion of carbon fiber has because the materials are not super expensive 
but what you pay for is the huge amount of labor

Whatever you do it will cost a bunch more then that extrusion.  So be sure to 
have it modeled using finite element analysis.  You hate to spend $10K or more 
only to find iot made thins worse.



> On May 14, 2024, at 3:21 AM, Gregg Eshelman via Emc-users 
>  wrote:
> 
> A triangular tube with an isogrid pattern cut into it to reduce mass without 
> sacrificing stiffness. Could have it laser cut with slots on the fold lines 
> to make it easy for a sheet metal break to fold accurately. The design could 
> have tabs and slots to interlock on the joining edge. Then TIG weld along the 
> bend slots and joining edge. Weld it like they do top fuel dragster frames, a 
> little bit here, a little bit there - to eliminate warping.
> 
> Or it could be possible to design three panels to bolt together and to the 
> gantry using tabs and Rivnuts.
> 
> The round holes at the vertexes of the triangles wouldn't need to be cut, 
> except in places where you'd want Rivnuts to mount things.
> 
> For isogrid design there's the 1973 book 
> https://femci.gsfc.nasa.gov/isogrid/index.html Page 42 of the PDF has the 
> dimensions for the panels used for walls and floors in Skylab. The photos in 
> it are mostly useless since the PDF was apparently produced from a microfiche 
> of a FAXed (or early non-greyscale photostat) copy of an original printed 
> copy of the book.
> 
> In some dusty, forgotten file cabinet there must be an original printed copy 
> of
> Isogrid Design Handbook - NASA CR-124075, Rev. A, Feb. 1973
> 
> A triangular tube is more twist and bend resistant than a square, 
> rectangular, or round tube, and it is lower mass than a square or rectangular 
> tube. Even less mass with all the bits removed to cut an isogrid.
> 
> On Monday, May 13, 2024 at 02:49:51 PM MDT, 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.  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.
> 
> 
> ___
> 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] Beam Stiffening?

2024-05-14 Thread Gregg Eshelman via Emc-users
A triangular tube with an isogrid pattern cut into it to reduce mass without 
sacrificing stiffness. Could have it laser cut with slots on the fold lines to 
make it easy for a sheet metal break to fold accurately. The design could have 
tabs and slots to interlock on the joining edge. Then TIG weld along the bend 
slots and joining edge. Weld it like they do top fuel dragster frames, a little 
bit here, a little bit there - to eliminate warping.

Or it could be possible to design three panels to bolt together and to the 
gantry using tabs and Rivnuts.

The round holes at the vertexes of the triangles wouldn't need to be cut, 
except in places where you'd want Rivnuts to mount things.

For isogrid design there's the 1973 book 
https://femci.gsfc.nasa.gov/isogrid/index.html Page 42 of the PDF has the 
dimensions for the panels used for walls and floors in Skylab. The photos in it 
are mostly useless since the PDF was apparently produced from a microfiche of a 
FAXed (or early non-greyscale photostat) copy of an original printed copy of 
the book.

In some dusty, forgotten file cabinet there must be an original printed copy of
Isogrid Design Handbook - NASA CR-124075, Rev. A, Feb. 1973

A triangular tube is more twist and bend resistant than a square, rectangular, 
or round tube, and it is lower mass than a square or rectangular tube. Even 
less mass with all the bits removed to cut an isogrid.

On Monday, May 13, 2024 at 02:49:51 PM MDT, 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.  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.


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


Re: [Emc-users] Beam Stiffening?

2024-05-13 Thread gene heskett

On 5/13/24 16:47, 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.

That has got to be north of 100 lbs of flying weight.


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.

This might be a place to use a technique the 3d printers are using. 
Called input_shaping. In the printers case the testing wiggle is 30 to 
150 hz but in something this massive you might want to start the 
frequency of the scan at 1hz. The amplitude of the motion is then 
recorded by an accelerometer chip, usually an adxl345. The data 
collected is then used to program a digital filter, which does not 
effect the speed of the machine as it works to reduce the amplitude of 
the drive at those frequencies where the system is resonating. Such 
fancy math has been responsible for a 4 to 8x increase in the machines 
actual speed as it controls the ringing.


Another different technique I have found helpful by accident is 
stepper/servo's. I am engraving some text of the sides of the printed 
nuts for the vise screws I'm building. Using normal steppers that bounce 
back and forth magnetically, that ringing restricts the speed of the 
printer to about 30mm a second if the text is not to be destroyed by the 
ringing. Switching to stepper/servo's has allowed me to drive the 
printer 10x faster and the text remains readable.  The stepper/servo is 
actually dampening that magnetic bounce in real time. And they can do 
that on less power than a normal stepper, aided by the switch to higher 
voltage power supplies, up to 110 volts vs the 40 or so normal steppers 
limiting the bandwidth of the lower voltage normal steppers. The reduced 
power is because they are now using the detected error to control the 
motor current, motor working easy=low current and negligible heating, a 
difference you can see in your shops power bill. I'm now using 5 of them 
in the garage and have 3 more to put on my GO704. Capable of stopping 
linuxcnc in it tracks if they hit an immovable object, well tested, just 
one problem. It has yet to happen running a job!


Check out Hanpose for the higher sized stuff you might need to replace 
the two servo's you are using now.

<https://www.alibaba.com/product-detail/Lichuan-stepper-motor-nema-42-close_60697466670.html?spm=a2700.wholesale.you_may_like.3.4c101343U7AJp5>
Drives a closed loop nema 42 motor rated 12NM from a 220 volt line. With 
a matching motor and the right set of belt pulleys it can turn your 
house around. For probably < $350 an axis.

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
.


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


Re: [Emc-users] Beam Stiffening?

2024-05-13 Thread Dale Ertley via Emc-users
 See cable beam stifferDo on 3 or 4 sides.Be safeDale
코스피

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
코스피

코스피
 |

 |

 |




On Monday, May 13, 2024 at 08:07:14 PM EDT, Dale Ertley  
wrote:  
 
  Small blocks on the outside middle of beam on 3 or 4 sides of the beam with 
small aircraft cable attached to each end pulled tight.
Use small turn buckles to tighten the cables over the block on that one 
side.You may be able to reduce the mass of the beam with the added stiffness of 
the blocks and cables.
Be safe.
Dale
On Monday, May 13, 2024 at 07:31:34 PM EDT, Ralph Stirling via Emc-users 
 wrote:  
 
 Can you run a steel cable through it and tension it?  Might stiffen it up some.

-- Ralph

On May 13, 2024 1:46 PM, Todd Zuercher via Emc-users 
 wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


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.<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.php=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731202212%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=p5p5BPV0oMEOCFeZea6DUqIke%2BXV8qgx9DzXe3NCQRs%3D=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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731211972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=R%2BIVQkZu7pKMlJz9sEZoUhdY5osxFE3oBpbf8jXpexY%3D=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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beam Stiffening?

2024-05-13 Thread Dale Ertley via Emc-users
 Small blocks on the outside middle of beam on 3 or 4 sides of the beam with 
small aircraft cable attached to each end pulled tight.
Use small turn buckles to tighten the cables over the block on that one 
side.You may be able to reduce the mass of the beam with the added stiffness of 
the blocks and cables.
Be safe.
Dale
On Monday, May 13, 2024 at 07:31:34 PM EDT, Ralph Stirling via Emc-users 
 wrote:  
 
 Can you run a steel cable through it and tension it?  Might stiffen it up some.

-- Ralph

On May 13, 2024 1:46 PM, Todd Zuercher via Emc-users 
 wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


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.<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.php=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731202212%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=p5p5BPV0oMEOCFeZea6DUqIke%2BXV8qgx9DzXe3NCQRs%3D=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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731211972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=R%2BIVQkZu7pKMlJz9sEZoUhdY5osxFE3oBpbf8jXpexY%3D=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 mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Beam Stiffening?

2024-05-13 Thread Ralph Stirling via Emc-users
Can you run a steel cable through it and tension it?  Might stiffen it up some.

-- Ralph

On May 13, 2024 1:46 PM, Todd Zuercher via Emc-users 
 wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


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.<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.php=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731202212%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=p5p5BPV0oMEOCFeZea6DUqIke%2BXV8qgx9DzXe3NCQRs%3D=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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C02%7Cralph.stirling%40wallawalla.edu%7Cdff9590d43bf4306dbf908dc738db7c0%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C638512299731211972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=R%2BIVQkZu7pKMlJz9sEZoUhdY5osxFE3oBpbf8jXpexY%3D=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] Beam Stiffening?

2024-05-13 Thread andy pugh
On Mon, 13 May 2024 at 22:50, Chris Albertson 
wrote:

> Adding anything inside is the worst place to add material.


Yes, without a doubt, but it seems fair to assume that the ganry has slides
and other components on the outside, but not on the inside.

The base beam has an Iyy (bending in the plane of the smaller dimension )
of 22in^4
Doubling it internally gives: 34.2in^4, so about 50% stiffer
Doubling externally gives: 57in^4 so getting on for 3x as stiff.

I admit I was imagining a thinner wall thickness relative to the overall
dimensions, where the difference would be smaller.

There is less to be gained than you might think from making the section
solid. You can do the experiments here:
https://amesweb.info/section/second-moment-of-area-calculator.aspx

If stiffness is the key, then add a stiff material.
Aluminium is 68GPa (moving away from measuring in bananas)
Steel is 200GPa (this is the same for all iron alloys, hardened or
unhardened, including cast iron)
Titanium is 114GPa, so good for light, not for stiff.
Carbon fibre is 181Gpa for uindirectional fibres, but more typically around
50GPa.
Tungsten carbide is 600GPa (which is why solid carbide boring bars exist)
Beryllium is 287 but probably out of both budget and COSHH limits.

-- 
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] Beam Stiffening?

2024-05-13 Thread Chris Albertson
Adding anything inside is the worst place to add material.   Add it outside.   
Stiffness is the cube of the beam thickness, so you really want to make it 
bigger.

Then secondary to making it bigger is to improve the shape to remove those 
parallel sides.  

So it you are just going to epoxy something on, try adding something like a 
channel section to the top or side of the beam.




> On May 13, 2024, at 2:11 PM, andy pugh  wrote:
> 
> On Mon, 13 May 2024 at 21:51, Todd Zuercher via Emc-users <
> emc-users@lists.sourceforge.net> wrote:
> 
>> 
>> I'm less concerned about the actual stiffness and more worried about
>> dampening the wobble.
>> 
> 
> Maybe you could epoxy a smaller (aluminium?) extrusion or box inside the
> existing one? The epoxy interface should add some damping.
> 
> 
> -- 
> 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] Beam Stiffening?

2024-05-13 Thread Chris Albertson


> On May 13, 2024, at 1:45 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.  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.


What is the extrusion made of, I assume it is some kind of aluminum alloy.
The simplest but expensive option is to replace it with a stronger/stiffer 
material with the same dimensions.   Of course Titanium comes to mind but that 
is maybe not in the budget.Carbon fiber could work and it is possible to 
DIY carbon fiber beams with just hand tools.   I have made 4 meter long racing 
kayaks with carbon, using just a paint brush and scissors in one weekend.   

The first class way is to make a female mold and polish it well so the part 
looks nice.   The cheap way is to make one like they make surfboards.  You 
start with a foam block, shape it then wrap it in fiber and resin.

The neat thing about carbon composite is that you are not limited to the 
extrusion shape.   I would make the entire beam a compound curve with no flat 
or straight or cylindrical sections,  Maybe like a very elongated American 
football but with ovil cross section.

I like to use the car hood story.  A flat sheet of sheet steel is bendable by 
hand.  But after they stamp it into the shape of a car hood it becomes rigid.   
So rather then a square tube, way not oval but with a larger diameter in the 
center where all the bending force is?

The way you make it is to first make a full-size model out of wood and bondo. 
Do a test-fit and give it an automotice grade paint finsh and then paste wax.  
Make a fiber glass mold, then from that your part.   Yes that is a lot of work. 
 This is why you have an aluminum extrusion there now, because that was easy 
and cheap.






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


Re: [Emc-users] Global Named Parameter?

2024-05-13 Thread John Allwine
I still think analog inputs/outputs could be a good way to go. I haven't
run any of this, but something like this for the Python HAL component:

https://gist.github.com/jallwine/1a0ad4ffcee00f31e286c485ea38a609

And something like this to hook it up in HAL:

https://gist.github.com/jallwine/da023f11d859a7ae4d4a8b6974524386

Then you can use "M66 E0 L0" to copy the offset for joint 0 into #5399 if
you need to know what it is in G code. You can also use "M68 E0 Q0.1234" to
set the offset for joint 0. Change the E value to change which joint you
want to configure.


On Fri, May 10, 2024 at 12:56 PM Todd Zuercher via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> 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 <
> emc-users@lists.sourceforge.net<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
>

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


Re: [Emc-users] Beam Stiffening?

2024-05-13 Thread andy pugh
On Mon, 13 May 2024 at 21:51, Todd Zuercher via Emc-users <
emc-users@lists.sourceforge.net> wrote:

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

Maybe you could epoxy a smaller (aluminium?) extrusion or box inside the
existing one? The epoxy interface should add some damping.


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

2024-05-13 Thread andy pugh
On Fri, 10 May 2024 at 21:11, Todd Zuercher  wrote:

> But I need to read them when they are not applied.
>

You could apply them, read them, then revert.

-- 
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] Why are there different sizes of centre drills?

2024-05-11 Thread John Figie
I think if you have a large machine it won't spin fast enough and it will
be to easy to break the tiny drill point. If you have a tiny lathe the
chuck might be too small for large diameter center drill.

John Figie

On Sat, May 11, 2024, 8:19 AM Stuart Stevenson  wrote:

> Hi,
>  Sounds like you guys are talking about the tool known as a combination
> center drill and countersink.
> Most CNC operations use a spot drill as a precision starting guide for the
> drill point entry.
> I don't know about the precision differences between the two styles but if
> you really require a close tolerance hole position you should use a more
> involved process than just a spot (or center) drill and drill. Drills walk.
> The main reason to use a spot drill is time. A spot drill is faster.
>
> regards
> Stuart
>
> On Sat, May 11, 2024 at 1:50 AM 
> wrote:
>
> > On 2024-05-11 03:32, andy pugh wrote:
> > > That's it. really. Why? A large-diameter one with a small drill point
> > > could
> > > make all the sizes. as far as I am aware the drilled hole is
> > > irrelevant. I
> > > suppose it might have mattered as a reservoir for the white lead in the
> > > days of solid centres.
> >
> > Interesting question!
> > The pilot (parallel) drill creates a hole for the very tip of the mating
> > centre. If the drill had to cut the exact shape of the conical tip of
> > the female hole, it would struggle to have proper cutting edges and
> > still make the true cone.
> > You are right that the conical end on the body of a large centre drill
> > (ignoring the parallel tip) could cut all sizes of cone. But there might
> > be some reasons for the different sizes:
> >
> > 1. very small centres would enter the parallel drilled hole, but miss
> > the conical part. I have just been trying to clean some small center
> > holes in a clockmaking tool designed to support the ends of small
> > diameter clock shaft pivots which run between two female centres. Those
> > pivots would completely miss the conical part of the female hole which
> > had anything but the smallest parallel section at the end.
> >
> > 2. for male centres which will take a decent load, the end needs to bear
> > inside a large (deep) female hole, so a large drill can be used here,
> > especially when pushing drilling feeds and speeds.  The flip-side of
> > that is that allowing the body of the centre drill to set the final
> > diameter provides a small amount of parallel recess at the outer end of
> > the centre, which will foul a centre and hold it off the female cone.
> > Centre drills do exist to create 'protected' centres with a larger
> > parallel recess just at the entry to the female cone. Those drills have
> > a short stepped-out section of cutting edge of larger diameter than the
> > largest end of the female cone.
> >
> > 3. In pre-CNC days, the best way to set the size of a hole would be to
> > have a drill of the correct diameter(s) mounted in a turret with stops.
> > The operator then would not need to think, but could just pull the
> > lever. Aside from the problem in (1), you could, of course, set the stop
> > to make a large drill create a small diameter centre.  Which makes CNC
> > an obvious advantage, of course.
> >
> > Marcus
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
> Addressee is the intended audience.
> If you are not the addressee then my consent is not given for you to read
> this email furthermore it is my wish you would close this without saving or
> reading, and cease and desist from saving or opening my private
> correspondence.
> Thank you for honoring my wish.
>
> ___
> 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] Why are there different sizes of centre drills?

2024-05-11 Thread Stuart Stevenson
Hi,
 Sounds like you guys are talking about the tool known as a combination
center drill and countersink.
Most CNC operations use a spot drill as a precision starting guide for the
drill point entry.
I don't know about the precision differences between the two styles but if
you really require a close tolerance hole position you should use a more
involved process than just a spot (or center) drill and drill. Drills walk.
The main reason to use a spot drill is time. A spot drill is faster.

regards
Stuart

On Sat, May 11, 2024 at 1:50 AM  wrote:

> On 2024-05-11 03:32, andy pugh wrote:
> > That's it. really. Why? A large-diameter one with a small drill point
> > could
> > make all the sizes. as far as I am aware the drilled hole is
> > irrelevant. I
> > suppose it might have mattered as a reservoir for the white lead in the
> > days of solid centres.
>
> Interesting question!
> The pilot (parallel) drill creates a hole for the very tip of the mating
> centre. If the drill had to cut the exact shape of the conical tip of
> the female hole, it would struggle to have proper cutting edges and
> still make the true cone.
> You are right that the conical end on the body of a large centre drill
> (ignoring the parallel tip) could cut all sizes of cone. But there might
> be some reasons for the different sizes:
>
> 1. very small centres would enter the parallel drilled hole, but miss
> the conical part. I have just been trying to clean some small center
> holes in a clockmaking tool designed to support the ends of small
> diameter clock shaft pivots which run between two female centres. Those
> pivots would completely miss the conical part of the female hole which
> had anything but the smallest parallel section at the end.
>
> 2. for male centres which will take a decent load, the end needs to bear
> inside a large (deep) female hole, so a large drill can be used here,
> especially when pushing drilling feeds and speeds.  The flip-side of
> that is that allowing the body of the centre drill to set the final
> diameter provides a small amount of parallel recess at the outer end of
> the centre, which will foul a centre and hold it off the female cone.
> Centre drills do exist to create 'protected' centres with a larger
> parallel recess just at the entry to the female cone. Those drills have
> a short stepped-out section of cutting edge of larger diameter than the
> largest end of the female cone.
>
> 3. In pre-CNC days, the best way to set the size of a hole would be to
> have a drill of the correct diameter(s) mounted in a turret with stops.
> The operator then would not need to think, but could just pull the
> lever. Aside from the problem in (1), you could, of course, set the stop
> to make a large drill create a small diameter centre.  Which makes CNC
> an obvious advantage, of course.
>
> Marcus
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

___
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-11 Thread gene heskett

On 5/10/24 19:44, Chris Albertson wrote:




On May 10, 2024, at 9:49 AM, gene heskett  wrote:

On 5/10/24 11:25, Chris Albertson wrote:

Rsync will copy data at the file system level.I think the OP wants to copy 
the partition tables and boot sector.But rsync can copy across a network 
and is a decent way to make a backup of your data.
Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
letter command and very easy to rember the exact spelling, and it just works.   
 Clonzilla might be better for people who find it hard to type in long complex 
commands like “dd” and prefer a menu-based system.


All good advice. Choose your favorite.  The one I miss is the one that can take 
an arm64 install, with all the additions to do a job, and back it up over the 
network to a file that only the total used on that arm64 system. one that can 
then be copied to a fresh u-sd card of much greater capacity, and which will 
then on first boot, expand the partitions to use all of the new u-sd cards 
capacity. I've been using 64G cards and had had no losses. 16G cards are big 
enough but have a lifetime of around a year. I have some 128G I'll use for the 
next install.


Raspberry Pi5 can use PCIe storage, no SD card is needed.   Eventually, we will 
all stop using SD cards for system drives.

I keep wanting to reconfigure my Pi4 to boot off the network with no SD card 
installed.   The Pi3’s networking was too slow for this and the Pi5 does not 
need it.  I might never get around to it.

So what I do today is a compromise.   I install Linux from an image file.  I 
never store my data on the SD card.   data is NFS mounted from the network 
server.   This also means the data is always available on my other computers.  
I never have to move it. and if an SD card dies, nothing is lost.

I never have to backup an SD card.

Interesting concept. When I get time to concentrate on it. I'll probably 
pester you for details.  Thanks Chris.


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


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


Re: [Emc-users] cloning hard drive

2024-05-11 Thread gene heskett

On 5/10/24 14:27, Linden wrote:

I have used clonezilla and DD for both back up and restore. Some where I have 
an interactive bash scripted I wrote for using DD. In the past when going from 
a small drive to a new larger drive the most reliable way I found was to use DD 
to clone and move the data and the use gparted to expand the partitions. Not 
the most elegant solution but has worked for me in the past. Just a thought 
might be worth looking at.

I've considered that myself, but it feels sorta kludgy to me. But done 
in that sequence it should work.  I'm in the middle of a different 
$$project ATM so it will be at least a month before I get to that.  Thanks.



On May 10, 2024 9:49:31 a.m. PDT, gene heskett  wrote:

On 5/10/24 11:25, Chris Albertson wrote:

Rsync will copy data at the file system level.I think the OP wants to copy 
the partition tables and boot sector.But rsync can copy across a network 
and is a decent way to make a backup of your data.

Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
letter command and very easy to rember the exact spelling, and it just works.   
 Clonzilla might be better for people who find it hard to type in long complex 
commands like “dd” and prefer a menu-based system.


All good advice. Choose your favorite.  The one I miss is the one that can take 
an arm64 install, with all the additions to do a job, and back it up over the 
network to a file that only the total used on that arm64 system. one that can 
then be copied to a fresh u-sd card of much greater capacity, and which will 
then on first boot, expand the partitions to use all of the new u-sd cards 
capacity. I've been using 64G cards and had had no losses. 16G cards are big 
enough but have a lifetime of around a year. I have some 128G I'll use for the 
next install.

The theory is, the more surplus capacity the card has, the better the cards own 
software can maintain it. Power usage is about 25 watts total for the pi and 
nonitor when the lathe is powered down, so that rpi4 is never turned off, it 
even has a small ups that holds it up well while the kohler 20kw is starting, a 
black time of around 8 seconds.
So I'm looking for a dd like command that will do that over my local network. cd / 
&& sudo du -h says there is 6.2G in actual use. But there is a 256G buildbot 
drive not currently mounted but about 70% full, so that total would be considerably 
more.

So what utility can make me a bootable image thats only 6.5G that I can store 
here, dd to a new card that will boot that pi and expand the file system? And 
come up capable of running linuxcnc with all the stuff I've written in the last 
decade. That is the $64 question.  That seems like the ideal backup system for 
all the architectures here.  And 1, 2T SSD could hold it all.


On May 10, 2024, at 4:03 AM, gene heskett  wrote:

On 5/10/24 06:11, 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

rsync can do that but please read the man page carefully. It can bite you just 
as easily as it can help you.  I use it, but will not call myself an expert.

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


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


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



______________

Re: [Emc-users] Why are there different sizes of centre drills?

2024-05-11 Thread marcus . bowman

On 2024-05-11 03:32, andy pugh wrote:
That's it. really. Why? A large-diameter one with a small drill point 
could
make all the sizes. as far as I am aware the drilled hole is 
irrelevant. I

suppose it might have mattered as a reservoir for the white lead in the
days of solid centres.


Interesting question!
The pilot (parallel) drill creates a hole for the very tip of the mating 
centre. If the drill had to cut the exact shape of the conical tip of 
the female hole, it would struggle to have proper cutting edges and 
still make the true cone.
You are right that the conical end on the body of a large centre drill 
(ignoring the parallel tip) could cut all sizes of cone. But there might 
be some reasons for the different sizes:


1. very small centres would enter the parallel drilled hole, but miss 
the conical part. I have just been trying to clean some small center 
holes in a clockmaking tool designed to support the ends of small 
diameter clock shaft pivots which run between two female centres. Those 
pivots would completely miss the conical part of the female hole which 
had anything but the smallest parallel section at the end.


2. for male centres which will take a decent load, the end needs to bear 
inside a large (deep) female hole, so a large drill can be used here, 
especially when pushing drilling feeds and speeds.  The flip-side of 
that is that allowing the body of the centre drill to set the final 
diameter provides a small amount of parallel recess at the outer end of 
the centre, which will foul a centre and hold it off the female cone. 
Centre drills do exist to create 'protected' centres with a larger 
parallel recess just at the entry to the female cone. Those drills have 
a short stepped-out section of cutting edge of larger diameter than the 
largest end of the female cone.


3. In pre-CNC days, the best way to set the size of a hole would be to 
have a drill of the correct diameter(s) mounted in a turret with stops. 
The operator then would not need to think, but could just pull the 
lever. Aside from the problem in (1), you could, of course, set the stop 
to make a large drill create a small diameter centre.  Which makes CNC 
an obvious advantage, of course.


Marcus


___
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 Peter Wallace

On Fri, 10 May 2024, John Dammeyer wrote:


Date: Fri, 10 May 2024 18:26:21 -0700
From: John Dammeyer 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "'Enhanced Machine Controller (EMC)'" 
Subject: Re: [Emc-users] Mesa Card Stepgens?

What type of output driver is used on the 7i84?
John


The 7I84/7I84D use the  (now obsolete) NCV7608
It has flyback protection (turnoff speed modulation)
but that's only good to ~60 mA so for more you need
flyback diodes

It, replacement (7I84U) uses the NCV7224

The 7724 is a bit nicer as it can do sink,source,
or push-pull under software control
(and 350 mA on inductive or non-inductive loads with no flyback diodes)




-Original Message-
From: Peter Wallace [mailto:p...@mesanet.com]
Sent: May 10, 2024 1:54 PM
To: Todd Zuercher
Cc: Todd Zuercher via Emc-users
Subject: Re: [Emc-users] Mesa Card Stepgens?

On Fri, 10 May 2024, Todd Zuercher wrote:


Date: Fri, 10 May 2024 20:40:53 +
From: Todd Zuercher 
To: Peter Wallace 
Cc: Todd Zuercher via Emc-users 
Subject: RE: [Emc-users] Mesa Card Stepgens?

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?


40 mA should be fine, it is possible this is the card that had power

applied

backwards?

We can replace the chips



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 conne

[Emc-users] Why are there different sizes of centre drills?

2024-05-10 Thread andy pugh
That's it. really. Why? A large-diameter one with a small drill point could
make all the sizes. as far as I am aware the drilled hole is irrelevant. I
suppose it might have mattered as a reservoir for the white lead in the
days of solid centres.

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

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


Re: [Emc-users] Mesa Card Stepgens?

2024-05-10 Thread John Dammeyer
What type of output driver is used on the 7i84?
John

> -Original Message-
> From: Peter Wallace [mailto:p...@mesanet.com]
> Sent: May 10, 2024 1:54 PM
> To: Todd Zuercher
> Cc: Todd Zuercher via Emc-users
> Subject: Re: [Emc-users] Mesa Card Stepgens?
> 
> On Fri, 10 May 2024, Todd Zuercher wrote:
> 
> > Date: Fri, 10 May 2024 20:40:53 +
> > From: Todd Zuercher 
> > To: Peter Wallace 
> > Cc: Todd Zuercher via Emc-users 
> > Subject: RE: [Emc-users] Mesa Card Stepgens?
> >
> > 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?
> 
> 40 mA should be fine, it is possible this is the card that had power
applied
> backwards?
> 
> We can replace the chips
> 
> >
> > 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

Re: [Emc-users] cloning hard drive

2024-05-10 Thread Chris Albertson


> On May 10, 2024, at 9:49 AM, gene heskett  wrote:
> 
> On 5/10/24 11:25, Chris Albertson wrote:
>> Rsync will copy data at the file system level.I think the OP wants to 
>> copy the partition tables and boot sector.But rsync can copy across a 
>> network and is a decent way to make a backup of your data.
>> Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
>> letter command and very easy to rember the exact spelling, and it just 
>> works.Clonzilla might be better for people who find it hard to type in 
>> long complex commands like “dd” and prefer a menu-based system.
> 
> All good advice. Choose your favorite.  The one I miss is the one that can 
> take an arm64 install, with all the additions to do a job, and back it up 
> over the network to a file that only the total used on that arm64 system. one 
> that can then be copied to a fresh u-sd card of much greater capacity, and 
> which will then on first boot, expand the partitions to use all of the new 
> u-sd cards capacity. I've been using 64G cards and had had no losses. 16G 
> cards are big enough but have a lifetime of around a year. I have some 128G 
> I'll use for the next install.

Raspberry Pi5 can use PCIe storage, no SD card is needed.   Eventually, we will 
all stop using SD cards for system drives.

I keep wanting to reconfigure my Pi4 to boot off the network with no SD card 
installed.   The Pi3’s networking was too slow for this and the Pi5 does not 
need it.  I might never get around to it.

So what I do today is a compromise.   I install Linux from an image file.  I 
never store my data on the SD card.   data is NFS mounted from the network 
server.   This also means the data is always available on my other computers.  
I never have to move it. and if an SD card dies, nothing is lost.

I never have to backup an SD card.


___
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 +0000
>> 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

Re: [Emc-users] Mesa Card Stepgens?

2024-05-10 Thread Peter Wallace

On Fri, 10 May 2024, Todd Zuercher wrote:


Date: Fri, 10 May 2024 20:40:53 +
From: Todd Zuercher 
To: Peter Wallace 
Cc: Todd Zuercher via Emc-users 
Subject: RE: [Emc-users] Mesa Card Stepgens?

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?


40 mA should be fine, it is possible this is the card that had power applied 
backwards?


We can replace the chips



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?



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 

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 Linden
I have used clonezilla and DD for both back up and restore. Some where I have 
an interactive bash scripted I wrote for using DD. In the past when going from 
a small drive to a new larger drive the most reliable way I found was to use DD 
to clone and move the data and the use gparted to expand the partitions. Not 
the most elegant solution but has worked for me in the past. Just a thought 
might be worth looking at.

On May 10, 2024 9:49:31 a.m. PDT, gene heskett  wrote:
>On 5/10/24 11:25, Chris Albertson wrote:
>> Rsync will copy data at the file system level.I think the OP wants to 
>> copy the partition tables and boot sector.But rsync can copy across a 
>> network and is a decent way to make a backup of your data.
>> 
>> Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
>> letter command and very easy to rember the exact spelling, and it just 
>> works.Clonzilla might be better for people who find it hard to type in 
>> long complex commands like “dd” and prefer a menu-based system.
>
>All good advice. Choose your favorite.  The one I miss is the one that can 
>take an arm64 install, with all the additions to do a job, and back it up over 
>the network to a file that only the total used on that arm64 system. one that 
>can then be copied to a fresh u-sd card of much greater capacity, and which 
>will then on first boot, expand the partitions to use all of the new u-sd 
>cards capacity. I've been using 64G cards and had had no losses. 16G cards are 
>big enough but have a lifetime of around a year. I have some 128G I'll use for 
>the next install.
>
>The theory is, the more surplus capacity the card has, the better the cards 
>own software can maintain it. Power usage is about 25 watts total for the pi 
>and nonitor when the lathe is powered down, so that rpi4 is never turned off, 
>it even has a small ups that holds it up well while the kohler 20kw is 
>starting, a black time of around 8 seconds.
>So I'm looking for a dd like command that will do that over my local network. 
>cd / && sudo du -h says there is 6.2G in actual use. But there is a 256G 
>buildbot drive not currently mounted but about 70% full, so that total would 
>be considerably more.
>
>So what utility can make me a bootable image thats only 6.5G that I can store 
>here, dd to a new card that will boot that pi and expand the file system? And 
>come up capable of running linuxcnc with all the stuff I've written in the 
>last decade. That is the $64 question.  That seems like the ideal backup 
>system for all the architectures here.  And 1, 2T SSD could hold it all.
>
>>> On May 10, 2024, at 4:03 AM, gene heskett  wrote:
>>> 
>>> On 5/10/24 06:11, 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
>>> rsync can do that but please read the man page carefully. It can bite you 
>>> just as easily as it can help you.  I use it, but will not call myself an 
>>> expert.
>>> 
>>> 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
>
>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] cloning hard drive

2024-05-10 Thread gene heskett

On 5/10/24 11:25, Chris Albertson wrote:

Rsync will copy data at the file system level.I think the OP wants to copy 
the partition tables and boot sector.But rsync can copy across a network 
and is a decent way to make a backup of your data.

Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
letter command and very easy to rember the exact spelling, and it just works.   
 Clonzilla might be better for people who find it hard to type in long complex 
commands like “dd” and prefer a menu-based system.


All good advice. Choose your favorite.  The one I miss is the one that 
can take an arm64 install, with all the additions to do a job, and back 
it up over the network to a file that only the total used on that arm64 
system. one that can then be copied to a fresh u-sd card of much greater 
capacity, and which will then on first boot, expand the partitions to 
use all of the new u-sd cards capacity. I've been using 64G cards and 
had had no losses. 16G cards are big enough but have a lifetime of 
around a year. I have some 128G I'll use for the next install.


The theory is, the more surplus capacity the card has, the better the 
cards own software can maintain it. Power usage is about 25 watts total 
for the pi and nonitor when the lathe is powered down, so that rpi4 is 
never turned off, it even has a small ups that holds it up well while 
the kohler 20kw is starting, a black time of around 8 seconds.
So I'm looking for a dd like command that will do that over my local 
network. cd / && sudo du -h says there is 6.2G in actual use. But there 
is a 256G buildbot drive not currently mounted but about 70% full, so 
that total would be considerably more.


So what utility can make me a bootable image thats only 6.5G that I can 
store here, dd to a new card that will boot that pi and expand the file 
system? And come up capable of running linuxcnc with all the stuff I've 
written in the last decade. That is the $64 question.  That seems like 
the ideal backup system for all the architectures here.  And 1, 2T SSD 
could hold it all.



On May 10, 2024, at 4:03 AM, gene heskett  wrote:

On 5/10/24 06:11, 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

rsync can do that but please read the man page carefully. It can bite you just 
as easily as it can help you.  I use it, but will not call myself an expert.

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


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


Re: [Emc-users] cloning hard drive

2024-05-10 Thread Chris Albertson
Rsync will copy data at the file system level.I think the OP wants to copy 
the partition tables and boot sector.But rsync can copy across a network 
and is a decent way to make a backup of your data.

Clonzilla loks like it can work.  I’ve always used “dd” because it is a two 
letter command and very easy to rember the exact spelling, and it just works.   
 Clonzilla might be better for people who find it hard to type in long complex 
commands like “dd” and prefer a menu-based system.



> On May 10, 2024, at 4:03 AM, gene heskett  wrote:
> 
> On 5/10/24 06:11, 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
> rsync can do that but please read the man page carefully. It can bite you 
> just as easily as it can help you.  I use it, but will not call myself an 
> expert.
> 
> 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] cloning hard drive

2024-05-10 Thread Chris Albertson
I assume the laptop runs Linux.If so then you’d use  “dd” to clone the disk 
drive. “dd” is installed on every Linux system I’ve ever seem.  So you already 
have it.  This assumes you are copying it to an identical drive.

The trouble is that you can not have booted from the drive you are copying from 
because the OS will be writing to that drive as it is being copied.   So what 
you do is boot off the USB drive or if it is an older computer off the CDROM.   
 This way my assumption that you are running Linux is true because you would 
use a Ubuntu install image on the USB stick

Both drives need to be connected to the computer, the second one can be placed 
in a USB enclosure

Get to the command line and type dd if=/dev/sda of=/dev/sdb

SDA and SDB are place holders for the real names of the two drives, likely your 
drives have different names.  Do not swap the names of the drive or you will 
copy the empty drive over you data.  make a backup of you data first, then 
veriify you can read the backup, then clone the disk.  Rea the dd man page.  
Remember that “if" is “input file” or “of” is “output file"
For more info read the dd man page or Google “clone drive using dd”

All that said “cloning” the drive is not very usfull.  Betther to just backup 
the data and when the disk dies replace it with a better one (bigger, faster) 
reinstall the OS and then restore your data.  The clone will qickly become 
obsolite as you make changed and update software, best to just do a regular, 
noroaml backup.My computers mostly have a continous backup runnig that 
copies changes in real time so I loose at most an hour’s work




> On May 10, 2024, at 2: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
> 
> _______
> 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] 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=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7C5b7b68c5c80745f1683b08dc70df26bf%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638509350948595383%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C=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


Re: [Emc-users] cloning hard drive

2024-05-10 Thread gene heskett

On 5/10/24 06:11, 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

rsync can do that but please read the man page carefully. It can bite 
you just as easily as it can help you.  I use it, but will not call 
myself an expert.


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


Re: [Emc-users] cloning hard drive

2024-05-10 Thread Sam Sokolik
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://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] cloning hard drive

2024-05-10 Thread Ed

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://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] cloning hard drive

2024-05-10 Thread andrew beck
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

___
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-09 Thread andy pugh
On Thu, 9 May 2024 at 18:55, Todd Zuercher via Emc-users <
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] Global Named Parameter?

2024-05-09 Thread John Allwine
Maybe use analog inputs and outputs and hook them up to a custom Python HAL
component that handles the serialization for storing between sessions?

https://linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m66
https://linuxcnc.org/docs/2.8/html/gcode/m-code.html#mcode:m68

Those hook into the motion.analog-in-## and motion.analog-out-## HAL pins.

-John

On Thu, May 9, 2024 at 11:50 AM Todd Zuercher via Emc-users <
emc-users@lists.sourceforge.net> wrote:

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

___
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 gene heskett

On 5/8/24 13:44, Todd Zuercher via Emc-users wrote:

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?

I've a usb tree resembling a weeping willow, over a dozen usb cables 
plugged into at least three 4-port expanders, one of which is a 7 port 
and its full, so my output from that command shows 2 devices. One is 
driving an X10 CM11a to control some lights. And I don't recall what the 
other is doing. The x10 stuff has only been running about 35 years. I'm 
one of the two authors of the Amiga's ezhome software for x19 stuff. 
I've long since forgot the nitty and gritty details of what all I had it 
doing.


Whatever you have that did use the /dev/serial/by-id stuff would not be 
working if the bug is present. Buster is ok, bullseye and bookworm will 
fail and the final trixie is supposed to be fixed.  Your stuff is 
probably too old to be effected.


Take care & stay well Todd.


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=05%7C02%7Ctoddz%40pgrahamdunn.com
%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
%7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=
C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz%
40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
0%7C%7C%7C=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D
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
.


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

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
> =05%7C02%7Ctoddz%40pgrahamdunn.com%7C59f83c23425d48a02e7308dc6f8b585a%
> 7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507891505884667%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C0%7C%7C%7C=AiUEBo31wTc8tCmh01ycujCEAsHQS1vaCpN0
> RI5YgCM%3D=0
pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX

Re: [Emc-users] Mb2hal 2.9?

2024-05-08 Thread zz912
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.pgrahamdunn.com/%2Findex.php=05%7C02%7Ctoddz%40
pgrahamdunn.com 
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43 
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw 
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C= 
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz% 
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c 
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d 
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C 
> 0%7C%7C%7C=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D 
> 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 
"
___
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
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=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D
> 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=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507822770580921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=
> C4dBybKwKVpfOPShClzy%2BeP0urLVchdbYjNJ726xmHM%3D=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=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Cf9247dc4415e4c243c9a08dc6f7b57d0%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638507822770589530%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C=SgEuARxP0MmsgoB3BljySPtlJKAxijEVAv8qQbwQYYU%3D
> 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 gene heskett

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


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


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-08 Thread andy pugh
On Wed, 8 May 2024 at 02:15, Todd Zuercher via Emc-users <
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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C70ae95d405504cef1b5d08dc6eee9e4d%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507218366550444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=7UxWW9Wd0gVGG%2BBuIZdcbVxL8nWIQbQcXnDPRfxz8Bg%3D=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=05%7C02%7Ctoddz%40pgrahamdunn.com%7C70ae95d405504cef1b5d08dc6eee9e4d%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638507

Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread gene heskett

On 5/7/24 16:02, Todd Zuercher via Emc-users wrote:

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?

Debian screwed the moose at debian 11, and it's not fixed until trixie.

Some how a copy paste left out the 2 udev lines that generate the 
/dev/serial/by-id to usb links.  There a pinned patch for that on the 
discord/klipper forum that restores that.

<https://discord.com/channels/431557959978450984/431558939541241857>
Contains a link to the fix.

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
.


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


Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread John Dammeyer
Todd,
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
> >
> www.pgrahamdunn.com%2Findex.php=05%7C02%7Ctoddz%40pgraha
> mdunn.com
> >
> %7Cab367b57db9e4abbdc5108dc6ed282a3%7C5758544c573f47cebee96c3e08
> 06fb43
> >
> %7C0%7C0%7C638507097628024227%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> oiMC4wLjAw
> >
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C
> =
> > rIq1Puq3K28VXm9oJqLE09fKDnjDgo1XGfCzicJGRTQ%3D=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 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
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=05%7C02%7Ctoddz%40pgrahamdunn.com
> %7Cab367b57db9e4abbdc5108dc6ed282a3%7C5758544c573f47cebee96c3e0806fb43
> %7C0%7C0%7C638507097628024227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C=
> rIq1Puq3K28VXm9oJqLE09fKDnjDgo1XGfCzicJGRTQ%3D=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


Re: [Emc-users] Mb2hal 2.9?

2024-05-07 Thread Peter Wallace

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.<http://www.pgrahamdunn.com/index.php>
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-05-01 Thread gene heskett

On 5/1/24 14:12, John Dammeyer wrote:

From: andy pugh [mailto:bodge...@gmail.com]
On Tue, 30 Apr 2024 at 17:31, John Dammeyer 
wrote:

Except it would still require an add on card still called a cape perhaps?


I think that the attraction of the Beagleboard was that the PRU could be
used for step generation and encoder counting. There were some hats that
included stepper drive, but you would need those anyway.



It's likely too soon to know if the " Arm Cortex-R5 subsystem for low-latency I/O 
and control "  has the ability to be the step/dir engine for 4 axis and a spindle 
(step/dir or PWM).

But still for anything to be simple using LinuxCNC the orginal cape for the 
Beagle that provided a DB-25 to connect to a BoB is not a good solution.

Similarly a cape with built in drivers like the Replicape where a driver fails 
requiring replacement of the cape is also a non-starter.

I still think this is the best idea except instead of a network cable to a PC 
with custom software the connection should be USB+HDMI to a 1080P monitor.
https://www.centroidcnc.com/centroid_diy/images/centroid_acorn_cnc_controller.pdf
There should be only one user interface modeled after the MACH3 with menu's and 
forms to fill out to set things up.  The need to drop into custom code (BASIC 
in MACH3) should only be for specialized customization.  The target needs to be 
the small mills that go for under $1500.

John


The elephant in the room in that scenario is the mach3 and the shitty 
electronics supplied with said $1500 gantry mill. I fought with it, 
trying to make linuxcnc run it, and wound up throwing the whole box in 
the trash trailer, the vfd was simply not controllable, and assembling 
or building all the electronics myself. Its now a full blown 4 axis 
machine. Including a B axis that can do 400 rpm in perfect sync with the 
Y motion. That turned out to be so handy I made another for an A axis on 
my go704.


Keeps be out of the bars in my dotage.

Take care & stay well John.

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


Re: [Emc-users] BeagleY-AI

2024-05-01 Thread gene heskett
an even bigger trony-400 thats is about half 
done to finish yet. But I am also running out of time, I'll be 90 in 
October.  The point is, I'm having fun.  Isn't that what life is all about?


Take care and stay well.

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


Re: [Emc-users] BeagleY-AI

2024-05-01 Thread Chris Albertson


> On May 1, 2024, at 8:55 AM, andy pugh  wrote:
> 
> 
> I think that the attraction of the Beagleboard was that the PRU could be
> used for step generation and encoder counting. 

This gets into the difference between a Linux PC and a microcontroller.The 
microcontroller has lots and lots of peripheral hardware, things like timers 
and PM generators, and hardware quadrature decoding and D/A converts and 
whatnot.   Whereas the typical PC only has “ports” that move data. The 
Beagleboard is kind of in the middle.   It is actually poor at doing either job 
but the fact that it had real-time outpit pins made it really attractive.

There are some really exelent hardware platforms that could be used for LCNC 
but who wants to get them to work when there are off-the-shelf solutions.  
Saving $300 on the hardware is not attractive if you have to write the software 
to make it work.


Look at this board.  It sells for $90 and could run LCNC.  It has a Raspberry 
Pi equivalent that comes with Debian Linux installed, has 2 GB RAM and fast 
32GB storage, and has 4 stepper moter drivers that are good for about 2 amps.  
Really, this is a Pi4, with breakout and drivers for $90 and has a warranty and 
some minimal level of customer support.The problem is that the LCNC 
ecosystem is not yet large enough to attract enough software developers to 
write firmware for every “every chip in the world”. So we are kind of stuck 
with what’s available now.

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


Re: [Emc-users] BeagleY-AI

2024-05-01 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com]
> On Tue, 30 Apr 2024 at 17:31, John Dammeyer 
> wrote:
> 
> Except it would still require an add on card still called a cape perhaps?
> 
> 
> I think that the attraction of the Beagleboard was that the PRU could be
> used for step generation and encoder counting. There were some hats that
> included stepper drive, but you would need those anyway.
> 

It's likely too soon to know if the " Arm Cortex-R5 subsystem for low-latency 
I/O and control "  has the ability to be the step/dir engine for 4 axis and a 
spindle (step/dir or PWM).

But still for anything to be simple using LinuxCNC the orginal cape for the 
Beagle that provided a DB-25 to connect to a BoB is not a good solution.  

Similarly a cape with built in drivers like the Replicape where a driver fails 
requiring replacement of the cape is also a non-starter.

I still think this is the best idea except instead of a network cable to a PC 
with custom software the connection should be USB+HDMI to a 1080P monitor.  
https://www.centroidcnc.com/centroid_diy/images/centroid_acorn_cnc_controller.pdf
There should be only one user interface modeled after the MACH3 with menu's and 
forms to fill out to set things up.  The need to drop into custom code (BASIC 
in MACH3) should only be for specialized customization.  The target needs to be 
the small mills that go for under $1500.

John



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


Re: [Emc-users] BeagleY-AI

2024-05-01 Thread Chris Albertson

The magoroty of people who do not want to make CNC tools their hoby and just 
want to cut metal, wood or plastic, they would be best sewrved by one of the 
“out of the box” solutions, like Acorn.  No one, except Torch sells an LCNC 
solution that come rewady to run with hardware and pre-istalled software.  Most 
users will want that.

Then if you are selling a turn-key setup, LCNC requires more expensive 
hardware.  90% of the market is going to be runnng a very simple 3-axis CNC 
router.  Yoiu can buy PCBs that have a poerfull microcontroller and some 
stepper moter drivers for $40 retail or have one made in china for 1/3rd that 
price. You then but $50 worth of electronics in a $10 enclosure and sell it for 
$300.

The end user will never in a million years complain that he can not edit the 
config file to run industrial servos over Ethercat.

On the other hand many people do seem to make CNC a hobby even if they really 
don’t need to make a ‘billion CNC’d parts.  For them LCNC is prefect and a 
machine that “just works” would be usless because they’d have nothing to do.

> 
> What I am having good luck with running all the fancy stuff for 3d printers 
> on them is the currently $65 bananapi-m5. All 4 usb ports are usb3 so speeds 
> are not a problem. I am just now bringing up an old Ender 5 Plus that died a 
> couple years ago, able to run at 30mm/second max because it comes with a puny 
> Y motor, but now has 2 more bigger higher voltage power supply's, the X 
> motors are now stepper/servo's, I belted the z motors together and unplugged 
> one so bed tilt is locked, lots of heavy flying weight is now CF tubing, much 
> lighter to throw around, and its loafing at 200mm/sec speeds.  What it 
> formerly took 3 days to make is now done in 17 hours. That bpi-m5 is talking 
> to the $52 control card that runs the printer with a single usb-C cable.
> 
> I have not tried linuxcnc on one of them but it runs fine on an rpi4b with 2 
> gigs of ram,

Gene, if that Pi4 is running Klipper, of course it is not loaded up.  Kipper 
pushes 100% of the real-time work onto the MCU.  The Pi only has to read the 
g-code file and do the motion planning and run the web server based GUI.  
Screen rendering and mouse tracking and all the low-level GUI stuff is done on 
the user’s web browser.LCNC is just the opposite, so you can’t compare.

Klipper does not care at all which OS you run.  It runs very well in a virtual 
machine or even on a Pi-zero.  I’m using a Pi3, 1GB and see only 8% CPU usage   
In fact you can run multiple copies of Klipper on one computer and drive 
multiple printers at the same time.

> running my 11x54 Sheldon lathe. Install the build-essential & the latest 
> python 3, hook it to a breakout board fed by a usb-3 cable, and build lcnc 
> from master's src. It ought to just work. Might have to build a rt kernel, 
> but my 3d printers don't seem to mind the current jammy offering.


But let’s say you were a sign maker and wanted to cut out plastic letters with 
a CO2 laser.  You bill your customers at $125 per machine-hour.  How many hours 
do you want to spend learning to build real-time kernels,  it costs you $125 
for every one of those non-billable hours.  And on top of that maybe marketing 
and sales are not getting done while you work on a DIY CNC project.   

Same with plumbing, It is not technically hard to repair pipes, snake drains, 
or replace a water heater.But what if you own a restaurant?   The owner is 
more than happy to pay the $250/hr rate to have two plumbers and a well-stocked 
truck show up and fix the problem because he has to close the business until 
the problem is fixed.   

So in an industrial setting DIY could very easily be much more expensive than 
buying a turn-key system or even hiring the work done for you.

But on the other hand, many of us are not in a situation where “toime is money” 
and LCNC is a good fit.  But it is not a good fit at all for everyone.








> It ID's itself as:
> 
> Linux bpi51e5p 6.6.16-current-meson64 #1 SMP PREEMPT.
> 
> Arm64 stuff is encroaching on our territory, its power miserly AND stable as 
> the Rock of Gibralter. Uptimes are from power outage to power outage.
>> 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
>> .
> 
> Cheers, Gene Heskett, CET.
> -- 
> "There are four boxes to b

Re: [Emc-users] BeagleY-AI

2024-05-01 Thread andy pugh
On Tue, 30 Apr 2024 at 17:31, John Dammeyer  wrote:

Except it would still require an add on card still called a cape perhaps?


I think that the attraction of the Beagleboard was that the PRU could be
used for step generation and encoder counting. There were some hats that
included stepper drive, but you would need those anyway.

-- 
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] BeagleY-AI

2024-05-01 Thread gene heskett

On 4/30/24 12:29, John Dammeyer wrote:

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?



IDK about the beaglebone, it always seemed like something of a different 
design that took a heck of a lot of work AND interface hardware to do 
something similar to linuxcnc.


What I am having good luck with running all the fancy stuff for 3d 
printers on them is the currently $65 bananapi-m5. All 4 usb ports are 
usb3 so speeds are not a problem. I am just now bringing up an old Ender 
5 Plus that died a couple years ago, able to run at 30mm/second max 
because it comes with a puny Y motor, but now has 2 more bigger higher 
voltage power supply's, the X motors are now stepper/servo's, I belted 
the z motors together and unplugged one so bed tilt is locked, lots of 
heavy flying weight is now CF tubing, much lighter to throw around, and 
its loafing at 200mm/sec speeds.  What it formerly took 3 days to make 
is now done in 17 hours. That bpi-m5 is talking to the $52 control card 
that runs the printer with a single usb-C cable.


I have not tried linuxcnc on one of them but it runs fine on an rpi4b 
with 2 gigs of ram, running my 11x54 Sheldon lathe. Install the 
build-essential & the latest python 3, hook it to a breakout board fed 
by a usb-3 cable, and build lcnc from master's src. It ought to just 
work. Might have to build a rt kernel, but my 3d printers don't seem to 
mind the current jammy offering.

It ID's itself as:

Linux bpi51e5p 6.6.16-current-meson64 #1 SMP PREEMPT.

Arm64 stuff is encroaching on our territory, its power miserly AND 
stable as the Rock of Gibralter. Uptimes are from power outage to power 
outage.


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
.


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


Re: [Emc-users] Capto

2024-05-01 Thread andy pugh
On Wed, 1 May 2024 at 11:57, Mehdi Dadashzade 
wrote:

> hi andy did you managed to find the ISO 26623 ?


Eventually, yes.

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

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


Re: [Emc-users] Capto

2024-05-01 Thread Mehdi Dadashzade
hi andy did you managed to find the ISO 26623 ?

On Sat, Apr 27, 2024 at 9:32 PM andy pugh  wrote:

> On Sat, 27 Apr 2024 at 18:04, Roland Jollivet 
> wrote:
>
> >
> > I don't know if you adopted Capto from scratch, or had some already, but
> as
> > a new tooling system did you consider the Kennametal KM system?
>
>
> I basically just like Capto (and the fact that it can be connected with a
> simple bolt is nice too, for my applications.)
>
> KM does not get the seal of approval over on Piratical Machinist:
>
> https://www.practicalmachinist.com/forum/threads/tool-holder-types-capto-c6-vs-hsk-vs-new-km-on-a-milling-lathe.392266/post-3776517
>
>
> --
> 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] 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] BeagleY-AI

2024-04-30 Thread John Dammeyer
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


Re: [Emc-users] Two machine configurations -> g-code check

2024-04-28 Thread Stuart Stevenson
Tomaz,
Thanks for the video!

A possible solution:
Use a file naming suffix such as (.nc1), (.nc2).
Create a terminal script to read the file and choose the proper
configuration.

Another possible solution:
A switch on the rotary table to tell the control computer the table is in
place. (or a toggle switch on the control panel)
A terminal script sees the switch and chooses the proper configuration.

Another possible solution:
A rotary table switch. (or a toggle switch on the control panel)
The (.ini) configuration file sees the switch and chooses which
configuration section to read/omit to read.

I am having a hard time seeing a problem to solve.
If the rotary table is always connected then the machine will always run
the program.
I don't see a reason to have separate post processors.

Having a command in the .nc file seems too late.
The set up instructions should prescribe how the machine is set up.
If not, the problem is not solvable at the time of running the .nc file.

Just my two cents
regards
Stuart




I am having a hard time understanding the desire/need.






On Sat, Apr 27, 2024 at 10:39 AM Tomaz T.  wrote:

> That is correct, I don't use "B" axis on head/head in case/config where
> workpiece is rotating so in this config B axis is used for that and
> head/heads "B" axis is in this case/config as A axis and used only for
> homing. In g-code A is not programed in any case.
> If machine is used as classic 5-axis (with kinematics), then head/head is
> B/C and rotary (for workpiece) is removed from machine but not disconnected
> and is configured as A just for homing (I don't like to
> disconnect/connect cables many times)
>
> Here short video in 5-axis "mode":
> https://youtu.be/g2MSzw1MhYU?feature=shared=42
>
> > Tomaz,
> > I watched the video. Even at .25 speed I could not see the axis movement
> of
> > the head/head. I would like to see the head/head moving.
>
> > Do you sometimes run with the A axis rotary table unhooked from the
> control?
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

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


Re: [Emc-users] Capto

2024-04-27 Thread andy pugh
On Sat, 27 Apr 2024 at 18:04, Roland Jollivet 
wrote:

>
> I don't know if you adopted Capto from scratch, or had some already, but as
> a new tooling system did you consider the Kennametal KM system?


I basically just like Capto (and the fact that it can be connected with a
simple bolt is nice too, for my applications.)

KM does not get the seal of approval over on Piratical Machinist:
https://www.practicalmachinist.com/forum/threads/tool-holder-types-capto-c6-vs-hsk-vs-new-km-on-a-milling-lathe.392266/post-3776517


-- 
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] Two machine configurations -> g-code check

2024-04-27 Thread andy pugh
On Sat, 27 Apr 2024 at 16:20, Tomaz T.  wrote:

> I did try your code for M100 (M100 is first line of g-code) but I guess
> something isn't ok, as there is no message to be seen
>

OK, so this time I have tested it, and it did take a bit of work to make it
work.

Here is the actual Python code that is working for me

#! /usr/bin/python3
import linuxcnc
import sys
s = linuxcnc.stat()
c = linuxcnc.command()
s.poll()
inifile = linuxcnc.ini(s.ini_filename)
print(inifile.find("EMC", "MACHINE"))
if inifile.find("EMC", "MACHINE")  != "MyCOnfig":
c.error_msg("This G-code is for a different config")
c.abort()



It might not work if /usr/bin/python3 isn't your Python version. I wanted
to use "#! /usr/bin/env python" but that wasn't working on my particular
machine.

First make sure that just typing ./M100 in the nc files directory works. It
will error-out, but should at least try to execute.

When that is working, then start LinuxCNC from the command line:

linuxcnc &

(The & means that you can carry on typing commands in the command line)

When LinuxCNC is loaded and homed then  you can try to run the M100 from
the command-line again

./M100

And this time it should work, or at least not error.

Then you can try running M100 from the command prompt, and that will work
if LinuxCNC can find the file.

If this all works, then you can finally try running the M100 from G-code.

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

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


[Emc-users] Capto

2024-04-27 Thread Roland Jollivet
Hi Andy

I don't know if you adopted Capto from scratch, or had some already, but as
a new tooling system did you consider the Kennametal KM system?

See on Ebay
<https://www.ebay.com/itm/145739010930?chn=ps=1=1=711-166996-619525-4=2=145739010930=293946777986=c=pla=1028712==20801105710=156754162540=pla-293946777986==114730805_source=1=CjwKCAjwxLKxBhA7EiwAXO0R0M_T2l_quRrstRXKd5Ljub2f7Lscvb_QUnHMa29UTGDhY-cGvUjUABoCuJwQAvD_BwE>
;

Or
https://www.kennametal.com/us/en/products/metalworking-tools/tool-holders-and-adapters/km/km-systems.html

Regards
Roland

On Mon, 8 Jan 2024 at 02:35, andy pugh  wrote:

> On Mon, 8 Jan 2024 at 00:25, Chris Morley 
> wrote:
>
> > I too have catpo 3,4 and 5 tools. I look forward to reading/seeing your
> adventure in this.
> > I also agree it would surely show off some of linuxcncs advantages!
>
> I am becoming really keen on Capto. It's like the best of all worlds.
> And it's super-short too.
>
> I discovered this weekend that the equation in the standards doesn't
> give even spacing around the circle. It's epicycles in Xi, 2Xi and
> 4Xi, so that's no surprise.
>
> Today I have been tabulating lookup tables at evenly spaced centre
> angles (successive approximation in Xi to get a target theta) and I
> have a HAL component ready to run.
>
> --
> 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] Two machine configurations -> g-code check

2024-04-27 Thread Tomaz T .
That is correct, I don't use "B" axis on head/head in case/config where 
workpiece is rotating so in this config B axis is used for that and head/heads 
"B" axis is in this case/config as A axis and used only for homing. In g-code A 
is not programed in any case.
If machine is used as classic 5-axis (with kinematics), then head/head is B/C 
and rotary (for workpiece) is removed from machine but not disconnected and is 
configured as A just for homing (I don't like to disconnect/connect cables 
many times)

Here short video in 5-axis 
"mode":https://youtu.be/g2MSzw1MhYU?feature=shared=42

> Tomaz,
> I watched the video. Even at .25 speed I could not see the axis movement of
> the head/head. I would like to see the head/head moving.

> Do you sometimes run with the A axis rotary table unhooked from the control?


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


Re: [Emc-users] Two machine configurations -> g-code check

2024-04-27 Thread Tomaz T .
I did try your code for M100 (M100 is first line of g-code) but I guess 
something isn't ok, as there is no message to be seen (at wrong config) and 
even at matched config, g-code is not executing forward no matter how many 
times I hit R...

> Did you try my M-code? If one PP inserts M100 and the other M101, then you
> should get what you want.


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


Re: [Emc-users] Two machine configurations -> g-code check

2024-04-27 Thread Stuart Stevenson
Tomaz,
I watched the video. Even at .25 speed I could not see the axis movement of
the head/head. I would like to see the head/head moving.

Do you sometimes run with the A axis rotary table unhooked from the control?


On Fri, Apr 26, 2024 at 3:09 PM Tomaz T.  wrote:

> Machine is 5-axis head-head, but now I have added rotary axis for
> workpiece turn which is also parallel to B axis, so in one configuration I
> use 5-axis knematics, for other I don't need to.
> Now I also have two post processors and I need to be careful to select the
> right one for the current job, and if I'm not, I need to prevent on machine
> that I run it on wrong configuration.
> Here you can see first tryout of added rotary axis, milling long speargun:
> https://youtu.be/Q-HBN2Rs0vE
> Configuration in my case is XYZABC as I need A in one or the other case to
> home "unused" axis.
>
> > How are the two machines configured?
> > Do you have XYZAB and XYZAC?
>
>
>
> _______
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

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


Re: [Emc-users] Two machine configurations -> g-code check

2024-04-26 Thread andy pugh
On Fri, 26 Apr 2024 at 21:09, Tomaz T.  wrote:

>
> Now I also have two post processors and I need to be careful to select the
> right one for the current job, and if I'm not, I need to prevent on machine
> that I run it on wrong configuration.
>

Did you try my M-code? If one PP inserts M100 and the other M101, then you
should get what you want.

-- 
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] Two machine configurations -> g-code check

2024-04-26 Thread Tomaz T .
Machine is 5-axis head-head, but now I have added rotary axis for workpiece 
turn which is also parallel to B axis, so in one configuration I use 5-axis 
knematics, for other I don't need to.
Now I also have two post processors and I need to be careful to select the 
right one for the current job, and if I'm not, I need to prevent on machine 
that I run it on wrong configuration.
Here you can see first tryout of added rotary axis, milling long speargun: 
https://youtu.be/Q-HBN2Rs0vE
Configuration in my case is XYZABC as I need A in one or the other case to home 
"unused" axis.

> How are the two machines configured?
> Do you have XYZAB and XYZAC?



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


  1   2   3   4   5   6   7   8   9   10   >