Re: [Emc-users] Tool setter location and workflow.

2024-04-14 Thread andrew beck
No I wouldn't use drill chucks

On Mon, 15 Apr 2024, 14:25 Billy via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

> This is for a 24k 4HP spindle. Using ER32 ISO 30 tool holders. Probably
> not going to be using any drill chucks in this thing.
>
> > On Apr 14, 2024, at 9:59 PM, gene heskett  wrote:
> >
> > On 4/14/24 19:29, John Dammeyer wrote:
> >>>
> >>> I'm just checking to get recommendations on tool setter placement and
> >>> workflow.
> >>>
> >>> Thanks, Billy - aka Connor
> >>>
> >> Where to put the tool setter is likely where it's easiest for an
> operator to also access the tool.
> >> I don't know if the CNC router falls into an operation like changing a
> drill bit.  For most operations one just sets up the tools, tool table for
> those tools with the lengths in the tool table.  But if you have only one
> drill chuck but need to drill different size holes then the way to use Tool
> #6 (the drill chuck) is to set the length to 0.  The tool change software
> then just uses the tool table length to set the offset and the tools are
> used without ever touching off.
> >> But with Tool #6 the 1/4" and then 3/8" drill bit are different
> lengths.  So you might do a tool change to install the chuck and then pause
> over the tool setter.  An operator then puts in the right size drill bit
> and the system continues to then touch off that drill bit but doesn't
> update the tool table length;  that stays at 0.  The holes are drilled and
> then rinse and repeat for additional drill bits.
> >> Anyway, that’s one scenario.
> >> John
> >
> >
> > If the drill chuck is stiff enough, that works well, but I've not found
> a chuck that doesn't have a thou run-out sticking as far out of an R8 as it
> does, so I tend to use the r8 that fits the drills shank, its stiffer. This
> demands you bring the setter into use as there is no consistent depth stop,
> at least in the 4 different r8 kits I have.  More monkey business that
> probably cancels any time saving the tool changer offers even if it changes
> the whole r8. So much easier to assemble the drill in an er32 TTS holder,
> and build the tool changer to change the TTS, measure it once and put it in
> the tool table. That would be valid till the er32 nut was loosened again at
> the cost of the TTS stuff.
> >
> > Another possibility might be to steal the pcb drill idea of a tight
> fitting printed ring placed on a bit shank to serve as a depth stop, that
> you could put in the tool table.
> >
> > Methods depend on your imagination.
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> > Cheers, Gene Heskett, CET.
> > --
> > "There are four boxes to be used in defense of liberty:
> > soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author, 1940)
> > If we desire respect for the law, we must first make the law respectable.
> > - Louis D. Brandeis
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
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 andrew beck
Awesome

I'll try it in a few days

On Fri, 12 Apr 2024, 00:06 andy pugh,  wrote:

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

___
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 andrew beck
Sweet these are just standard ac servo drives

Next question

I'm running 2.8 Linux CNC

Can I get the updated carousel component without updating.

The reason is that the new kernels still don't work with realtec drivers as
well as the old 4.19 kernel

And also the standard iso Linux version is much more resource intensive and
programs run at about half as snappy

I have tried updating to 2.9 about 6 times now and always go back to 2.8
when I get a mesa card network error

Regards


Andrew

On Thu, 11 Apr 2024, 20:49 andy pugh,  wrote:

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

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


[Emc-users] carousel component question for andy

2024-04-10 Thread andrew beck
Hey Andy I see your component supports step direction now.

2 questions.

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

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

Regards


Andrew

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


Re: [Emc-users] Axis direction

2024-02-05 Thread andrew beck
Same here every machine I have used (12 years CNC machining).  negative z
is always towards the chuck.

Or on a mill brings the tool down to table. Or table up towards tool



On Tue, 6 Feb 2024, 09:23 Sam Sokolik,  wrote:

> Even the k with a discrete component 60's control had smaller numbers
> towards the spindle...
>
> On Mon, Feb 5, 2024, 1:36 PM  wrote:
>
> >
> > John,
> >
> > Leaving aside right or left hand rules etc, leaning your head towards
> > your left shoulder shows that the relationship between the spindle and
> > the carriage is the same as on a vertical mill.
> > To bring the spindle closer to the carriage is a move in the -Z
> > direction.
> > If the argument is about the tool position, with the work in the chuck,
> > tilt your head to the right and you now have the tool on the right and
> > the work on the left, like a mill with the tool above (on the right) and
> > work in the chuck below (on the left0. Now the movement of the tool
> > towards the work is still -Z.
> >
> > Marcus
> >
> >
> > On 2024-02-05 18:01, John Dammeyer wrote:
> > > There's been an interesting discussion on the Unimat users list about
> > > axis direction.  As usual someone can always find something on the web
> > > that supports their opinion.
> > > For example this one:
> > > https://digit-chain.com/names-of-axes-in-cnc-machine/
> > >
> > > However I disagree that movement towards the rotating axis, be it the
> > > chuck on a lathe or the spinning cutter in a mill spindle,  is a Z+
> > > direction.  Doesn't even seem intuitive to me either.
> > >
> > > Now it's true that you can set the Z=0.00 position anywhere in the
> > > G54... spaces depending on what you touch off on.  And then a movement
> > > toward the spindle could be positive.  But in an G53 machine
> > > coordinate space isn't a Z- direction towards the spinning tool or
> > > part?
> > >
> > > That's the way I have my LCNC system and MACH system set up.  Even my
> > > ELS is negative towards the lathe chuck.
> > >
> > > John
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
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 andrew beck
Busy using linuxcnc and making more machines

On Sun, 4 Feb 2024, 08:33 ,  wrote:

> On 2024-02-03 16:30, andy pugh wrote:
> > Is this thing on? I have nothing since the 18th of January, and
> > neither does the archive at Sourceforge.
>
> Message received here OK. Nothing else noted during the period since
> 18th January, so I assumed everyone was happy and no-one had problems,
> or was too busy to chat.
>
> Marcus
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Capto

2024-01-03 Thread andrew beck
Well I have a lot of capto c6 tooling and I would love to be able to make
my own tooling

Not sure on dimensions though

On Wed, 3 Jan 2024, 14:03 Sam Sokolik,  wrote:

> and and...  If the receiver shape is just scaled along its taper - then the
> work is done with the hal component..  But would we be that lucky?
>
> sam
>
> On Tue, Jan 2, 2024 at 6:46 PM andy pugh  wrote:
>
> > 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
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-10-19 Thread andrew beck
Here is a quick video of some of the different parts

This one is not using the tailstock

https://youtu.be/_3mKA7dri60?si=vafE_I3i054bXf8E


On Thu, 19 Oct 2023, 20:42 andrew beck,  wrote:

> Hey guys I think I fixed the issue.
>
> The wear remap is perfect.
>
> The issue was I was using classic ladder for toolchanger and then also the
> remap.
>
> And I think they had timing issues.  1 toolchange out of 500 fails.
>
>
> I changed to using the carousel component and remaps
>
> I just added to the wear remap
>
>
> Andy your carousel component is absolutely awesome.
>
> My toolchanges are so fast now.
>
> We have made 800 parts over the last 3 days with about 6 tool changes each
> and perfect operation
>
>
> I'm happy as
>
>
> Regards
>
>
> Andrew
>
> On Fri, 13 Oct 2023, 09:09 andrew beck,  wrote:
>
>> Yep I'll keep digging and reply back here later
>>
>> On Fri, 13 Oct 2023, 08:38 andy pugh,  wrote:
>>
>>> On Thu, 12 Oct 2023 at 19:19, andrew beck 
>>> wrote:
>>>
>>> > And also the fact that Linux CNC was showing t3 when t3 was the one
>>> loaded.
>>> >
>>> > Even though the code had gone past the t4 command
>>>
>>> If you can find a recipe to recreate the issue then perhaps there is a
>>> way to investigate what's going on.
>>>
>>> --
>>> atp
>>> "A motorcycle is a bicycle with a pandemonium attachment and is
>>> designed for the especial use of mechanical geniuses, daredevils and
>>> lunatics."
>>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>>
>>>
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>

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


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

2023-10-19 Thread andrew beck
Hey guys I think I fixed the issue.

The wear remap is perfect.

The issue was I was using classic ladder for toolchanger and then also the
remap.

And I think they had timing issues.  1 toolchange out of 500 fails.


I changed to using the carousel component and remaps

I just added to the wear remap


Andy your carousel component is absolutely awesome.

My toolchanges are so fast now.

We have made 800 parts over the last 3 days with about 6 tool changes each
and perfect operation


I'm happy as


Regards


Andrew

On Fri, 13 Oct 2023, 09:09 andrew beck,  wrote:

> Yep I'll keep digging and reply back here later
>
> On Fri, 13 Oct 2023, 08:38 andy pugh,  wrote:
>
>> On Thu, 12 Oct 2023 at 19:19, andrew beck 
>> wrote:
>>
>> > And also the fact that Linux CNC was showing t3 when t3 was the one
>> loaded.
>> >
>> > Even though the code had gone past the t4 command
>>
>> If you can find a recipe to recreate the issue then perhaps there is a
>> way to investigate what's going on.
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


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

2023-10-12 Thread andrew beck
Yep I'll keep digging and reply back here later

On Fri, 13 Oct 2023, 08:38 andy pugh,  wrote:

> On Thu, 12 Oct 2023 at 19:19, andrew beck 
> wrote:
>
> > And also the fact that Linux CNC was showing t3 when t3 was the one
> loaded.
> >
> > Even though the code had gone past the t4 command
>
> If you can find a recipe to recreate the issue then perhaps there is a
> way to investigate what's going on.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-10-12 Thread andrew beck
Hey andy

I just have a pocket sensor home sensor  and classic ladder counter.

Plus carousel clamped and unclamped sensors etc.


But I don't think that was the problem.


If that was the case I would expect the offsets to be incorrect.

Eg t4 would be using t3 offsets and try machine in wrong location


But offsets were correct. Only issue is t3 which tells me toolchanger is
fine.

And also the fact that Linux CNC was showing t3 when t3 was the one loaded.

Even though the code had gone past the t4 command

And when I did a toolchange after crash to t4 it changed the tool (rotated
carousel).

And axis GUI then updated to t4



On Fri, 13 Oct 2023, 03:43 andy pugh,  wrote:

> On Thu, 12 Oct 2023 at 10:33, andrew beck 
> wrote:
> >
> > No we pushed cycle stop changed a offset by 0.01mm  waited 2 minutes then
> > restarted whole program from beginning.
>
> Could your observations be explained by the toolchanger position not
> being what the system thought it was?
>
> What sort of toolchanger position feedback do you have?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-10-12 Thread andrew beck
No we pushed cycle stop changed a offset by 0.01mm  waited 2 minutes then
restarted whole program from beginning.

On Thu, 12 Oct 2023, 21:59 andy pugh,  wrote:

> On Thu, 12 Oct 2023 at 02:41, andrew beck 
> wrote:
>
> > We stopped it and then changed a wear offset and it ignored the
> toolchange
> > and tried to machine with t3 instead of changing to t4.
>
> Was this with run-from-line? (You say that you stopped it)
>
> Which line did you run from?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-10-11 Thread andrew beck
Hey guys. Got a problem with my CNC lathe

It randomally tried to run a program with the wrong tool number.

I'm using the fanucy wear offset patch to get wear offsets as linuxcnc
doesn't offer that yet as stock standard.

This lathe has done about 4000 toolchanges faultlessly.

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

Then after the crash we typed in t4 again and it rotated to correct pocket.

So problem is not the toolchanger.

I think it might be the remap...


Does anyone have any ideas?

Toolchanger is not the issue that works fine

Linux CNC goes past the gcode file u can see it read t4 but then it ignores
it and just runs t3 still and you can see in axis that t3 is loaded.  And
it uses t3 offsets so it's trying to go to the right place just using the
wrong tool.

In this case a od turning tool instead of a drill bit lol.

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


Re: [Emc-users] new tool table in linuxcnc master

2023-10-02 Thread andrew beck
Thanks so much for the replies guys.

That's great.

I just need 80 tools for now so can work with that and keen to try out any
new features as they come up



On Tue, 3 Oct 2023, 02:59 Rene Hopf via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

>
> On 02.10.23 13:21, andy pugh wrote:
> > On Mon, 2 Oct 2023 at 11:53, Roland Jollivet 
> wrote:
> >> Just wondering, why would there be limit of 50?
> > Previously the whole tool-table was sent periodically in an NML
> > message and those are of limited size.
> >
> > That's not the case now, though. And I don't think that there is any
> > limit currently.
> there still is a limit of 1000. Im currently refactoring the whole tool
> management, making it much simpler, and removing all limits.
> >
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] new tool table in linuxcnc master

2023-10-02 Thread andrew beck
just found this to

https://github.com/spacestate1/linuxcnc/commit/9c6a8d82c60fc40b435b1e8e4c42e8c44a0ed907

does anyone have any more details on it?

On Sun, Oct 1, 2023 at 11:41 PM andrew beck 
wrote:

> hey guys
>
> i see there is a new tool table in linuxcnc now.  looks like it has great
> potential
>
> https://linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.html
>
> i have a big mazak fh680 horizontal cnc mill  22tons and 80 tools
>
> linuxcnc used to have a max of 50 tools in tool table.  with the new table
> can that be changed now?  and has anyone built anything with it ready to be
> used yet?  i am interested in having a play now
>
> I am starting to think about retrofitting my cnc mill now and
> obviously want to be able to use all 80 tools.  its all bt50 tooling and i
> have about 90 holders ready to go that came with the machine
>
> regards
>
> Andrew
>

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


[Emc-users] new tool table in linuxcnc master

2023-10-02 Thread andrew beck
hey guys

i see there is a new tool table in linuxcnc now.  looks like it has great
potential

https://linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.html

i have a big mazak fh680 horizontal cnc mill  22tons and 80 tools

linuxcnc used to have a max of 50 tools in tool table.  with the new table
can that be changed now?  and has anyone built anything with it ready to be
used yet?  i am interested in having a play now

I am starting to think about retrofitting my cnc mill now and
obviously want to be able to use all 80 tools.  its all bt50 tooling and i
have about 90 holders ready to go that came with the machine

regards

Andrew

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


Re: [Emc-users] Remembering the last tool in spindle before restart (andrew beck)

2023-09-28 Thread andrew beck
hey henk

i got it working also today just copied this on the forum worked
perfectly and the toolchanger works great still just have to clean up a few
rough edges but it changes tools and remembers the tool in spindle after a
restart

i want to make a video tomorrow and maybe help the next guy.  i will make a
overview of my setup i think.

O sub
M6
#4999 = #5400
O endsub
m2



MDI_COMMAND = M61 Q#4999 in ini
and
net machine_enabled halui.mdi-command-00 in Hal

thanks for the reply.

cheers andrew

On Thu, Sep 28, 2023 at 8:28 PM  wrote:

> HI
> Had this same issue yesterday on a machine im retrofitting.
>
> I have a crude workaround that seems to be working...
>
> M6 is remapped to do the toolchange using the .ngc program. When the tool
> is
> changed, i update a paremeter #5000 with the new tool number. #5000 was
> added to the .var file
>
> I then added a MDI_command to the .ini file : M61 Q#5000
>
> And i issue the MDI command when the machine is on and homed. I did this
> using classicladder, with machine-is-on, x-is-homed, y-is-homed, and z-is
> homed all in series, with a monostable to pulse the output and the mdi
> command is then excecuted.
>
> You can do this in hal as well with a couple of and2 and oneshot
> components.
>
> Regards
> Henk
>
> -Original Message-
> From: emc-users-requ...@lists.sourceforge.net
> 
> Sent: Wednesday, September 27, 2023 11:25 AM
> To: emc-users@lists.sourceforge.net
> Subject: Emc-users Digest, Vol 209, Issue 31
>
> Send Emc-users mailing list submissions to
> emc-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/emc-users
> or, via email, send a message with subject or body 'help' to
> emc-users-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> emc-users-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Emc-users digest..."
>
>
> Today's Topics:
>
>1. Remembering the last tool in spindle before restart (andrew beck)
>
>
> --
>
> Message: 1
> Date: Wed, 27 Sep 2023 22:24:59 +1300
> From: andrew beck 
> To: "Enhanced Machine Controller (EMC)"
> 
> Subject: [Emc-users] Remembering the last tool in spindle before
> restart
> Message-ID:
> <
> calqw8iopuwcumyrnsbc9hp--ibbrre2zfnswn2_1dxmoo18...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hey guys.
>
> I got a fixed position toolchanger using Andy's carousel component.
>
> Just need to remember the tool in spindle before shutdown
>
> When you set toolchanger as random io control remembers the last tool when
> you restart.  And that works perfectly for a few years on another machine.
>
>
> But this machine I'm having issues with.
>
> I found that this is a pretty common problem.
>
> Hoping it's been fixed by now and would love to know how people get around
> it if it's not fixed yet.
>
>
> https://forum.linuxcnc.org/49-basic-configuration/31150-current-tool-number-
> permanent?start=10
> <https://forum.linuxcnc.org/49-basic-configuration/31150-current-tool-number-permanent?start=10>
>
>
> And Todd Zuercher had a interesting idea I saw maybe using a random
> toolchanger setup and tricking it.
>
>
> Also I think Andy got it working but would appreciate some clarification on
> what people managed to get working
>
> Anyway hoping someone can help cheers
> -- next part --
> A non-text attachment was scrubbed...
> Name: Screenshot_2023-09-27-22-10-23-608_com.android.chrome-01.png
> Type: image/png
> Size: 112257 bytes
> Desc: not available
> -- next part --
> A non-text attachment was scrubbed...
> Name: Screenshot_2023-09-27-22-23-40-551_com.android.chrome-01.png
> Type: image/png
> Size: 115645 bytes
> Desc: not available
>
> --
>
>
>
> --
>
> Subject: Digest Footer
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> --
>
> End of Emc-users Digest, Vol 209, Issue 31
> **
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Installing From Debian?

2023-07-30 Thread andrew beck
Just to chime in here

Rod Webster has been doing a bit of work here with fixing error finishing
read signals.

The realtek drivers that come with the buster iso are not very good and we
get a error finishing read error.   This is with a good 4us  latency
test.  The network card is the issue now.

So mesa card watch dog hits and throws machine into estop.

Real problem.

Been working 3 days on it.  And just now getting back to machining.

2 solutions.

Rod wrote a doc that steps you through how to install bookworm and the new
6.1 RT kernel.  That has been running for 3 days on a massive gcode file
now with a mesa 7i92m connected and no errors.   This is with 2.9linuxcnc.
so pretty good solution for 2.9 if you need it.

This is on a 2core jt1800 CPU.

Only slight issue is the pc runs slower on bookworm in general.  But it's
only a industrial cheap 2core pc from china.

