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

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

> What could be reason that home to index triggers following error


Is your PID also connected to index-enable (so that it can ignore the
step-change in inputs)

-- 
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 setter location and workflow.

2024-04-16 Thread andy pugh
On Sun, 14 Apr 2024 at 22:49, Billy Huddleston via Emc-users <
emc-users@lists.sourceforge.net> wrote:

This is for a 5'x10' Avid CNC router.  ATC with the Tool Rack in the back.
> Operator station front right, and this is for hobby use only (For a Maker
> Space, not production)
>

For a maker space I might be tempted to look into parsing the G-code when
it is loaded and running a routine to measure the lengths of all the
addressed tools.

LinuxCNC has the ability to run loaded files through a filter. This is
generally used to modify the G-code, but there is no reason that it can't
be a generic Python script that walks the user through checking the tools
and measuring their lengths.
If doing that you could have a fixture to hold the toolsetter near the
operator station, and give them the opportunity to inspect the tools at the
same time.
(You could even require the operator to plug the toolsetter into some type
of bracket with an interlock prior to importing the code and running the
routine.)

-- 
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] Carving a spiral

2024-04-11 Thread andy pugh
On Thu, 11 Apr 2024 at 21:32, John Dammeyer  wrote:

>
> My Harmonic drive is set up as an  'A' axis so the graphic on the screen
> shows the spiral being cut along the X as the work in line with X turns.
>
> I'd have to change my INI or HAL file to make the axis of rotation of the
> harmonic drive to be in line with the Z axis.  Don't know how to do that.


If you can re-orient it physically, then there is no need to change the
axis name in HAL. just carry on calling it "A".

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

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


Re: [Emc-users] carousel component question for andy

2024-04-11 Thread andy pugh
On Thu, 11 Apr 2024 at 10:00, andrew beck  wrote:

>
> Can I get the updated carousel component without updating.


Yes, just grab the carousel.comp file from the Github and compile/install
with "sudo halcompile --install carousel.comp"

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

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


Re: [Emc-users] carousel component question for andy

2024-04-11 Thread andy pugh
On Thu, 11 Apr 2024 at 04:57, andrew beck  wrote:

>
> Does it still do shortest path calculations to speed up tool changes?
>

If it is configured for that, yes.

And 2nd question does it happen to support analog servo drives with a built
> in pid in linuxcnc?


It should be possible, depending on what control data the servos expect.

-- 
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] Carving a spiral

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 19:11, Sam Sokolik  wrote:

G33 for the win!


Not a silly idea. You could arrange for an encoder to be rotated by the
rotary table any way that was convenient, then set that up as as the
"spindle" input into LinuxCNC.
Then you could simply wind the rotary table by hand.

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

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


Re: [Emc-users] Carving a spiral

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 17:30, Alan Condit via Emc-users <
emc-users@lists.sourceforge.net> wrote:

>
> Here us a subroutine I wrote to cut a scroll.
> #<_xorigin>, and #<_yorigin> are the center of the scroll. Basically it
> changes the radius of the circle every ¼ turn.


This is what I was suggesting (but didn't have the time to hack out the
code, so thanks)

It rather depends how perfect the spiral needs to be.

The condition for tangency of two arcs is that their centre points are on a
line perpendicular to the arc. If you play about in CAD you can get a feel
for what this means for drawing a spiral out of 90 degree arcs.

With LinuxCNC you could also try generating a bunch of X,Y points (in Excel
for example) and using those to generate a spline. (note, I don't know how
well that would work)

https://linuxcnc.org/docs/stable/html/gcode/g-code.html#gcode:g5

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

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


Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 15:05, Leonardo Marsaglia 
wrote:

>
> It seems there is a pattern, but it's a pretty weird one.


Do you know if the output is binary or gray code?  Gray code is more
likely.

encoder value

00 =  = not used?
01 = 0001 = good
02 = 0011 = good
03 = 0010 = good
04 = 0110 = bad
05 = 0111 = bad
06 = 0101 = bad
07 = 0100 = good
08 = 1100 = wierd
09 = 1101 = bad
10 =  = bad

I am not seeing an obvious pattern, but it is likely that tool 1 = encoder
0, so.

Pocket number

01 =  = good
02 = 0001 = good
03 = 0011 = good
04 = 0010 = bad
05 = 0110 = bad
06 = 0111 = bad
07 = 0101 = good
08 = 0100 = wierd
09 = 1100 = bad
10 = 1101 = bad

OK, still not seeing it...

Straight binary?

pocket

01 =  = good
02 = 0001 = good
03 = 0010 = good
04 = 0011 = bad
05 = 0100 = bad
06 = 0110 = bad
07 = 0111 = good
08 = 1000 = wierd
09 = 1001 = bad
10 = 1011 = bad

Hmmm We really need the encoder output scheme, rather than guessing.

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

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


Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 13:03, Leonardo Marsaglia 
wrote:

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


Is there a pattern to which tools work and which don't?  It looks like an
absolute encoder, so maybe one of the output wires is disconnected or
broken. Or possibly one of the LEDs (or maybe even bulbs?) is broken.

Can you log the individual output lines and see if one is stuck?

-- 
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] Carving a spiral

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 06:59, John Dammeyer  wrote:

>
> Without using G2 or G3 it's really just a triangle isn't it?  Move rotary
> table distance A and move X axis distance A'.  Do it in small enough
> increments and you get a spiral.  But I feel like I'm missing something
> really simple.


If there is a rotary table, then if he wanted a 10 turn spiral at 6mm pitch:

G1 F100 A3600 Z60

Should be all that is needed.

Without a rotary table getting a true spiral is a bit more difficult as the
radius of curvature continually changes, not something that G2 and G3
support.
I just experimented with polar coordinates, but those only make
straight-line moves between endpoints.
You can get close with arcs that are set up to be tangent to each other.

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

2024-03-18 Thread andy pugh
On Mon, 18 Mar 2024 at 21:13, Dave Engvall  wrote:

>  So I’ve built Tee-nuts that will retain the cat40 assuming the
> M6 shcs hold. Planned use is to use small tools at max spindle speed.
> (4K). I need ideas to clamp the cat40 so I can torque down tool while in
> the spindle.
>

I am not 100% sure what you are describing.

Are you saying that you are using some tapped holes in the spindle face to
hold Tee nuts to retain the tooling? Or are you maybe using the drive dog
threaded holes?

Whilst a proper repair to the drawbar seems like the correct fix, I think
that a machined ring to retain an ER collet holder might be better than
what I think you are describing.

(Then you can just swap tools and collets)

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

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


Re: [Emc-users] looking for advice --> trick to sell an extra toolsetter

2024-03-16 Thread andy pugh
On Sat, 16 Mar 2024 at 09:30, gene heskett  wrote:

Interesting that no one has named a non-conducting tool. That is
> something I've not yet seen.
>
> There are ceramic inserts:
https://tungaloy.com/uk/product/milling/ceramicspeed-mill/

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

2024-03-13 Thread andy pugh
On Wed, 13 Mar 2024 at 09:38, Viesturs Lācis 
wrote:

>
> From all the responses I am not sure I understand completely, what is
> 'elbow grease'?
>

:-)

It's a phrase used to mean "physical effort" rather than an actual type of
grease.
Presumably suggesting that you put in so much effort that you need to
re-lubricate your arm joints.

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

