Re: [Emc-users] C axis component?

2024-07-28 Thread Andy Pugh


> On 28 Jul 2024, at 17:31, John Dammeyer  wrote:
> 
> Once the motor is connected to the spindle with a toothed belt rather than V 
> belt.

If the encoder is on the spindle directly then then the belt type shouldn’t 
matter. 

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


Re: [Emc-users] C axis component?

2024-07-28 Thread andy pugh
On Sat, 27 Jul 2024 at 18:41, Leonardo Marsaglia  wrote:

> For this, I think I read there's a caxis.comp module that If I'm not
> mistaken Andy wrote.
>
> Is there a place to get that file? Because I couldn't find it yet.

https://forum.linuxcnc.org/10-advanced-configuration/42171-spindle-step-dir-servo-ramp-down-before-stop-on-m-stop-command?start=120#209694


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

2024-07-26 Thread andy pugh
On Fri, 26 Jul 2024 at 21:05, andrew beck  wrote:

> I have used the carousel component on another machine and it kept over
> shooting as I needed to know before I hit the pocket sensors that it was
> time to stop.  As it took time to stop.

The latest version has the capability of stopping, overshooting, and
then backing up to the index. (a bit like the classic LinuxCNC axis
homing sequence)

If you halcompile the version in master you could try 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] carousel component. calling andy

2024-07-26 Thread andy pugh
On Fri, 26 Jul 2024 at 12:07, andrew beck  wrote:

> i know the carousel component can be used with a stepper motor and it just
> needs one home switch and then calculates step and direction signals for
> any movement from there

Yes, but it can also work with many other forms of  feedback, almost
certainly including what the toolchanger currently offers.

And it also supports just turning a fixed-speed motor on and off.


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

2024-07-21 Thread andy pugh
On Sun, 21 Jul 2024 at 08:05, andrew beck  wrote:

> this is the screenshot it get on the website

Do you have any settings set that might disable scripting? I imagine
the editor uses some sort of embedded executable.

Is it the same on all web browsers?

-- 
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] calling Seb.........

2024-07-17 Thread andy pugh
On Wed, 17 Jul 2024 at 23:14,  wrote:
>
> Seb.  Seems like the buildbot2 is not happy.
>
> Looking at Bookworm/master, the latest deb was 07/08/24.

It might not be the buildbot as such, there is a problem somewhere
with the build as a whole, as the CI keeps failing 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] Deckel retrofit - how to set up one motor for Y and Z

2024-07-14 Thread andy pugh
On Sun, 14 Jul 2024 at 09:16, Viesturs Lācis  wrote:
>
> Can those clutches be operated automatically

I have looked into this previously. There is a built-in behaviour
which is almost correct, see LOCKING_INDEXER_JOINT, but it only works
for the rotary axes (which should be an easy thing to change) and also
only allows G0 moves, which is probably a bigger problem.
This creates a "brake" pin for the axis which releases when the axis
needs to move (and there is a handshake sequence,
http://linuxcnc.org/docs/devel/html/man/man9/motion.9.html#JOINT%20unlock%20pins

I think that we actually looked into this when This Old Tony popped up
on the forum with a Maho that had a similar setup with a single motor
for X, Y and Z. In the end I think he decided to retrofit separate
motors and use Mach3.

One of those choices was a mistake, but retrofitting more motors is
almost certainly the better solution here, as then you can do combined
moves in Y and Z.

-- 
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.3 has been released

2024-07-13 Thread andy pugh
On Sat, 13 Jul 2024 at 19:00, John Dammeyer  wrote:
>
> Hi Andy,
> On my workbench for playing around I'm running 2.8.4 on a Pi4 with an LCD 
> touch screen and the MESA 7i92H.  How easy to update that?

The best thing to do with a Pi is probably to make a new SD card from
the LinuxCNC image, then copy your existing config across (probably
easiest to put the linuxcnc folder on a USB stick then swap SD cards)
Then you can always go back to the old, working, SD card if there is a
problem.

-- 
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] Preferred way to slave multiple QTVCP pushbuttons?

2024-07-13 Thread andy pugh
On Thu, 11 Jul 2024 at 22:25, Ted  wrote:
>
> there are a couple buttons that need to be on multiple
> tabs, such as CycleStart, FeedHold, Lubrication Enabled,

You haven't said which GUI system you plan to use, but in the case of
Glade if two spin-buttons have the same "Adjustment" then they act as
the same control.

Playing about briefly in Glade I don't see ordinary buttons having an
Adjustment property, but there may be a way to achieve the same thing.