2nd solution is to use a old Linux mint 19.2 iso I have that someone made.
With 2.8 linuxcnc and 4.19rt kernel.  That has been running 24hrs with same
big file no issues.

This is my go to for 8 machines now and it just works

Much faster response than bookworm and no issues so far either.  And
drivers just work on mint lol.   Which is nice.

But the error finishing read issue is pretty wide spread and a bit of a
problem.

Anyway back to running machines sing out if you get problems.   Hopefully
this helps.




On Thu, 6 Jul 2023, 13:59 Todd Zuercher,  wrote:

> Any one installed Debian 12 and running  Linuxcnc on a machine?  Since
> Linuxcnc is now in Debian Stable, I was wondering if anyone cared to voice
> their opinions about installing and running Linuxcnc that way.
>
> I have a machine that I am starting to refit and I am considering trying
> to install that way rather than using one of the more obsolete Linuxcnc
> ISOs.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-07-04 Thread andrew beck
I would also help pay someone in a heart beat to fix the trajectory planner.

Some sort of jerk control would be awesome.

It doesn't need to be active in any special cases like spindle
synchronization but just if it worked for 4 axis simple motor at least
would be a game changer

On Wed, 5 Jul 2023, 06:22 Martin Dobbins,  wrote:

> "If we could get hold of the patches that introduced it to Tormach then
> we could look at integrating it"
>
> Maybe a Tormach user could help with that?
>
> Martin
> 
> From: andy pugh
> Sent: Tuesday, July 4, 2023 1:13 PM
> To: EMC developers 
> Cc: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] [Emc-developers] Trajectory planner shortcomings
>
> On Tue, 4 Jul 2023 at 18:34, Marius  wrote:
>
> > The problem seems to be that our trajectory planner lack the ability to
> > look ahead for any rotary axis. This means that a coordinated move that
> > includes a rotary move will be dysfunctional at best.
>
> It's not as bad as that.
>
> There is a 9-axis blending planner in Tormach, but it's not trivial to
> merge it with Linuxcnc due to divergence in the codebase.
>
> If we could get hold of the patches that introduced it to Tormach then
> we could look at integrating it, but doing it just from comparing the
> code sounds hard.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users=05%7C01%7C%7C91d37b0d77f54d3ecc2a08db7cbacebf%7C84df9e7fe9f640afb435%7C1%7C0%7C638240914003879354%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=l6H2WYtGdwodmVqn5LJ63ADJShamxBDFw7IjMuaTrJg%3D=0
> 
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] CNC machining setup cards

2023-07-04 Thread andrew beck
I run a CNC machine shop full time.

We always want the step files.  Or SOLIDWORKS files etc.

And we make it own gcode from that.

It would be a nightmare to run someone else's gcode lol.



On Tue, 4 Jul 2023, 17:45 Thomas J Powderly,  wrote:

> Hi Nicklas
>
> Maybe you look for old style grid work planning
>
> Maybe you look for templates for each d/m/d/t code to work in text editor
>
> I remember older APT books showing the grid worksheets
>
> You may find them in the APTOS archives of  the wayback machine
>
> https://sourceforge.net/projects/aptos/
>
> ( the autors moved thru many incarnation, now many work on FreeCad)
>
> and maybe in
>
> https://en.wikipedia.org/wiki/APT_(programming_language)
>
>
> https://www.govinfo.gov/content/pkg/GOVPUB-C13-1470e356ce0fe0a8cd622276c5b78d27/pdf/GOVPUB-C13-1470e356ce0fe0a8cd622276c5b78d27.pdf
>
>
> https://www.onboces.org/site/handlers/filedownload.ashx?moduleinstanceid=1920=6254=cnc%20ch%208.pdf
>
> https://www.liveworksheets.com/gg3052949ee
>
> https://www.scribd.com/doc/20749552/CNC-Milling-Worksheet
>
>
> https://www.haascnc.com/content/dam/haascnc/en/service/reference/programming-workbooks/mill---programming-workbook.pdf
>
> but I dount modern shop wants your gcode
>
> they want a model
>
> and will generate thier owm gcode
>
> hth
>
> tomp
>
> On 7/4/23 00:41, Nicklas SB Karlsson wrote:
>
> > Starting to get a little bit harder to remember everything manually,
> > never worked in or submitted work to a workshop. Anyone with experience
> > have some good example how a CNC machining setup card should look like?
> > History of CNC machininghttps://www.youtube.com/watch?v=zvicnzyprOg
> > Regards Nicklas Karlsson
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


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

2023-06-25 Thread andrew beck
Adapter plate sounds easiest to me

On Sun, 25 Jun 2023, 21:01 andy pugh,  wrote:

> On Sun, 25 Jun 2023 at 04:31, John Dammeyer 
> wrote:
>
> > Is there any reason I can't clamp the motor in a vice and pop in two
> holes
> > and tap them with a bottom tap at the spacing of the mounting flange?
>
> I have done it in-situ, but there really isn't all that much metal in
> there.
>
> I think pulling the back cover off (leaving the rotor in place) and
> choosing your mounting point carefully would probably be best.
>
> Or, as Gene says, use the existing holes, very short screws, and an
> adaptor plate.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] OT: Fanuc spindle drive

2023-06-12 Thread andrew beck
Just to confirm also

Gene.

My vfd only holds the motor at full torque to resist loads briefly.

So it never actually causes problems


I think the rating is 1min at the 150 percent rated torque.

So it's only to respond to forces and make a good fast pid loop

Not to run that way all the time

On Tue, 13 Jun 2023, 16:19 Leonardo Marsaglia, 
wrote:

> >
> > Wrong atribution Leonardo. It was posted by Andrew Beck, I was just
> > commenting that it appears Andrew was overdriving the motors a bit.
> >
>
> That's ok Gene :)
>
> I just wanted to clarify because some older Fanuc spindle drives (the mazak
> that's from 1983 had one of those) worked with 0-10 volts for speed command
> and are easy to replace. But these apparently are not that friendly. I
> would love to install LCNC on this lathe like on any machine, but that
> would take several weeks easily so It's not the happiest option at the
> moment.
>
> El mar, 13 jun 2023 a las 1:05, gene heskett ()
> escribió:
>
> > On 6/12/23 22:58, Leonardo Marsaglia wrote:
> > > Guys, just to clarify, the control is still Fanuc, not LCNC. So I need
> to
> > > interface with the Fanuc control. Also, the drives on this lathe are
> all
> > > using serial communications (the lathe is from 1997) so I think it's
> not
> > > that easy to replace an original drive for a non Fanuc one. That's why
> > I'm
> > > just hoping there's some kind of interface to convert the signals
> from/to
> > > the fanuc control to use a standard VFD. If not, I guess I'll have to
> > > replace the drive entirely and try to repair the one that's not working
> > > without the rush of getting the machine working again.
> > >
> > > El lun, 12 jun 2023 a las 17:36, gene heskett ()
> > > escribió:
> > >
> >
> > Wrong atribution Leonardo. It was posted by Andrew Beck, I was just
> > commenting that it appears Andrew was overdriving the motors a bit.
> >
> > >> On 6/12/23 15:58, andrew beck wrote:
> > >>> Leon I use a cheap Chinese vfd costs about 190usd
> > >>>
> > >>> And buy a encoder for it.  About 50usd and I'm controlling two fanuc
> > >>> spindle motors here fine.
> > >>>
> > >>> They auto tuned the motor in about 4 secs and run awesome.
> > >>>
> > >>> I can get 150 percent torque at zero rpm.  If I run a pid loop in
> > >> linuxcnc
> > >>> almost a servo level control response
> > >>>
> > >>> Have a look at the video there are links on there.  I made it a few
> > >> months
> > >>> ago
> > >>>
> > >>> https://youtu.be/vARlybdtC6Q
> > >>>
> > >>> I'll message you in WhatsApp too.
> > ^^
> > did you get that msg?
> > >>>
> > >>> On Tue, 13 Jun 2023, 07:40 Leonardo Marsaglia, <
> ldmarsag...@gmail.com>
> > >>> wrote:
> > >>>
> > >>>> Forgot to attach a picture of the label on the spindle drive. Sorry.
> > >>>>
> > >>>> El lun, 12 jun 2023 a las 16:33, Leonardo Marsaglia (<
> > >>>> ldmarsag...@gmail.com>)
> > >>>> escribió:
> > >>>>
> > >>>>> Hi guys, I hope you're all doing well
> > >>>>>
> > >>>>> Sorry for the OT but we have a problem with a Daewoo lathe and as
> > >> always
> > >>>>> this is the first place I think of.
> > >>>>>
> > >>>>> So, this morning the lathe started up as always, but when we
> selected
> > >> the
> > >>>>> gear to validate the spindle movement the screen showed a 409 SERVO
> > >> ALARM
> > >>>>> and the spindle drive on the back was showing alarm number 12. From
> > >> what
> > >>>> I
> > >>>>> could find on several forums this is an overload alarm and in the
> > worst
> > >>>>> case scenario the IGBT firing module or the IGBT module itself
> could
> > be
> > >>>>> damaged.
> > >>>>>
> > >>>>> Is there any way to check this in an easy manner?
> > >>>>>
> > >>>>>Also, is it possible to adapt a normal VFD in case this is the
> > >> problem?
> > >>>>> Because maybe there are some Fanuc Serial protocol to analog
> voltage
> 

Re: [Emc-users] OT: Fanuc spindle drive

2023-06-12 Thread andrew beck
Leon I use a cheap Chinese vfd costs about 190usd

And buy a encoder for it.  About 50usd and I'm controlling two fanuc
spindle motors here fine.

They auto tuned the motor in about 4 secs and run awesome.

I can get 150 percent torque at zero rpm.  If I run a pid loop in linuxcnc
almost a servo level control response

Have a look at the video there are links on there.  I made it a few months
ago

https://youtu.be/vARlybdtC6Q

I'll message you in WhatsApp too.

On Tue, 13 Jun 2023, 07:40 Leonardo Marsaglia, 
wrote:

> Forgot to attach a picture of the label on the spindle drive. Sorry.
>
> El lun, 12 jun 2023 a las 16:33, Leonardo Marsaglia (<
> ldmarsag...@gmail.com>)
> escribió:
>
> > Hi guys, I hope you're all doing well
> >
> > Sorry for the OT but we have a problem with a Daewoo lathe and as always
> > this is the first place I think of.
> >
> > So, this morning the lathe started up as always, but when we selected the
> > gear to validate the spindle movement the screen showed a 409 SERVO ALARM
> > and the spindle drive on the back was showing alarm number 12. From what
> I
> > could find on several forums this is an overload alarm and in the worst
> > case scenario the IGBT firing module or the IGBT module itself could be
> > damaged.
> >
> > Is there any way to check this in an easy manner?
> >
> >  Also, is it possible to adapt a normal VFD in case this is the problem?
> > Because maybe there are some Fanuc Serial protocol to analog voltage
> > converters (I'm just wishing such an adapter exists) that could be used.
> >
> > Thanks as always for your help!
> >
> > Leonardo
> >
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Very cool linuxcnc machine running linuxcnc

2023-06-03 Thread andrew beck
Hey guys does anyone know what who is making this CNC.

Looks very very cool

https://youtu.be/Nl16dcKmius

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


Re: [Emc-users] CNC lathe show and tell.

2023-05-25 Thread andrew beck
Just a injection moulded plastic.

2in BSPT tapered thread

We do a lot of these.

Linuxcnc never misses a beat with the threading

On Thu, 25 May 2023, 15:13 John Dammeyer,  wrote:

> Very nice!!!  What's the material?  Were the raw pieces 3D printed?   Is it
> a tapered thread?
> John
>
> -Original Message-
> From: andrew beck [mailto:andrewbeck0...@gmail.com]
> Sent: May 24, 2023 7:36 PM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] CNC lathe show and tell.
>
> Hey guys this might interest people.
>
>
> https://youtu.be/43dDKU2GlnA
>
>
> Just a job I did yesterday on my and lathe.
>
> I kinda like it now.
>
> 3500 max rpm
>
> I think it's threading at about 900rpm
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] CNC lathe show and tell.

2023-05-24 Thread andrew beck
Hey guys this might interest people.


https://youtu.be/43dDKU2GlnA


Just a job I did yesterday on my and lathe.

I kinda like it now.

3500 max rpm

I think it's threading at about 900rpm

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


Re: [Emc-users] Spindle fun with closed loop vfd and fanuc motor

2023-04-13 Thread andrew beck
I think just email them.

I talk to them on we chat but I think they have WhatsApp too

On Thu, 13 Apr 2023, 17:29 Scott Harwell via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

>  I don't find the AT20 on the website, only AT10. Do you have a direct
> link?
> Scott
>
> On Wednesday, April 12, 2023 at 08:46:39 PM CDT, andrew beck <
> andrewbeck0...@gmail.com> wrote:
>
>  Hey guys this might help someone with a retrofit somewhere
>
> https://youtu.be/vARlybdtC6Q
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Spindle fun with closed loop vfd and fanuc motor

2023-04-12 Thread andrew beck
Hey guys this might help someone with a retrofit somewhere

https://youtu.be/vARlybdtC6Q

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


Re: [Emc-users] Lathe wear offsets remap help

2023-02-11 Thread andrew beck
Sweet well that works great for now



On Sun, 12 Feb 2023, 04:56 Andy Pugh,  wrote:

>
>
> > On 11 Feb 2023, at 00:28, andrew beck  wrote:
> >
> >  it looks like the wear offset is not
> > separated and i don't know to change x and not z
>
> Oh, yes. Thinking about it, it will.
> You might have to actually store half the value in the tool table.
> There is probably a way to pick out the individual offsets and add them
> together, but I am away from my LinuxCNC machines this week.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Lathe wear offsets remap help

2023-02-10 Thread andrew beck
awesome

i went and had a look and my brain hurts


this is the code in the toolchange sub remap

what would i need to change?  it looks like the wear offset is not
separated and i don't know to change x and not z


if you can show me i will make a big post in the linuxcnc forum all about
setting up wear offsets so that next time someone can search for that

regards