2024-03-11 Thread andy pugh
On Mon, 11 Mar 2024 at 07:48, Viesturs Lācis  wrote:

> 2) my main problem is the rust on linear rails. what is recommended
> procedure to treat this?

If you can remove them from the machine (a big "if") then soaking for
a few weeks in a 10:1 solution of molasses and water could be tried.

This is a very gentle technique, and will not remove any metal.
Somewhere around picture 15 here:
https://bodgesoc.blogspot.com/2014/04/1921-ner-car.html

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


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


Re: [Emc-users] Mesa 7i84 Field IO?

2024-03-09 Thread andy pugh
On Sat, 9 Mar 2024 at 08:43, Todd Zuercher  wrote:

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

If you turn off one of the stepgens then those outputs will become
available as a pair of 5V GPIO pins.

-- 
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] external offsets following error

2024-03-07 Thread andy pugh
On Thu, 7 Mar 2024 at 12:33, Leonardo Marsaglia  wrote:

> One problem I notice is that whenever this following error occurs, my tool
> diameter gets corrupted. No matter if I turn eoffset to 0 and clear it. The
> only way to get the tool diameter ok is to home the axis again. Is this
> normal?

I think that I saw some signs of this when I was boring Capto sockets
a few weeks ago.

I didn't fully get to the bottom of it, but I think that you need to
reset the eoffset before you disable the eoffset, or the offset is
stored, and then further offset counts are (might be) additive.

-- 
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] external offsets following error

2024-03-06 Thread andy pugh
On Tue, 5 Mar 2024 at 16:30, Leonardo Marsaglia  wrote:

> This hasn't happened a few days before so I don't know what has changed.

Has a physical axis become sticky / stiff? It sounds like you may be
hitting the accel / speed limit in the case when there is a step
change in the external offset.

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


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


Re: [Emc-users] where to nuy gears

2024-03-04 Thread andy pugh
On Mon, 4 Mar 2024 at 17:02, fxkl47BF--- via Emc-users
 wrote:
>
> i'm looking for retail suppliers of straight internal spur gears
> imperial and/or metric
> other than sdp-si.com

https://www.hpcgears.com/n/products/6.internal_gears/internal_gears.php


-- 
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] Mitsubishi VFD control

2024-03-02 Thread andy pugh
On Sat, 2 Mar 2024 at 02:37, lloyd wilson  wrote:

> - operation mode (param. 79) set to 1 (to quote the manual: 'digital
> setting by key operation of the control panel or parameter unit').

What are the other options? That might be the best fit, but doesn't
sound _exactly_ right.

-- 
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] Mitsubishi VFD control

2024-03-01 Thread andy pugh
On Fri, 1 Mar 2024 at 13:53, lloyd wilson  wrote:

> program operates properly (I think)- run/stop behaves as expected, speed
> commands are generated and accepted by the VFD, but the  motor speed
> stays the same.

What is that speed?

It could be a scaling issue (rpm being interpreted as Hz, such that
everything looks like max speed), or the reverse, so that the VFD is
constantly running at minimum programmed speed.

It might be necessary to set up the VFD to accept speed commands from
the com port rather than the front panel / potentiometer.
(Although looking at what might be the relevant manual (or might not)
I see "3. When the parameter unit (FR-PU04) is used, the external
terminals are used for control of the inverter. The inverter does not
have terminals for direct control of operation commands or frequency
setting." )

-- 
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] WiFi & MESA

2024-02-23 Thread andy pugh
On Fri, 23 Feb 2024 at 20:44, John Dammeyer  wrote:
> john@LinuxCNC-G3616:~$ uname -a
> Linux LinuxCNC-G3616 4.9.0-16-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.272-2
> (2021-07-19) x86_64 GNU/Linux

Which OS are you using? (lsb_release -a will tell you) I am guessing
Stretch?  (Which is pretty ancient)

You might need to update your repositories in synaptic by switching to
archive.debian.org (or by editing etc/apt/sources.list

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


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


Re: [Emc-users] WiFi & MESA

2024-02-23 Thread Andy Pugh


> On 23 Feb 2024, at 07:50, John Dammeyer  wrote:
> 
> So the question is:  How do I tell Linux to cooperate with both the MESA and
> the WiFi Dongle?

I am afraid that I can’t help with the actual question, other than to say that 
it can be made to work, but in my case I have never had to do anything special 
to make it work. 

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


Re: [Emc-users] Test

2024-02-03 Thread andy pugh
On Sat, 3 Feb 2024 at 16:47, gene heskett  wrote:
>
> last incoming msg is dated 1/17/24 so we've essentially the same quiet gap.

I guess the next question is whether anyone posted to the list in that period?

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

2024-02-03 Thread andy pugh
Is this thing on? I have nothing since the 18th of January, and
neither does the archive at Sourceforge.

-- 
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-01-17 Thread andy pugh
On Wed, 3 Jan 2024 at 23:52, andy pugh  wrote:

> x'= Dm/2×cosØ −2×e×cos(2Ø)+e×cos(4Ø)
> y'= Dm/2×sinØ +2×e×sin(2Ø)+e×sin(4Ø)
>
> Plotted out this is very close to the shape that I had but differs by
> about 30 microns at the worst spots.
>
> The good news is that this is very easy to convert to either XY
> offsets for boring, or a radius for computed offset on a lathe as it
> is already in terms of spindle angle Ø.

I was wrong here. The Xi angle is a generator only, it gives you x,y
points but the angle is _not_ the centre angle, so it can't be used
directly as the spindle angle.

I explain this all in my recent YouTube video,  with an animation of
how the generator works.
https://youtu.be/YDxyNChCILU?si=1kMJ5d7FZ9qKFlAl

-- 
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-01-17 Thread andy pugh
On Wed, 17 Jan 2024 at 21:26, Przemek Klosowski
 wrote:
>
> I see what looks like the correct formulas on p. 18 of this document ;
> where are the incorrect ones?

Page 26.

But I had a different document, rendered on my PC as ZaÅ‚Ä?cznik nr
5.2 szlifierka do otworów rysunki.pdf
(Looks like v5.2 of the same doc)

-- 
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] 5axiskins rotation

2024-01-16 Thread andy pugh
On Fri, 12 Jan 2024 at 21:36, Tomaz T.  wrote:

> fresh install was done from linuxcnc_2.9.1-amd64.hybrid.iso that means it is 
> preempt-rt?

Yes, that will be preempt-rt.

Which is disappointing as I was hoping that the "VERSION" problem was RTAI-only.

Googling suggests that this _might_ be something that we only see with
Switchkins, so if you don't need that, you could experiment with the
previous version of 5axiskins.
https://github.com/LinuxCNC/linuxcnc/blob/2.8/src/emc/kinematics/5axiskins.c

Casting the net wider:

There is a suggestion here which seems plausible:
https://stackoverflow.com/questions/35530964/compiling-error-syntax-error-in-version-script
But GREP_OPTIONS probably no longer works:
https://www.gnu.org/software/grep/manual/grep.html#Environment-Variables



-- 
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] 5axiskins rotation

2024-01-12 Thread andy pugh
On Fri, 12 Jan 2024 at 19:55, Tomaz T.  wrote:
>
> > If it says "syntax error in VERSION script" then sorry, I have not
> > worked out how to fix that.
>
> this is what I see in my case

Are you running RTAI or preempt-rt?

-- 
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] 5axiskins rotation