Alternatively you could have a number of independent buttons all
linked to the same callback in the GUI code, and that code could
handle making them all take the same value when pressed.

-- 
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.3 has been released

2024-07-12 Thread andy pugh
LinuxCNC 2.9.3 has been released.

This is a bugfix release. Highlights include:

* Fix unintended move when using G42 for G70.
* Pass generated component man pages through preconv for UTF-8 support.
* Make it easier to figure out where the current G43 values are stored.
* QtVCP - Many updates
* Gmoccapy - Many updates
* QtPlasmac - Many updates
* QtDragon - Many updates

Packages have been prepared for:

Buster - uspace - amd64 (PC) armhf (Pi) arm64 (Pi with 64-bit kernels)
Buster - RTAI - amd64
Bullseye - uspace - amd64 (only)
Bookworm - uspace - amd64, arm64
Bookworm - RTAI - amd64

For existing users of 2.9.2 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:

andypugh
Chad Woitas
CMorley
David Mueller
fsabbatini89
Greg Carl
Hans Unzner
Håvard F. Aasen
John Lama
John Thornton
Mark
Moses McKnight
Peter Wallace
Petter Reinholdtsen
Phillip Carter
Sigma1912
Steffen Möller
zz912

Full changelog:

Make warning about file endings more explicit for new users. (#3013)
strncpy -> rtapi_strlcpy for string termination (#2683)
2.9 (#2990)
Merge pull request #3012 from mark-v-d/fix_g70
Merge pull request #3010 from petterreinholdtsen/deb-closer-to-debian
Merge pull request #2946 from hansu/gmoccapy-de-translation-2.9
Merge pull request #2947 from Sigma1912/gmoccapy_dont-hide-recurrent-errors
Merge pull request #2688 from smoe/debian_nocheck_docs
Merge pull request #2566 from LinuxCNC/2.9-gcode-g43
Merge pull request #2562 from petterreinholdtsen/2.9-g38-3-auto-probe
Fix unintended move when using G42 for G70.
Adjust how files are distributed into binary packages.
Merge pull request #3007 from petterreinholdtsen/man-component-asciiart-nbsp
Merge pull request #3006 from petterreinholdtsen/man-component-utf-8
Use non-breaking space in component documentation ASCII art.
Pass generated component man pages through preconv for UTF-8 support.
Merge pull request #3009 from petterreinholdtsen/po4a-download-follow-location
Handle github CI http redirects when downloading po4a.
Merge pull request #2808 from havardAasen/pthread-retval
Fix incorrecrt buster apt-source in updating docs
z_level_compensation component -remove DOS endings
docs: linuxcnc-uspace-dev rather than linuxcnc-dev in mesa_modbus.adoc
Merge pull request #2991 from Sigma1912/patch-1
docs: hal_gpio explain the purpose and detination location of the rules file.
qtvcp -HAL bar: fix ability to set HAL pin name
Update interp_convert.cc
qtvcp -qt_action: fix system shutdown function
qtaxis -fix progressbar
qtvcp -gcode_editor -round up the lines done calculation
qtvcp -geditor: fix the lexer button calls
qtvcp -qcode editor: fix error with reloading with no program loaded
qtvcp -pstat: fix an error with designer loading on some systems
mitsub_vfd -add some details to usage text -serial port permissions
qtvcp -screenoption: fix syntax warning
qtvcp -qt_graphics: need to call update() when double clicking to clear plot
qtvcp -gcode_editor: reload program when reload STATUS message is sent
qyvcp -gcode_graphics: clear plot lines when reloading
qtvcp -screenoption: fix preference file path of just file name
posemath: fix for arc to circle transition
qtdragon_hd -fix Z level compensation: never compensates
HAL component -z_level_compensation: fix nan calculation error
qtplasmac: conv_polygon fix variable name
qtplasmac: fix button_normal “pressed” color
qtplasmac: fix button interlock, remove unused variables
qtvcp: remove links to nonexistent image files
gmoccapy: don’t translate numeric labels
qtdragon/hd update version
qtdragon/hd -add ability to set camera number
gmoccapy: update german translation for 2.9
Merge pull request #2955 from phillc54/phillc54/pncconf
pncconf: don’t sort firmware names
Merge pull request #2838 from hansu/issue-2820
pncconf: overwrite gmoccapy_postgui.hal and add warning
pncconf: generate connections to display tooloffset in gmoccapy
qtplasmac: check for valid default material
hal_stream_create: fix bogus error check
Update getting-linuxcnc.adoc
don’t hide recurrent gcode errors
gmoccapy: some spelling fixes
docs: fix typo in gmoccapy.adoc
Merge pull request #2837 from hansu/gmoccapy-800x600
Merge pull request #2911 from hansu/gmoccapy-reorder-settings-page
gmoccapy: updated docs and release notes
gmoccapy: fix gremlin view p wasn’t applied at startup
gmoccapy: add configuration for 800x600
gmoccapy_3_4_8: updated docs and release notes
gmoccapy: re-order settings
Merge pull request #2943 from havardAasen/modal-table
docs: Reference correct tables
docs: Don’t hardcode multiple lines in table
docs: Update M-code modal group 5
qtplasmac: gcode error message
Merge pull request #2935 from Sigma1912/2.9-g92-fix-active-gcode
hal_gpio: Remove misleading comments
qtdragon/hd -turn the blur effect off by default
qtplasmac: stop torch crash during offset 

Re: [Emc-users] How to get 8i20 up and running?

2024-07-04 Thread andy pugh
On Wed, 3 Jul 2024 at 20:32, Viesturs Lācis  wrote:

> I believe that I need to specify encoder-offset parameter, but I do
> not understand how exactly encoder-offset value for BLDC component is
> calculated.

I think that the motor "zero" angle for the 8i20 is defined as where
the motor sits with V+ connected to U and V- to V and W. If this is
where the index pulse is, then your encoder offset is zero.

You could do this with a bench PSU, but it's mayeb easier (and closer
to the real setup) to do it in a command-line hal session reset the
encoder to the index, then setp the angle to zero and setp the current
to a couple of amps (or enough to move the rotor) in each direction
and the encoder offset is the midpoint. (it's in counts)

Things are slightly complicated by the 8i20 built-in lead-angle
calculation. (ie, you give it _rotor_ angle and it calculates _phase_
angle)

eg:
halrun
loadrt hostmot2
loadrt hm2_eth board_ip=10.10.10.10
show pin
loadrt threads
addf hm2_read thread1
addf hm2.write thread1
start

loadusr halshow
{setup a watch of the encoder index-enable and counts)
setp encoder.0.index-enable 1
{rotate motor by hand until the index-enable resets)
setp hm2...8i20...current 0.5
{note the encoder counts}
setp hm28i20...current -0.5
{note the encoder counts)
{maybe repeat to get good statistics)


There may be enables to set, it's been a long time. You might need
more, or less, current. Depending on the pole count there will be
several zeros, one is likely to align very closely with the index.

If the encoder offset turns out to be zero, or close to zero, at this
point you should be able to scale the encoder to give a zero-to-one
output per _electrical_ revolution and connect the encoder angle to
the 8i20 commutation angle and spin the motor with current commands.

-- 
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] Power source for 8i20

2024-06-28 Thread andy pugh
On Tue, 25 Jun 2024 at 21:48, andy pugh  wrote:
>
> UK power is still generally around 240V, even though it is defined as
> 230 +10% -6%.

I just checked with my Fluke Multimeter and measured 242.1 V as my
current mains voltage.

-- 
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] Power source for 8i20

2024-06-25 Thread andy pugh
On Tue, 25 Jun 2024 at 21:28, Viesturs Lācis  wrote:

> Hope for the best, plan for the worst - Peter, what do you think about
> rectifying 232VAC 3-phase for 8i20?

UK power is still generally around 240V, even though it is defined as
230 +10% -6%.

I have been running 8i20s on that rectified for many years. .

-- 
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] Power source for 8i20