Andrew
===
O sub
(debug, Tool requested = #)
# = [1 + FIX[ #  / 100]]
# = [# MOD 100]
M6 T#
G43 H#
O100 IF [# GT 1]
G43.2 H#
O100 ENDIF
# = #
(debug, tool = # wear = #)
O endsub [0]
===
regards

Andrew


On Sat, Feb 11, 2023 at 10:06 AM Andy Pugh  wrote:

>
>
> > On 10 Feb 2023, at 21:44, andrew beck  wrote:
> >
> > And I trying to change the toolchange.ngc file?
>
> Yes, that’s where the offset is applied.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Lathe wear offsets remap help

2023-02-10 Thread andrew beck
Haha might have known you wrote it Andy

I'll go get the script now to have a look at it

And I trying to change the toolchange.ngc file?

Or the python stuff?

One thing I need to do is make sure I half the X axis wear offset and don't
change the z axis wear offset



On Sat, 11 Feb 2023, 02:27 Andy Pugh,  wrote:

>
>
> > On 10 Feb 2023, at 06:42, andrew beck  wrote:
> >
> > Does anyone know who wrote the fanucy style wear offset remap?
>
> I did it.
> Note that I have never used a Fanuc machine.
> >
> > It would be good to change it to be in dia eg divide the wear
>
> This should be a simple change in the remap NGC file.
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Lathe wear offsets remap help

2023-02-09 Thread andrew beck
Hey guys

Does anyone know who wrote the fanucy style wear offset remap?

I put it on my lathe and it is great.

Not perfect but much better than stock standard tool offsets.

There are two things I would like to change.

First the wear offset is in radius.

It would be good to change it to be in dia eg divide the wear offset in
tooltable by 2 in the remap?

And the second one is a bit harder.

Because m6 is remapped when I use the run from line function all the
toolchanges in the program get queued up and happen even if I run from line
at the very end of the program.

I think this one might just be something I have to live with.  But it's
worth asking the question.

Regards

Andrew

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


Re: [Emc-users] US midwest LinuxCNC meeting

2023-02-02 Thread andrew beck
That sounds amazing Jon

With all those clever guys in the room make sure you bring up the jerk
control issue.

If Rob Ellenberg could be tempted to fix it I would be keen to chip in and
pay someone like that to fix it.  If that would help.

And coming from a 4 axis mill background..

 just like to suggest that maybe we don't need an all axis work in every
situation zerk control.  That's really hard to code.

Just a 4 axis control or even 3 axis control that worked would be awesome.

And any spindle synchronization stuff could revert back to old TP

But regardless have a great meeting!

And it's really cool the tormach guys are getting involved.

Regards

Andrew



On Fri, 3 Feb 2023, 04:50 Jon Elson,  wrote:

> During one of the LinuxCNC group chats, I got myself elected
> to set up a US meeting of LinuxCNC-interested people.
>
> After checking several possibilities, Tormach stepped up and
> offered to host it.  They are in the Madison, WI area,
> although they have moved out of the Waunakee office/lab
> space they were in when we met there some years ago.
> Several of their own developers will be there in mid-late
> April (Rob Ellenberg, John Morris, Alex Rossler) and we are
> going to try to set up our meeting to partially overlap with
> them.  I have not gotten firm dates from Tormach but hope to
> get more detailed info sometime soon.  This is just a
> heads-up to let people know that a meeting ought to happen
> about that time.
>
> Any comments are welcome.
>
> Jon
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Running PathPilot on non-Tormach Machines

2023-02-01 Thread andrew beck
And I have several CNC machines here for testing.

If you guys need someone to test stuff

One if them is a linear rail machine that really really feels the lack in
the current TP so would be good to see the difference

On Thu, 2 Feb 2023, 06:51 John Dammeyer,  wrote:

> I've just been emailed that my second BoB has been shipped.  Once that
> arrives I have:
> Pi4 + Mesa 7i92H + 2xBoB + power supplies.
> I'd also be willing to test, assuming I can be sent an img file to do a
> stock newbie type installation for an open loop stepper controlled CNC
> router or a mill.
>
> I'd use an existing hal/ini file combination and make whatever changes are
> required for the Tormach based install.  I'd look at using the I/O modeled
> after the image for the Clearpath CNC
> https://www.centroidcnc.com/centroid_diy/acorn_cnc_controller.html
> But create an image with the components I'm using.
> John
>
> > -Original Message-
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> > Sent: January-31-23 7:43 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] Running PathPilot on non-Tormach Machines
> >
> > I would certainly go back into testing mode if Rob merged the TP
> changes..
> > :)  That is stuff you can setup and let run..
> >
> > sam
> >
> > On Tue, Jan 31, 2023 at 7:05 AM andy pugh  wrote:
> >
> > > On Mon, 30 Jan 2023 at 11:16, Rick Moscoloni 
> wrote:
> > > >
> > > > Hi Andy, could this be merged to master? or are proprietary?
> > >
> > > It has been offered to us, but it doesn't merge cleanly as it predates
> > > the Joints-Axes changes.
> > >
> > > Rob Ellenberg said, (April 2021)
> > > There has been some divergence in the TP but not an impossible amount.
> > > The main challenge there is getting the associated emccanon changes
> > > merged, because max velocity / acceleration is calculated differently,
> > > and all those changes are mixed in with things like the coordinate
> > > transform overhaul (so we have to either tease that out again or port
> > > a big chunk of interp changes too). Do you know of anyone in the
> > > community who would be willing to do testing? I've added some unit
> > > tests for the TP / blending improvements, so it won't take as much
> > > functional testing to prove out the basics.
> > >
> > >
> > >
> > > --
> > > atp
> > > "A motorcycle is a bicycle with a pandemonium attachment and is
> > > designed for the especial use of mechanical geniuses, daredevils and
> > > lunatics."
> > > � George Fitch, Atlanta Constitution Newspaper, 1912
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-29 Thread andrew beck
Thanks gene

Hey you might know how to loop a gcode file

I want to loop a gcode file 50 times.

Ideally using m98 and m99
But I'm a bit stuck on how to do it.

Does anyone have some tips?

This is for bar pulling in CNC lathe

M400 unclamps chuck and m401 clamps chuck


And I need some way to loop the g code

On Fri, 27 Jan 2023, 15:12 gene heskett,  wrote:

> On 1/26/23 16:42, andrew beck wrote:
> > hey guys
> >
> > just wanted to let people know i just made a tutorial on custom m codes
> and
> > i couldn't find much info on it and wanted to help the next guy and
> remind
> > myself when i forget next time lol
> >
> >
> https://forum.linuxcnc.org/10-advanced-configuration/48071-custom-m-codes-and-bar-puller-set-up#262959
> >
> >
> > and also if any of you machinists have good tips for bar pulling on a cnc
> > lathe i would love the ideas i have never done it before
> >
> > regards
> >
> > Andrew
> >
>
> I don't have a bar puller, not even a 5C collet, just an ER42 collet
> kit. If I am doing multiple copies, I position the tool to act as a
> stopper, loosen the big nut and push the rod thru to touch the tool,
> tightening the nut again gets me a couple thou clearance but that can be
> compensated for in your program. With a reasonable speed of bar pusher
> so it does not damage the tool when it hits the tool, it ought to work
> till you are out of that bar.
>
> One could put a microswitch in the position of the tool to automate
> that, including a shutdown when the bar no longer trips the switch in a
> long enough time it should have tripped.
>
> With a couple solenoids to engage the nut wrench, and a reversible vfd,
> that all could be programmed. Even to ejecting the bars remains and
> feeding a new one from a rack of them could be done.
>
> Lots of ways to skin that cat. This is just three ideas.
>
> Take care and stay well, Andrew.
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>   soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>   - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-26 Thread andrew beck
hey guys

just wanted to let people know i just made a tutorial on custom m codes and
i couldn't find much info on it and wanted to help the next guy and remind
myself when i forget next time lol

https://forum.linuxcnc.org/10-advanced-configuration/48071-custom-m-codes-and-bar-puller-set-up#262959


and also if any of you machinists have good tips for bar pulling on a cnc
lathe i would love the ideas i have never done it before

regards

Andrew

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


Re: [Emc-users] Running PathPilot on non-Tormach Machines

2023-01-25 Thread andrew beck
Ken can pathpilot do 5 axis?



On Thu, 26 Jan 2023, 12:29 ,  wrote:

> My understanding is that it is open source.
>
> -Original Message-
> From: Murray Lindeblom 
> Sent: January 25, 2023 5:48 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] Running PathPilot on non-Tormach Machines
>
> The question I would like answered is does Tormack make PathPilot an open
> source project or is it a proprietary wrapper on Linuxcnc?
> Murray
>
> On Wed, 25 Jan 2023 at 16:35, Linden via Emc-users <
> emc-users@lists.sourceforge.net> wrote:
>
> > Well said. I see the same both in Europe and North America in all the
> > various fields of industry I deal with.
> >
> > On January 25, 2023 2:11:20 p.m. PST, Chris Albertson <
> > albertson.ch...@gmail.com> wrote:
> > >The root of the issue here is that LCNC is not a product.  It is a
> > >development environment where a person can, with some effort, develop
> > >a product.
> > >
> > >Then the problem is that as a group, machinists tend not to have
> > >computer skills or much interest in learning computer skills.  What
> > >we see on this email list is the one-in-the-thousand exception.  Most
> > >machinists just
> > want
> > >to make parts and not futz with the tools, especially if the tools
> > >involve computers.
> > >
> > >We are still in a transition period.  Today most machinists are older
> > >men who actually hate and resent CNC.  They spent a lifetime learning
> > >to turn handwheels and now some voodoo-magic boxes they don't
> > >understand
> > completely
> > >outclasses their hard-won skill.The new class of machinist are
> > >different.  They are more like engineers then blue color factory
> > >machinists.  These new guys see g-code as the product and parts as
> > >the byproduct and most of this new generation is not used to making
> > >anything
> > by
> > >hand.
> > >
> > >We are still in the transitional period where we see a mix of the old
> > >guys who have adapted to new ways, new people who have never made
> > >anything by hand and the few of us on this list who actualy like to mess
> with tools.
> > >
> > >Torrmach did a good thing by turning LCNC into a marketable product.
> > >
> > >On Wed, Jan 25, 2023 at 1:30 PM John Dammeyer
> > >
> > >wrote:
> > >
> > >> Hi Todd,
> > >> First of all that LCNC can run 8 head/spindle gang... machine has
> > nothing
> > >> to do with the subject line.
> > >>
> > >> And the grumble I often hear from people who have attempted or
> > >> looked
> > into
> > >> LinuxCNC for their system is nicely summarized by your statement:
> > >>
> > >> " Linuxcnc isn't for everyone.  The companies willing to support
> > >> and
> > hold
> > >> the hand of a green noob who isn't interested in learning anything,
> > charge
> > >> accordingly."
> > >>
> > >> Or as generally interpreted by most:  "F Off if you are a green
> > >> noob and can't figure out LCNC or Linux"
> > >>
> > >> Personally I think the theme of the original post and conversation
> > >> was
> > how
> > >> easy is it to create a turnkey system that runs Path Pilot on non
> > Tormach
> > >> Hardware.
> > >>
> > >> IMHO, a lot more people would be interested in LCNC if there was a
> > simple
> > >> easy to follow, step by step method of setting up a 4 axis mill.
> > >> The menu's for setting up motors etc. in AXIS either for the
> > >> parallel port (almost extinct) or the MESA boards is really good
> > >> but doesn't go far enough.
> > >>
> > >> There are a few youtube videos out there that show how to select
> > >> motors based on mass of the system and acme or ball screw or belt
> reduction.
> > But
> > >> the learning curve is steep and is just easier with systems that
> > >> are not LCNC.
> > >>
> > >> John
> > >>
> > >> > -Original Message-
> > >> > From: Todd Zuercher [mailto:to...@pgrahamdunn.com]
> > >> > Sent: January-24-23 11:45 AM
> > >> > To: Enhanced Machine Controller (EMC)
> > >> > Subject: Re: [Emc-users] Running PathPilot on non-Tormach
> > >> > Machines
> > >> >
> > >> > I'd like see the retrofit CNC package on the market (other than
> > >> Linuxcnc) that can run an 8 head/spindle gang
> > >> > router, with individual Z axis and VFD control for each spindle.
> > >> > I'm
> > >> sorry but freedom of customization comes
> > >> > at the cost of complexity.  If you want the freedom to be able to
> > >> use/run almost anything, you're going to
> > >> > have to know something about both the hardware and software.  You
> > >> > want
> > >> simple buy some simple 4 axis all
> > >> > in one stepper box and plug it in.
> > >> >
> > >> > Linuxcnc isn't for everyone.  The companies willing to support
> > >> > and
> > hold
> > >> the hand of a green noob who isn't
> > >> > interested in learning anything, charge accordingly.
> > >> >
> > >> > Todd Zuercher
> > >> > P. Graham Dunn Inc.
> > >> > 630 Henry Street
> > >> > Dalton, Ohio 44618
> > >> > Phone:  (330)828-2105ext. 2031
> > >> >
> > >> > -Original Message-
> > >> > 

Re: [Emc-users] Running PathPilot on non-Tormach Machines

2023-01-24 Thread andrew beck
Interesting discussion here and totally see what people are saying.

Just thought I would put a link to my machine shop website up.

BeckCNC.co.nz

All CNC machines run linuxcnc.

And we have 4th axis units running etc.  Rigid tapping.  Random position
toolchanger.

Just setting up through spindle coolant now.