2024-01-11 Thread andy pugh
On Thu, 11 Jan 2024 at 20:39, Tomaz T.  wrote:

> Thinking that maybe easiest solution would be modifying postprocessor, as the 
> rest of kinematics is OK?

5axiskins is simple enough to compile with halcompile. (I just tested
it, and it nearly worked)

Download the 5axiskins.c file (don't make any changes yet)

then "sudo halcompile --install 5axiskins.c"

If that works, then you can try swapping the signs in the kinematics
forwards and kinematics reverse functions for the affected axes.

If it gives "command not found" then "sudo apt-get install
linuxcnc-uspace-dev" and try again.

If it says "syntax error in VERSION script" then sorry, I have not
worked out how to fix that.

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


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


Re: [Emc-users] 5axiskins rotation

2024-01-11 Thread andy pugh
On Thu, 11 Jan 2024 at 09:45, Tomaz T.  wrote:

> What I noticed inside 2.9 (5axiskins.c) is this comment:
>
> * 10) The direction of the tilt axis is the opposite of the
> * conventional axis direction.

Are any of the other 5-axis kinematics a good match for your machine?
http://linuxcnc.org/docs/stable/html/man/man9/kins.9.html
http://linuxcnc.org/docs/stable/html/motion/5-axis-kinematics.html

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


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


Re: [Emc-users] 5axiskins rotation

2024-01-10 Thread andy pugh
On Wed, 10 Jan 2024 at 17:43, Tomaz T.  wrote:
>
> I'm working on migration from 2.7 to 2.9.2, machine

How did you migrate? By just loading the 2.7 config into 2.9? (That
ought to work)

> I know I had same problem years ago on 2.7 or earlier, but I can't remember 
> what was solution (some modification in kinematics module or assigning 
> direction somewhere in INI).
> For now I'm using "fresh" 5axiskins.c

It does sound like you modified the kinematics file, and you are now
using the  unmodified version after the update.


-- 
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-01-07 Thread andy pugh
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


Re: [Emc-users] HAL_TYPE_UNINITIALIZED

2024-01-07 Thread andy pugh
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


Re: [Emc-users] Capto

2024-01-04 Thread andy pugh
On Thu, 4 Jan 2024 at 13:39, gene heskett  wrote:

> Humm, that may call for a higher resolution spindle encoder than I have
> on my Sheldon,

I have a resolver on the spindle of my lathe, which the Mesa 7i49
converts into a 14-bit number, so should have enough resolution.
(linearity of the resolver is not something that I have ever tested)

But I don't quite understand why you are worrying about whether you
can make Capto shanks on your Sheldon?

-- 
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-01-03 Thread andy pugh
On Wed, 3 Jan 2024 at 23:21, gene heskett  wrote:

> mailing list did fine, Andy. Is there also a z taper?

Yes. 1º26'21"  +/- 25" or 1.43916 +/- 0.007 degrees. Approximately
1:40. (1:40 is one edge of the tolerance)

-- 
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-01-03 Thread andy pugh
On Wed, 3 Jan 2024 at 22:01, andy pugh  wrote:

> This means that the large and small arcs are tangent to each other,
> which requires that their centres lie on a perpendicular line, and
> that in turn means that the arc centres of small and large arcs must
> be coincident.

Close, but no cigar, it seems.

There is an equation in an online document
(https://archiwum-bazakonkurencyjnosci.funduszeeuropejskie.gov.pl/file/download/587886)
that isn't actually correct:

x'= Dm/2×cosØ −2×e×cos(2Ø)+e×cos(4Ø)
y'= Dm/2×sinØ -2×e×sin(2Ø)+e×sin(4Ø)

However, after getting hold of a pirate copy of the standard, it turns
out that it was only slightly wrong. This is what it should be. ( -+++
not -+-+)

x'= Dm/2×cosØ −2×e×cos(2Ø)+e×cos(4Ø)
y'= Dm/2×sinØ +2×e×sin(2Ø)+e×sin(4Ø)

Plotted out this is very close to the shape that I had but differs by
about 30 microns at the worst spots.

The good news is that this is very easy to convert to either XY
offsets for boring, or a radius for computed offset on a lathe as it
is already in terms of spindle angle Ø.


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

2024-01-03 Thread andy pugh
On Wed, 3 Jan 2024 at 10:37, Gregg Eshelman via Emc-users
 wrote:
>
> Depends on if the board is of an age where it's still using the old ISA bus 
> interface for onboard serial, parallel and some other low bandwidth I/O.

Not necessarily using ISA, but typically connected to the southbridge.

In any case, won't show up on lspci, but should show up in /proc/ioports

-- 
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-01-02 Thread andy pugh
On Wed, 3 Jan 2024 at 00:36, Sam Sokolik  wrote:

> https://www.youtube.com/shorts/23bEsKMNJH0

Indeed. Making Capto receivers would be an ideal way to show off with
LinuxCNC. We just need that pesky equation.

-- 
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-01-02 Thread andy pugh
On Tue, 2 Jan 2024 at 13:19, Adam McLeod  wrote:
>
>  If
> you search "capto iso polygon shank" in duckduckgo search engine right
> now, you may find that there is a "preview" of that standard in a pdf
> that probably has the details you're looking for near the top of the
> search results.

I have found all of part 2, and the first 5 pages of part 1. I think
that the actual shape definition is in the second half of part 1.

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


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


Re: [Emc-users] Outside of machine limit bug?

2024-01-02 Thread Andy Pugh


> On 2 Jan 2024, at 20:10, Nicklas SB Karlsson  wrote:
> 
> ?

There should be a re-check box. 
I don’t understand why nobody else can see it. 

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


Re: [Emc-users] Outside of machine limit bug?

2024-01-02 Thread Andy Pugh
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCIe parallel port card suggestion

2024-01-02 Thread Andy Pugh


> On 1 Jan 2024, at 19:50, Tomaz T.  wrote:
> 
> I'm using Universal PWM Controller from Pico, this should work OK together?


No, that requires an actual EPP parallel port. 
The Mesa card would replace the PPMC board. 

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

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


[Emc-users] Capto

2024-01-01 Thread andy pugh
Does anyone have the dimensions and profile specification for the capto system?
I think that it has a 1.4 degree taper (though I don't know if that is
included angle or half-angle) but the triangle shape is harder to
find.

I am curious whether it can be machined with spindle synched offsets
using LinuxCNC.

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


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


Re: [Emc-users] Ball Screw Driving Questions

2023-12-26 Thread andy pugh
On Tue, 26 Dec 2023 at 00:08, Linden via Emc-users
 wrote:

> The second question I have is what would be a realistic cutting speed
> range for the ball screw in RPM?

Ball screws have a maximum rpm rating, though I suspect you won't be
getting near to that:
https://www.steinmeyer.com/en/technology/speed-limits/maximum-speed/

I have seen both ends used to drive the Z screw. Rotary SMP's
Schaublin (on Youtube) drives from the tailstock end.

I think that the fixed end should be the headstock end, regardless of
the drive end, so that the screw is in tension during conventional
cuts.

The wires are easier to route and protect if the motor is at the
headstock end. But the drive sprocket might make it hard to get the
screw as close to the bed as you would like. (much less of a problem
with tailstock-end drive)

Whatever you decide, plan on having extra unused screw length for some
spiral spring screw covers. These were fairly expensive (and difficult
for non-corporate entities to buy) when I converted my lathe, but have
since become fairly easy to get hold of.
(I think that I have even seen them on Amazon).
There are design considerations with them, but guides exist online.

-- 
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] LinuxCNC 2.9.2 is released