2024-06-21 Thread andy pugh
On Fri, 21 Jun 2024 at 12:14, Viesturs Lācis  wrote:

> The question I am trying to solve at the moment is DC supply for 8i20

Both my lathe and mill use 8i20s on the main axes.

In both cases I use a single power supply shared by all the drives on
the machine.
The supplies are a simple rectifier and capacitor except that I also
have resistors and relays for soft-start and capacitor discharge.

Discharge is handled by a normally-closed relay that opens when the
PSU power is turned on.

Soft start on the lathe is handled by a HAL component, as the 8i20
returns bus voltage on smart-serial
If the 8i20 bus voltage is above a few volts I do not allow the PSU to
turn on. (to protect the relay contacts from welding)
Then, when the PSU turns on it is powered through a power resistor to
limit the surge.
Then when the HAL component sees something close to full bus voltage
it switches an output that closes a relay that bypasses the soft-start
resistor.

The mill PSU has a 555 timer for soft start, and I like this less than
the HAL component as a solution,

My system does not have any isolation between the DC power and mains,
it is just a simple rectifier/cap.

If you add a 3-phase transformer you will have much less input ripple
and will also have some isolation.
If I could find a suitable transformer cheaply I would use one.

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


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


Re: [Emc-users] [Emc-developers] distutils - sysconfig