What I don't have and would like to implement is conversational cycles in
the control.  And auto probing cycles.  (I do have z axis digitising
probing sussed now

But cam is so fast that I'm not to concerned.  I can get from opening cam
laptop to running parts in under 10 minutes now most of the time.

I know linuxcnc has them but haven't bothered to set them up yet.


Anyway you guys might be interested in this.

And all the awesome developers might be interested to see what we can do
with all their hard work.

Beck CNC.co.nz

Regards

Andrew

On Wed, 25 Jan 2023, 10:30 Moray Cuthill via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

> > The point is I've had absolutely no luck in convincing anyone to move
> from MACH3 or any other CNC 'package' to LinuxCNC.  Why?
>
> I spent a good few days trying LCNC, as I was intrigued and wanted to try
> out EtherCAT, as I like the idea of a simpler setup (no step/dir
> wiring/issues, less wiring, and the drives give IO reducing the need for
> additional IO boards), however as it stands, I'm probably going to pay the
> money for a Vital systems EtherCAT board to go with Mach 4.
>
> In terms of LCNC issues I faced.
> RPi4 eventually worked, but if you updated the available image, it bricked
> the installation. Also for some unknown reason, you couldn't open Chrome on
> the LCNC install.
> I bought an Odroid H3+, but due to being new hardware required Bookworm to
> fully work (earlier kernels didn't support the graphics).
> I couldn't get the EtherCAT libraries to compile on the H3, and there were
> issues with any LCNC screen that used Python (appeared to be a
> dependency issue change with Bookworm)
>
> I eventually removed the mini-ITX board from my little CNC mill (runs a
> Dynomotion KFlop setup), which let me install the stable LCNC release, and
> get EtherCAT working. However, there is an issue in the EtherCAT stack,
> which prevented the drives from enabling correctly, unless I started LCNC
> then plugged the CAT cable in.
> Not a major issue for initial testing, but nobody could really answer why
> it was doing that. But if I also coded in a Berkhoff module, without the
> CAT cable connected, LCNC wouldn't start due to error generated by the
> Berkhoff module not being connected.
>
> I spent a good amount of time trying various options, but the big issue I
> kept coming back to is LCNC is *very* fragmented.
> Documentation is spread across various places (official website, wiki,
> stickied forum posts)
> Although there appears to be a 'core' development team, there appears to be
> quite a lot of people doing their own thing.
>
> For me, for LCNC to become a valid option, it needs the entire project
> rationalised.
> Develop it so it works well on one set base OS.
> Reduce the number of screens, and make the screens that are kept far more
> functional and polished.
> Make configuration easier (editing basic configurations, shouldn't involve
> manually editing files. There should be a GUI setting editor that covers
> 90% of common machine setups - I'm happy with manual files, but the
> majority are not)
>
> To use Mach as a comparison on a basic machine.
> You take a Windows computer. You install Mach. You open Mach. You open some
> settings windows to set up the controller and assign pins. You open another
> window and configure machine parameters. You should now have a functioning
> machine. If you don't, you re-open the settings windows and change what you
> need to.
> If you want to change screen, you can change screen. If you want to edit
> the screen, you can edit the screen with a screen editor.
>
> Now think about all the steps involved in setting up a similar basic
> machine in LCNC, and then what you need to do if you want to swap screens
> or even edit a screen?
> Download a quite large ISO. Install the ISO and hope it works with your
> chosen PC hardware. Load LCNC. Select one of the plethora of screen
> options. Realise you need to run a totally separate configurator (assuming
> you're going PP, or MESA). Hope you enter the settings correctly. Re-open
> LCNC. If you want to change any settings, you need to close and re-open
> LCNC. If the configurator hasn't done/can't do what you need, you then need
> to learn to manually edit the settings file. Eventually you get a machine
> running.
> Then you want to edit or try a different screen?
> You can see where I'm going with this. LCNC is not currently beginner
> friendly.
>
> As it stands, LCNC feels like there are lots of people doing their own
> thing, with no thought to a more overall plan to make LCNC a more mature
> product.
> The comment that springs to mind is "Jack of all trades, 

Re: [Emc-users] Running PathPilot on non-Tormach Machines

2023-01-23 Thread andrew beck
Just a quick note.

I think they run a standard mesa card.



On Tue, 24 Jan 2023, 18:22 John Dammeyer,  wrote:

> -Original Message-
> > From: Ron Ginger [mailto:rongin...@roadrunner.com]
> >
> > I would like to try to run PathPilot on my own mill. I now run Mach4,
> > but I would like to see how well PathPilot works.
> >
> > I see I can simply download a copy from the Tormach site.  what
> > interface board do I need?
> >
> > What is Tormachs position on this? I know they have to release the code
> > because it is based on open source, but do they oppose its use?
> >
> > thanks
> >
> > ron ginger
> >
>
> Hi Ron,
> Long time.
> Have you asked Tormach what kind of interface board they use?  I doubt
> it's a parallel port.
>
> My guess is if you use open source LCNC for your system.  Spend the
> time/money to create a custom user interface for it but don't want everyone
> using it you'd likely use a customized piece of hardware as the break out
> board.
>
> However, unlike MACH, the two important files in LCNC are the .INI and
> .HAL files.  In the Tormach image those two will describe how they talk to
> the machine hardware.
>
> For example I use a MESA 7i92H and for a while had dual boot for WIN-XP
> and LCNC to a PMDX-126 break out board.  It's Ethernet to the MESA which
> emulates two parallel ports onto the PMDX.
>
> Here's how I documented (for my own needs) the first parallel port with
> the DB-25 pins cross referenced to the MESA pins.
>
> Looking forward to what you find out.
> John Dammeyer
>
> # external I/O signals
> # IO Connections for P2 MESA 7i92_PMDX126Ax2D.pin  (modified from pin file)
> # DBn.m_PMDX_Jn.m  I/O   Pri.func  Sec. func   Chan  Pin func
>   Pin DirSystem usage
>
> # P1.1_J6.2 0   IOPort None
>   (Out)  machine-is-enabled (output)
> # P1.14_J6.31   IOPort PWM  0PWM
>(Out)  spindle-vel-cmd-rps PWM (output)
> # P1.2_J4.2 2   IOPort StepGen  0Step/Table1
>(Out)  x axis step pulse (output)
> # P1.15_J12.9   3   IOPort None
>   (In)   max-x-y-min-z (input)
> # P1.3_J4.3 4   IOPort StepGen  0Dir/Table2
>   (Out)  x axis dir signal (output)
> # P1.16_J6.45   IOPort None
>   (Out)  spindle-ccw output (output)
> # P1.4_J3.2 6   IOPort StepGen  1Step/Table1
>(Out)  y axis step pulse (output)
> # P1.17_J6.57   IOPort StepGen  4Step/Table1
>(Out)  Charge Pump frequency (output)
> # P1.5_J3.3 8   IOPort StepGen  1Dir/Table2
>   (Out)  y axis dir signal (output)
> # P1.6_J2.2 9   IOPort StepGen  2Step/Table1
>(Out)  z axis step pulse (output)
> # P1.7_J2.3 10  IOPort StepGen  2Dir/Table2
>   (Out)  z axis dir signal (output)
> # P1.8_J1.2 11  IOPort StepGen  3Step/Table1
>(Out)  a axis step pulse (output)
> # P1.9_J1.2 12  IOPort StepGen  3Dir/Table2
>   (Out)  a axis dir signal (output)
> # P1.10_J13.4   13  IOPort None
>   (In)   estop-external-in (input)
> # P1.11_J12.3   14  IOPort QCount   0Quad-A
>   (In)   min home-x (input)
> # P1.12_J12.5   15  IOPort QCount   0Quad-B
>   (In)   min home-y (input)
> # P1.13_J12.7   16  IOPort QCount   0Quad-IDX
>   (in)   max-home-z (input)
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] awesome touch screen calibration help from Kurt

2023-01-23 Thread andrew beck
hey guys  wants to calibrate a touch screen and is missing this info i
wanted to post it on the user list

i have a older elo touch screen and gave up calibrating it and getting it
to work.  it responded to touch but didn't follow the touch points.

then saw this post from kurt (one of the developers)  which solved my issue
in 10 minutes!


https://gist.github.com/KurtJacobson/37288a0300a9c1b3e859c8dcff403300

it was very helpful so thanks kurt

and hopefully this helps someone also

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


Re: [Emc-users] Reminder: It's Today! (January 2023 Online Meeting)

2023-01-18 Thread andrew beck
That's cool can we listen in?

On Thu, 19 Jan 2023, 02:21 ,  wrote:

> Wednesday, January 18, 2023 at 19:00 UTC, 11:00am Pacific Standard Time
> (California), 2:00pm Eastern Standard Time (New York), 7:00pm London
> time, 8:00pm Central Europe time:
>
> https://meet.jit.si/LinuxCNC-meeting-january-2023
>
> See you there!
>
> Thanks,
> Matt Shaver
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Touch screen for linux

2023-01-09 Thread andrew beck
Hey guys
Looking for a Chinese industrial touch screen that people have checked
works on Linux.

There was some links to AliExpress floating around but I lost them

They don't need to be massive but I'm trying to go touch screen style if I
can

Regards

Andrew

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


Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread andrew beck
Hahaha yep founds those issues a few weeks ago

With the compare functions


On Wed, 30 Nov 2022, 06:25 Sam Sokolik,  wrote:

> also - you can't have spaces..   or it fails with no error.  But once you
> know the little nuances - it is pretty cool!
>
> On Tue, Nov 29, 2022 at 11:21 AM Sam Sokolik  wrote:
>
> > the comma certainly tripped me up..  This isn't my first or even most
> > complicated ladder - but buy - it has been a few years.  Have to re-learn
> > it all over.
> >
> > sam
> >
> > On Tue, Nov 29, 2022 at 11:05 AM Todd Zuercher 
> > wrote:
> >
> >> I think I had tried using the & symbol, and wasn't able to make it work,
> >> but it is possible I was missing the key "," in the phrase (it was a
> long
> >> time ago.)
> >>
> >> Todd Zuercher
> >> P. Graham Dunn Inc.
> >> 630 Henry Street
> >> Dalton, Ohio 44618
> >> Phone:  (330)828-2105ext. 2031
> >>
> >> -Original Message-
> >> From: Sam Sokolik 
> >> Sent: Tuesday, November 29, 2022 11:55 AM
> >> To: Enhanced Machine Controller (EMC) 
> >> Subject: Re: [Emc-users] Classic ladder compare blocks..
> >>
> >> [EXTERNAL EMAIL] Be sure links are safe.
> >>
> >> In the manual - they say you can 'and' and 'or' and such..  You need a ,
> >> then the operator..  But I think maybe the limit is 2..
> >>
> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flinuxcnc.org%2Fdocs%2Fstable%2Fhtml%2Fladder%2Fclassic-ladder.html%23_comparedata=05%7C01%7Ctoddz%40pgrahamdunn.com%7C257d76eef1444be9420808dad22d%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C638053377946996653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=NtbqLQIRX68k8nj16AoAmkS0x4hS%2BKwHr8CjM6EIhhA%3Dreserved=0
> >>
> >>
> >>-
> >>
> >>(, ) separate into groups example %IF1=2,&%IF2<5 in pseudo code
> >>translates to if %IF1 is equal to 2 and %IF2 is less than 5 then the
> >>comparison is true. Note the comma seperating the two groups of
> >>comparisions.
> >>
> >>
> >> A broad google search didn't bring up anything..
> >>
> >> sam
> >>
> >> On Tue, Nov 29, 2022 at 9:04 AM Todd Zuercher 
> >> wrote:
> >>
> >> > Oh I misunderstood your question. Yes I think a single variable
> >> > comparison block is limited to only a single comparison of a variable
> >> > to one constant or another variable.  I am surprised that it worked
> >> > with the last two compares combined into a single block.  So for your
> >> > row of logic below I would have thought it would require 3 comparison
> >> > blocks in a row on the same line.  One each for %IW0<%W0, and %IW0>0,
> >> > and %IW0<7.  Are you certain your logic worked completely, and one or
> >> > both of the last two were not ignored.
> >> >
> >> > Todd Zuercher
> >> > P. Graham Dunn Inc.
> >> > 630 Henry Street
> >> > Dalton, Ohio 44618
> >> > Phone:  (330)828-2105ext. 2031
> >> >
> >> > -Original Message-
> >> > From: Sam Sokolik 
> >> > Sent: Monday, November 28, 2022 8:57 PM
> >> > To: Enhanced Machine Controller (EMC)
> >> > 
> >> > Subject: [Emc-users] Classic ladder compare blocks..
> >> >
> >> > [EXTERNAL EMAIL] Be sure links are safe.
> >> >
> >> > It doesn't say anywhere in the linuxcnc manual for classic ladder -
> >> > but is there a limit for the compare block to just 2 compares?
> >> > ie..
> >> >
> >> > I had this in the compare
> >> > %IW0<%W0,&%IW0>0,<7
> >> > For the life of me the logic just wasn't working.
> >> > Finally I put it in 2 separate compares..
> >> > %IW0<%W0 in one..  followed by %IW0>0,<7
> >> >
> >> > This worked as expected..
> >> >
> >> > BTW - the old emco turret with no feedback should work pretty darn
> >> > well with a little ladder logic..  Only 1 output.  (logic 0 runs the
> >> turret into
> >> > the pawl through a current limiting resistor..   logic 1 runs the
> turret
> >> > clockwise to the next tool.)
> >> >
> >> >
> >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .
> >> > youtube.com
> %2Fwatch%3Fv%3DJGGPob1iKj8data=05%7C01%7Ctoddz%40pgrah
> >> > amdunn.com
> %7C257d76eef1444be9420808dad22d%7C5758544c573f47cebee96c
> >> > 3e0806fb43%7C0%7C0%7C638053377947152901%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> >> > oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> >> > %7C%7Csdata=cif23wgzE%2FVAGPkRunpoNKJIEhXWuelmjvRBaNQKeaI%3D
> >> > reserved=0
> >> >
> >> > The original Emco compact 5 CNC, when you would call a tool - say you
> >> are
> >> > at tool 1 and going to tool 3 - would stop at tool 2 and index.   (it
> >> stops
> >> > at every tool location between the one it was at and the one you
> >> > called)
> >> >
> >> > I think this was probably convenience as you need 2 different time
> >> > delays
> >> > - the initial one to go to the next one..  (slightly longer than every
> >> > pocket after the first..)  I am currently using 2.2 seconds for the
> >> > first tool -
> >> > 1.8 seconds for every tool after.
> >> >
> >> > kinda neat.
> >> >
> >> > 

[Emc-users] Production machine running linuxcnc.

2022-11-22 Thread andrew beck
Hey guys I made this video last night of my machine running on a part
thought you might like it.

Running linuxcnc and preloading tool for toolchange

Plus 4th axis etc

I'm hoping to start making a lot of these to both advertise for my machine
shop and to show how good Linux CNC is.

And that you can run big machines on it.

https://youtu.be/kzaxBU0EVr0

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


[Emc-users] new linuxcnc based gui and control

2022-11-12 Thread andrew beck
hey guys some of you have probably seen this

if not check it out

I saw mention of a S curve lookahead and jerk control and am getting very
interested at this point

it looks amazing as a control absolutely awesome

https://forum.linuxcnc.org/show-your-stuff/47118-two-retrofitted-machines-ready-for-doing-some-work?start=0

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


enjoy

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Ok guys toolchanger works mint now.

I'm looking for a 4th axis config now.

Anyone got any I need to set up my 4th axis for a job

On Wed, 9 Nov 2022, 09:38 andrew beck,  wrote:

> Yeah that's a pain
>
> I currently use the tool prepared pin to make sure it's prepared lol and
> stop a toolchange if the correct tool is not in spindle
>
> On Wed, 9 Nov 2022, 08:55 andy pugh,  wrote:
>
>> On Tue, 8 Nov 2022 at 19:10, andrew beck 
>> wrote:
>>
>> > but its not preloading tool
>> >
>> > it sits there and waits for the tool to load instead of doing it while
>> the
>> > program is running
>> >
>>
>> You (may) need to assert tool-prepared straight away, and then get on with
>> the actual prep. Though that isn't how Ithought it worked,
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is designed
>> for the especial use of mechanical geniuses, daredevils and lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Hey guys it got us sussed!  Working perfectly.

I'll upload a video and hope to make a guide on the forums for the next guy

On Wed, 9 Nov 2022, 12:02 John Dammeyer,  wrote:

> Looking at:
>
> https://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m66
>
> Should there not be a Q in front of the 10 in your line below for a
> timeout of 10 seconds?
> M66 P0 L2 10
>
> If I were to do this then I have this in my hal filev which shows which
> pin is encoder index:
> #IO Connections for P1
> #DBn.m_PMDX_Jn.m  I/O   Pri. func  Sec. func   Chan  Pin func
>   Pin Dir
> # P2.13_J11.7   33  IOPort QCount   1Quad-IDX
>   (In)   Encoder-Index
>
> Then in the hal file I add:
> net spindle-index-in  motion.digital-in-00  <= hm2_7i92.0.gpio.033.in
>
> Finally the G-Code would look like this?
> S10 M3
> M66 P0 L2 Q10
> M5
> T__  tool change...
>
> Or have I missed something?
> Thanks
> John
>
> > -Original Message-
> > From: andrew beck [mailto:andrewbeck0...@gmail.com]
> > Sent: November-08-22 2:20 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] triggering the mesa card encoder index pulse
> >
> > Hey andy.
> >
> >  I was just having a play and I can actually just sense the input-index
> pin
> > directly.  With
> > M66 P0 L2 10
> > I rotate spindle at 5rpm and wait until sensor changes state
> >
> > Then stop.
> >
> >
> > In my case this is a proxy switch.  Not a encoder so I don't have to
> worry
> > about missing it.
> >
> > Anyway I tried that and it's orientating fine at the moment.
> >
> > And very simple compared to m19 stuff.
> >
> > I'll finish it tomorrow and might make a video to show you guys.
> >
> > On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
> >
> > > On Tue, 8 Nov 2022 at 04:50, andrew beck 
> wrote:
> > >
> > > >
> > > > i am using the tristate bit but getting a bit confused on how it
> works
> > > >
> > >
> > > It only drives the output to the input when enable is true.
> > >
> > > You want to set the indes-enable pin high, and then stop writing to it
> so
> > > that the rest of the system can do its thing.
> > >
> > > So set input permanently high.
> > > Then toggle enable on and off.
> > > Then rotate the spindle until index-enable is driven false.
> > >
> > > --
> > > atp
> > > "A motorcycle is a bicycle with a pandemonium attachment and is
> designed
> > > for the especial use of mechanical geniuses, daredevils and lunatics."
> > > � George Fitch, Atlanta Constitution Newspaper, 1912
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Yeah that's a pain

I currently use the tool prepared pin to make sure it's prepared lol and
stop a toolchange if the correct tool is not in spindle

On Wed, 9 Nov 2022, 08:55 andy pugh,  wrote:

> On Tue, 8 Nov 2022 at 19:10, andrew beck  wrote:
>
> > but its not preloading tool
> >
> > it sits there and waits for the tool to load instead of doing it while
> the
> > program is running
> >
>
> You (may) need to assert tool-prepared straight away, and then get on with
> the actual prep. Though that isn't how Ithought it worked,
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
well i have a working spindle orientation!

once you have a vfd that allows a low speed 15 rpm accurate motor rotation
its not too hard

just rotate until the input-index pin changes state with a m66 code

then stop spindle

it overshoots the sensor by about 10 degrees but its repeatable

so just change the location of the sensor (aka index pulse and we are away)

next bit of progress i am just trying to get done is to preload my tool

i have a random position tool changer and have selected that option in
linuxcnc ini file

but its not preloading tool

it sits there and waits for the tool to load instead of doing it while the
program is running

when i type t1m6 the  IOcontrol tool prepare pin goes high

then once tool is selected the IOcontrol tool prepared pin goes high and
then the tool actually gets changed with the m6 command


anyway do you guys have any ideas


regards

Andrew

On Tue, Nov 8, 2022 at 11:20 PM andrew beck 
wrote:

> Hey andy.
>
>  I was just having a play and I can actually just sense the input-index
> pin directly.  With
> M66 P0 L2 10
> I rotate spindle at 5rpm and wait until sensor changes state
>
> Then stop.
>
>
> In my case this is a proxy switch.  Not a encoder so I don't have to worry
> about missing it.
>
> Anyway I tried that and it's orientating fine at the moment.
>
> And very simple compared to m19 stuff.
>
> I'll finish it tomorrow and might make a video to show you guys.
>
> On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
>
>> On Tue, 8 Nov 2022 at 04:50, andrew beck 
>> wrote:
>>
>> >
>> > i am using the tristate bit but getting a bit confused on how it works
>> >
>>
>> It only drives the output to the input when enable is true.
>>
>> You want to set the indes-enable pin high, and then stop writing to it so
>> that the rest of the system can do its thing.
>>
>> So set input permanently high.
>> Then toggle enable on and off.
>> Then rotate the spindle until index-enable is driven false.
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is designed
>> for the especial use of mechanical geniuses, daredevils and lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Hey andy.

 I was just having a play and I can actually just sense the input-index pin
directly.  With
M66 P0 L2 10
I rotate spindle at 5rpm and wait until sensor changes state

Then stop.


In my case this is a proxy switch.  Not a encoder so I don't have to worry
about missing it.

Anyway I tried that and it's orientating fine at the moment.

And very simple compared to m19 stuff.

I'll finish it tomorrow and might make a video to show you guys.

On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:

> On Tue, 8 Nov 2022 at 04:50, andrew beck  wrote:
>
> >
> > i am using the tristate bit but getting a bit confused on how it works
> >
>
> It only drives the output to the input when enable is true.
>
> You want to set the indes-enable pin high, and then stop writing to it so
> that the rest of the system can do its thing.
>
> So set input permanently high.
> Then toggle enable on and off.
> Then rotate the spindle until index-enable is driven false.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-07 Thread andrew beck
hey guys

just getting back to this index pulse stuff

i have re hacked my whole config and remember what i did now lol

i am disabling m19 spindle orientation now i think and i just want to
rotate the spindle at 5rpm until the spindle index enable pin triggers high

if i can't use the encoder index i will  just slap a proxy sensor on the
spindle and use the g code to read the rotate the spindle until the input
is triggered  i guess but i am trying to avoid that for now


question for you guys

i am using the tristate bit but getting a bit confused on how it works

anyone got some pointers

i found this thread and it helped a bit

https://www.forum.linuxcnc.org/24-hal-components/45820-spindle-orient-pid-tuning-re-solved-yay?start=50
regards

Andrew



On Tue, Nov 8, 2022 at 12:19 AM Phill  wrote:

>
>  Original message From: andy pugh 
> Date: 7/11/22  10:02 pm  (GMT+10:00) To: "Enhanced Machine Controller
> (EMC)"  Subject: Re: [Emc-users]
> triggering the mesa card encoder index pulse On Fri, 4 Nov 2022 at 21:35,
> gene heskett  wrote:I haven't found it either,
> probably because no one else has been able to> make it work long enough to
> work on the scripts in align.zip.> Why do you imagine that they should?What
> the heck _is_ align.zip?Possibly from here?<
> https://forum.linuxcnc.org/40-subroutines-and-ngcgui/20912-sheet-alignment-in-a-plasma-table#20912>--
> atp"A motorcycle is a bicycle with a pandemonium attachment and is
> designedfor the especial use of mechanical geniuses, daredevils and
> lunatics."— George Fitch, Atlanta Constitution Newspaper,
> 1912___Emc-users mailing
> listEmc-users@lists.sourceforge.nethttps://
> lists.sourceforge.net/lists/listinfo/emc-users
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Clausing NC Progress and Tool Changer.

2022-11-07 Thread andrew beck
I got a 10position tool changer and the turret choses the fastest direction
to select new tool.

On Tue, 8 Nov 2022, 11:44 andrew beck,  wrote:

> I use classic ladder.
>
> It's pretty easy.
>
> But Andy's component will be better probably
>
> I can send you my classic ladder stuff though if you want
>
> On Tue, 8 Nov 2022, 09:05 John Figie,  wrote:
>
>> I have made more progress on the Clausing NC.  My DC servo dives operate
>> in
>> Current Mode and are controlled by LinuxCNC using a cascaded Position and
>> Velocity PI controllers. I have a Huanyang VFD 7.5 kw drive running the
>> spindle but just manually controlled for now. I still need to add a
>> spindle encoder. The next task that I need to complete in order to
>> actually
>> turn something is to get the tool changer running. The tool changer is a 4
>> position tool post. A solenoid controlled valve actuates a piston that
>> raises the tool post. Once in the raised position a geneva drive and motor
>> rotates the post in 1/8 turn increments by pulsing power to the motor. So
>> 2
>> pulsed are needed to move the post one tool position.  I have made it work
>> manually with 2 switches, one to raise the tool post and the other to
>> pulse
>> the motor. Once the desired tool is in position the solenoid valve is
>> closed and the tool post drops and locks into position. There are 4
>> indicator - or feedback switches to tell when the desired position is
>> reached.
>>
>> Here is the question.  Should I - can I use the carousel hal component to
>> make this work? Or is a better way?
>>
>> Once I make the first cut with this thing I will post a video somewhere.
>> Then I can get to making the splines I need for the Honda XL 175 Kick
>> Start
>> Shaft.
>>
>> Thanks
>>
>> John Figie
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


Re: [Emc-users] Clausing NC Progress and Tool Changer.

2022-11-07 Thread andrew beck
I use classic ladder.

It's pretty easy.

But Andy's component will be better probably

I can send you my classic ladder stuff though if you want

On Tue, 8 Nov 2022, 09:05 John Figie,  wrote:

> I have made more progress on the Clausing NC.  My DC servo dives operate in
> Current Mode and are controlled by LinuxCNC using a cascaded Position and
> Velocity PI controllers. I have a Huanyang VFD 7.5 kw drive running the
> spindle but just manually controlled for now. I still need to add a
> spindle encoder. The next task that I need to complete in order to actually
> turn something is to get the tool changer running. The tool changer is a 4
> position tool post. A solenoid controlled valve actuates a piston that
> raises the tool post. Once in the raised position a geneva drive and motor
> rotates the post in 1/8 turn increments by pulsing power to the motor. So 2
> pulsed are needed to move the post one tool position.  I have made it work
> manually with 2 switches, one to raise the tool post and the other to pulse
> the motor. Once the desired tool is in position the solenoid valve is
> closed and the tool post drops and locks into position. There are 4
> indicator - or feedback switches to tell when the desired position is
> reached.
>
> Here is the question.  Should I - can I use the carousel hal component to
> make this work? Or is a better way?
>
> Once I make the first cut with this thing I will post a video somewhere.
> Then I can get to making the splines I need for the Honda XL 175 Kick Start
> Shaft.
>
> Thanks
>
> John Figie
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-03 Thread andrew beck
That's a good idea

I'll try it

On Fri, 4 Nov 2022, 08:03 andy pugh,  wrote:

> On Thu, 3 Nov 2022 at 18:52, andrew beck  wrote:
>
> I'm getting some funny behaviour with reading inputs with gcode to.
> >
> > It's like they are not actually waiting for the input to read true.
>
>
> Try debouncing them in the HAL layer
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-03 Thread andrew beck
Hey Andy your on to it.

I want to run a explicit homing cycle every tool change

Currently the tool change spindle zero point gets set the first time the
index gets set.  Which happens when I turn spindle on


So it's a good effort from linuxcnc really to work at all I guess.

As it keeps track in spindle orientation at 1rpm for hrs on end.

Just sometimes something happens and then it tries to spindle orientate 40
degrees out.  So I really need to home every tool change.

I'll post my gcode toolchange file and make a diagram of my set up.

I'm getting some funny behaviour with reading inputs with gcode to.

It's like they are not actually waiting for the input to read true.


In that case your tool change could run an explicit homing cycle prior to
toolchange.

M64 P04  ; set index-enable
G4 P0.1
M65 P04 ; toggle the tristate back
M3 S100 ; spin the spindle briefly
G4 P1 ; wait for at least one full rev
M19 P0 ; carry on.

On Fri, 4 Nov 2022, 01:33 andy pugh,  wrote:

> On Thu, 3 Nov 2022 at 09:23, andrew beck  wrote:
>
> >
> > looking for a way to set the index pulse high on the mesa card input
> before
> > triggering a m19 for tool change as a safety check
> >
>
> The mesa index is a physical pin, so you would need to route out via a GPIO
>
> But I don't understand your analysis of the problem, or the proposed fix.
>
> If you just want to zero the encoder at a random point (which is what
> toggling the index at a random point would do, if it did anything) then you
> can do that via HAL.
>
> Is it possible that the problem is that the spindle is simply not "homed"
> sometimes? ie it has not yet passed through index with the index-enable
> set, so the encoder counts are not aligned to the index mark?
>
> In that case your tool change could run an explicit homing cycle prior to
> toolchange.
>
> M64 P04  ; set index-enable
> G4 P0.1
> M65 P04 ; toggle the tristate back
> M3 S100 ; spin the spindle briefly
> G4 P1 ; wait for at least one full rev
> M19 P0 ; carry on.
>
> As the index-enable is a bidirectional pin a bit of HAL is needed, using
> the tristate-bit component.
> That should be set up with the in-pin permanently high and the enable
> connected to motion.digital-out-NN (NN = 04 in the example above)
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] triggering the mesa card encoder index pulse