2023-12-26 Thread andy pugh
On Tue, 26 Dec 2023 at 03:36, John Dammeyer  wrote:
>
> Is there going to be a MicroSD image for The Pi4?

The existing one should automatically update.

-- 
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] LinuxCNC 2.9.2 is released

2023-12-25 Thread andy pugh
LinuxCNC 2.9.2 has been released. This is a bugfix release, with the
most obvious change being that run-from-line in the Axis interface
should now be working again.

Packages have been prepared for:
Buster - uspace - amd64 (PC) armhf (Pi) arm64 (Pi with 64-bit kernels)
Buster - RTAI - amd64
Bullseye - uspace - ams64 (only)
Bookworm - uspace - amd64, arm64
Bookworm - RTAI - amd64

For existing users of 2.9.1 on the above platforms this should be
offered as an automatic update.

If anyone badly needs Bullseye debs for RTAI or arm64 / armhf then let
me know. (all but the amd64 uspace builds have to be manually created)

Contributors to this release are:
 Alec Ari
andypugh
c-morley
dps.lwk
Greg Carl
Hans Unzner
Håvard F. Aasen
Moses McKnight
Norbert Schechner
Peter Wallace
Petter Reinholdtsen
Phillip Carter
Rene Hopf
Sebastian Kuzminsky
Sigma1912
Steffen Moeller

Full changelog:

  * Add dither option to PWMGen for improved analog resolution
  * axis: Fix run-from-line - bug #2771
  * debian/changelog: fix epoch & white space
  * deleted craftsman gui, as it is not python 2 nor gtk3 based and