2024-06-08 Thread andy pugh
On Tue, 28 May 2024 at 19:16, Stuart Stevenson  wrote:

>
>  Configuring linuxcnc gives me a deprecation warning about distutils and
> tells me to use sysconfig instead.
>

On what OS? I just ran ./configure on my 2.9.2 / bookworm folder and there
was no such warning.

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

2024-05-29 Thread Andy Pugh


> On 28 May 2024, at 18:27, Todd Zuercher via Emc-users 
>  wrote:
> 
> I tried to post this message las Friday, and a couple of times over the 
> weekend and it kept bouncing.  What was up with that?

I had the same problem. I was putting it down to sourceforge and gmail having a 
falling-out. But you don’t seem to be on Gmail 



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


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

2024-05-28 Thread Andy Pugh



> On 28 May 2024, at 17:18, Todd Zuercher via Emc-users 
>  wrote:
> 
> Is there a good way to read the values of multiple tool offsets from the tool 
> table to hal pins?

Did you try the Python component that Aciera posted on the forum?



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


Re: [Emc-users] [Emc-developers] vismach example movies

2024-05-23 Thread andy pugh
On Wed, 22 May 2024 at 20:14, Stuart Stevenson  wrote:

> Gentlemen,
>   The wikiQuick links to vismach movies
> links do not work.


Which link?

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


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


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


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] [Emc-developers] LinuxCNC gathering in Norway - July 5th-7th 2024

2024-04-25 Thread andy pugh
On Tue, 19 Mar 2024 at 02:21, Asle Næss via Emc-developers <
emc-develop...@lists.sourceforge.net> wrote:

The location is a metal workshop 15 minutes drive away from to the
> Gardermoen airport (OSL), where there is a lot of space and a hotel only
> 5 minutes away by car.  We plan to fire up the barbeque in the evenings.
>
> Please let us know if you would like to join.  We track the list of
> participants on https://pad.efn.no/p/linuxcnc-2024-norway>.


Is anyone else coming? I can recommend it :-)


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

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


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

2024-04-25 Thread andy pugh
On Tue, 23 Apr 2024 at 21:53, Tomaz T.  wrote:

> I have created two configurations of LinuxCNC to be able to run may
> machine in two different (mechanical) configurations. Now I would like to
> prevent to run wrong g-code.
> Is maybe there a custom M-code that I could use for that and it would
> prevent further execution if it doesn't match with running configuration?
>

How would you decide which config the G-code was for?

 If you want to put an M-code in the G-code, and that is what determines
the target machine of the G-code, then maybe a custom M-code is the way, as
you suggest.

Something like M100 for one config, and M101 for the other.

file: M100

#! /usr/bin/env/ python
import linuxcnc
if inifile.find("EMC", "MACHINE")  != "LinuxCNC-HAL-SIM-AXIS":
c = linuxcnc.command()
c.error_msg("This G-code is for a different config")
c.abort()

Make the file executable, put it in the  nc_files directory, (or in the
SUBROUTINE_PATH) and it will abort running the G-code when it runs M100 if
the MACHINE entry in the active INI is not the specified string.

Probably. I haven't tested it :-)

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

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


Re: [Emc-users] Questions about workflow, G28, G30 and work offsets.

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

> I'm unfamiliar with G10 commands or how they would apply to this. I read
> over the documentation on them and don't quiet understand how they would
> work for this.


You are talking about "touch off". "touch off" _is_ G10. You can script /
override / reset "touch off" with G10 commands.

-- 
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] Questions about workflow, G28, G30 and work offsets.

2024-04-20 Thread andy pugh
On Sat, 20 Apr 2024 at 02:12, Billy Huddleston via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> However, When

> you touch off a part, you nuke out your Original G54, or G55 locations.
>

It might help to consider that the various touch-off commands in the  GUIs
just run various versions of the G10 command behind the scenes.
So you could set up buttons to reset the axes or tool table.

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

2024-04-17 Thread andy pugh
On Wed, 17 Apr 2024 at 12:45, Tomaz T.  wrote:

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



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

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

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


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

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

>
> linksp Bindex <= ppmc.0.encoder.04.index-enable
> linksp Bindex => axis.4.index-enable
>

You may need linksp (or net) Bindex=> pid.B.index-enable.

https://linuxcnc.org/docs/stable/html/man/man9/pid.9.html#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] 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


  1   2   3   4   5   6   7   8   9   10   >