2022-11-03 Thread andrew beck
hey guys

looking for a way to set the index pulse high on the mesa card input before
triggering a m19 for tool change as a safety check

i have a g code sub that i have remapped for m6 and it moves the spindle to
toolchange position and then activates m19 r0 which spins the spindle to
the correct angle.

that all works fine most of the time

every 2 weeks or so it doesn't work and i get a toolchange crash

and tonight i had enough lol time to fix it
my toolchanger just crashed and lost orientation

and broke a lovely endmill

sounds like its time to fix the spindle orientation finally

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


Re: [Emc-users] OT How to make fine splines

2022-10-27 Thread andrew beck
And it would be great to output a file you can save and reuse and combine
manually later in needed

On Fri, 28 Oct 2022, 14:19 Chris Albertson, 
wrote:

> I was just going to write that what is needed is a good "conversational"
> interfasce for LCNC.
>
> You do NOT need to modify LCNC to do this.  The new interface could be a
> 100% standalone program and run completely in user space
>
> The simplest one possible might be called "DrillAHole".  It would
>
>1. open up a dialog box and ask for the depth.
>2. prompt the use to place the drill on the part i the correct location
>and then "press go"
>3. write out a simple g-code file to the disk that drill a hole to the
>specificed depth
>4. wait for the user to click "go"
>5. start LCNC the the files it just wrote are a command line argument.
>
>
> The only difference between "DrillAHole" and some other program called
> maybe "MillAPocket" is the content of the g-code and the prompts to the
> user
>
> Other programs would be more complex.   Say for drilling a hole pattern.
> It is limited by your imagination.  These are simple enough programs that
> someone who was only an "intermediate level" Python programmer could do
> this.   I'd recommend using some VERY simple to learn GUI toolkit so that
> more programmers could contribute.  Take a look at this,
> https://www.pysimplegui.org/en/latest/
>
> Of course you would not make one program for every kind of operation.
>  There would be a higher-level screen where you can select from face
> milling, pockets, or holes.   But I'd start with a very basic "DrillAHole"
> program to work out the overall plan and prove the concept
>
> The program once written could be adapted to work with other CNC controlls,
> not just LCNC.  The key to making this something "anyone" could write is to
> NOT allow it to interface to any LCNC internals.  Keep the coupling to LCNC
> as minimal as possible.
>
>
>
>
>
> On Thu, Oct 27, 2022 at 5:34 PM John Dammeyer 
> wrote:
>
> > I like this user interface since here you can visualize what the end
> > product will look like just like the HAAS or MACH3.
> > https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> > How does one go about changing from AXIS to something like the above?  Or
> > is that only for the lathe.  Don't have a touch screen.
> > John
> >
> >
> >
> > > -Original Message-
> > > From: andy pugh [mailto:bodge...@gmail.com]
> > > Sent: October-27-22 4:09 PM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: Re: [Emc-users] OT How to make fine splines
> > >
> > > On Thu, 27 Oct 2022 at 22:57, John Dammeyer 
> > wrote:
> > >
> > > >His initial number of X moves on the example was over inflated for the
> > number of passes he really made
> > > when cutting.
> > >
> > > With LinuxCNC:
> > >
> > > #1 = 10
> > > O100 WHILE [#1 LT 20]
> > > G0 X#1
> > > F1 F100 Z0
> > > G0 X[#1 - 1]
> > > #1 = [#1 + 0.025]
> > > O100 ENDWHILE
> > > M2
> > >
> > > > The video really shows though, what is missing in LinuxCNC is what
> > MACH called Wizards.  Enter the
> > > parameters on a screen and have it generate the G Code all within the
> > user interface.
> > >
> > > There is ngcgui, Nativecam, my lathe macros, and a (dormant) Wizards
> > framework:
> > > And probably others that I have forgotten.
> > >
> > > https://linuxcnc.org/docs/html/gui/ngcgui.html
> > > https://github.com/FernV/NativeCAM (Link to video tutorials at that
> > link)
> > > https://forum.linuxcnc.org/41-guis/26550-lathe-macros?start=240#247195
> > > https://github.com/LinuxCNC/wizards
> > >
> > > --
> > > atp
> > > "A motorcycle is a bicycle with a pandemonium attachment and is
> > > designed for the especial use of mechanical geniuses, daredevils and
> > > lunatics."
> > > � George Fitch, Atlanta Constitution Newspaper, 1912
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] CAM software

2022-10-24 Thread andrew beck
yep i have done several big injection molds with fusion 360

just recently bought bobcam for solidworks which is better than fusion at
4th axis stuff unless you pay for the extensions.

i don't trust autodesk and want out now before I invest any more time and
money.  Also i don't trust cloud software.  i want to buy something and
then timestamp my system and leave it that way for the next 10 years.  or
at least be able to upgrade on my terms not autodesks terms

case in point solidworks 2014 can do pretty much everything that solidworks
2022 can do.

and i know a couple design companies that just don't update as there is not
reason lol.  the new software is a bit better but also more prone to
crashing..


the real cost of cam i think once you start running a business is in the IP
and in the time spent learning.  once you change software all that goes
down the toilet and you have to start from scratch which sucks
but other than that fusion is amazing

but fusion is easier to use than bobcam i think and i am still finding
myself changing back to fusion a lot for quick fast stuff.

i can design program and start cutting a simple job now in under 10 mins
with fusion 360.

but i have spent about 200 hrs in it i think at least possibly double
that.  and most of it in the cam workspace


it would be great to see freecad get better though and get some cool cam
stuff.

and linuxcnc conversational stuff would be great to see become more
mainstream

like native cam

i am still yet to use any linuxcnc conversational stuff.  pretty keen to
try it just couldn't work out how to install it and gave up.

cheers

Andrew

On Sat, Oct 22, 2022 at 11:14 PM andy pugh  wrote:

> On Sat, 22 Oct 2022 at 03:02, John Figie  wrote:
>
> > CAM is included with Fusion 360 additional machining extensions are extra
> > but not needed for most work.
>
> Indeed, you still get some pretty decent 3D HSM toolpaths with the
> free version. And 3.5D too as it will rotate the work for different
> operations.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] connecting encoder output from vfd encoder card to mesa 7i77 encoder input

2022-10-02 Thread andrew beck
hey guys

just got a quick question

i have a chinese vfd which i am using in closed loop vector control with a
5v differential encoder going to it.

the encoder has A A- B B- Z Z- and of course VCC and 0v

the vfd outputs a single A and B signal out from vfd and they are optically
isolated


how would i connect up to 7i77 encoder input?

do i take 5v and 0v from mesa card or from vfd?

this is a really nice vfd that i think is got all the normal isolation to
connect up to other devices


the brand is Nietz

www.nietz.cn

Ps also just so everyone knows


i have a 380v vfd here 11kw and they cost 200usd each

i bought 7 drives  for cnc mills here in new zealand

and if i put a 30 usd encoder on a standard motor they allow me to run 150
percent of motor rated torque at 0RPM and lock spindle like a servo drive

pretty good for 200 usd

pretty cool drives

and they did autotune perfectly on this non standard high speed motor that
yaskawa and schiender drives both failed on
regards

Andrew

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


Re: [Emc-users] can I hide the nativecam interface

2022-09-22 Thread andrew beck
Rob C  do you know what is the latest way to install native cam?

it definitely looks cool and would be great to have conversational g code
generators finally when i can't be bothered with the cam

i am running 2.8.3 so i think its still python2 and we are good to go

On Fri, Jan 28, 2022 at 8:13 AM Rob C  wrote:

> Yes nativecam will work for milling, plasma and lathe operations.
> unfortunately its not been updated to python3 .. so if you use it on a
> debian bullseye or linuxcnc master build it won't work :(
>
> I've tried to have a go at making it nativecam + python3 functional but
> failed but really like nativecam.
>
> I use PlasmaC for my plasma setup so like to be on the bleeding edge of
> development (master)  hence I can't use python 2 + 3 unless I went back
> to debian buster which I may do eventually (busy doing other things
> (noncnc) at present)
>
> On Thu, 27 Jan 2022 at 22:42, Thaddeus Waldner  wrote:
>
> > I’m not sure if you can “hide” NativeCam once embedded, but it’s possible
> > to use it as a standalone application. That way it won’t take up space on
> > your CNC gui.
> >
> >
> > > On Jan 27, 2022, at 12:03 PM, fxkl47BF--- via Emc-users <
> > emc-users@lists.sourceforge.net> wrote:
> > >
> > > I started playing with nativecam.
> > > It's pretty neat.
> > > With linuxcnc running is there a way to "hide" the nativecam interface?
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Hey guys. Need a bit of resistor help

2022-08-21 Thread andrew beck
I'm trying to convert these color sensors

US $50.00 | Color Mark Sensor HW-111 Use for Packing Machine voltage 12-24v
DC   NPN  metal case Photoelectric Eyes Marks
https://a.aliexpress.com/_mtEjRmc


To pnp.

I converted similar sensors with a 10k resistor.


US $2.37  5%OFF | CHUX Proximity Switch NPN M12 non-Flush  IM12-4-DNC 5V
6-36v Cylinder NO+NC 4Wires 4mm Detect Distance Motion Approach Sensor
https://a.aliexpress.com/_mLMiQHA

These work fine


My theory was maybe use a higher value one and check with voltmeter
decreasing the value until it works

But I could use a quick lesson from you guys.

So just thought I would ask.

I know a bunch of you.

Chris
Andy
John

And many others
 you guys know lots of electronics


Regards

Andrew

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


Re: [Emc-users] Mesa 7C80 and rpi4

2022-08-17 Thread andrew beck
Awesome thanks guys

I'll have a look.

On Wed, 17 Aug 2022, 12:03 am Todd Zuercher,  wrote:

> If your config shows up in the Linuxcnc config picker, there is a checkbox
> at the bottom of that screen that will automatically create a desktop
> launcher for the config you choose and will create one upon startup.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -----Original Message-
> From: andrew beck 
> Sent: Tuesday, August 16, 2022 3:14 AM
> To: j...@pibf.de; Enhanced Machine Controller (EMC) <
> emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Mesa 7C80 and rpi4
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Hey guys just want to report back!
>
> We got it working.
>
> We had a working 7c80 file that was close and just copied and pasted the
> config into a dummy one from pnconf
>
> Worked a treat.
>
> Hey quick question
>
> Does anyone know how to make a desktop Linuxcnc launcher.
>
> I got lost
>
>
>
> On Thu, 11 Aug 2022, 7:45 am ,  wrote:
>
> > Here is my setup:
> >
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> > ub.com%2Fjf%2Flcnc-unimat3%2Fblob%2Fmain%2F20220712_105703.jpg
> > ;data=05%7C01%7Ctoddz%40pgrahamdunn.com%7Ce1eb8b113d1c4aa1fbe808da7f56
> > feb1%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637962308868752143%7
> > CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1
> > haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=nDi3nSymoj3CRz1Quu8Au3I8
> > k9r77X1zg1Ez2ab%2Ftws%3Dreserved=0
> >
> >
> > Joachim
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > s.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Cto
> > ddz%40pgrahamdunn.com%7Ce1eb8b113d1c4aa1fbe808da7f56feb1%7C5758544c573
> > f47cebee96c3e0806fb43%7C0%7C0%7C637962308868752143%7CUnknown%7CTWFpbGZ
> > sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> > D%7C3000%7C%7C%7Csdata=iXRicw3g5c%2BdVasp87DGLQ66WjNBcJ7%2F6bKp6z
> > tO3Ro%3Dreserved=0
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Ctoddz%40pgrahamdunn.com%7Ce1eb8b113d1c4aa1fbe808da7f56feb1%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637962308868752143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=iXRicw3g5c%2BdVasp87DGLQ66WjNBcJ7%2F6bKp6ztO3Ro%3Dreserved=0
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Mesa 7C80 and rpi4

2022-08-16 Thread andrew beck
Hey guys just want to report back!

We got it working.

We had a working 7c80 file that was close and just copied and pasted the
config into a dummy one from pnconf

Worked a treat.

Hey quick question

Does anyone know how to make a desktop Linuxcnc launcher.

I got lost



On Thu, 11 Aug 2022, 7:45 am ,  wrote:

> Here is my setup:
>
> https://github.com/jf/lcnc-unimat3/blob/main/20220712_105703.jpg
>
>
> Joachim
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] OT: Fly cutting slots?

2022-08-16 Thread andrew beck
I would weld a lathe parting or grooving tool to a round shank at about the
right dia cutter

And away you go.

Easy

On Tue, 16 Aug 2022, 3:23 pm Gregg Eshelman via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

> How thick is it axially? If it's pretty thin it should be sandwiched
> between two pieces of softer metal. Go slow on the feed, high on the speed
> to make a lot of shallow passes with a slightly narrow cutter. Then use a
> full width cutter for a single full depth pass to clean up the slot sides.
>
> I'd also make a bandsaw cut to near full depth in each slot to reduce the
> amount of material for the cutter to remove and provide a path for lube to
> get in/out.
>
>
> On Monday, August 15, 2022 at 08:38:06 AM MDT, Leonardo Marsaglia <
> ldmarsag...@gmail.com> wrote:
>
> Hi guys, I hope you are doing well
>
> I need to make some slots on a rotor I'm building and I would like to know
> what do you think about fly cutting the slots with one tool only with
> reduced feed off course.
>
> The slots are 45 mm deep and 6 mm wide, the rotor is made of 4140 steel (I
> attached a basic picture of the rotor). I could purchase the hss disk
> cutter off course, but if I can get away with welding and grinding my own
> tool it would be great because those cutters aren't cheap and I'll be only
> using it for this job only.
>
> The problem is, I'm afraid the carbide cutter will break soon making all
> this process a waste of time.
>
> What do you think?
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Mesa 7C80 and rpi4

2022-08-10 Thread andrew beck
Awesome

We will have a look

On Thu, 11 Aug 2022, 3:45 am ,  wrote:

>
> This configuration works for me:
> www.talla83.de/linuxcnc/iHSV57_2_8.zip
>
> From:
> https://www.youtube.com/watch?v=A5QgvOsf7nI
>
> Joachim
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Mesa 7C80 and rpi4

2022-08-10 Thread andrew beck
That was a good idea martin

https://forum.linuxcnc.org/27-driver-boards/38899-raspberry-pi-4-with-mesa-7c81?start=10

Wayne look at this

On Thu, 11 Aug 2022, 1:43 am Martin Dobbins,  wrote:

> Hi Andrew, Wayne,
>
> Try including 7c81 in your searches, you'll get more hits 
>
> Martin
>
> ____
> From: andrew beck
> Sent: Tuesday, August 9, 2022 8:57 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] Mesa 7C80 and rpi4
>
> And I'm helping him here in the ground guys.
>
> We want a config to get started.
>
> And gene are you still using these boards?
>
> On Wed, 10 Aug 2022, 1:41 pm wayne dalton,  wrote:
>
> >
> >
> >
> > Howdy
> > My names Wayne Dalton , I’m in New Zealand .
> > I have these 2 units (7c80 and rpi4) and I’m working towards getting them
> > working correctly .
> > I have Linux cnc installed , I worked from new newest rpi install and
> then
> > installed Linux cnc from there rather than the Linux cnc official
> install …
> > because that came up with .. errors . I followed an install guide I found
> > on Linux cnc but the threed didn’t explain how exactly to do the config .
> >
> > I can get the pi to ping the board in command line
> > ( I’m not great with Linux at all btw )
> > So now I’m at the point of building a hal  for the board .
> > I understand … you install a different board and then just assign all the
> > pins and set it to spi for communication but this is where im getting
> lost .
> > I’ve had a look on Linux cnc and there are maybe 2 posts , one of them
> > have a test Hal and Ini file with everything assigned but honestly I’m
> not
> > understanding how I transfer than in or even get Linux cnc to see it .
> > I’ve tried accessing a couple files but it just tells me I don’t have
> > permission …. But I’m not even sure I have the right files so that might
> > not be a bad thing .
> > Any help or insight is appreciated
> >
> > The application is a converted knee mill ( kondia/Bridgeport) and I’m
> > working on finishing the 4th and 5th axis design .
> > I’m using ac servos that have step and direction capability as well as a
> > encoder output .
> > I’m currently rebuilding the machine with ballscrews and I’m hoping to
> > finish the electronics control in parallel while I wait on small parts to
> > arrive .
> >
> > Using a 4g rpi4 with a 128gig sata m.2 drive
> >
> >
> >
> > Cheers
> > Wayne dalton :)
> >
> >
> >
> > Sent from my iPhone
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Mesa 7C80 and rpi4

2022-08-09 Thread andrew beck
And I'm helping him here in the ground guys.

We want a config to get started.

And gene are you still using these boards?

On Wed, 10 Aug 2022, 1:41 pm wayne dalton,  wrote:

>
>
>
> Howdy
> My names Wayne Dalton , I’m in New Zealand .
> I have these 2 units (7c80 and rpi4) and I’m working towards getting them
> working correctly .
> I have Linux cnc installed , I worked from new newest rpi install and then
> installed Linux cnc from there rather than the Linux cnc official install …
> because that came up with .. errors . I followed an install guide I found
> on Linux cnc but the threed didn’t explain how exactly to do the config .
>
> I can get the pi to ping the board in command line
> ( I’m not great with Linux at all btw )
> So now I’m at the point of building a hal  for the board .
> I understand … you install a different board and then just assign all the
> pins and set it to spi for communication but this is where im getting lost .
> I’ve had a look on Linux cnc and there are maybe 2 posts , one of them
> have a test Hal and Ini file with everything assigned but honestly I’m not
> understanding how I transfer than in or even get Linux cnc to see it .
> I’ve tried accessing a couple files but it just tells me I don’t have
> permission …. But I’m not even sure I have the right files so that might
> not be a bad thing .
> Any help or insight is appreciated
>
> The application is a converted knee mill ( kondia/Bridgeport) and I’m
> working on finishing the 4th and 5th axis design .
> I’m using ac servos that have step and direction capability as well as a
> encoder output .
> I’m currently rebuilding the machine with ballscrews and I’m hoping to
> finish the electronics control in parallel while I wait on small parts to
> arrive .
>
> Using a 4g rpi4 with a 128gig sata m.2 drive
>
>
>
> Cheers
> Wayne dalton :)
>
>
>
> Sent from my iPhone
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Linuxcnc OEM?