not mantained for a long period
  * deleted gmoccapy plasma, as glade panels are still in gtk2
  * Docs: Many updates
  * fix hardcoded description in Spanish language Closes: #1057312
  * Fixes warnings for possible string truncation with strncpy()
  * Gladevcp: fix error on missing filter program
  * gmoccapy: Fixed Inappropriate Logical Expression (#2769)
  * gmoccapy: fixes error when trying to hide the turtle-jog button in gmoccapy
  * hal_glib -add get_linuxcnc_version function
  * Increase size of STACK_ENTRY_LEN
  * Merge pull request #2567 from petterreinholdtsen/2.9-gcode-g38.2
  * Merge pull request #2757 from dpslwk/patch-1
  * Merge pull request #2761 from LinuxCNC/s_code_fix
  * Merge pull request #2765 from LinuxCNC/pncconf_fix_missing_ssport
  * Merge pull request #2772 from hansu/fix-debian-1057312
  * Merge pull request #2775 from smoe/translation_breaking_po4a
  * Merge pull request #2782 from Sigma1912/patch-2
  * Merge pull request #2783 from Sigma1912/patch-3
  * Merge pull request #2790 from havardAasen/fix-string-truncation
  * Merge pull request #2791 from havardAasen/havardAasen-patch-1
  * Merge pull request #2795 from havardAasen/build-dependency
  * motion control: allow the spindle to be on with speed of 0
  * motion: fix brake/direction setting when S command is sent.
  * motion.c: Improve handling of misc_error pin names See #2780 #2773
  * pmx483-test: change package message to python3-serial
  * pncconf - change spindle stepgen enable from spindle-enable to machine-is-on
  * pncconf -fix HAL load command for 2 serialports
  * qtaxis -add version string to log
  * qtdragon -add a default 'factor' to avoid error message
  * qtdragon_hd -fix stylesheets for 5 axis, adjust qtdragon.ui
  * qtdragon/hd -add version messages to about and log
  * qtdragon/hd -fix spindle override quick setting buttons
  * qtdragon/hd -update version after fixing probing bug
  * qtplasmac docs: update python serial version
  * qtplasmac: fix 5th axis buttons
  * qtplasmac: fix case switching in run from line
  * qtplasmac: fix gcode filter comments error
  * qtplasmac: fix imperial cut parameter ranges
  * qtplasmac: fix power button styling
  * qtplasmac: fix removal of temporary materials in run from line
  * qtplasmac: fix run from line code restoration
  * qtplasmac: fix string formatting and version check
  * qtplasmac: fix translation error in pmx485_check
  * qtplasmac: fix updater typo, document update_log.txt
  * qtplasmac: prevent extra temporary material addition from conversational
  * qtplasmac: rework versioning due to master branch diverging
  * qtvcp -add vismach obj files to search, change path from debug to info
  * qtvcp -auto_height: improve logging/status output
  * qtvcp -copy panel: update to check for the qtvcp/screens or panels path
  * qtvcp -docs: the 'copy_dialog' panel changed to just 'copy'
  * qtvcp -notify: silence annoying error message
  * qtvcp -probe routines:fix spindle start on error or abort
  * qtvcp -touchoff_subprogram: fix typos so it works properly.
  * Restore functionality of NO_PROBE ini settings
  * revert changes for strncat()
  * RTAI: Fix build against RTAI+GNU11
  * snprintf uses %d on a double (issue 2784)
  * stdglue.py: Fix error on loading stdglue remaps using an R word.
(The previous code errored on attempted comparison between dict and
float)
  * tests: status.state should be checked against command execution status
  * Update build-dependency for OpenGL
  * Update combi_dro.py

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

2023-12-19 Thread andy pugh
On Mon, 18 Dec 2023 at 17:05, Alan Thomason via Emc-users
 wrote:

>  Is it possible to script in the initial file for the system to switch to 
> Machine ON (as long as there are no active limit switches).

Halui is a program that replicates many of the actions that are
otherwise handled in the GUI.
http://linuxcnc.org/docs/stable/html/man/man1/halui.1.html

In this case you would need to connect up the HAL pin halui.machine.on

Does your machine start up in the e-stop active or e-stop inactive
state? (This will depend on the wiring of the HAL e-stop loop) If it
does then you will also have to toggle the halui.estop.reset pin.
(And, having just checked, you can set them both at the same time, it
needs to be estop.reset then machine.on)

If the machine starts up in e-stop OFF then you probably just need a
single line in a postgui halfile
setp halui.machine.on 1

If you also need to reset the e-stop then it's a little more involved.
So, one way would be to set up a couple of cascaded one-shots in HAL,
then trigger them on the postgui halfile.

In the main (or custom) HAL:

loadrt oneshot names=estop-pulse,machine-on-pulse
addf estop-pulse servo-thread
addf machine-on-pulse
setp estop-pulse.rising 1
setp estop-pulse.falling 0
setp estop-pulse.width 1
setp machine-on-pulse.rising 0
setp machine-on-pulse.falling 1
setp machine-on-pulse.width 1
net e-reset estop-pulse.out  => halui.estop.reset  => machine-on-pulse.trigger
net on-signal machine-on-pulse.out => halui.machine.on

Then in the postgui HAL:

setp estop-pulse.trigger 1

The idea is that the postgui HAL first triggers a 1-second pulse to
estop-reset, then the falling edge of that pulse triggers the
machine-on.

It would also be possible to trigger machine-on directly from the
falling-edge of halui.estop.is-activated, but that would override the
normal ui functions (the machine would _always_ turn on when the
e-stop was released)  and you might not want that.

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


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


Re: [Emc-users] MESA card suggestions

2023-12-15 Thread andy pugh
On Fri, 15 Dec 2023 at 23:16, Peter Wallace  wrote:

> With maximum sharing you could get away with only 5 inputs
> (4 home switches and a combined limit input)

Well, with maximum maximum sharing you can get away with a single
input for all limits and homes. But it's asking for trouble if you get
stuck on one.
Separate positive and negative limits is nice to have, as it allows
you to jog off the limits. That said, if you have good homing you
should never end up on the limits unless something goes wrong.

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

2023-12-15 Thread andy pugh
On Fri, 15 Dec 2023 at 22:19, alanmthomason--- via Emc-users
 wrote:

> I am looking for a suggestion for the best MESA card to be used with
>
> an ethernet connection
>
> 4axes
>
> Teknic servo / stepper taking a step/direction input of 5 to 24V
>
> Ideally this would be in a format that I could mount in a simple enclosure.
>
> 3digital inputs per axis, so 12inputs
>
> 1 additional digital output.

The 7i96S is available (unlike the 7i76E, which would be another good
choice) but it is a little short of IO, having one input fewer than
you require. (And maybe you want a probe too? and some external
alarms, coolant level sensing...(
You can easily add extra IO with a smart-serial card such as the 7i84.
(Though there are 17 unprotected GPIO pins on the expansion connector
too, but using those as bare pins is something I would only suggest to
the electronically confident)

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

2023-12-14 Thread andy pugh
On Thu, 14 Dec 2023 at 12:23, gene heskett  wrote:

> > Why do you think you need keys if the packages you want don't exist?
> I can see the pkgs there with apt,

Which packages?


-- 
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] Outside of machine limit bug?

2023-12-14 Thread andy pugh
On Wed, 13 Dec 2023 at 23:35, Nicklas SB Karlsson  wrote:
>
> Also noted reload button or Ctr-R only seems to work once after loading
> a file. While files under menu item Recent Files always reload file.

Does the dialog box that says that you are outside the limits include
a "re-check" button? Press that.

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


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


Re: [Emc-users] my rpi4

2023-12-14 Thread andy pugh
On Wed, 13 Dec 2023 at 03:39, gene heskett  wrote:

> That seems to get the key, but possibly errs in where it is put?

> gpg: key 3CB9FD148F374FEF: public key "EMC Archive Signing Key
> " imported
> gpg: Total number processed: 1
> gpg:   imported: 1
> deleting temp files

This is _a_ key successfully imported.

But it might not be the one you want. Depending on what you want.

This is the archive signing key (www.linuxcnc.org/dists) and it is
possible that you want the buildbot key. Or the other buildbot key.

> the /etc/apt/keyrings subdir is empty, and the

They now go in /etc/apt/trusted.gpg.d (probably. I am not sure which
OS you are using)

Why do you think you need keys if the packages you want don't exist?

-- 
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, 191the
/etc/apt/keyrings subdir is empty, and the


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


Re: [Emc-users] my rpi4

2023-12-12 Thread andy pugh
On Tue, 12 Dec 2023 at 14:50, gene heskett  wrote:

> I also did not want 2.9-rt, I wanted master.

Actually, in that case, I think I have sent you in entirely the wrong
direction.

I don't think that we actually have a buildbot making arm64 debs.

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

2023-12-12 Thread andy pugh
On Tue, 12 Dec 2023 at 17:58, John Dammeyer  wrote:
>

> If machine control is desired for the AMD64 series processor  it looks like 
> either will work.  Why one and not the other?  What's the difference from a 
> user perspective?

RTAI sometimes gives better latency. But this generally only really
matters if using software stepping or encoder counting.

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

2023-12-12 Thread andy pugh
On Tue, 12 Dec 2023 at 14:50, gene heskett  wrote:
>
> I also did not want 2.9-rt, I wanted master.

Try just running the first 7 lines of the script.
(I had forgotten that it also tries to install linuxcnc too)

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


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


Re: [Emc-users] my rpi4

2023-12-12 Thread andy pugh
On Tue, 12 Dec 2023 at 14:01, gene heskett  wrote:

> Got it Andy, Thanks, but now I need to get the key 3CB9FD148F374FEF, but
> man apt-key says its deprecated, last used in bullseye, what now?

See the script linked in 7.1.4
http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_installing_on_debian_bookworm_with_preempt_rt_kernel


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

2023-12-12 Thread andy pugh
On Tue, 12 Dec 2023 at 09:35, gene heskett  wrote:

> link to how to add that to sources.list please?

http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_updates_to_linuxcnc

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


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


Re: [Emc-users] Stepping through linuxcnc

2023-12-11 Thread andy pugh
On Sun, 10 Dec 2023 at 23:14, alanmthomason--- via Emc-users
 wrote:
>
>  I was hoping to use a debugger to step through it.

Rather than stepping through the code, you could try following the
flow id information in the code  from the G-code interpreter into the
motion module with the help of an IDE.

A good starting point is src/emc/rs274ngc/interp_convert.cc

And the information here is only partly wrong:
https://linuxcnc.org/docs/stable/html/code/code-notes.html

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


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


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

2023-12-09 Thread andy pugh
On Wed, 6 Dec 2023 at 16:08, Leonardo Marsaglia  wrote:
>
> Just a little update. We're going to try and feed all the voltages on the
> main board of the control (+5V, +15V, -15V, and 24V) with normal switching
> PSUs

Depending on the current requirements on each channel you might want
to look at using a single PSU and a bunch of buck or boost converter
modules.

My mill has a 2kw 24V supply and then 4x buck converters (with LED
voltage displays) to feed the PC motherboard, 5V and 12V logic.

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


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


Re: [Emc-users] ot: slicing blade for table saw

2023-12-08 Thread andy pugh
On Fri, 8 Dec 2023 at 16:31, fxkl47BF--- via Emc-users
 wrote:
>
> i'm trying to find a slicing blade for a 10 inch table saw
> a blade that is smooth and sharp, no teeth

I have seen "band blades" for cutting foam on bandsaws.

A meat slicer blade might work, but I would be concerned that they are
not rated for the speed.

There are blades for rigid foam:
https://www.amazon.co.uk/Bullet-Tools-Centerfire-Poly-ISO-Insulation/dp/B00KM0RLUU

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


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


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

2023-12-05 Thread andy pugh
On Tue, 5 Dec 2023 at 16:19, Leonardo Marsaglia  wrote:
>
> Sorry I forgot to attach the picture.

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

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


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


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

2023-12-05 Thread andy pugh
On Tue, 5 Dec 2023 at 13:22, Leonardo Marsaglia  wrote:

> I'm attaching a picture of the X axis motor so you can see. I guess it
> should be possible to control it, but I don't really know how the encoder
> works. I know there's a Hostmot encoder module for Fanuc but I don't know
> anything about them

Can you identify the encoder? If it is Aa64 then the Fanuc hostmot2
component ought to work.
https://linuxcnc.org/docs/stable/html/man/man9/hostmot2.9.html#Fanuc%20encoder
(Others might too)

The voltage and current are inside the range of the 8i20.

The 8i20 needs to be externally commutated (In HAL) using the "bldc"
hal component using the encoder feedback.

I have been using 8i20s in my mill and lathe for several years with
few problems.

The STMBL drive has a Fanuc encoder component:
https://github.com/rene-dev/stmbl/blob/master/src/comps/encf.c
and would probably be a very good choice, if you can find any. They
aren't really available at the moment without making them yourself and
sourcing discontinued parts.

-- 
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] Run Fusion 360 on LInux

2023-12-01 Thread andy pugh
On Fri, 1 Dec 2023 at 18:53, Chris Albertson  wrote:
>
> I ran Fusion360 for a long time on Linux.   It’s easy, just install a virtual 
> machine and run Windows on the VM and Fusion on Windows.

I wonder if this would work, to run the Mac version?
https://www.darlinghq.org/

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


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


Re: [Emc-users] OT: novel 3+ n axes

2023-11-23 Thread andy pugh
On Thu, 23 Nov 2023 at 20:42, Ryan McIntosh  wrote:
>
> If you are going to clamp a metal disc with anything, use an
> electromagnet.

Maybe re-purpose parts of a car air-conditioning clutch.

(I am sure that these have loads of applications, as they can clamp
and release while rotating, though that would not be needed here.)

They look to be about $50 new on ebay or $25 + $25 shipping on
Aliexpress: https://www.aliexpress.com/item/1005006195792276.html

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


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


Re: [Emc-users] OT: novel 3+ n axes

2023-11-22 Thread andy pugh
On Wed, 22 Nov 2023 at 19:15, Roland Jollivet  wrote:
>
> Interesting, and it looks rigid enough for real work..
>
> https://www.youtube.com/watch?v=4r4_uo6ZrAE
> https://www.youtube.com/watch?v=ztW4JIbLSMs

Quite a clever idea for machines with closed controllers and no easy
way to provide motor power into the workspace.

With LinuxCNC it's probably always going to be better to be fully motorised.

-- 
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] Pi5 + PCIe Mesa card?

2023-11-09 Thread andy pugh
It looks like it might be possible (but external power supplies need
to be added)
https://www.youtube.com/watch?v=G5VOzO_ERTM

-- 
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] fast wedm spool reversal

2023-11-08 Thread andy pugh
On Wed, 8 Nov 2023 at 07:52, Thomas J Powderly  wrote:

> In this method the wire is reused,
> it is wound onto a drum , which has to reverse.

A long time ago I had the use of an abrasive wire saw that worked on a
similar principle.
One of these, in fact, or the 1980s predecessor.
https://www.agarscientific.com/well-6500-vertical-diamond-wire-saw

> How does Linuxcnc handle the reversing of a lathe head and chuck?

It is baked into the threading cycle code.

I think that the way to do this is probably to put the drum in charge.
When it is up to speed it enables motion and spark power, when it hits
the end stop it cuts power and motion, reverses, then enables things
again when back up to speed the other way.
I would build-in provision to keep motion and spark active to separate
drum speed limits. I can see you might want to stop the spark after
the motion, or vice-versa.

DOL reversing is probably the fastest, you have the whole power grid
to absorb the power, but I think I would use a (probably oversized)
VFD with a braking resistor programmed for active braking.

-- 
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] LinuxCNC 2.9 is Released

2023-11-07 Thread andy pugh
On Tue, 7 Nov 2023 at 16:08, fxkl47BF--- via Emc-users
 wrote:

> the upgrade did a kernel upgrade
> linux-image-5.10.0-19-amd64 -> linux-image-6.1.0-12-amd64

Ah.

This is a Debian thing, different kernels tend to bring in different
libc6 dependencies (this is why the Buster 2.9.1 RTAI deb isn't done
yet, LinuxCNC under buster doesn't work with a 5.x.x. kernel because
of a similar libc6 issue.

Can I suggest an upgrade to Bookworm? I think that that would probably help.

I upgraded my dev PC from Buster to Bullseye and then to Bookworm
recently (in preparation for the 2.9 releasing process) and it went
pretty smoothly with no data loss.

-- 
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] LinuxCNC 2.9 is Released

2023-11-07 Thread andy pugh
On Tue, 7 Nov 2023 at 14:29, fxkl47BF--- via Emc-users
 wrote:
>
> i have two systems i use to run linuxcnc sim
> both are debian 11, bullseye
> i installed linuxcnc 2.9 on both and it worked perfectly

How did you install linuxcnc and from where?

> last night i ran apt update, apt upgrade on one system
> it broke linuxcnc and it can't be installe

Did you change the repository data at all?

If you already had 2.9 installed and then just did an apt-upgrade this
probably isn't linked to the 2.9.1 release.

What do you have in /etc/apt/sources.list.d/linuxcnc.list ?

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


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


Re: [Emc-users] Documentation question

2023-11-07 Thread andy pugh
On Mon, 6 Nov 2023 at 19:10, Ray Henry  wrote:
>
> a Debian release is referred to as "Boolworm."  Is this a typo

Yes, just a typo.

-- 
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] LinuxCNC 2.9 is Released

2023-11-06 Thread andy pugh
On Mon, 6 Nov 2023 at 19:40, Scott Harwell via Emc-users
 wrote:
>
>  Screenshot of error

Did you add the archive signing key?

What does ls /usr/share/keyrings show?

-- 
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] LinuxCNC 2.9 is Released

2023-11-06 Thread andy pugh
On Mon, 6 Nov 2023 at 16:36, Scott Harwell via Emc-users
 wrote:
>
>  Andy,
> What about the move from 2.9.0 pre1 to 2.9.1.  I don't see anything about 
> that.

If you got the 2.9.0pre from Debian then the installer script should
update the repository links and add the keys. At that point 2.9.1
should be marked as an available upgrade.
(The script will actually try to install linuxcnc on top and that will
probably prompt the upgrade too. But I admit I haven't tried that yet)

-- 
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] LinuxCNC 2.9 is Released

2023-11-06 Thread andy pugh
On Sun, 5 Nov 2023 at 00:39, andy pugh  wrote:
>
> LinuxCNC 2.9.1 has been released

I should have put these links in the original email.

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

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

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


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


Re: [Emc-users] LinuxCNC 2.9 is Released

2023-11-05 Thread Andy Pugh



> On 5 Nov 2023, at 20:15, John Dammeyer  wrote:
> 
> How does one update the Pi4 apt sources to 2.9-uspace ?

The script at www.LinuxCNC.org/linuxcnc-install.sh should do much of it. 



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


Re: [Emc-users] LinuxCNC 2.9 is Released

2023-11-05 Thread Andy Pugh



> On 5 Nov 2023, at 08:39, Thomas J Powderly  wrote:
> 
>   Install Debian Buster (Debian 12), amd64 verison

I am not going to have access to a PC today. 
Could someone else do this? (And fix the verison misspelling too) 



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


Re: [Emc-users] LinuxCNC 2.9 is Released

2023-11-05 Thread Andy Pugh



> On 5 Nov 2023, at 05:03, John Dammeyer  wrote:
> 
> How does one upgrade a Pi4 running LinuxCNC without building the OS from 
> scratch?

Have you updated the apt sources to 2.9-uspace ?

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


Re: [Emc-users] InRelease missing for hioghlab2

2023-11-05 Thread Andy Pugh


> On 5 Nov 2023, at 05:01, Thomas J Powderly  wrote:
> 
> W: Skipping acquire of configured file '2.9-uspace/binary-i386/Packages' as 
> repository 'http://buildbot2.highlab.com/debian buster InRelease' does not 
> seem to provide it (sources.list entry misspelt?)

That’s Seb’s buildbot. Nothing to do with me. 

Try www.LinuxCNC.org/dists 



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


[Emc-users] LinuxCNC 2.9 is Released