2022-07-19 Thread andrew beck
Bari

Could we see some photos? 

On Wed, 20 Jul 2022, 5:46 am Bari,  wrote:

> Todd,
>
> We have used LCNC on everything from DNA synthesizers to hybrid additive
> manufacturing printers to all sorts of custom CNC machines and factory
> automation.
>
> www.onelabs.com
>
>
> -Bari
>
> On 7/19/22 08:13, Todd Zuercher wrote:
> > Any one know if there are any machine builders (besides Tormach) using
> or offering Linuxcnc as a control option?  (More interested in a large
> router than a milling machine, lathe , or plasma cutter.)
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Spare 6i25?

2022-06-24 Thread andrew beck
And I got few in new Zealand

On Sat, 25 Jun 2022, 06:52 Peter C. Wallace,  wrote:

> On Fri, 24 Jun 2022, Ralph Stirling wrote:
>
> > Date: Fri, 24 Jun 2022 15:28:17 +
> > From: Ralph Stirling 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: "emc-users@lists.sourceforge.net" 
> > Subject: [Emc-users] Spare 6i25?
> >
> > Anybody have a spare 6i25 they would be willing to sell?  Helping a
> friend set up his Prolight 1000 mill, and discovered his SFF Dell computer
> doesn't have pci slots, so the 5i25 we got won't work.  Mesaus and Mesanet
> are out of stock.
> >
> > Thanks,
> > -- Ralph
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> There are a few left at Mesa
>
> Peter Wallace
> Mesa Electronics
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Dynamic Work Offsets and Tool Center Point Control

2022-06-14 Thread andrew beck
This is a good one for Phil (feral engineer)

On Wed, 15 Jun 2022, 06:16 Jérémie Tarot,  wrote:

> Le mar. 14 juin 2022 à 19:59, andy pugh  a écrit :
>
> > On Tue, 14 Jun 2022 at 18:45, Jérémie Tarot  wrote:
> >
> > > Maybe the first thing that's unclear is: is there really a difference
> > > between DWO and TCPC, or is that just that the former is only
> positioned
> > > and the latter continuous ?
> >
> > The main difference that I can see is that I know what TCPC is, but
> > have no idea what DWO is :-)
>
>
> 
>
> This https://www.youtube.com/watch?v=hZdXp8Gy_GM
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Peck tapping

2022-06-09 Thread andrew beck
Hey guys

Has any one made a g84 pecking tap cycle yet with a retract value.

It would be great to have for deeper holes.

I tap a lot on my cnc machines now.   Thousands of holes.

Really getting into the retrofits.

And doing them for other friends that run machine shops now

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


Re: [Emc-users] classic ladder drawing for anyone that needs to set up a lube pump

2022-06-01 Thread andrew beck
Your welcome.

Also thanks to John Thornton. (mesa us)

For the initial self resetting timer idea.

I came across his post on the forum.

I think we forget how useful the forum is.

Like this user list is great and Facebook messenger or WhatsApp works
great.  But only the forum gives us a searchable format that can be
referenced later.  And especially for the new users it's so great to have.



On Wed, 1 Jun 2022, 16:38 gene heskett,  wrote:

> On Tuesday, 31 May 2022 18:44:31 EDT andrew beck wrote:
> > hey guys
> >
> > just dropping a link here for anyone that needs to get up a lube pump
> > on linuxcnc
> >
> > I have it now with a resetting timer that has a 1sec pulse that makes a
> > counter count up to a value and then turn on a output
> >
> > it remembers the accumulated value or length of time the timer has been
> > off for, while machine is moving and then turns pump on for 10 secs or
> > so
> >
> > just thought i would put in the effort to make this easy for the next
> > guy and allow you to save on lube pump wastage.
> >
> > i just sat down and fixed this as my oil has just run out and i need to
> > buy some more lol
> >
> > and if everyone has a better idea please let me know and feel free to
> > post it up on the forum post Below
> >
> > Regards
> >
> > Andrew
> >
> > https://forum.linuxcnc.org/show-your-stuff/46058-classic-ladder-lube-pu
> > mp-that-only-runs-while-machine-is-moving#244315
>
> Thank you Andrew, its on my todo list.
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> > .
>
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] classic ladder drawing for anyone that needs to set up a lube pump

2022-05-31 Thread andrew beck
hey guys

just dropping a link here for anyone that needs to get up a lube pump on
linuxcnc

I have it now with a resetting timer that has a 1sec pulse that makes a
counter count up to a value and then turn on a output

it remembers the accumulated value or length of time the timer has been off
for, while machine is moving and then turns pump on for 10 secs or so

just thought i would put in the effort to make this easy for the next guy
and allow you to save on lube pump wastage.

i just sat down and fixed this as my oil has just run out and i need to buy
some more lol

and if everyone has a better idea please let me know and feel free to post
it up on the forum post Below

Regards

Andrew

https://forum.linuxcnc.org/show-your-stuff/46058-classic-ladder-lube-pump-that-only-runs-while-machine-is-moving#244315

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


Re: [Emc-users] Awesome press break control on Linuxcnc

2022-05-17 Thread andrew beck
It's got bend angles.

And the over bend angle setting to play with

On Tue, 17 May 2022, 23:19 Robin Szemeti via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

> Still needs a lot of work, like a tool library and  bend angles instead of
> ram heights,  but its got the basics.
>
>
> On Tue, 17 May 2022 at 06:21, andrew beck 
> wrote:
>
> > Hey guys check this out.
> >
> > Randie machine tools was nice enough to make some videos of how his press
> > break runs on Linux cnc.
> >
> > https://youtube.com/playlist?list=PLhCy_m8WY5DuOcdPjI-QhJmUv_I5XdZes
> >
> > Looks not far off a delem controller.
> >
> > Pretty sweet setup
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Awesome press break control on Linuxcnc

2022-05-16 Thread andrew beck
Hey guys check this out.

Randie machine tools was nice enough to make some videos of how his press
break runs on Linux cnc.

https://youtube.com/playlist?list=PLhCy_m8WY5DuOcdPjI-QhJmUv_I5XdZes

Looks not far off a delem controller.

Pretty sweet setup

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


Re: [Emc-users] Press Brake Gui, was: Re: Variables for, instantaneous transit vector, from python?

2022-05-16 Thread andrew beck
Hey guys check this out.

Randie machine tools was nice enough to make some videos of how his press
break runs on Linux cnc.

https://youtube.com/playlist?list=PLhCy_m8WY5DuOcdPjI-QhJmUv_I5XdZes

Looks not far off a delem controller.

Pretty sweet

On Thu, 28 Apr 2022, 05:24 John Dammeyer,  wrote:

> Thank you.  I'd figured that might be one of the reasons why.
>
> > -Original Message-
> > From: Robin Szemeti via Emc-users [mailto:
> emc-users@lists.sourceforge.net]
> > Sent: April-26-22 4:47 PM
> > To: Enhanced Machine Controller (EMC)
> > Cc: Robin Szemeti
> > Subject: Re: [Emc-users] Press Brake Gui, was: Re: Variables for,
> instantaneous transit vector, from python?
> >
> > Imagine the part already has two bends ... one up, one down ... so it is
> a
> > Z shape ...
> >
> > [image: image.png]
> >
> > The backstop (blue) needs to be higher up ... many of the more advanced
> > brakes can adjust each backstop vertically and left-right
> >
> >
> >
> > On Tue, 26 Apr 2022 at 17:52, John Dammeyer 
> wrote:
> >
> > > Not having seen the press brake I'm curious about the need for back
> gauge
> > > up/down setting.  Why would a press brake even have this?
> > >
> > > Is it because the bent section behind the press may be up at an angle
> and
> > > therefore miss the back gauge?  If so, how much movement is there in
> the
> > > up/down direction.
> > >
> > > Inquiring minds...
> > >
> > > John
> > >
> > >
> > > > -Original Message-
> > > > From: Ted [mailto:laser...@gmail.com]
> > > > Sent: April-26-22 7:47 AM
> > > > To: emc-users@lists.sourceforge.net
> > > > Subject: [Emc-users] Press Brake Gui, was: Re: Variables for,
> > > instantaneous transit vector, from python?
> > > >
> > > > Date: Mon, 25 Apr 2022 10:40:02 -0500
> > > > > From: Earl Weaver
> > > > > To:emc-users@lists.sourceforge.net
> > > > > Subject: Re: [Emc-users] Press Brake Gui, was: Re: Variables for
> > > > > instantaneous transit vector, from python?
> > > > > Message-ID:<956e40f7-92a0-34ba-b8fe-41248738c...@frontier.com>
> > > > > Content-Type: text/plain; charset=UTF-8; format=flowed
> > > > >
> > > > > -Ted,
> > > > >   ?Just to comment on the pressbrake setup
> > > >
> > > > Not meaning to confuse from the thread being hijacked, but since
> there
> > > > appears interest, I have also posted up the source project for my
> press
> > > > brake iteration on the form (I don't hang out there too often), but
> your
> > > > are welcome to it - all disclaimers apply:
> > > >
> > >
> https://forum.linuxcnc.org/show-your-stuff/45716-vertical-press-brake-interface-and-comp
> > > >
> > > > (On a side note from my original posting for this, I was able to get
> my
> > > > sphere-4points functions working as well as vector capture to
> determine
> > > > contact direction - and although it doesn't really have much affect
> at
> > > > the thou level (0.001") - it has shown to be a BIG difference when
> you
> > > > hit sub tenths/micron. I'll be stealing the Reneshaw TP6 unit from
> work
> > > > and putting it on my CMM to cross-test, but with manufacturing
> > > > tolerances what they are, having more corrective values available is
> > > > definitely worth it. Might be a reason why opening the "Advanced"
> tab in
> > > > MCosmos shows over 200 corrective touch point calibration
> options...it's
> > > > a huge matrix.)
> > > >
> > > > Regards,
> > > >
> > > > Ted.
> > > >
> > > >
> > > > --
> > > > This email has been checked for viruses by Avast antivirus software.
> > > > https://www.avast.com/antivirus
> > > >
> > > >
> > > >
> > > > ___
> > > > Emc-users mailing list
> > > > Emc-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] OT but built on linuxcnc machines:) affordable color sensor for project (24v model)

2022-05-12 Thread andrew beck
Hey andy

Yep your right

Nah there is no inspection happening on this machine ideally it will just
crank away working

And the machine will sort a few million chips a year so worth while to get
good sensors.   Pretty cool machine I get to build.  Nice change from
Linuxcnc retrofits for local machine shops and running a machine shop with
all Linuxcnc gear.

I'm buying directly with omron atm and they are very helpful.

And I guess I just have to pay up.

I need 4 separate sensors but total cost should be about 1500nzd which is
OK if there are no cheaper options and it gives trouble free operation.



On Thu, 12 May 2022, 20:58 andy pugh,  wrote:

> On Thu, 12 May 2022 at 00:33, andrew beck 
> wrote:
>
> > normally the chips are just green and black.  they can be colored in
> with a
> > red marker if they are faulty and then we want this sensor to detect
> them.
>
> Do you need to do any other inspection? I suspect that most solutions
> are likely to be far too capable (and expensive) for this simple task.
> But it is probably cheap to add this to an existing visual inspection
> process.
>
> If I was in your position I think that I would just get on the phone
> to the usual suspects (Omron, Keyence, Micro-epsilon, Sick) and see what
> they suggest. Also try looking at web images. (for example the
> Automation-Direct link posted here suggests that Wenglor are in this
> market. There is even a handy URL on the side of the unit)
>
> If it's a one-off then you could easily spend $1000 in development
> time to save $500 in parts. If this is a series production scenario
> then the economics change.
>
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] OT but built on linuxcnc machines:) affordable color sensor for project (24v model)

2022-05-11 Thread andrew beck
thanks Ralph

yeah they are costing about 280usd at the moment from Omron for a sensor
that you can dial up on the fly to only sense for red or something i think
and no other colors

maybe this is just what they cost

ok we may just have to bite the bullet and get them

regards

Andrew

On Wed, May 11, 2022 at 6:31 PM Ralph Stirling <
ralph.stirl...@wallawalla.edu> wrote:

> You could try a simple photo prox sensor with gain/threshold setting.
> The AutomationDIrect sensors we use let you "teach" the background
> and foreground light levels.  If you are lucky, your black and green may
> be different enough in reflectance to give you your trigger.  May not
> work, though, as the green and red may be too similar.  I wonder if a
> simple colored lens in front of the sensor head would let you distinguish.
> Maybe two prox, one with a red lens and one without.  So you can detect
> if you have an object, and if it isn't red.
>
> Or check out this A-D color sensor:
>
> https://www.automationdirect.com/adc/shopping/catalog/sensors_-z-_encoders/photoelectric_sensors/color_sensors/opt2023
> Might be as expensive as what you are looking at.
>
> -- Ralph
> 
> From: andrew beck [andrewbeck0...@gmail.com]
> Sent: Wednesday, May 11, 2022 4:29 PM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] OT but built on linuxcnc machines:) affordable color
> sensor for project (24v model)
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> hey guys
>
> i am sure there is lots of experience here
>
> i am looking for a color sensor to sense when a red color chip goes past on
> a conveyor
>
> normally the chips are just green and black.  they can be colored in with a
> red marker if they are faulty and then we want this sensor to detect them.
>
> currently i am getting prices back at 500 bucks nzd each and i need 4 of
> them which seems a bit pricey lol
>
> considering at the other end of the price point i can get a arduino option
> for 8 dollars but it is not so plug and play. and is only 5v and needs a
> chip too i think.
>
> i want something that can be connected with a PLC to have a simple trigger
> on or off .
>
> you guys got any ideas?
>
> regards
>
> Andrew
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Cralph.stirling%40wallawalla.edu%7C623cba8cd3a84e80f78c08da33a624e9%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637879085923275017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=xV11y4M4hLPeCN%2BwiMJb%2Fit4STGjUP5ZA5T1PDIVaZs%3Dreserved=0
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] OT but built on linuxcnc machines:) affordable color sensor for project (24v model)

2022-05-11 Thread andrew beck
hey guys

i am sure there is lots of experience here

i am looking for a color sensor to sense when a red color chip goes past on
a conveyor

normally the chips are just green and black.  they can be colored in with a
red marker if they are faulty and then we want this sensor to detect them.

currently i am getting prices back at 500 bucks nzd each and i need 4 of
them which seems a bit pricey lol

considering at the other end of the price point i can get a arduino option
for 8 dollars but it is not so plug and play. and is only 5v and needs a
chip too i think.

i want something that can be connected with a PLC to have a simple trigger
on or off .

you guys got any ideas?

regards

Andrew

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


Re: [Emc-users] Hight Frequency VFD

2022-05-09 Thread andrew beck
The China option costs 200 bucks and just works too. Though yaskawa is
great!

Actually for anyone that's interested I get all my servo motors and vfds
from a company in China yuhai. (Yaskawa copy)

I have been dealing with Bill their sales man for 5 years and must have
bought about 30 servo motor sets now.   Plus sent lots of people his way.

They have never let me don't yet.

I trust him enough now to just let him go for it and he gets me anything I
want.   Powersupplies cable etc.

23 bit absolute encoders cost a extra 24usd lol.   You can output
incremental pulses to Linuxcnc and send like 10ppr which makes for a
very tight servo loop.

And like you can get inductive encoders that can handle 24000rpm to.

Anyway with all the China lockdowns atm I'm thinking that option may run
out soon so time to stock up.




On Tue, 10 May 2022, 09:03 Scott Harwell via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

>  Todd,
> Yaskawa drives just don't brake. If I remember correctly, the V1000 has
> been around for quite some time.
>
> https://www.cncpd.com/product/cimr-vu4a0038faa-yaskawa-v1000-drive/
> Scott
>
>
> On Monday, May 9, 2022, 01:57:43 PM CDT, Todd Zuercher <
> to...@pgrahamdunn.com> wrote:
>
>  No, for some reason I hadn't checked with Siemens.  One of our machines
> even has a Siemens drive, but it's a gigantic thing that would never fit
> this machine's cabinet.  I'll look into it.
>
> We did order a Yaskawa drive, and are waiting on it to come in, figuring
> that if we get in a bind and can't wait for it we can knuckle under and pay
> the machine manufacture their price for one they have in stock, and keep
> the other as a spare.  But for the time being we are slow enough we can
> make do without that machine and can wait for the one we ordered.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Dave Cole 
> Sent: Monday, May 09, 2022 1:56 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] Hight Frequency VFD
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Have you checked to see if Siemens can help you?
> In order to go that fast they will sell you a license to install in a more
> or less standard drive.
> I understand that high freq drives can be used for other things, like gas
> centrifuges.
> So they try to keep track of where they go.
>
> Dave
>
> On Tue, Apr 26, 2022 at 11:42 AM Todd Zuercher 
> wrote:
>
> > Anyone know a good place to purchase a high frequency VFD?  We had the
> > drive in one of our CNCs die.  The old drive was a HSD DS15000.  The
> > spindle is an 18kw 24000rpm 4pole HSD router motor.  The old drive is
> > rated for 1-1000hz and that seems to be the problem, all of the off
> > the shelf drives I can find are limited to output frequencies less
> > than 500hz which would limit our spindles top speed to only 15000rmp.
> > Our machine builder quoted us for a Yaskawa V1000 drive with 1000hz
> > firmware (model#
> > VU4A0038FAA-134) that they do have in stock but they are marking up
> > their price to more than double the normal list price for that drive.
> > Every other place I've checked with so far are quoting us months long
> > lead times for that drive.
> >
> > I don't have to have a Yaskawa drive, I think I'd be ok with any drive
> > capable of 15kw and at least 800hz output.  (Oh, it would be nice if
> > it would fit in the cabinet where the old one did, have about 9inches
> > x 15inches  of space there.)
> >
> > Anyone have any suggestions for a good source for "obtainable" drive
> > that would fit the bill?  For example we have a machine with a Fuji
> > Frenic drive with 0-1000hz, but I can't find any info on buying a new
> > equivalent, all the new Frenic drives I can find have max frequencies
> > under 500hz.  I'm guessing it is similar to Yaskawa  for most other
> > manufacturers where you have to live in the right part of the world,
> > ask nicely and then maybe they might sell you a drive with the "special"
> HF firmware.
> >
> > Todd Zuercher
> > P. Graham Dunn
> > Inc. > www.pgrahamdunn.com%2Findex.phpdata=05%7C01%7Ctoddz%40pgrahamdunn
> > .com%7Ceea41877b2b24396742608da31e56516%7C5758544c573f47cebee96c3e0806
> > fb43%7C0%7C0%7C637877158582440736%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
> > LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> > sdata=uOHHxs%2BZDOeFn049Ft%2FPGkCynNdbIqcS5ngvUh8IAds%3Drese
> > rved=0>
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > s.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Cto
> > ddz%40pgrahamdunn.com%7Ceea41877b2b24396742608da31e56516%7C5758544c573
> > 