2023-11-04 Thread andy pugh
LinuxCNC 2.9.1 has been released

(there was no 2.9.0 release)

This marks a major new release of LinuxCNC.

Due to the difficulty of supporting both Python3 and Python2 and
various out-of-date libraries the 2.9 release of LinuxCNC is only
supported in Debian Buster or later, Ubuntu Focal and later and
Rasbian 12 and later. Furthermore we are no longer building any 32-bit
versions of any packages.

This update is recommended to all users of supported systems and
hardware. There may be a final 2.8 release to incorporate new drivers
and features for those unable to upgrade.

Abbreviated Changelog:
(Full changelog at:
https://github.com/LinuxCNC/linuxcnc/blob/v2.9.1/debian/changelog

Merge 150+ pull requests
Adding Limit_Axis Component
Added user space HAL component for publishing HAL values to a MQTT broker.
carousel.comp: Add direct position control for stepgen and encoder modes
Add Mesa 7I94T, 7I97T, 7I76EU, 7i96S card support
Add scaled sum component.
Add anglejog component.
mesa_modbus: New Driver framework
hal_gpio: Generic GPIO driver for any platform supporting libgpiod
docs: Add manpage for emccalib
halcompile: Accept hal pins of type “port”
G71 - G72 updates
Add OutM simple output module support
docs - Hundreds of updates
Fix “userspace” vs “realtime” nomenclature
gladevcp: - Many Updates
glcannon - Many Updates
gmoccapy - Many, Many Updates
hal_glib - Several Updates
halcompile: Add command line arguments to provide compile and link flags
halscope: Several updats
homing: Fix for #2169 introduced #2308.
homing.c: Apply suggested fix for #2629 and #2388 Fix suggested by yuyue2013
hostmot2 bspi: sanity-check that channel echo enable matches receive
buffer present
interpmodule: add interpreter.active_spindle property
interpmodule: fix “speed” property
Issue #1232: Fixed
Issue #1747: Fixed
Issue #2169: Fixed
Issue #2483. Partially ficed
limit_axis: - New component
mb2hal Several Updates
qt5_graphics - Several Updates
qtaxis - Several Updates
qtdagon - 100+ Updates
qtplasmac - 100+ Updates
qttouchy -fix sample config loading error, remove MPG selection buttons
qtvcp - 200+ updates
qtvcp –mdi_line: fix multi axes movement Addresses Closes: #1053251
RS274: M5 default to all spindles.
sims: fix startup issues in axis sims
sims: fix startup issues in qtvcp sims
sims: update and tidy qtplasmac sim

This release contains contributions from the following authors:

ALatSMT Alec Ari Alexey Starikovskiy Alex Lait alkabal Allan Nordhøy
Ambr Enzs Andreas Christoffersen André Litfin Andrew Downing
andrewheeler82 Andrew Kyrychenko Andrii Podanenko andy pugh Arvid
Brodin Asle Næss Benson Muite Billy Soto Bob Bond Bruno Lualdi Bryce
Johnson ButterflyOfFire cascade256 Chad A. Woitas Chadly chris Chris
Morley Chris Nisbet Chris Radek cnc Colten Edwards Csa söl Curtis
Dutton d2inventory Damian Wrobel damiodj Daniel Rogge david Davide
Cerati ddlu ddotldot DerAndere Dewey Garrett D.L Dmitry S. aka D.L D.
Mueller Egor Komogortsev ekam230 Ernesto Lo Valvo freddii Greg Carl
Gunnar Wolf Hakan Kaner Hannah Lau Hans Unzner Håvard F. Aasen Håvard
Flaget Aasen Horváth Csaba htasta Ihor Oliinyk issyvarsano Jan Mrázek
JanneK Jan Roters jb0 Jeff Epler Jérémie Tarot Jerry Trantow
J.M.Garcia John Morris John Thornton Jose Manuel Garcia de Torres
joseph calderon Juraj Adamkovic Kale Yuzik Klaus Naumann Leonardo
Daniel Marsaglia luz paz Mark Markus Mark van Doesburg Martin Kaplan
Mateusz Konieczny Matthew Johnston Matthias Michael Langer Michael
Stellmacher mk2 Moses McKnight mwork NhanPham nicokid Nicola
Quargentan nicolas Nikita Shubin noel Norbert Schechner oMtQB4 pc179
Peter C Wallace Peter Müller Petr Menšík Petteri Aimonen Petter
Reinholdtsen Phillip A Carter Rainer Stelzer Rene Hopf Rob Clegg
Robert W. Ellenberg Robin Szemeti Roguish root rpm-build russellgower
samcoinc Sascha Ittner Sebastian Kuzminsky simaoamorim snowgoer540
spike Steffen Möller sundtek Sync Tim Blume Tinic Uro Toni Laiho Trần
Ngọc Quân TRothfelder Ulices whatawhiz yohsuke zz912 Александр
Макарчук Дмитрий トトも 大宝剑 陈浩



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

2023-11-04 Thread andy pugh
https://www.beagleboard.org/blog/2023-11-02-beaglev-fire-announcement

I don't know how usable it will be for LinuxCNC, as I don't know if we
can compile for RISCV.

Also, I don't know if it has any video output?

-- 
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 Step Pulses?

2023-10-25 Thread andy pugh
On Wed, 25 Oct 2023 at 14:59, Todd Zuercher  wrote:

> Unfortunately no, it only has step/dir or CW/CCW as input options.

Quadrature might still work, but probably isn't to be preferred to step/dir.

Quadrature signals set up as A step and B dir will have B low on
rising edges of A in ne direction and high in the other. So it's
_like_ step-dir

-- 
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 Step Pulses?

2023-10-25 Thread andy pugh
On Wed, 25 Oct 2023 at 13:27, Todd Zuercher  wrote:

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

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


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


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


Re: [Emc-users] Lathe ignores tool number change using fanucy wear offset patch

2023-10-12 Thread andy pugh
On Thu, 12 Oct 2023 at 19:19, andrew beck  wrote:

> And also the fact that Linux CNC was showing t3 when t3 was the one loaded.
>
> Even though the code had gone past the t4 command

If you can find a recipe to recreate the issue then perhaps there is a
way to investigate what's going on.

-- 
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] Lathe ignores tool number change using fanucy wear offset patch

2023-10-12 Thread andy pugh
On Thu, 12 Oct 2023 at 10:33, andrew beck  wrote:
>
> No we pushed cycle stop changed a offset by 0.01mm  waited 2 minutes then
> restarted whole program from beginning.

Could your observations be explained by the toolchanger position not
being what the system thought it was?

What sort of toolchanger position feedback do you have?

-- 
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] Lathe ignores tool number change using fanucy wear offset patch

2023-10-12 Thread andy pugh
On Thu, 12 Oct 2023 at 02:41, andrew beck  wrote:

> We stopped it and then changed a wear offset and it ignored the toolchange
> and tried to machine with t3 instead of changing to t4.

Was this with run-from-line? (You say that you stopped it)

Which line did you run from?

-- 
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] Halcompile broken in master

2023-10-10 Thread andy pugh
On Tue, 10 Oct 2023 at 10:48, Marius  wrote:

> It seems that halcompile has issues in master. it does not recognize a
> .c file as legitimate and if you rename that to .comp it gets an error
>
> ValueError: not enough values to unpack ( expected 2, got 1)

That error is because there is no ;; separator in your C file. (nor
should there be)

Renaming the file is not the answer here.

Which halcompile command are you using?

I would expect some of the tests to fail if halcompile no longer
recognised .c files, specifically
https://github.com/LinuxCNC/linuxcnc/blob/7823799b76cf644818f3a142eed5724392b2612c/tests/uspace/spawnv-root/test.sh
https://github.com/LinuxCNC/linuxcnc/blob/7823799b76cf644818f3a142eed5724392b2612c/tests/halcompile/command_line_flags/test.sh
Though both of those test the building of a non-realtime component.

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


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


Re: [Emc-users] trash collection

2023-10-02 Thread andy pugh
On Mon, 2 Oct 2023 at 15:41, Todd Zuercher  wrote:

> What I think I would do is build a multi chambered box similar to a car 
> muffler,

Or, in fact, a car muffler

-- 
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] new tool table in linuxcnc master

2023-10-02 Thread andy pugh
On Mon, 2 Oct 2023 at 11:53, Roland Jollivet  wrote:
>
> Just wondering, why would there be limit of 50?

Previously the whole tool-table was sent periodically in an NML
message and those are of limited size.

That's not the case now, though. And I don't think that there is any
limit currently.

-- 
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] playing with the single channel encoder functionality..

2023-09-29 Thread andy pugh
On Fri, 29 Sept 2023 at 13:52, andy pugh  wrote:

> It's not clear to me if it's now _really_ broken, or whether that is
> what you are trying to do?


I left the wrong link in. I was referring to this one:

https://www.youtube.com/shorts/rJxvGKUHJAs


-- 
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] playing with the single channel encoder functionality..

2023-09-29 Thread andy pugh
On Fri, 29 Sept 2023 at 13:36, Sam Sokolik  wrote:

> > https://www.youtube.com/watch?v=ZYMcPxqabAo

It's not clear to me if it's now _really_ broken, or whether that is
what you are trying to do?


-- 
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] New Raspberry Pi5 coming.

2023-09-28 Thread andy pugh
On Thu, 28 Sept 2023 at 13:38,  wrote:
>
> PCI Express!

Does that mean it can work with PCIe Mesa cards?

-- 
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] hostmot2-firmware deb repository?

2023-09-28 Thread andy pugh
On Thu, 28 Sept 2023 at 03:13,  wrote:
>
>  there
> is no hostmot2-firmware package available. Is there a repo I can add
> that is the official source for this?

Probably not for Debian 12. It makes no sense for us to upload that to
Debian (if they would even want it) as the LinuxCNC version of the
hostmot2 code is rather outdated and the repository is archived.

You _could_ download the version from LinuxCNC, but they are only
there for buster and earlier:
http://www.linuxcnc.org/dists/buster/base/binary-all/ )

But, the most up-to-date firmwares are direct from Mesa:
http://www.mesanet.com/software/parallel/5i20.zip

-- 
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] Remembering the last tool in spindle before restart (andrew beck)

2023-09-28 Thread andy pugh
On Thu, 28 Sept 2023 at 08:28,  wrote:

> And i issue the MDI command when the machine is on and homed. I did this
> using classicladder,

Another option that springs to mind would be a Python userspace component.

On first loading it would load the last-loaded tool from a file
(possibly the .VAR file, possibly a special single-purpose file) then
sit in a loop waiting for "ready for MDI" (which is easier to do in
Python than HAL) and then issue the M61 command.
It would then sleep, with a callback on the "shutdown" message, at
which point it would save the current tool to disc. (Or, maybe, it
would just sit there polling the tool number all the time and saving
it when it changed.

The only advantage of this is that it's a load-and-forget. It needs no
HAL connections or external logic.

But, really, this should be built-in behaviour.

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


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


Re: [Emc-users] Q about angular vel in dro

2023-09-25 Thread andy pugh
On Mon, 25 Sept 2023 at 02:16, gene heskett  wrote:

> However, in cross checking what I write, it is NOT the homed state of A
> that changes the behavior! Its the homed state of ALL the axis's
> that controls this behaviour. And I can unhome A, and the slow response
> is back, so its the ALL homed state that switches this behaviour. IDK
> what would happen if I put a # in front of all the A HOME stuff in the .ini.

The pragmatic solution is probably to just set A for immediate homing.
I did that because my rotary has no home switches, but I haven't
really missed it enough to fit some.



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


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


Re: [Emc-users] Q about angular vel in dro

2023-09-24 Thread andy pugh
On Sun, 24 Sept 2023 at 12:18, gene heskett  wrote:

> > But I really don't understand why any system would need to be homed before
> > it could run full speed.

It shouldn't.

> That could be the setting combination at work. IDK which set of limits
> it uses when unhomed vs homed.

Joint limits when unhomed, axis limits when homed. But that is for the
system as a whole. My rotary axis is just set to instantly home at the
start of the homing sequence.

But this could be a GUI thing, possibly it's jogging at the linear jog
speed rather than the angular jog speed?

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


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


Re: [Emc-users] Q about angular vel in dro

2023-09-23 Thread andy pugh
On Sat, 23 Sept 2023 at 22:42, John Dammeyer  wrote:
>
> Andy,
> Just curious since we have the same harmonic drive and STMBL for the 4th axis 
> what max velocity and acceleration are you using.

I just checked, and the numbers are very modest. 100 deg/sec and 250
deg/sec accel. But the TP will always hit the programmed endpoints
regardless of accel settings, as it calculates within them.

I don't see the issue that Gene reports because I never home the
rotary. There is no point as I have no indexed workholding and there
is no need for soft limits.

If I need to align a part, I do it in the usual ways, with indicators
and probes, and then touch-off for alignment.

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


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


Re: [Emc-users] Q about angular vel in dro

2023-09-23 Thread andy pugh
On Sat, 23 Sept 2023 at 13:41, gene heskett  wrote:

> MAX_VELOCITY= 360.000
> MAX_ACCELERATION= 12000

v^2 = u^2 + 2as

for 360 deg/sec and 12000 accel the overrun on stopping will be v^2 /
2a = 5.4 degrees.

Also it's possible that your PID is limiting the responsiveness, or
the actual velocity.

Try it without the PID?

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


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


Re: [Emc-users] Q about angular vel in dro

2023-09-23 Thread andy pugh
On Sat, 23 Sept 2023 at 00:26, gene heskett  wrote:

> So why can't I get a decent decel while homing it?

What is the [JOINT] Accel (rather than [AXIS] and what accel is used
by the stepgen?



--
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] Touch screen interface.

2023-09-20 Thread andy pugh
On Thu, 21 Sept 2023 at 01:07, John Dammeyer  wrote:

> The original ERROR is also still there.

Which LinuxCNC version?


-- 
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] Touch screen interface.

2023-09-20 Thread andy pugh
On Wed, 20 Sept 2023 at 23:36, John Dammeyer  wrote:

> E: Unable to locate package python-gst

Maybe python3-gst ?

sudo apt-cache search python-gst

Gives python-gst-1.0

So you could try that too.

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


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


Re: [Emc-users] rusty memory

2023-09-20 Thread andy pugh
On Wed, 20 Sept 2023 at 18:33, gene heskett  wrote:

> Do I need to do a separate addf "gpio read" and "gpio write" on a 5i25?

Not normally. The functions exist in case you are trying to do
bit-banging in a base thread.

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


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


  1   2   3   4   5   6   7   8   9   10   >