Re: [Emc-users] Awesome Linuxcnc gui

2022-05-08 Thread andrew beck
And for those who didn't see it the guy has now opened a forum post up.

Thank you  very much sir

Let's all try learn how he did it.



https://forum.linuxcnc.org/show-your-stuff/45811-promecor-larhe-retrofit-with-tkxhmi#242183


On Mon, 9 May 2022, 01:04 Feral Engineer, 
wrote:

> https://youtu.be/hKqMdsLQJJA
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
> www.youtube.com/c/theferalengineer
>
> Help support my channel efforts and coffee addiction:
> www.patreon.com/theferalengineer
>
> On Sun, May 8, 2022, 5:54 AM Viesturs Lācis 
> wrote:
>
> > Umm but what makes you think that this is LinuxCNC? There is nothing
> > in description and I did not hear any comments in background. Did I
> > miss something?
> >
> > Viesturs
> >
> > trešd., 2022. g. 27. apr., plkst. 04:54 — lietotājs andrew beck
> > () rakstīja:
> > >
> > > Hey guys
> > >
> > > Does anyone know who built this?
> > >
> > > I'm hoping he will allow us to have a look
> > >
> > > https://youtu.be/atD7sn25XTY
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread andrew beck
Gene
Just use a counter with classic ladder.

Easy as

On Fri, 29 Apr 2022, 08:13 gene heskett,  wrote:

> On Thursday, 28 April 2022 14:55:24 EDT andy pugh wrote:
> > On Thu, 28 Apr 2022 at 19:50, gene heskett 
> wrote:
> > > Ack the switches on the driver, its doing a /16 microstep. its a 1.2
> > > degree per full step 3 phase motor. the motor is now driveing a 40/1
> > > harmonic drive, and the harmonic drive has a 53 tooth output
> > > sprocket,
> > > which is timing belt driving a 60 tooth on the axle turning the chuck
> > > with the home switch on it. And that home switch is whats driving the
> > > 100 turn counter.
> >
> > I have no idea why you need a 100 turn counter.
> >
> To drive a couple comps to capture the number of steps issued to drive it
> exactly 100 full turns. That I should be able to divide by 100 to get the
> counts per turn, then divide that by 360 to get the number of steps per
> degree. But that gets me a very small number that doesn't appear to be
> related, cuz a command to move it 360 degrees=1 full turn is much less
> than a turn. This 3 phase motors encoder is not available to linuxcnc,
> only to the motors driver. And for this, real accuracy is needed, as it
> determines the mm per thread as well as a consistent stopping point.  Its
> also a two start thread, as much so the plastic nut halves are identical
> while 2 start speeds up the vise movement as most vise screws are too
> slow for a wood worker and supply enough grip to damage the wood.
>
> I do the 2nd start on the unwind backstroke by lifting the tool at the
> end, rotating it an additional 180 degrees, put the tool back down, then
> run both y back to its origin and b back to 180 degrees. Cutting the back
> side of a buttress thread is all that needs cut, but it must fit the tpmm
> of the nuts. I can calculate the b turns required from the total distance
> which varies with the y start as it effectively slides up and down the z
> slope, but nothing is correct if the b scale isn't, hence the emphasis on
> a dead accurate calibration by measureing the counts for 100 360 degree
> turns.
>
> Do you have a better way?
>
> > If this is about swapping tools mid-job on this wooden screw, then why
> > not just write two G-code programs, One to start with and one to
> > finish with?
>
> That part is already done. 2 subroutines.  Its calibration of the b axis
> thats being a problem child.
>
> Thank you Andy.
> > --
> > atp
> > "A motorcycle is a bicycle with a pandemonium attachment and is
> > designed for the especial use of mechanical geniuses, daredevils and
> > lunatics."
> > — George Fitch, Atlanta Constitution Newspaper, 1912
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Awesome Linuxcnc gui

2022-04-26 Thread andrew beck
Hey guys

Does anyone know who built this?

I'm hoping he will allow us to have a look

https://youtu.be/atD7sn25XTY

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


Re: [Emc-users] M codes without g-codes not executed properly?

2022-04-24 Thread andrew beck
I think it is just in programs.

Mdi still works fine

On Mon, 25 Apr 2022, 11:33 Leonardo Marsaglia, 
wrote:

> Seems strange. Does it happen also when you hit M65 in MDI?
>
> I constantly use M64 and M65 from MDI without any GCODE and I always get an
> instant response. I really can't tell if this is the same when running a
> program though.
>
> Anyway, If it was me, I would do all the logic and validations in HAL and
> only use the GCODE interpreter to wait until the change is done. In fact, I
> think you could use the IOCONTROL tool change for this. But that's just my
> opinion off course.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] M codes without g-codes not executed properly?

2022-04-23 Thread andrew beck
I think you need to put a g code in there to make it work.  I had this
problem

You just put a g0 after every line of mcode

And it works

On Sun, 24 Apr 2022, 04:19 Nicklas SB Karlsson,  wrote:

> Made two small g-codes files to manually lock and release chuck. There
> are two signals one is activated to lock tool while the other is
> activated to unlock tool and only, if not locking or releasing both are
> turned off. There is two sensors on a rod one activated then released
> while the other is activated then locked, in between they or both of.
>
>
> Problem is M65 to turn off signal is not activated as supposed, not sure
> if there are some randomness. Moving sensor to make it fail abort
> message is printed but the M65 line does nothing, could run it manually
> afterwards, neither does it turn off if executed normally. Could move
> the M65 line further and then it is executing but are of little use
> because then it is turned of before tool i unlocked. "g-code" below.
>
>
> o sub
>
> ; release tool
> M65 P4 ; Make sure lock is not active, otherwise it will not unlock
> M64 P3 ; Unlock tool
> M66 P3 L3 Q2 ; wait for tool-released, L3=>wait for high
> O142 if [#5399 LT 0]
>M65 P3 ; Should be turned off then unlocked
>M66 P3 L3 Q.1 ; wait for tool-released, L3=>wait for high, dummy so
> the below row hopefully run
>(abort, failed to release tool)
> O142 endif
> M65 P3 ; Should be turned off then unlocked
>
> M2
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Variables for instantaneous transit vector from python? (long)

2022-04-22 Thread andrew beck
Hey I won't be much help but I would love to see how you did a break press
gui!

On Sat, 23 Apr 2022, 03:26 Ted,  wrote:

> Good morning!
>
> I've been working on converting an old Cordax CMM to more current
> technologies and am wanting to start building out the user interface.
> (The basic items like changing out for glass scales, reworking the air
> bearing controls, tramming and getting a digital probe on the end,
> initial interfacing to LCNC are already done and functional; it's now
> time to get to the math taken care of).
>
> The TL-DR version of my goal is to create some version of a manual CMM
> interface like MCOSMOS(tm) in function, (that software is one of many
> popular commercial CMM control packages currently available today). I'm
> not wanting this to necessarily become the next open-source CMM
> alternative - just something that can be functional and extend the
> knowledge-base with LCNC. Thus, it's a hobby project, not a commercial one.
>
> Note that this is NOT a probing-routine challenge; this is not meant to
> retrofit a cartesian machine with the existing hole-probing under
> machine control. In fact, I do not want it to be forced to be "CNC" (or
> DCC for us old folks) - which is why I want to concentrate on the manual
> math first. When it eventually becomes DCC, that's fine, but to try that
> first would actually be a path that would involve a little cheating as
> well as constrain possibilities.
>
> To that end, I'm looking for some assistance in a) where to get some
> LCNC realtime variable data, b) how to deal with some certain variable
> types in c (in a halcomp) and c) some thoughts on best practices for
> that same programming. I'm quite familiar with John's gtk tutorial
> (https://www.gnipsel.com/linuxcnc/gui/index.html) and have referenced it
> many times (thank you!) while creating custom guis (such as for press
> brakes and punches) and also like some of the info from (Presei's?)
> qtdragon work
> (
> https://linuxcnc.org/docs/devel/html/gui/qtvcp.html#_handler_file_in_detail
> ).
>
> The first big math challenge I would like to solve, and something that
> even MCOSMOS is a little lax on is vector-defined probing offsets. I
> don't have a good name for that, but it's what I'm going to call it. In
> a traditional in-spindle probing scenario, say a round hole, you set up
> your probe with an assumed-diameter precision tip (ie ruby sphere),
> calibrate using a ring gauge or similar artifact, then make a single
> radial or a single length offset for that tip. In most cases, it gets
> distilled down to an averaged radial offset and a single length offset -
> since that is the base structure of how tools are handled, and a spindle
> probe has to be fit into that construct. This does work ok for probing
> to +/- a couple thou, and since that is often a good capability of
> cutting, the results match up acceptably. On a CMM, we are not
> constrained to a single vertical probe shaft, nor orthogonal probing
> approaches, nor tolerances that can be averaged out to a single offset.
>
> For example, my CMM now has micron scales. The stylus has more than 1
> micron runout, and since it is not being spun, there is no averaging.
> (Note: don't spin your probes in the spindle under power. I didn't mean
> to infer that.) More so, I can approach a feature from any physically
> available angle, which means I really do need to calibrate on multiple
> points. This is known practice already, and if I were using MCOSMOS, I
> could set up my stylus offsets for anywhere from 6 to over 30 (? - don't
> know I've never done that many) approach offsets. I would like to do the
> same in LCNC. As a side note, I don't think even MCOSMOS takes
> vector-based touches into approach, I think it just runs a lot of
> best-fit math because you can really confuse it if you try to measure an
> inside bore when you specified an outside feature...
>
> So to get to the point (no pun intended) I am comfortable with the math
> to infer radius and sphere centers from surface points (even though I
> don't like matrix math) - but I need to find two more pieces of
> information:
>
> a) if from a python (or c-ish) script get the current vector of travel
> in 3d space? I am not sure if there is such a data value available, so
> would I have to create some form of time-domain capture loop (say on 0.1
> second intervals) as you need 2 coordinates to infer a vector component.
> Are there velocity variables exposed I could access, and if so, are
> there any best practices on capturing that information? I think if there
> has been any work done on profile probing that might be a reference? I'm
> not sure if I've seen any hal components doing polar conversion math yet...
>
> b) how can I pass on multi-dimensional arrays through a hal component?
> I'm not even sure what the workflow for this data is yet, but if I had
> to make an example, a struct of a 4-component XYZQ vector (thus 4
> doubles or floats,the "q" is just a 4th 

Re: [Emc-users] Because I can't seem to finish anything... Nebel lathe conversion.

2022-04-07 Thread andrew beck
You can buy cheap cbn inserts from aliexpress to that work fine for
hardened steel

On Thu, 7 Apr 2022, 07:22 Sam Sokolik,  wrote:

> The cross slide has around 17 inches of travel... Crazy..
>
> https://photos.app.goo.gl/Z4NKdazgTGVAkPtD8
> https://photos.app.goo.gl/hjk4Wb4kbZAjTnRZ9
>
> sam
>
>
>
>
>
> On Thu, Mar 24, 2022 at 6:53 AM Stuart Stevenson 
> wrote:
>
> > The only thing I would add to Andy's comments about machining hard steel
> > with carbide is to get a green stone and remove the built up edge after
> > every pass. Heat is what kills the cutter.
> >
> > On Mon, Mar 21, 2022 at 11:34 AM Leonardo Marsaglia <
> ldmarsag...@gmail.com
> > >
> > wrote:
> >
> > > >
> > > > I have machined a number of ballscrews. Typically I peel of the outer
> > > > hardened layer with CBN-tipped tools, but mainly because I have some.
> > > > It can be done with normal carbide, though you might need more than
> > > > one.
> > > > Very high surface speed and very light cuts is the way to go.
> > > >
> > > > https://youtu.be/SmuZXXP_hMY
> > >
> > >
> > > Nice Andy! I have some sumitomo CBN inserts I purchased from ebay a
> while
> > > back because they were really cheap but never used it because I'm
> always
> > > lacking the tool holder...
> > >
> > > El lun, 21 mar 2022 a las 12:54, andy pugh ()
> > > escribió:
> > >
> > > > On Mon, 21 Mar 2022 at 13:53, Leonardo Marsaglia <
> > ldmarsag...@gmail.com>
> > > > wrote:
> > > > >
> > > > > Sam, have you had to soften the final portion of the ballscrew to
> > > machine
> > > > > that thread? I've never done it and the ones I'm mounting in the
> > router
> > > > are
> > > > > fixed (rotating nut).
> > > >
> > > > I have machined a number of ballscrews. Typically I peel of the outer
> > > > hardened layer with CBN-tipped tools, but mainly because I have some.
> > > > It can be done with normal carbide, though you might need more than
> > > > one.
> > > > Very high surface speed and very light cuts is the way to go.
> > > >
> > > > https://youtu.be/SmuZXXP_hMY
> > > >
> > > > --
> > > > atp
> > > > "A motorcycle is a bicycle with a pandemonium attachment and is
> > > > designed for the especial use of mechanical geniuses, daredevils and
> > > > lunatics."
> > > > — George Fitch, Atlanta Constitution Newspaper, 1912
> > > >
> > > >
> > > > ___
> > > > Emc-users mailing list
> > > > Emc-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> >
> > --
> > Addressee is the intended audience.
> > If you are not the addressee then my consent is not given for you to read
> > this email furthermore it is my wish you would close this without saving
> or
> > reading, and cease and desist from saving or opening my private
> > correspondence.
> > Thank you for honoring my wish.
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-31 Thread andrew beck
Thanks guys

I will see how this goes.

And sounds like it should be easy as

Does anyone know how to wire sensors to mesa card encoder?  Are they pnp or
npn?


Or can I just wire them straight into encoder input?

Regards

Andrew

On Fri, 1 Apr 2022, 07:30 Lawrence Glaister,  wrote:

> Hi Andrew,
> It has been a few years since I added a spindle encoder to my lathe. I
> have a web page describing the gruesome details that might give you some
> ideas and some gcode to play with for cutting the disks. This encoder is
> still in operation with the data being fed into a parallel port on an
> older PIII 700Mhz Del box running ubuntu 10.4.
>
> https://ve7it.cowlug.org/spindle-encoder.html
>
> cheers
>
> Lawrence VE7IT
>
> On 2022-03-31 10:10, Chris Albertson wrote:
> > On Wed, Mar 30, 2022 at 11:18 PM andrew beck 
> > wrote:
> >
> >> Hey guys will this work OK?
> >>
> >> I think it's the same as the one from amazon
> >>
> >> https://www.trademe.co.nz/3531064367
> >>
> >>
> >> And I'm thinking I may need two discs.  One above the other so I can
> use a
> >> index sensor on the top layer.   Or maybe stick a proxy sensor on it.
> >>
> >> Looks like they have a 6mm gap between the slots in the sensor.   Do you
> >> think a 1mm wide gap gap would be ok maybe in a 2 mm thick sheet?
> >
> >
> >
> > The link does not work for me.
> >
> > Ideally the slots and the space between the slots is the same.   But this
> > only really matters if
> > 1) you intend to double the resolution by looking at leading and trailing
> > edges.
> > 2) and when the spindle reverses direction there is a small error if the
> > geometry is asymmetric.  Maybe the error is too small to break a tap, I
> > don't know.
> >
> > If the plate is thinck relative to the slot width all that means is the
> > alignment most be good, with the IR beam exactly 90 degrees to the disk.
> > The Omron senors, when you look inside use a very thin disk, like brass
> > shim stock. This minimizes any error caused by misalignment.   The very
> > high-end sensor use glass disks with vapor deposited aluminum to block
> the
> > light.
> >
> > Don't bother with two disks, because alignment can never be 100% perfect.
> >   Simply drill a hole for the index or make one slot deeper.
> >
> > A trick used in automotive sensors is to have one missing slot.  Then
> > software resets the counter when the expected pulse does not happen  This
> > saves the cost of the third sensor but that only matters if you build a
> > million cars.  IR sensors cost only about $1.
> >
> >>
> >>
> >>
> >> On Mon, 28 Mar 2022, 07:35 Chris Albertson, 
> >> wrote:
> >>
> >>> Forgot to include a link.  You can buy the bare sensor but also you can
> >> buy
> >>> them on PCBs with connectors attached and ready to go.
> >>> amazon.com/Measuring-Optocoupler-Interrupter
> >>> <
> >>>
> >>
> https://www.amazon.com/Measuring-Optocoupler-Interrupter-Detection-Arduino%EF%BC%885pcs%EF%BC%89/dp/B08977QFK5/ref=sr_1_17?keywords=c+optical+sensor=1648405019=8-17
> >>>>
> >>>
> >>> Best to use a thin aluminum plate to make the interrupter disk.   Make
> >> the
> >>> slots 50% duty cycle,You need three sensors for quadrature with
> >> index.
> >>>   The above sensor should directly interface to Measa or a parallel
> port
> >> or
> >>> some microcontroler.
> >>>
> >>>
> >>> On Sun, Mar 27, 2022 at 10:02 AM Chris Albertson <
> >>> albertson.ch...@gmail.com>
> >>> wrote:
> >>>
> >>>> THis goes to 10K RPM?   that is 167 revolutions per second.  400 slots
> >>>> means 70 KHz signal.
> >>>>
> >>>> Can you design an inductive sensor that does 70KHz but is also
> >> sensitive
> >>>> enough for near zero RPM?   Optical sensors can work up to 1MHz with
> no
> >>>> problem as they don't have any inductanve.You can buy a "C" space
> >>>> sensor for a few dollars
> >>>>
> >>>> In either case, optical of inductive, you want a 50% "slot" where
> there
> >>> is
> >>>> as much metal left as cut away  Then the "edges" of the square wave
> are
> >>> the
> >>>> same in either direction. The 50% duty cycle in effect doubles the
>

Re: [Emc-users] Homebuilt encoder

2022-03-31 Thread andrew beck
For those interested I decided I really should start to use the forum so
people can search later for stuff hopefully I help someone.

I have started on the gear sensor style encoder.


Hope it works.  Let me know your thoughts

https://forum.linuxcnc.org/show-your-stuff/45498-linuxcnc-machine-shop-fun-thread

Regards

Andrew

On Sun, 27 Mar 2022, 22:21 Andy Pugh,  wrote:

>
>
> > On 27 Mar 2022, at 08:09, andrew beck  wrote:
> >
> > And is bigger dia better for higher resolution?
>
> Probably not, as it will perhaps have more scope to oscillate at 10,000
> rpm.
>
> Don’t neglect the purely mechanical design of this fast-spinning part.
>
> Have you considered optical sensors rather than inductive?
>
> What will be counting the pulses?
>
> LinuxCNC can lathe-thread with one sensor.
> But rigid-tapping is different as it needs to accurately detect the
> reversal point. So you need three channels for index and full quadrature.
>
> Work out what error you can accept in the reversal point detection (as a
> fraction of thread pitch) and you can get a feel for how many slots you
> need.
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-31 Thread andrew beck
Hey guys will this work OK?

I think it's the same as the one from amazon

https://www.trademe.co.nz/3531064367


And I'm thinking I may need two discs.  One above the other so I can use a
index sensor on the top layer.   Or maybe stick a proxy sensor on it.

Looks like they have a 6mm gap between the slots in the sensor.   Do you
think a 1mm wide gap gap would be ok maybe in a 2 mm thick sheet?



On Mon, 28 Mar 2022, 07:35 Chris Albertson, 
wrote:

> Forgot to include a link.  You can buy the bare sensor but also you can buy
> them on PCBs with connectors attached and ready to go.
> amazon.com/Measuring-Optocoupler-Interrupter
> <
> https://www.amazon.com/Measuring-Optocoupler-Interrupter-Detection-Arduino%EF%BC%885pcs%EF%BC%89/dp/B08977QFK5/ref=sr_1_17?keywords=c+optical+sensor=1648405019=8-17
> >
>
> Best to use a thin aluminum plate to make the interrupter disk.   Make the
> slots 50% duty cycle,You need three sensors for quadrature with index.
>  The above sensor should directly interface to Measa or a parallel port or
> some microcontroler.
>
>
> On Sun, Mar 27, 2022 at 10:02 AM Chris Albertson <
> albertson.ch...@gmail.com>
> wrote:
>
> > THis goes to 10K RPM?   that is 167 revolutions per second.  400 slots
> > means 70 KHz signal.
> >
> > Can you design an inductive sensor that does 70KHz but is also sensitive
> > enough for near zero RPM?   Optical sensors can work up to 1MHz with no
> > problem as they don't have any inductanve.You can buy a "C" space
> > sensor for a few dollars
> >
> > In either case, optical of inductive, you want a 50% "slot" where there
> is
> > as much metal left as cut away  Then the "edges" of the square wave are
> the
> > same in either direction. The 50% duty cycle in effect doubles the
> > sensor resolution.
> >
> > Why?  Think about the signal when the direction changes. You have two
> > sensors in quadrature and lets say one is being blocked and one is not,
> I
> > think you want the turnaround to take as long for each sensor.
> >
> >
> > On Sun, Mar 27, 2022 at 2:22 AM Andy Pugh  wrote:
> >
> >>
> >>
> >> > On 27 Mar 2022, at 08:09, andrew beck 
> wrote:
> >> >
> >> > And is bigger dia better for higher resolution?
> >>
> >> Probably not, as it will perhaps have more scope to oscillate at 10,000
> >> rpm.
> >>
> >> Don’t neglect the purely mechanical design of this fast-spinning part.
> >>
> >> Have you considered optical sensors rather than inductive?
> >>
> >> What will be counting the pulses?
> >>
> >> LinuxCNC can lathe-thread with one sensor.
> >> But rigid-tapping is different as it needs to accurately detect the
> >> reversal point. So you need three channels for index and full
> quadrature.
> >>
> >> Work out what error you can accept in the reversal point detection (as a
> >> fraction of thread pitch) and you can get a feel for how many slots you
> >> need.
> >>
> >>
> >>
> >>
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >
> > --
> >
> > Chris Albertson
> > Redondo Beach, California
> >
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-27 Thread andrew beck
I have done that cutter size mistake on a 4k block of material before lol.
Oops

On Mon, 28 Mar 2022, 08:40 gene heskett,  wrote:

> On Sunday, 27 March 2022 15:20:22 EDT John Dammeyer wrote:
> > Just don't do what I did which is design the plate for a 3mm cutter and
> > then start the LCNC G-code with a 4mm cutter. John
>
> John, thats a mistake I might do. ;o)
>
> [...]
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-27 Thread andrew beck
John haha yep I'll not do that.

I'm thinking I'll use a 1mm cutter anyway if the sensors are good enough
for that

On Mon, 28 Mar 2022, 08:23 John Dammeyer,  wrote:

> Just don't do what I did which is design the plate for a 3mm cutter and
> then start the LCNC G-code with a 4mm cutter.
> John
>
> > -Original Message-
> > From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> > Sent: March-27-22 11:31 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] Homebuilt encoder
> >
> > Forgot to include a link.  You can buy the bare sensor but also you can
> buy
> > them on PCBs with connectors attached and ready to go.
> > amazon.com/Measuring-Optocoupler-Interrupter
> > <https://www.amazon.com/Measuring-Optocoupler-Interrupter-Detection-
> >
> Arduino%EF%BC%885pcs%EF%BC%89/dp/B08977QFK5/ref=sr_1_17?keywords=c+optical+sensor=1648405019=8-17>
> >
> > Best to use a thin aluminum plate to make the interrupter disk.   Make
> the
> > slots 50% duty cycle,You need three sensors for quadrature with
> index.
> >  The above sensor should directly interface to Measa or a parallel port
> or
> > some microcontroler.
> >
> >
> > On Sun, Mar 27, 2022 at 10:02 AM Chris Albertson <
> albertson.ch...@gmail.com>
> > wrote:
> >
> > > THis goes to 10K RPM?   that is 167 revolutions per second.  400 slots
> > > means 70 KHz signal.
> > >
> > > Can you design an inductive sensor that does 70KHz but is also
> sensitive
> > > enough for near zero RPM?   Optical sensors can work up to 1MHz with no
> > > problem as they don't have any inductanve.You can buy a "C" space
> > > sensor for a few dollars
> > >
> > > In either case, optical of inductive, you want a 50% "slot" where
> there is
> > > as much metal left as cut away  Then the "edges" of the square wave
> are the
> > > same in either direction. The 50% duty cycle in effect doubles the
> > > sensor resolution.
> > >
> > > Why?  Think about the signal when the direction changes. You have
> two
> > > sensors in quadrature and lets say one is being blocked and one is
> not,  I
> > > think you want the turnaround to take as long for each sensor.
> > >
> > >
> > > On Sun, Mar 27, 2022 at 2:22 AM Andy Pugh  wrote:
> > >
> > >>
> > >>
> > >> > On 27 Mar 2022, at 08:09, andrew beck 
> wrote:
> > >> >
> > >> > And is bigger dia better for higher resolution?
> > >>
> > >> Probably not, as it will perhaps have more scope to oscillate at
> 10,000
> > >> rpm.
> > >>
> > >> Don�t neglect the purely mechanical design of this fast-spinning part.
> > >>
> > >> Have you considered optical sensors rather than inductive?
> > >>
> > >> What will be counting the pulses?
> > >>
> > >> LinuxCNC can lathe-thread with one sensor.
> > >> But rigid-tapping is different as it needs to accurately detect the
> > >> reversal point. So you need three channels for index and full
> quadrature.
> > >>
> > >> Work out what error you can accept in the reversal point detection
> (as a
> > >> fraction of thread pitch) and you can get a feel for how many slots
> you
> > >> need.
> > >>
> > >>
> > >>
> > >>
> > >> ___
> > >> Emc-users mailing list
> > >> Emc-users@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/emc-users
> > >>
> > >
> > >
> > > --
> > >
> > > Chris Albertson
> > > Redondo Beach, California
> > >
> >
> >
> > --
> >
> > Chris Albertson
> > Redondo Beach, California
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-27 Thread andrew beck
Chris just reading your email again and looks like the sensors you linked
are good up to 1 mhz so I'm good to go.

How wide a slot do you think they need to read the light through?

If they could read 0.5mm that would be great

But I probably don't need that accuracy.

I just want it as good as I can get as I know I'll be tapping several
thousand holes.

400 PPR x4 is 1600 PPR.

M12 tap pitch is 1.75mm

1.75/1600=0.001mm

Which is plenty lol.

Maybe I'll try this.

Can I use halscope to check the sensors are making good quadrature




On Mon, 28 Mar 2022, 06:06 Chris Albertson, 
wrote:

> THis goes to 10K RPM?   that is 167 revolutions per second.  400 slots
> means 70 KHz signal.
>
> Can you design an inductive sensor that does 70KHz but is also sensitive
> enough for near zero RPM?   Optical sensors can work up to 1MHz with no
> problem as they don't have any inductanve.You can buy a "C" space
> sensor for a few dollars
>
> In either case, optical of inductive, you want a 50% "slot" where there is
> as much metal left as cut away  Then the "edges" of the square wave are the
> same in either direction. The 50% duty cycle in effect doubles the
> sensor resolution.
>
> Why?  Think about the signal when the direction changes. You have two
> sensors in quadrature and lets say one is being blocked and one is not,  I
> think you want the turnaround to take as long for each sensor.
>
>
> On Sun, Mar 27, 2022 at 2:22 AM Andy Pugh  wrote:
>
> >
> >
> > > On 27 Mar 2022, at 08:09, andrew beck 
> wrote:
> > >
> > > And is bigger dia better for higher resolution?
> >
> > Probably not, as it will perhaps have more scope to oscillate at 10,000
> > rpm.
> >
> > Don’t neglect the purely mechanical design of this fast-spinning part.
> >
> > Have you considered optical sensors rather than inductive?
> >
> > What will be counting the pulses?
> >
> > LinuxCNC can lathe-thread with one sensor.
> > But rigid-tapping is different as it needs to accurately detect the
> > reversal point. So you need three channels for index and full quadrature.
> >
> > Work out what error you can accept in the reversal point detection (as a
> > fraction of thread pitch) and you can get a feel for how many slots you
> > need.
> >
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Homebuilt encoder

2022-03-27 Thread andrew beck
I currently have a 1000 PPR encoder on it. And that rigid taps great.

Ideally I would like something similar

How fast can those sensors read?

1000ppr at 10k rpm would be great

But just thinking about it.  I only actually need to be able to read
encoder up to say 2000 rpm

At high speed it doesn't matter

On Sun, 27 Mar 2022, 22:21 Andy Pugh,  wrote:

>
>
> > On 27 Mar 2022, at 08:09, andrew beck  wrote:
> >
> > And is bigger dia better for higher resolution?
>
> Probably not, as it will perhaps have more scope to oscillate at 10,000
> rpm.
>
> Don’t neglect the purely mechanical design of this fast-spinning part.
>
> Have you considered optical sensors rather than inductive?
>
> What will be counting the pulses?
>
> LinuxCNC can lathe-thread with one sensor.
> But rigid-tapping is different as it needs to accurately detect the
> reversal point. So you need three channels for index and full quadrature.
>
> Work out what error you can accept in the reversal point detection (as a
> fraction of thread pitch) and you can get a feel for how many slots you
> need.
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Homebuilt encoder

2022-03-27 Thread andrew beck
Hey guys
I have a spindle encoder I want to set up for my 1rpm spindle on one of
my cnc Mills

I can laser cut a encoder disc and get some gear sensors.

Max dia of the disc due to size constraints is 150 mm dia

Questions are mainly design ones.

What width of slots do I need in encoder disc?

And is bigger dia better for higher resolution?

Also what resolution do I need for good reliable rigid tapping?   I could
probably laser cut a disc 140mm dia with 400 slots 1mm wide each if that
would let the sensors work OK.

But I don't really know what the sensors can pick up.

Anyway if you guys have already done this I would appreciate the advice.

Cheers

Andrew

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


Re: [Emc-users] Custom m codes

2022-03-04 Thread andrew beck
Torque servo tuning now I think I can help on and also spindle orientation.



On Fri, 4 Mar 2022, 21:25 andrew beck,  wrote:

> I copied and pasted it from the forum someone else did the hard work
> and I heartily thank them
>
> But this should be added to the docs really I think.  It explains the
> concepts so well and make a real head scratcher painless.
>
> On Fri, 4 Mar 2022, 02:34 ,  wrote:
>
>> Andrew,
>>
>> Thanks for a particularly good explanation of what you did. All useful
>> knowledge.
>>
>> Marcus
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


Re: [Emc-users] Custom m codes

2022-03-04 Thread andrew beck
I copied and pasted it from the forum someone else did the hard work
and I heartily thank them

But this should be added to the docs really I think.  It explains the
concepts so well and make a real head scratcher painless.

On Fri, 4 Mar 2022, 02:34 ,  wrote:

> Andrew,
>
> Thanks for a particularly good explanation of what you did. All useful
> knowledge.
>
> Marcus
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Custom m codes

2022-03-02 Thread andrew beck
thanks guys for the awesome replies!  your all amazing

i ended up working it out after finding this on the forum  worked a treat
and i am happy as

https://forum.linuxcnc.org/38-general-linuxcnc-questions/31909-custom-m-code

copy and pasted this guys stuff.  he saved my bacon so anyone knows who
made this i am would love to say thanks"

"With the provided help I got this working.
I took the approach of creating a remapped m code. I decided to define a m
code of m300 to take the place of the standard m30 code. Initially I was
going to simply remap m30, but linuxcnc does not support remapping m code
in group 4.

To start with I created a ngc subroutine named m300.ngc and placed this in
the linuxcnc/nc_files folder. You can place it in other folders as long as
you specify the folder's path in your ini file.
My m300.ngc file consisted of the following:
o sub
G91 G28 Z0.0
G91 G28 Y0.0
G91 G28 X0.0
G91 G28
m30
o endsub
Initially I missed the fact that that the first and last lines needed the
"" with the brackets. I thought the brackets in the examples were
there for highlighting the words. Also if you want your axis to return to
home in a different order, you simply need to change around the g code
commands in the m300.ngc file.

Once the subroutine was created and defined, I had to reference it in the
ini file. The input in the ini file was as follows:
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
USER_M_PATH = /home/shop/linuxcnc/nc_files
SUBROUTINE_PATH = /home/shop/linuxcnc/nc_files
REMAP=M300 modalgroup=10 ngc=m300

The subroutine_path statement defines the folder where my subroutines will
be stored, and the remap statement tells linuxcnc that when a m300 command
is found, go run the m300.ngc file. Depending upon what m or g code you are
remapping, every m and g code is organized in one of 10 modal groups. If
you are using undefined m codes, like my m300, it is a modal group = 10. If
I wanted to simply remap the m30 code itself, it would have been a modal
group 4, but unfortunately linuxcnc does not support remapping of modal
group 4.

With these items complete and linuscnc restarted, issuing a m300 command in
mdi would move the z axis to home, the y axis to home, the x axis to home,
and then the a axis to home, and then if the machine was running a program,
stop and rewind the program just like a m30 code would do.

I did take this remapping one step further by defining a gladevcp button on
my gui which would execute this entire return to home process. To do this I
followed the "adding custom mdi buttons" tutorial in the linuxcnc knowledge
base.

In my hal file I included the following lines

#Define action for retract and home all buttons
net software-retract halui.mdi-command-00 gladevcp.retract
net software-homeall halui.mdi-command-01 gladevcp.home_all

These statement associate pressing the "retract" and "home_all" buttons in
my gladevcp with mdi commands of 00 and 01 defined in the halui section of
my ini file.

In my ini file I included the lines of
[HALUI]
MDI_COMMAND = G91 G28 Z0.0
MDI_COMMAND = M300

The first mdi_command line define a mdi command that will retract the z
axis, and the second mdi_command defines a mdi command to run my newly
remapped m300 command. The statements in my hal file refer to
halui.mdi.command-00 and halui.mdi.command-01 which refer to the first and
second mdi commands listed in the ini file. You do not actually number the
mdi commands in your ini file so one need to be able to count.

That concludes how I was able to define a single m300 g code command which
will return all my axis to their home position and how I can use that
command in the mdi interface, in a regular ngc program, and also how I
referenced that command using a gladevcp button on my gui."

On Tue, Mar 1, 2022 at 12:03 PM Nicklas SB Karlsson  wrote:

> Den 2022-02-28 kl. 11:47, skrev andrew beck:
> > Hey guys
> >
> > I want to issue a m102
> >
> > And get this code run
> >
> > S5m3
> > Halcmd setp hm2 7i77etc pin output on
> Motion module have digital outputs.
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


[Emc-users] Custom m codes

2022-02-28 Thread andrew beck
Hey guys

I want to issue a m102

And get this code run

S5m3
Halcmd setp hm2 7i77etc pin output on

Whats the best way to do it.

I can do it fine with m6 but it won't let me remap m100+ codes
I'm also happy to use digital output codes m66 65 etc

What do you guys think?

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


Re: [Emc-users] who has used thin client pcs

2022-02-25 Thread andrew beck
Awesome thanks

On Sat, 26 Feb 2022, 16:27 cogoman via Emc-users, <
emc-users@lists.sourceforge.net> wrote:

> I have found that the "Magic Pixie Dust" for a damp shop comes in a
> spray can called Caig deoxit.  The trick is pairing a contact cleaning
> solution with an appropriate oil that seals the contacts so that oxygen
> can't get into the connection.
>
> A church building is a great place for humidity related failures.  Warm
> on Sunday morning and Wednesday evening, cool and damp the rest of the
> time.  We have a 6 -DVD duplicator with a hard drive inside.  After
> about a year 2 of the DVD drives were acting up, and if left on for
> about a half an hour, the OS (probably DOS) would lock up and need to be
> power cycled.
>
> I sprayed every connector I could get apart (mostly SATA), and it came
> back to life, and has been working well for many years since.
>
> I even tried it on a processor socket to see if the oil would mess up
> signal integrity and it didn't, so I think the oil has a dielectric
> coefficient near that of air.
>
>
> On 2/10/22 11:19, Les Newell wrote:
> > The version running a 4 core GX-415 processor should be fine for
> > LinuxCNC.  I use Wyse 5020 thin clients on my lathe and router, which
> > use the same SOC. The 2 core version is a bit slow if you are using it
> > with Ethernet FPGA cards. I used one on my lathe for a couple of years
> > and it occasionally popped up a latency warning, though the machine
> > appeared to run fine.
> >
> > I have to admit I'm a big fan of thin clients. My workshop is pretty
> > damp and when I used desktop based PCs I probably averaged about 1
> > failure every year or so. Since swapping to thin clients about 5 years
> > ago I have had one failure and that was down to my carelessness,
> > rather than a spontaneous failure.
> >
> > Les
> >
> >
> > On 10/02/2022 00:01, andrew beck wrote:
> >> hey everyone
> >>
> >> just wondering who has used the thin client computers
> >> i am looking for a fanless pc that i can buy in oceania
> >>
> >> https://www.youtube.com/watch?v=tVXn_fEbDTs
> >>
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


  1   2   3   4   5   6   >