Re: [Emc-users] Test

2024-02-04 Thread Thomas J Powderly

Elmo sez:

OK I hope everybody happy !


On 2/3/24 13:07, marcus.bow...@visible.eclipse.co.uk 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


[Emc-users] thanks to the developers, Merry Christmas

2023-12-23 Thread Thomas J Powderly

Recently I looked thru all the files in my Denian 10 LinuxCNC installation.

I opened every man-readable file and looked thru them.

because...

My hard drive lost its superblock and I used  RescirCD and PhotoRec to retrieve 
files.

I have my github repo, but the last few days were not committed.

So I was missing some wanted code.

Using RescueCVD and PhotoRec got the files back but the original names were 
lost.

I got more than  650 directories , each with hundreds of files.
The files I got were named like f12345678.py or f87654321.ini or f132435465.xml.

So I must wade thru all the man-readable (source) files,
then rename and the recognized files..

Doing this made me look at _all_ the man-readable files

Its now 5  days and I just finished processing directory 399 of 693.

During all this, progress was often segwayed by discovering many amazing works.

There is _so_ much variety so much enginuity, so many applications and concepts.

I am (again) impressed by the developers and community.

I highly recommend getting a RIP and randomly browsing it.

Thanks to all

and Merry Christmas.

TomP

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


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

2023-11-23 Thread Thomas J Powderly

I remember a customer bumping a geneva gear tool changer

using the side of the platen that held the electrode

bumpint would index the tool

he used gcode on a Fanuc/Elox sink edm.

yeah i suppose a machine tool _is_ an expensive motor

but shows people are clever

tomp

On 11/23/23 04:06, gene heskett wrote:

On 11/22/23 15:13, andy pugh wrote:
On Wed, 22 Nov 2023 at 19:15, Roland Jollivet 
 wrote:


Interesting, and it looks rigid enough for real work..

https://www.youtube.com/watch?v=4r4_uo6ZrAE
https://www.youtube.com/watch?v=ztW4JIbLSMs


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

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


I'd have to agree Andy.  I need to design a disk brake for my A axis 
as there's half a degree of slop in the worm drive which if it gets to 
the motor will be held, but the slop in the worm makes for sloppy 
looking holes, but the activation method is still in my head. Even 
that is only important when drilling a hole for the handle. I'll come 
up with something.


Cheers, Gene Heskett.



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


[Emc-users] fast wedm spool reversal

2023-11-07 Thread Thomas J Powderly

Hello

There is a machining process with the confusing name 'fast wedm'
Mostly Chines Taiwanese and Indian designs.
The name refers to the wire speed(m/S)
not the cutting speed (mm^2/min)

I'd like to try this machining method.

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

There is a sequence of
cut, stop wire and edm power, reverse. cut  (rinse repeat)

The cut is interrupted,
and its desirable pt keep the interruption time small

I guess this is like a lathe during rigid tapping, correct?

How does Linuxcnc handle the reversing of a lathe head and chuck?
( I think the mass of the drum is much less )
How quick is the reversal?
How long is the stopped state?
Is this done with a Vfd, maybe some hal/ladder code?

Thanks for any insights
TomP

( the reasons to use 'fast wedm' is economy,
  its a LOT cheaper to build and supply
  It is not as fast nor as accurate as 'slow wedm'.
  It is cheaper and messier ;-)

for visual reference
https://www.youtube.com/watch?v=h7Wb73jtWhg

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


Re: [Emc-users] LinuxCNC 2.9 is Released

2023-11-05 Thread Thomas J Powderly

Thanks Phil

tomp



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


Re: [Emc-users] LinuxCNC 2.9 is Released

2023-11-05 Thread Thomas J Powderly

Thanks to all the devs for this new release

Pl;ease adjust the  web page

https://linuxcnc.org/docs/2.9/html/getting-started/getting-linuxcnc.html#_installing_on_debian_bookworm_with_preempt_rt_kernel

where it says


 Installing on Debian Bookworm (with Preempt-RT kernel)

1.

   Install Debian Buster (Debian 12), amd64 verison

I don't _think_  it should read 'install buster'

tomp







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


[Emc-users] InRelease missing for hioghlab2

2023-11-04 Thread Thomas J Powderly

Hello

I used S sudo apt update  to update repos

and got warning

W: Skipping acquire of configured file '2.9-uspace/binary-i386/Packages' 
as repository 'http://buildbot2.highlab.com/debian buster InRelease' 
does not seem to provide it (sources.list entry misspelt?)


I was preparing to add  a newer KiCad so I could view some files 
requiring newer version.


I looked at the repo site and saw dists/InRelease and ...dists/Release

What to do?

thx TomP



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


Re: [Emc-users] python hal component multiple instances

2023-09-18 Thread Thomas J Powderly

Thx Andy

correct, the '--userspace' is not needed for .comp file

for a good example

the pokeys.comp  was useful

I have not figured out how to do similar with python _and_ get multiple 
instances/personalities
I only get 1 instance so far
The .comp solution works for me

thx

tomp


On 9/18/23 18:31, Andy Pugh wrote:

On Sat, 16 Sept 2023 at 11:17, Thomas J Powderly  wrote:

I see the question is wrong

I thought it must be, you don't use halcompile with a Python HAL component:
http://linuxcnc.org/docs/stable/html/hal/halmodule.html

Using .comp (C) I think that "option userspace" is sufficient, I don't
_think_ that you need halcompile --userspace too.


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


Re: [Emc-users] python hal component multiple instances

2023-09-16 Thread Thomas J Powderly

aha!

i need ti specify user space twice

once inside the code

    option userspace;

and again in the compilation

    halconpile --install --userspace mycomp.comp

and the enumeration is automagic with, say:   loadusr mycomp count=3

thx

tomp




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


Re: [Emc-users] python hal component multiple instances

2023-09-16 Thread Thomas J Powderly

I see the question is wrong

The Q really should be...

Why does sudo halcompile --install --userspace anycomp.comp

yield an RT comp? ( at least one requiring loadrt vs loadusr) ?

// the Q is really how to halcompile a python userspace comp
// becuz the --userspace is ignored and an rt comp is created
// using the logic comp from http://linuxcnc.org/docs/html/hal/comp.html
// i simply renamed the file as logicx1.py
// then
// (if necc)  $ sudo rm // /usr/lib/linuxcnc/modules/logicx1.so
// $ sudo halcompile --install --userspace logicx1.comp
// which showed
//Compiling realtime logicx1.c
//Linking logicx1.so
//cp logicx1.so /usr/lib/linuxcnc/modules/
//
// then I tried to load it with coint=3
// # halrun -I
// halcmd: loadusr logicx1 count=3 personality=0x102,0x305,0x503
// --- and got this merr
//:1: execv(logicx1): No such file or directory
// --- then suspecting something was fubarred, i tried
// halcmd: loadrt logicx1 count=3 personality=0x102,0x305,0x503
// --- and it worked   so the --userspace is ignored w/o any warning or  msg
// Note: Using POSIX realtime
// -- then to be sure it had worked...
//halcmd: show pin
//Component Pins:
//Owner   Type  Dir Value  Name
// 4  bit   OUT FALSE  logicx1.0.and
// 4  bit   IN  FALSE  logicx1.0.in-00
// 4  bit   IN  FALSE  logicx1.0.in-01
// 4  s32   OUT 0  logicx1.0.time
// 4  bit   OUT FALSE  logicx1.1.and
// 4  bit   IN  FALSE  logicx1.1.in-00
// 4  bit   IN  FALSE  logicx1.1.in-01
// 4  bit   IN  FALSE  logicx1.1.in-02
// 4  bit   IN  FALSE  logicx1.1.in-03
// 4  bit   IN  FALSE  logicx1.1.in-04
// 4  bit   OUT FALSE  logicx1.1.or
// 4  s32   OUT 0  logicx1.1.time
// 4  bit   OUT FALSE  logicx1.2.and
// 4  bit   IN  FALSE  logicx1.2.in-00
// 4  bit   IN  FALSE  logicx1.2.in-01
// 4  bit   IN  FALSE  logicx1.2.in-02
// 4  s32   OUT 0  logicx1.2.time
// 4  bit   OUT FALSE  logicx1.2.xor
//

thx for any info

TomP


On 9/16/23 15:38, Thomas J Powderly wrote:

Hello

Is it possible to have multiple instances of a python comp?

Any example code?

Thanks

TomP




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


[Emc-users] python hal component multiple instances

2023-09-16 Thread Thomas J Powderly

Hello

Is it possible to have multiple instances of a python comp?

Any example code?

Thanks

TomP



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


[Emc-users] pyvcp xml vars

2023-09-14 Thread Thomas J Powderly

I found a way to have variables in the pyvcp XML

its a feature called ENTITY


  \
    these are vars
     /
     /
     /
]>


    
    
    

        
            "proc01"
        0
        .5
        122
        82
        120
        30
        '{:.2f}'  this format pattern didnt 
work using ENTITY :-(

        &bgclr; use var this way    &varname;
        'red'
        &myfont;  var
        &tsz1;    var

    

  ...

not quite xslt but maybe handy

tomp



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


[Emc-users] 2.9.0-pre no module named hal

2023-08-28 Thread Thomas J Powderly

Has the move towards python3 broke old  configs that import hal?

this happens on

LINUXCNC - 2.9.0-pre1-1099-g9ce09bfb8


tomp@ThaiTowerD10:~$ python

Python 2.7.16 (default, Oct 10 2019, 22:02:15)

[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import hal
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named hal

>>>   <^d>


tomp@ThaiTowerD10:~$ python3
Python 3.7.3 (default, Oct 31 2022, 14:04:00)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import hal

>>>  <^d>


I just updated from 2.7.4 to 2.9.0-pre so I get pyvcp in tabs

do i need to downgrade to get hal module for python2.n?

thx Tom




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


Re: [Emc-users] pyvcp in Axis tab

2023-08-26 Thread Thomas J Powderly

YAY

Thanks Phill !

now looking into fulfilling requirements on 2.9.0 on Buster

https://debian.pkgs.org/sid/debian-main-arm64/linuxcnc-uspace_2.9.0~pre1+git20230208.f1270d6ed7-1_arm64.deb.html

That was FAST , thanks

tomp

On 8/26/23 12:29, Phill Carter via Emc-users wrote:

It works on the current 2.9




On 26 Aug 2023, at 3:07 pm, Thomas J Powderly  wrote:

Hello
I want to embed pyvcp into a tab of Axis interface.
My attempts so far got me the new tab
but the pyvcp panel ( or pyTkinter panel) is free floating.
The panel is not embedded,

There was a discussion about this on the forum
https://www.forum.linuxcnc.org/9-installing-linuxcnc/38996-new-install-now-cant-import-tkinter?start=10

There was no resolution, and the information provided suggested that an update
   linuxcnc-uspace_2.9.0~pre1+git20230208.f1270d6ed7-1_amd64.deb
would help.

No one in the discussion reported that this actually worked.
So, before I update, could someone running 2.9.0
please do this test?


Put this dummy 'pyvcptab.xml' file into your 
~/linuxcnc/configs/configYouWantToTry

 begin file pyvcptab.xml ---


 
 
 "Pyvcp Xml file in a Tab"
 
 
 
 
 
 "spbox1f"
 1
 5000
 1
 1
 "4.0f"
 
 
 "spbox1verify"
 "Run"
 
 
 

 end file pyvcptab,xml ---


and edit a working .ini to include this vvv  after the [DISPLAY] maker
-- begin edit your .ini ---
EMBED_TAB_NAME = PyvcpTab
EMBED_TAB_COMMAND = pyvcp pyvcptab.xml
-- end edit your .ini ---

Then run LincCBC with yoour config and see if the tab appears

AND if the pyvcp widgets are on the tab or just in a free floationg pane.


There is no .hal file or stanza.

The hal pins are not connected.

That is not needed to test the tab feature.


in 2.8.0 it looks like the attached png


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



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



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


[Emc-users] pyvcp in Axis tab

2023-08-25 Thread Thomas J Powderly

Hello
I want to embed pyvcp into a tab of Axis interface.
My attempts so far got me the new tab
but the pyvcp panel ( or pyTkinter panel) is free floating.
The panel is not embedded,

There was a discussion about this on the forum
https://www.forum.linuxcnc.org/9-installing-linuxcnc/38996-new-install-now-cant-import-tkinter?start=10

There was no resolution, and the information provided suggested that an 
update

  linuxcnc-uspace_2.9.0~pre1+git20230208.f1270d6ed7-1_amd64.deb
would help.

No one in the discussion reported that this actually worked.
So, before I update, could someone running 2.9.0
please do this test?


Put this dummy 'pyvcptab.xml' file into your 
~/linuxcnc/configs/configYouWantToTry


 begin file pyvcptab.xml ---


    
    
        "Pyvcp Xml file in a Tab"
    
    
    
    
        
            "spbox1f"
            1
            5000
            1
            1
            "4.0f"
        
        
            "spbox1verify"
            "Run"
        
    
    

 end file pyvcptab,xml ---


and edit a working .ini to include this vvv  after the [DISPLAY] maker
-- begin edit your .ini ---
EMBED_TAB_NAME = PyvcpTab
EMBED_TAB_COMMAND = pyvcp pyvcptab.xml
-- end edit your .ini ---

Then run LincCBC with yoour config and see if the tab appears

AND if the pyvcp widgets are on the tab or just in a free floationg pane.


There is no .hal file or stanza.

The hal pins are not connected.

That is not needed to test the tab feature.


in 2.8.0 it looks like the attached png


Thnaks TomP




"Pyvcp Xml file in a Tab"





"spbox1f"
1
5000
1
1
"4.0f"


"spbox1verify"
"Run"



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


Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

2023-08-03 Thread Thomas J Powderly

Thx Andy

hahhaha 1st I see 'sysfs is deprecated' notice, so I need background fer 
sure/



I see in and out lists parsed to argv[n] (i suppose_.


I went a different route and parsed the hal to generate a config file.

In the net section, i put in a begin and end token in comments 
surrounding the nets using the Arduino-esque pins.


Then I set some naming ruled like 'net mysig ardIO.DI-029 vcp.DI-029-led

This allows the actual device pin (029) to be used and specify the pyvcp 
widget (led) and pin type (DI)


I use a variation of Jepler's and Dino's 8 byte protocol.


I'd like pluggable comm specs for serial udp eth spi i2c but i wont live 
that long.



It also writes a .h file for the arduino .ino to include ( pin specs )

and even writes a simplistic pyvcp panel that would show/set the pins.

That part is rather hard coded for the widget to pin type mapping.


I think the xml for the newer widget panel systems can be written but 
didnt try yet.



It should work for BBB and b/o/rpi and Uno Due Mega esp32 et all the 
tingummys that can use Arduino IDE


So far Uno and Mega work in basic comms for DI and DO ( i hope Ai AO PO 
are not much diffenernt )



Right now I am working on another project. an EDM on Time OffTime pair 
like a oneshot.


Turn on voltage for x uS, turn power off for y uS, then wait for further 
orders. Just once.


Using interruots and timers, amd allow changing eithe x or y for next 
execution.



I will read up on the gpiod, amd do have a BBB to test it with. ( not 
soon ;-/ )



Thx for all your work

tomp


On 8/3/23 15:20, andy pugh wrote:

On Wed, 2 Aug 2023 at 17:51, Thomas J Powderly  wrote:


Is there an explanation of gpiod?

It's a replacement for the sysfs interface for gpio (which hal_pi_gpio
uses, for example).

There is an article about it here:
https://lloydrochester.com/post/hardware/libgpiod-intro-rpi/

I have a working-but-slow demo here:
https://github.com/LinuxCNC/linuxcnc/commit/15138feb4a1a811a7b61a660555d78b85bdcf86c

(later commits in that branch are not working at all at the moment)

to use the BBB output from gpioinfo above:

loadrr hal_gpio inputs=P8_25,P8_24  outputs=P8_10,P811




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


Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

2023-08-02 Thread Thomas J Powderly

Andy , hello

Is there an explanation of gpiod?

I've been working on a generic module for anything that Arduino IDE 
talks to serially.


I use the net section of the .hal to config everything,

Only DI DO AI AO and PO ( pwm out ) pins are respected.

thx

TomP

On 8/2/23 20:40, andy pugh wrote:

On Wed, 2 Aug 2023 at 02:13, alanmthomason--- via Emc-users
 wrote:


2.  When I perform the configure, is there a way to specify the BBB?
I'm trying to figure out how the compile process would bring in
src/hal/driver/hal_bb_gpio.c

It might be automatic, the modules should be built for any "uspace" config:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L995



4.  Does operation on the beaglebone black require a dtb file to be
loaded to specify the needed pins as input/output?

If you install "gpiod" does "gpioinfo" work?
If so, then I am currently working on a driver that uses libgpiod.
That might work for you (though not at the moment)




___
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-05 Thread Thomas J Powderly

thc all

but the question said _get_

not how to VBox or Wine  or...

Thx but ity seems hard to __get__

Now I've followed Dave's url and it doesnt work... due to my location.

Dave

Thanks, I think I cant complete the download becasue I am in Thailand

The origin of the request is in a country not allowed (afaict)

Tried my US addr and my Thai addr, trued FFox and Cgromium.

I think Thailand requests are banned/

( the download ends immediately with a 'if unsuccessful,please try again'

and wasj rinse repeat just doent work

a VPN may help , i dunno.

thxx

tomp

On 7/6/23 07:16, Chris Albertson wrote:



On Jul 5, 2023, at 11:36 AM, gene heskett  wrote:

On 7/5/23 13:29, Thomas J Powderly wrote:

Since this thread has 'evolved' into free 3D modeling software...
Can I ask how to get Fusion 360 on a Linux box?
I remember several failed tries but I font recall why.
LinuxCNC community people seem to really like it,

That seems to be true, but it is not free anymore. So I'm making parts for 
stuff on 3d printers using OpenSCAD as the design software.  You can be 
productive quite rapidly in it.

What?   Fusion 360 is still free for personal use or even for commercial use as 
long as the bussines makes less than $50K.

If you want 3D CAD software that can run on Linux then you could try
1) FreeCAD,  Not unlike Fusion 360 but is mre limited and lacks sophisticated 
manufacturing ability
2) OnShape,  Online, runs in a web browser and nit somewhat like FreeCad but 
has ZERO manufacturing ability
3) OpenScad.  Good for very geometric designes that can be described in a 
modeling language.  Good for gears, bushing and such but VERY poor if you 
wanted to maybe make a car body part or a motorcycle engine cover

If the goal is to convert STL files to “real” CAD drawings that can be edited.  
 Fusion is your best bet and even then you have to do a lot of manual work


___
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-05 Thread Thomas J Powderly

Since this thread has 'evolved' into free 3D modeling software...

Can I ask how to get Fusion 360 on a Linux box?

I remember several failed tries but I font recall why.

LinuxCNC community people seem to really like it,

TIA

tomp


On 7/5/23 21:44, gene heskett wrote:

On 7/5/23 06:50, Gregg Eshelman via Emc-users wrote:


This one has direct download links https://united3dartists.com/

That appears to be a windows program. Windows is extinct here. ;o)> 
Thank you.


On Tuesday, July 4, 2023 at 11:44:50 AM MDT, gene heskett 
 wrote:






On 7/4/23 08:03, Gregg Eshelman via Emc-users wrote:
Caligari trueSpace can import STL and it can save to a wide range of 
formats.


No thanks for the link Greg, every button on that page leads to a porno
dl with no exit buttons in sight. Its been compromised, probably by M$.

Cheers, Gene Heskett.


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


Cheers, Gene Heskett.



___
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-03 Thread Thomas J Powderly

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&dataid=6254&FileName=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


Re: [Emc-users] epoxy granite machine frame

2023-07-03 Thread Thomas J Powderly

https://www.cnc-technik-mueller.de/mineralguss/

has a peek at the frame

tomp



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


[Emc-users] epoxy granite machine frame

2023-07-02 Thread Thomas J Powderly

i saw a youtube video  with a twist on the epoxy machine frame

https://www.youtube.com/watch?v=eAe3TlsVKcc

Its a sheetmetal skin thats filled with epoxy & rock

The video also shows a very nice spindle

and uses real precision workholding system.

Once I had a Swiss Dixie CNC electrode mill for use while working at AGie

It had no table at all, just a  System 3R shank bolder.

That is a hydraulic clamping bore for 20mm shanks.

The shanks has cross pins to establish height reference

The bore established X0Y0

by turning the unclamped shank against a vertical pin, the C reference 
was had.


and 4 such pins allowed 4 indexes at 90deg.

Work material was brazed onto the top end, and could be

removed and replaced with a few microns of reproducibility

This allowed multiple work pieces to produced accurately

That was great for sink EDM .

The video shows ITS tooling clamping work to table

which is reconfigurable but not a persistent true position like the Dixie.

I favor no table for small CNCs, instead a workholding system like the ITS

( or Erowa 3R Hirschmann Istema Imea  what you like or can afford )

my2c tomp

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


[Emc-users] OT makino knucklehead huge mass and fast

2023-06-14 Thread Thomas J Powderly

OT but certainly an achievement

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

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

tomp



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


[Emc-users] linuxcnc fpga for IO

2023-05-30 Thread Thomas J Powderly

News to me

difficult to find the code from the youtube 'short'

https://www.youtube.com/shorts/0nTmo4afwWs

rpi I/f , 'no jitter'

maybe of use

https://github.com/multigcs/LinuxCNC-RIO

tomp



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


Re: [Emc-users] Sewing Machine Stiffness

2023-05-23 Thread Thomas J Powderly

Thx to all responses

Andy the pdf was very interesting.

bearings line jigged and clearances filled wit some babbet like material 
to assure allignment


hmmm old school additive construction vs expected line boring

i read it looking for how it was about casting stiffenss, but thanks for 
an interesting read from my hometown


tomp

On 5/22/23 15:20, andy pugh wrote:

On Sun, 21 May 2023 at 23:57, BRIAN GLACKIN  wrote:


During ww2 they made lathes bodies out of concrete with imbedded steel
parts that were jigged in form or line bored for the spindle and tail
stock.

More info here:
https://flowxrgdotcom.files.wordpress.com/2011/07/new-method-of-building-lathes.pdf

(and it was actually WW1, the article is from1916)




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


[Emc-users] Sewing Machine Stiffness

2023-05-20 Thread Thomas J Powderly



I saw an overarm router recently

and wondered if a sewing machine frame was stiff.

Compared to a desktop gantry mill.


I imagined a makita router mounted on the over arm

minimal Z travel ( 150mm at most)


I can find castings for industrial machines pretty cheap in qty 1

What i see are C frames, single casting, with base plate as long as over 
arm.



Any thoughts?

( I don't have a sewing machine to lean on ;-)


TomP



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


Re: [Emc-users] linuxcnc.org unreachable

2022-11-11 Thread Thomas J Powderly

This may be of some use to some user.

My home internet ISP wont connect to linuxcnc.or or gnipsel.com.

But I remembered my phone uses a different ISP
and quickly got onto to both sites on the Android phone.

So heres the tip :

Use your cell phone as a tethered connection.
Disable any connection between computer and router ( routes are blocked on wifi 
and on ethernet)

Remove the computer's ethernet cable and disable wifi on the computer.
 (this was just to convince myself that the phone was really the source)

for my Android phone...
 under connected devices | usb | choose  this device AND usb tethering  
   ( choose what the usb connection does )
 under network & internet | hotspot & tethering | usb tethering ON  
    ( make the phone an internet source )
 under network & internet | WiFi OFF                                    
   ( this stops the phone from using my router's wifi )
     else it just uses my wifi which is blocked
    just as the ethernet is blocked---
    WiFi OFF will use C.A.T. (Communications Authority of Thailand) service 
on phone! which is NOT blocked

On my system the connection was automatic after attaching phone usb to computer 
usb

Unfortunately xfce will call the new connection 'wired connection1'  , this can 
be confusing ( same name as the cable connection)

But if the cable is out and wifi disabled ,
then any successful browsing is thru the phone.

works for me :-)

HTH

tomp

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


[Emc-users] linuxcnc.org unreachable

2022-11-10 Thread Thomas J Powderly

Hello

i have not gotten http://linuxcnc.org to open for over 10hrs.

connection timed out

is that just me ( and all of asia )

;-)

thx tomp



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


Re: [Emc-users] Freecad path workbench + drilling small hole

2022-10-20 Thread Thomas J Powderly

Hi Nicklas

always center drill first

tomp

On 10/20/22 9:23 PM, Nicklas SB Karlsson wrote:

There is some things missing in the Freecad path workbench of which
some are rather simple to fix. Zig facing operation, rigid tapping, G95
feed per revolution or tooth is not possible and these are probably not
to hard to fix. While reorder and get blank from machining of previous
operation might be harder.

Have been able to figure a little bit on the data model add a zig
function but had to disable some kind of sorting function sometimes
changing direction of cut, probably to get shortest path.

Have registered to Freecad mailing lists and posted on at least one of
them but they seems dead. Anybody else activing in Freecad?


Just starting to machine my first parts milling seems to work rather
well. Drilling small holes a few millimeters I am however a little bit
uncertain it work well to start a hole with a normal length drill? Or
start point tend to slip a little bit on the surface?


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] caxis follows path

2022-02-25 Thread Thomas J Powderly

I had looked at a cnc nibbler and scrollsaw.

I thought it might be nice if Axis could show the tool orientation.

So I made a tiny hack in glcanon.py and minigl.c

What I did was modify the disk on top of the cone, and the disks on top 
and bottom of round tools.


I simply enabled and used the gluPartialDisk instead of gluDisk.

This makes most views in Axis show a PacMan like tool ( or cone ).

And very simple coding can show a tool orienting itself to the path.

(I havent installed the wokawoka music yet :-)

Is it useful?

tomp tjtr33

damn small attachment allowed here, is it getting smaller?

fergetabout attachments, use links

2mmEM.ogv   https://youtu.be/5nA-kj5yFn4

cone.ogvhttps://youtu.be/-_IQ1ou0k8I


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


Re: [Emc-users] small hole needle gauge thingy

2022-02-17 Thread Thomas J Powderly

hi, i think its a

Helios-Preisser Düsenlehre 0,1 mm 0 - 5 mm 0599102

helios maker of fine calipers, very old school
tomp

On 2/17/22 7:35 PM, fxkl47BF--- via Emc-users wrote:


Take a look at this video at time 16:30
Does anyone recognize this device
https://www.youtube.com/watch?v=Xf7DuvcScyk



___
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] Jog while paused

2021-12-13 Thread Thomas J Powderly

Hi Ken

my code for hal-edm

uses jog-while paused

but after the pause is begun

you can do anything you like ( not necc EDM, du vas zu vilt )

just make sure all axis are returned to the position where the pause was 
issued


in my use case. I use Linuxcnc to position the tool

then do edm ( insert you code here )

then exit pause, assert resume, and linuxcnc take you to the next position

hth

tomp

https://forum.linuxcnc.org/38-general-linuxcnc-questions/42486-beginner-to-learn-the-linuxcnc-source-code#224068


On 12/14/21 4:18 AM, ken.stra...@gmail.com wrote:

I would like to be able to jog while a stop or pallet change command
(M00/M01/M60) is active. This has been discussed several times on this list
and the LinuxCNC list but I can't find a resolution other than "it doesn't
work" or use "run from here". Am I missing a simple workaround?

In case  you are curious, I would like to be able to automatically position
over a hole to be tapped, pause, manually adjust a spring loaded tap guide
in Z, hand tap the hole and then press Cycle Start to continue to the next
hole.

-Original Message-
From: Gene Heskett 
Sent: December 12, 2021 4:50 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] making post square.

On Sun, 12 Dec, 2021 at 4:26 PM, Chris Albertson 
wrote:
  


To: enhanced machine controller (emc)
On Sun, Dec 12, 2021 at 12:39 PM Gene Heskett
mailto:ghesk...@shentel.net>> wrote:


On Sun, 12 Dec, 2021 at 2:54 PM, Chris Albertson <
albertson.ch...@gmail.com> wrote:


To: enhanced machine controller (emc)
I'm surprised that people don't use kinematics to remove the residual
alignment errors that can't be mechanically removed.   Of course, you

can't

remove tool orientation errors this way.   If the z-axis is a few
milliradians "off" the tool will also be "off" but kinematics can
compensate for the X, Y error associated with variable Z movement.

That said, I can't measure this kind of low-level stuff so I don't
worry about it.

You should be able to lead the Z- column over at 45 degrees and still
hit X, Y point spot on. (it would work only for a spherical tool)



If it was moveable Chris,  but its not, the column is fixed, but the
head can be


No, you never want to do that.


Why not? I needed to drill and rigid tap a motor shaft to pulley joint,
positioning the two holes half in the motor shaft, half in the pulley then
fill the holes with

4mm metric screws to key the normally screwed on pulley to the shaft. I had

done similarly to a 1 horse treadmill motor on my 7x12 but Jons pwm-servo
driver can be quite brutal and powdered the grub screws I put in for keys on
the first motor. I used solid screws for the 2nd one, and softened up the
control

rates, and its now worked for about 6 years. That switch to using the x axis
for rigid tapping bypassed this leaning tower of pizza post, and cut perfect
4mm threads,

much more precisely than I could do using the leaning z axis.


   My point was that there could be an absurd amount of error and you should
still be able to work with it by telling the kinematics system the column
meets the Y axis at 89.9 degrees.


Its worse than that, if the head is trammed to the table, and you want to
drill all the way thru a tap hat slug with a 7/32 drill, its bending the
drill bit visibly sideways by the time the hole is 3/4" deep in a 1.25" slug
of brass. Way out of tram, but its not.



   I'd think
we are talking arc minutes at most here for a real milling machine.   But
there are home-made CNC machine made with rails mounted to a plywood base.

BTW, even with the 0.1-degree error, you still have good accuracy with
realistic Z-axis moves.


rotated 90 degrees either way and I have several times. That works
quite well.




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


[Emc-users] steppers with linear mag scales

2021-12-01 Thread Thomas J Powderly

there's a user in Japan, Mr AkiraHitosi

who has some nice videos using CamPy and CamView

but I noticed he was using steppers with linear scales ( magnetic)

https://www.youtube.com/watch?v=G6ZcdvOgX1s

afaict...

google xl8 says

"

A USB camera is attached to the NC router frame using Linuxcnc, which is 
driven by a stepping motor


and fed back by a linear encoder, and the scales are squealed.JOG feed 
100 mm unit.


The memory error of the linear encoder is the value of FeedError placed 
on the Axis of Linux cnc.


The linear encoder is a magnetic type with a memory of 1/512 mmt unit, 
and the scale error


is 1 m / 10 μm as indicated by the manufacturer.  


"

I asked him to share hal and ini

but i asked in english :-/




tomp



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


Re: [Emc-users] Heidenhain Optical Rotary Encoder Pinout

2021-11-29 Thread Thomas J Powderly

Hi Bari

take it over to Heid in Schaumburg,

They can identify it.


Most of those rotaries were from 3R Caxis,

and HandRadsm

we used distance coded linears for XYZ,

and the older rotaries were 11uA

I doubt its a newer 1v pp


All were sinus, none were digital.


Sorry, some of my techs were barbarians

and just cut cables rather than unscrew the ends.


hth TomP




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


Re: [Emc-users] How to get Glade editor?

2021-10-18 Thread Thomas J Powderly

Hello

you can get a special newer, but not newest glade-3 installed

please see:

https://www.forum.linuxcnc.org/48-gladevcp/33309-glade-3-20-will-not-work-with-linuxcnc-please-follow-this-for-3-8-6?start=10

do NOT do sudo apt-get upgrade unless you can prevent linuxcnc from 
getting trashed


and skip the install of linuxcnc, I assume you have that already

THEN

you need to follow the thread and do the file copies

"""

if that is also OK, we need to copy the hal widget glade catalog to the 
correct place.

backup the originals first
in the terminal enter:

sudo mkdir -p /usr/local/share/glade3/backup/catalogs
sudo mkdir -p /usr/local/share/glade3/backup/pixmaps
sudo cp /usr/local/share/glade3/catalogs/* 
/usr/local/share/glade3/backup/catalogs
sudo cp -r /usr/local/share/glade3/pixmaps/* 
/usr/local/share/glade3/backup/pixmaps


now copy/add the missing files to that dir with the following terminal 
commands


sudo cp ~/linuxcnc-dev/lib/python/gladevcp/*.xml 
/usr/local/share/glade3/catalogs
sudo cp ~/linuxcnc-dev/lib/python/gladevcp/*.png /usr/local/share/glade3/pixmaps
"""
adapt as needed, if you are using an installed Linuxcnc ( like from an iso ) vs 
a RIP (run in place.
I just did this onan orange pi plus 2e running buster.

hth TomP


On 10/18/21 8:50 PM, Mark Wendt wrote:

On Mon, Oct 18, 2021 at 9:33 AM Viesturs Lācis 
wrote:


Hello!

I want to create a VCP and embed it as a tab in Axis as there are just
too many things to include so it will take up too much space. So far I
always managed to get things done with PYVCP panels, but they cannot
be created as separate tabs, so I have to start learning Glade.

I have fresh install of Debian Buster with LinuxCNC 2.8.0

I did install Glade-gtk2 package (and some dependencies). Now if I run
in terminal "sudo apt-get install glade-gtk2", then I receive
"glade-gtk2 is already the newest version (3.8.6-1)"

But I cannot get that app to work. Even if I try "glade-gtk2
--version", I receive "bash: glade-gtk2: command not found"

What am I missing here?

Viesturs


The PATH or $PATH to the glade executable?  Or maybe it's just glade and
not glade-gtk2?  Do a "which glade" on the command line and see what it
returns.

Mark

___
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] Shortening motor shafts

2021-10-17 Thread Thomas J Powderly

wire edm , use ground clip on the shaft so no current thru bearings

if wedm is available, its an easy job

tomp

On 10/18/21 9:34 AM, Ralph Stirling wrote:

I just got a great deal on three 750w brushless servos and drives to upgrade my 
cnc mill.  They have the same face dimensions, but the shafts are 5mm longer 
than the old brush servos. There was no clearance between the motor shaft and 
ball screw inside the coupler, so I need shorten the 32mm long 19mm diam shafts 
by 5mm.  Can this be done without damage to the motor from heat or vibration?  
I don't want to have to pull the ball screws.

Thanks,
-- Ralph

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



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


Re: [Emc-users] armbian buster glade-3 python-gtksourceview2 worth pursuing?

2021-10-13 Thread Thomas J Powderly

Thx very much Andy,

I read that I could add the linuxcnc repo,

but that was another rabbithole with 'no inrelease'

and JT's comments on the real repo was 'linuxcnc.org/dists'   ,

I got quite lost and was never able to add the keys.


(btw the rtpreempt _was_ lost, but MXMaster's install.sh restored it 
with ease)


tomp


On 10/13/21 2:46 PM, andy pugh wrote:

On Wed, 13 Oct 2021 at 06:06, Thomas J Powderly  wrote:


import gtksourceview2 as gtksourceview

No module named gtksourceview2

For x86 and armhf we have back-ported Gtksourcevew:
http://www.linuxcnc.org/dists/buster/base/binary-armhf/
(python-htksourceview)

Which linuxcnc repository is your orangepi pointing at?

(One answer would be to simply download and install those debs)


thats likely the method i'll use, thx Andy




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


[Emc-users] armbian buster glade-3 python-gtksourceview2 worth pursuing?

2021-10-12 Thread Thomas J Powderly

Hello

Yesterday I built glade 3.8.6 for my Armbian OrangePi+2e.

https://forum.linuxcnc.org/48-gladevcp/33309-glade-3-20-will-not-work-with-linuxcnc-please-follow-this-for-3-8-6?start=10

And found it didnt have the Hal widgets.

Then I noticed that linuxcnc 2.8.1 would not run any glade demos

the error includes

import gtksourceview2 as gtksourceview

No module named gtksourceview2

My needs were for a vbar and I wrote a custom pyvcpwidgets to support it.

Now, hoping to make this new sink edm idea available, I tried to use 
glade's vbar.


That works fine on my debian 9 intel desktop but got into trouble on 
armbian buster opi+2e.


I tried all day but couldnt crack that last error about gtksourceview2

Is it worth pursuing?

The opi+2e 'allwincnc' is rather unsupported, so changing buster is risky.

(I'm afraid the above instructions included

sudo apt-get update sudo apt-get upgrade

may have trashed the rtpreempt tho lcnc can still run after reboot )

I just have a lot of time invested in it already.

thanks tomp


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


[Emc-users] pwmgen double step

2021-04-09 Thread Thomas J Powderly

recent mail list questions about pwmgen

made me think that soft pwmgen is similar to soft stepgen

and pwmgen could benefit from the resetable pin type to double the pwm/pdm

rates. A 1 khz thread could have 1khz pulse rates.

is that useful? wanted?

tomp




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


Re: [Emc-users] Die guide post insertion/removal force

2021-03-24 Thread Thomas J Powderly

dangit , meant to reply list not just to Christopher, sorry


Hi Niklas

are you talking about whats in this picture?

or like this manufacturer?

http://www.danly.com/PDFs/DanlyIEM-CatalogDieSets.pdf


A simple die shoe set is pretty cheap ( you are in the realm of real 
tools now, not hobby stuff )


and pretty cheap means you can not do it yourself with the neccesary 
accuracy.



the purpose is usually to stamp parts,

tho you and i might use them to make a sink edm using insulated bushes 
and an old c frame machine


tomp

On 3/24/21 8:18 PM, N. Christopher Perry wrote:

I recently replaced the 1” diameter posts in a die set with a Harbor Freight 20 
ton press.  I used most of its grunt, but it worked fine!

N. Christopher Perry


On Mar 24, 2021, at 6:31 AM, andy pugh  wrote:

On Wed, 24 Mar 2021 at 05:13, Nicklas SB Karlsson  wrote:

Anybody have any idea about the insertion/removal force of die guide posts?

No.

Trying to work out what you are asking, it sounds like you might be
planning to buy a hydraulic press, but do not know what force you
need?

But if they are interference fit then it will depend on the degree of
interference, so might be quite varied.
You might be able to find rules of thumb for general interference fits
and infer your requirements from that.

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


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



___
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] hal_pi_gpio man page

2021-02-16 Thread Thomas J Powderly

The hal_pi_gpio component seems to be beta stage
meaning I don't see anything wrong.
When I programmed full-time this was when I had to hand it over to 
others to peer.


Where do I look for howto write a man page?

About the comp -
Written in old-school c
For rpi's only
( so far anyway, the scheme is flexible for similar, opi bpi maybe bbb 
bbw bbg )


It's real-time ( well it starts with  loadrt under userspace linuxcnc 
tested on rpi33 )

It only needs 1 thread and has re-settable pins
( and has a setp'able param reset_time ,
  set in integer of nS units (up to 1/4 thread period))
It has inputs and in-nots
It has outputs and out-inverts and out-resets
It uses a man readable config format ( a teeny language to describe each 
pin , see end of msg)

It reads switches and blinks leds
( an old boss assured me more blinky lights was a good thing )

I can send a copy to anyone wanting to try, hell its text, see attachment.

How to build in a rip installation:-
I compile it by backing up the hal_pi_gpio.c in my rip directory
  ~/linuxcnc-dev/src/hal/drivers/hal_pi_gpio.c  (move to another dir, 
don't just rename it)
then copying my file into there using the same name as the pi gpio.c 
file that was there before.


Then touch it (to insure it is changed so make will notice and rebuild it )
 type   touch hal_pi_gpio.c   in the src/hal.driver dir

Then make modules   from the ~/linuxcnc/src   dir
(this trickery is due to the .c file
 needing other .c files in that dir,
 and a simple gcc command is beyond my ken )
I get no errors no notes no warnings, its a clean make here

Once it makes, you use it with halrun like this

halrun
loadrt hal_pi_gpio pi_pins={03,<,+,x}{05,>,1,Y}{07,>,0,}{40,>,1,Y}
loadrt threads name1=slow period1=15
addf hal_pi_gpio.read slow
add hal_pi_gpio.write slow
addf hal_pi_gpio.reset slow
setp hal_pi_gpio.reset_time 3 (easier to see than my 2000)
start


Then use show pin and show param to watch things work
(and halmeter and halscope too)

You'll need a scope to catch the reset pins.

They change inside one thread period so halscope cant see 'em.

Hook up a bread board and switches and leds ( 3.3V i/o here!!)

( as simple as hooking up an output to an input will show you something )

About the pi_pins config 
line--

It's simple but strict rules
Each pin is described by a 'quad' ( a 4 param thingy )
Each quad has the format _like_
{03,>,0,N}
This describes the rpi header pin#3
 and is an output ( the '>' is used for out )
 and has an initial power on value of 0 ( zero )
 and does NOT have a reset feature
{05,>,1,Y}
    describes header pin 5
    which is an output '>'
    and has intial value of 1
    and has the reset feature ( requires set hal_pi_gpio.reset_time 
2000 for 2us example)

{07,<,+,x}
    describes header pin 7
    which is an input
    and has an in-not pin due to '+'
    and the last param is meaningless, tested lightly with a few single 
chars in that place

{12,<,-,x}
   describes header pin 12
   which is an input
   and does not get an in-not pin , due to '-'
   and last parm is meaningless


hokay
I am sure i didn't write near 1000 lines w/o mistakes
lemmeno
tomp

/
* 15feb2021 
* compiles clean  no errs not notes no warnings 
* 
* resets seems to work need scope trap to be sure
*  scope can see 2uS pulse on step pins but halscope cannot
* 
* i now have a param hal_pi_gpio.reset_time  and i can setp it 
* ( halrun show param shows in hex but ok its alive)
* TODO i can setp it but i suppose a default is good ideA
* 
*/
#include "rtapi.h"		/* RTAPI realtime OS API */
#include "rtapi_bitops.h"
#include "rtapi_app.h"		/* RTAPI realtime module decls */
/* this also includes config.h */
#include "hal.h"		/* HAL public API decls */
#include "bcm2835.h"
#include "cpuinfo.h"

#define BCM2708_PERI_BASE   0x2000
#define BCM2708_GPIO_BASE   (BCM2708_PERI_BASE + 0x20)
#define BCM2709_PERI_BASE   0x3F00
#define BCM2709_GPIO_BASE   (BCM2709_PERI_BASE + 0x20)

//#define RTAPI
#define RTAPI_BIT(nr)   (1UL << (nr))

#include 
#include 
#include 
#include/* for printf key chars*/
#include 
#include 
#include 
#include 
#include 
#include 


/*---*/
/*--beg-new arrays --*/
// i use an array witj entries for npiuns+1  0 thru and includiong npins   like 0thru26 for old pi's and 0thru41 for 'new'er pis
 these  arrays can be used to lookup gpionum for rpi2 using hdrpinnum as index, a value of 0 means the pin is NOT available for gpio
// Rev 1 Raspberry:  only 26 hdr pins for rpi rev2
static unsigned char nurev1_gpios[] = 
  {0, 0, 0, 0, 0, 1, 0, 4,14, 0,15,17,18,21, 0,22,23,

[Emc-users] hal_pi_gpio config string

2021-02-09 Thread Thomas J Powderly

I have been working on a new version of hal_pi_gpio.
It uses an array of structures to hold the features for each pin.
struct pinfo
{
    hal_bit_t pval;    // the last read value for inputs, the 
desired output value for outputs

    char pnum;   // the rpi header pin number
    char gpionum;  // the gpio number for said pin number
    hal_bit_t pdir;    // input or output
    hal_bit_t pinv;   // wether inverted pin is wanted ( inputs only )
    hal_bit_t pres;  // wether reset feature is wanted (outputs only )
};
I have not implemented the invert or reset pins yet,
but want opinion on a single big change..
the change is about how you enter the config string.
The format I propose is simple:
the config string is a list of 'quad's as follows:
loadrt hal_pi_gpio pi_pins={,,,}{,,,}{,,,}
each 'quad' consists of braces enclosed data
 1st  pnum  a 2 char string representing the rpi header pin number.
 2nd is '>' or '<' representing input or output
 3rd depends on input or output
   if input '+' or '-' declare an inverted pin is wanted or not
   if output 0 or 1 declare the initial state , and the state returned 
to if 'reset' feature is designed

 4th also depends on input or output
   if input, this 4th fiel;d is not used, i suggest 'x' used to fill 
the need for a single ignored char
   if output, the 4th field is 'Y' or 'N' declaring the reset feature 
is wanted or not
This way of describing the config string is more intuitive that the 
current method

eg: dir=78855 exclude=32918520

So, what is the opinion about the config string format?

example run---
pi@raspberrypi:~/linuxcnc-dev/src $ halrun
halcmd: loadrt hal_pi_gpio pi_pins={03,>.0.Y}{05,>,0,Y}\
halcmd+: {07,>,0,Y}{11,<,+,x}{12,<,+,x}\
halcmd+: {13,<.+,x}{15,>,1,N}{16,>,1,N}\
halcmd+: {18,>,1,N}{19,>,1,N}{21,>,1,N}
Note: Using POSIX realtime
halcmd: show pin
Component Pins:
Owner   Type  Dir Value  Name
 4  bit   IN  FALSE  hal_pi_gpio.pin-03-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-05-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-07-out
 4  bit   OUT FALSE  hal_pi_gpio.pin-11-in
 4  bit   OUT FALSE  hal_pi_gpio.pin-12-in
 4  bit   OUT FALSE  hal_pi_gpio.pin-13-in
 4  bit   IN  FALSE  hal_pi_gpio.pin-15-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-16-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-18-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-19-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-21-out
 4  s32   OUT 0  hal_pi_gpio.read.time
 4  s32   OUT 0  hal_pi_gpio.write.time

halcmd: setp hal_pi_gpio.pin-21-out 1
halcmd: setp hal_pi_gpio.pin-15-out 1
halcmd: show pin
Component Pins:
Owner   Type  Dir Value  Name
 4  bit   IN  FALSE  hal_pi_gpio.pin-03-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-05-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-07-out
 4  bit   OUT FALSE  hal_pi_gpio.pin-11-in
 4  bit   OUT FALSE  hal_pi_gpio.pin-12-in
 4  bit   OUT FALSE  hal_pi_gpio.pin-13-in
 4  bit   IN   TRUE  hal_pi_gpio.pin-15-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-16-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-18-out
 4  bit   IN  FALSE  hal_pi_gpio.pin-19-out
 4  bit   IN   TRUE  hal_pi_gpio.pin-21-out
 4  s32   OUT 0  hal_pi_gpio.read.time
 4  s32   OUT 0  hal_pi_gpio.write.time

halcmd:

thx
tomp



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


Re: [Emc-users] lathe paths with linux cnc and CAD software

2021-02-03 Thread Thomas J Powderly

Chris

nevermind

I found the hidden personal version

https://www.autodesk.com/products/fusion-360/personal

thx Greg Eshelman

thx

tomp

http



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


Re: [Emc-users] lathe paths with linux cnc and CAD software

2021-02-03 Thread Thomas J Powderly

Hi Chris

Fusion360 looks very nice.

I see Fusion360 can run 'under linux',

that is it can run in a VM.

https://all3dp.com/2/fusion-360-for-linux-how-to-install-it/

but

what did you download?

What I see on the website

are

a rented by year 495$ package

an educator / student package

and a 30 day trial package.


I am neither a teacher or a student.

My needs are hobbyist and 2 or 2 1/2D milling.


Thx

TomP




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


Re: [Emc-users] EDM from scratch

2021-02-01 Thread Thomas J Powderly

Hi Gerrit

the difference between senkung and draht erodien generator

is the pulse width

in wedm 1-10uS is the entire spectrum

in sink edm 1-3000uS is the spectrum

in any edm that uses the very sort pulse,

it is important that the current shut-off be complete and very fast ( 
all inductanc ein system must be watched)


if you can turn the power OFF very very quickly, you will increase the 
metal removal a LOT.


the reason is

the metal removel is the expulsion of a tiny crate pool of molten material

if the thermal change ( from current supplied an heating the pool)

to the time hwne current is removed and the thermal mass of the 
surrounding environment ( oil water gas )


that makes for a more IMplosive force on the hot plasma bubble channel 
over the pool.


The quickness of the bubble collapse cause more of the puddle to be ejected

a slower deflating lets most of the melted material to cool back on the 
surface


look for Dr. Schumakers description from AGie

i cant find it now but it was an excellent presentation of how a spark 
removes material


the 9 or so pictures are a whole edm education

but try this instead

https://core.ac.uk/download/pdf/34635871.pdf

best of luck with the wedm

(btw it will be a good hole drill spark generaor if it works for wed, 
just needs up to 100uS max on time )


tomp

On 2/1/21 12:53 AM, Gerrit Visser wrote:

Another source of information about pulse generator design: 
https://langfordw.pages.cba.mit.edu/desktopWEDM/electronics/

https://www.cnc.info.pl/drazenie-metoda-domowa-moje-proby-t11692-20.html 
(Google translate helps here:-))

Again, my focus is on wire EDM but there must be similarities

Gerrit





___
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] EDM from scratch

2021-02-01 Thread Thomas J Powderly

Hi Andy

if your path is a straight line
dont use linuxcnc , just hal

use steppers to advance
use an opamp window comparator
with a too high and a too low threshold

when your measured voltage is too high advance 1 step
else dont move, just wait
if too low, turn off the power , maybe retract
no linuxcnc needed
it cuts as fast as it can automatically


in most edm (any electrode material to steel workpiece ) the optimal gap 
voltage is near 30V=

its almost 2 volts lower when roughing
and 2 volts higher when finishing


The discharge voltage Ua) varies with 'paarung' the pairing of material, 
so for carbon wheel to wolfram, its will be even less,

i have seen stable cutting al low as 18V ( do not try to go lower )
a transistorized or FET generator is way better for MMR and wear.

to cut carbidem use a carbon of copper-graphite or copper tungsten wheel

edming carbide is mostly removing the binder.

using parrafinics is better than water but requres filtering and pumps
the nature of edm grinding is the 'best' flushing in all edm realms ( 
sink, orbiting, wire, hole drill )
because the tool to workpiece junction is continuosly new (like wedm, 
but free on each side, unlike wedm )

so a bath of 'white spirits' may be enough

on AGie edm-grinders ( used mostly by sewing machine companies ) they 
used thin ( low -visc) edm oil


there is no such thing as edm oil, its merely a layer in the cracker 
tower that is removed and labeled (kerosene or edm fluid or axle grease)

get a copy of the OEL-HELD book on edm fluids

a higher supply voltge ( 80-100V=) makes it easier (and more accurate) 
for a comparator to decide wether to adance , hold still, or retract.


a use of adaptive feed wull never apprach the needed jittery advance of 
edm, adaptive feed never reacts negatively, it can only reacts 'less-ly'

the motion techniques for mills is not the motion for edm.

I did a lot of work for Union Special on such machines 
http://www.unionspecial.com/


are you using a lathe spindle as the edm spindle?

the plans that Garret Visser link to at MIT are a good idea
previous 'the garden of edm' was good but remains unfinished
https://cscott.net/Projects/FabClass/final/edesign1.html

oh, splash/spray guards are neccesary, high rpm is not


hth
I'm kneedeep in rpi-gpio driver here . is **cp same as &array[] ??

hahaha i have to write a lot of test code to see how the original code 
worked.

best o luck

tomp


On 1/31/21 8:28 PM, andy pugh wrote:
I have started to play around with EDM. The intention is to make an 
EDM "grinder" to profile tool steel and possibly carbide cutting tools 
using CNC-turned profiles. At the moment I am using a cobbled-together 
XY table with a couple of STMBL drives. One of the STMBL analogue 
inputs is used to measure the current through the gap. (ie using the 
voltage across the resistor that a capacitor is charged through). Then 
a PID controller tries to achieve a target current by adjusting the 
adaptive feed pin. I think that it shows promise, but only partly 
works. I am using a 50R resistor and a 1000uF capacitor. I suspect 
that this is too high on both counts. I am working at 40V and it seems 
that the tool welds to the work too readily. I suspect that I would 
get different results if I controlled to the gap voltage, rather than 
charging resistor voltage. And probably better still with some sort of 
signal processing on that voltage. What combination of R, C and V 
would be typical for a servo-controlled eroder? I imagine it might be 
different to a "doorbell" style one. Current set up: 
https://youtu.be/nxpmEFnmK-A



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


Re: [Emc-users] stepgen step rate

2021-01-05 Thread Thomas J Powderly

Thx Andy

I will look for what the code says it does when there's a zero speed 
reversal.


So I take it is true that the 4 values _are_ up rounded to the base 
period length.


but , a special case ignores/allows for when the velocity is zero.

I didnt see that yet.

TomP

On 1/5/21 10:47 PM, andy pugh wrote:

On Tue, 5 Jan 2021 at 15:40, Thomas J Powderly  wrote:


Thats a max step/sec of 1 for that particular sequence of 2 steps.

That sequence can happen at anytime in a cnc path.

Not so. A stepper will only ever reverse at zero speed, when the step
rate is zero. So you don't need to make allowances for setup.




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


[Emc-users] stepgen step rate

2021-01-05 Thread Thomas J Powderly

Hello

I am studying the stepgen.c code.

I see that the 4 parameters

  steplen stepspace dirhold and dirsetup

are rounded up ( ulceil() )

to the next larger interger value of the BASE period.


That means for my Gecko 540, the 1uS Steplen 2uSstepspace 200nSdirhold 
and 200uS dirsetup


all become 25uS for the typical 25uS Base thread period.


But the DirSetup and DirHold must co-exist in a single StepSpace when 
the direction reverses between 2 step pulses.



I think that makes the stepspace become 50uS ( to accomodate the dirhold 
plus dirsetup )


and the steplen and stepspace now total 75uS.


Thats a max step/sec of 1 for that particular sequence of 2 steps.

That sequence can happen at anytime in a cnc path.

Som I must allow for these 'random' ocurrances,

and this lowers the max steprate to 1 ( 1 sec / .75 )..


The commonly mentioned 2 steps per second rate appears to be only 
for unchanging direction


and 1 steps per second for useful paths.

( 2 for drag racing  vs 1 for gymkhana )


Coreections invited, I am still studying.


Thx TomP



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


[Emc-users] Merry Christmas

2020-12-25 Thread Thomas J Powderly

Merry Christmas to all

Best wishes for the New Year

tomp



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


Re: [Emc-users] Halscope Log Files

2020-10-22 Thread Thomas J Powderly

Hello

Comparing 2 scope traces could be handy.


I had a few techs working for me in a cnc repair situation.

We all used tek scopes and had 'screen savers' that actually saved the 
source code to recreate screen


These 'screenshots' could be reloaded  on a 'channel' and compared to a 
real live channel.


( there are many related ideas on web like

http://techforcurious.website/how-to-save-data-from-oscilloscope-using-python-in-linux/ 
)



So I would give the techs some 'screenshots' as :

    This is what it should look like"

and they would attach

    This is what I got"

to thier reports.


This is very basic trouble shooting...

    the difference between WhatYouWant and WhatYouGot.


Tweaking a pot or param untill the 2 pictures agree is intuitive.


HalScope reloading as an overlay/onion-skin could be handy


my 2c

TomP

On 10/22/20 11:39 PM, andy pugh wrote:

On Thu, 22 Oct 2020 at 16:50, Nicklas SB Karlsson  wrote:

Did not read very carefully, if you need maybe I could spend a few other
try to get the halscope log file into Octave.

I would be much more interested in getting a halcope log back in to halscope.




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


Re: [Emc-users] SPAM: Re: precisiomn indexer

2020-08-29 Thread Thomas J Powderly

SPAM ?

why was my post SPAM?

tomp



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


[Emc-users] precisiomn indexer

2020-08-28 Thread Thomas J Powderly

Gene an old client called about using a Newbould indexer on his machine.

I remember it was a hirth 'gear' or coupler

Very accurate stacking 'gears' , a way to set a part at precise angles

I thought... "Hey Gene could _print_ one"

as if you dont have enough to do :-)

just FYI

TomP

https://en.wikipedia.org/wiki/Hirth_joint

https://www.youtube.com/watch?v=3EGGuR5YziE




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


Re: [Emc-users] Cutting plastic film

2020-07-25 Thread Thomas J Powderly

take a look at steel rule dies

they are cheap ( relative term )

and not difficult to make ( again relative)

you can get it made custom using online services.

The ejector is a rubber-like pad surrounding the rule

tomp

On 7/25/20 6:09 PM, andy pugh wrote:

On Sat, 25 Jul 2020 at 12:05, N  wrote:


Square outline with four or six square holes is the most important but it might 
be I want to cover another surface with slighlty more complicated form and mor 
holes. Need only four of them right now for prototypes and maybe 30-40 later on.

Laser cutting (excuse to buy one?)

Or laser-print the outline onto the film and then cut on the lines
with scissors.




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


Re: [Emc-users] Calculating table acceleration. Was: Need help with Bostomatic BD18-2 to linuxcnc

2020-07-22 Thread Thomas J Powderly

John

We used to measure the acceleration rather than calculate it.


We loaded the axis with whatever tooling and 'normal' work piece,

then,  in open loop,

we applied a voltage that would achieve the max velocity, very briefly.

just a bit longer than necc to get to the max velocity ( some hundred of 
millisecond, not whole seconds )


then we measured how long it took to get to the max velocity

_that_ is your practical acceleration in one direction

the test is called a ';step' response

it has nothing to do with stepper motors

it has to do with the immediate 0 to max velocity command

that's the 'step'

on a dual trace storage scope you should monitor the velocity command 
and the velocity.


hth

tomp

( this acc will be greater than the whole machine can achieve turning 
sharp corners and reversing


 but its a real, practical start value )


On 7/23/20 12:57 PM, John Dammeyer wrote:

Hi Chris,


-Original Message-
From: Chris Albertson [mailto:albertson.ch...@gmail.com]

Why on Earth do people still use US units?   OK if your final result must
be expressed that way, but do the math in metric then convert at the end.



I taught high school science for a while and never once would ever talk
about US units like feet or pints or pounds. The students had no problems
with this as their middle school teachers did the same.   No one who is
educated in the last few decades would know how to work with "feet per
second squared"


Appreciate the comments.  But even if I used the servo motor 1.6Nm the pitch of the 
lead screw is 0.2" so I could easily convert that to 5.08mm  or 0.00508m for 
that matter.  In Canada much of what we do is metric.   And my program has a check 
box that lets a user switch along with converting all the imperial units to metric 
and back.

But that's beside the point I think.  None of what you said explains how to 
calculate the MAX_ACCELERATION in the INI file given parameters like 
motor/leadscrew torque, leadscrew pitch, max speed and table weight (mass).

Any ideas?
John





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] need advice, idea shoppingIOW.

2020-07-19 Thread Thomas J Powderly

Gene

do you want to convert a series of short lines that approximate arcs

into g02/g03, to save space?

Or, described as 'fitting x y  pairs to a circle'?


Dave E was looking for similar ( a good while back) and I didnt find any.


If you have slices that can be processed in scripts with librecad (lua)

or esdxf(python)


I imagine some batch processing, layer by layer, slogging thru your 
megafile )



For python fitting a list of coords to circle there is

https://scipy-cookbook.readthedocs.io/items/Least_Squares_Circle.html


There a classic solution by Coopes but all the papers and code I've 
found are pay for.


( I hate those 'services; that charge for such information )


theres this implementation in Javascript


https://jsxgraph.uni-bayreuth.de/wiki/index.php/Least-squares_circle_fitting


but to get the demo to render i had to wander around the site till i 
found something that did render ,


then returm :-(

once it renders, refresh the page for a new random set of points

and a new fitted circle

tomp


On 7/19/20 5:19 PM, Gene Heskett wrote:

On Saturday 18 July 2020 22:21:20 Gregg Eshelman via Emc-users wrote:


Circa 1990: Have you heard of the new Hubble Cocktail? It's very
expensive, comes in a hand polished glass, and after you finish it,
your vision is all blurry.


ROTFLMAO!  I missed that one at the time, shame on me.

Thanks Gregg.

Cheers, Gene Heskett



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


[Emc-users] usb lpt with anti-jitter

2020-07-16 Thread Thomas J Powderly

theres a group in poland that have a usb to lpt product for linuxcnc

http://machmaker.pl/index.php?p=1_13

they say they address the latency issues with special tech

"""
It uses special mechanisms that allow stable and reliable work even with 
a computer that has high delay values ​​(Jitter) up to 200ms! Because 
the device has Jitter elimination mechanism, almost every computer is 
suitable for controlling a CNC machine! Linumeric-LPT is a computer LPT 
interface that does not change the functionality of LinuxCNC in any way.


"""

hey! keep an open mind!

there's some very clever boys out there!

fyi

tomp


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


Re: [Emc-users] SPAM: Re: Retrofit Candidate?

2020-07-16 Thread Thomas J Powderly

Ive bought 2 machines from HGR.

You have to go there and look.( its worth it to see the robot graveyard)

I have always been allowed tp open cabinets and shift around stuff on my 
own.


No tools allowed untill you agree to buy.

I was able to leave parts I didnt want ( controls, pumps. tanks ),

Be preared to drive back home empty handed

On one machine ( a Japax hridge style hole drill),

they let me take it apart and helped me load it into a Honda Wagovan.

444lbs made it back to Chicago ok.

These machines are typically what other people didnt want,

too worn, too old tech, too weird...

so beware!

hth tomp

On 7/16/20 8:03 PM, Todd Zuercher wrote:

For those not familiar with the seller HGR, they are pretty much a giant 
industrial junk yard.  They are the ones who go to all of the all the factory 
closing auctions and buy every thing that no one else bids on.  Their property 
is an enormous mostly abandoned warehouse near Cleavland, Oh.  The machinery 
they buy sets in their dump and rots for a number of years then they part and 
scrap em.  I'm under the impression that this machine is nearing the scrapping 
stage, and more than likely doesn't look as good now as it did who knows how 
many years ago when those pictures were taken when they first brought it in.  
(It may now be a rusted heap and even been raped for parts.)

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

-Original Message-
From: Gene Heskett 
Sent: Thursday, July 16, 2020 2:03 AM
To: emc-users@lists.sourceforge.net
Subject: SPAM: Re: [Emc-users] Retrofit Candidate?

[EXTERNAL EMAIL] Be sure links are safe.

On Thursday 16 July 2020 01:39:04 Bari wrote:


On 7/16/20 12:18 AM, Gene Heskett wrote:

But all that lumber padding under the head, supporting it because
the drive isn't, its not possible to see the spindle. IMO that needs
to be subject to an on-site inspection.  That also could hide some
pretty bad table divots. To warrant that low an asking, something
has to be damaged and deemed non-repairable.

There is another Mori on that site for even less

https://hgrinc.com/productDetail/CNC/Used-Mori-Seiki-Mori-Seiki-Mv40-C
NC-VMC/0120092/


And its even hungrier at 35 kw.


The pandemic has killed lots of businesses. 1 out of 4 businesses near
me are closing for good. I expect to see deals for the next year at
least on just about everything.

There is that effect too.  Weeding out the machines that aren't earning their 
electric billing.



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


___
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] question on tooth size vs 3d pulleys

2020-07-16 Thread Thomas J Powderly

Gene

does this

On 7/16/20 8:55 PM, Gene Heskett wrote:

On Thursday 16 July 2020 08:19:26 Gene Heskett wrote:


Greets all;


--snip---

for the enders simple mind.

--snip---


Cheers, Gene Heskett


refer to a lack of loops, o-words, python?

interesting thought for a very repetive machineing process.

tomp


Cheers, Gene Heskett



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


Re: [Emc-users] More BS-1 clone headaches.-

2020-07-04 Thread Thomas J Powderly

Prussian blue in a tube from art supply stores

I tried lots of internet hacks including lipstick

Prussian blue just works

( and stains like crazy, like mulberries, so wear gloves!)

try to get a thin even coating on one of the two rubbing parts

tomp

On 7/4/20 8:35 PM, Gene Heskett wrote:

On Saturday 04 July 2020 09:03:12 Ken Strauss wrote:


Another common term is "engineer's blue". If you don't want to use a
Sharpie then order
https://www.amazon.com/Permatex-80038-Prussian-Fitting-Compound/dp/B00
0HBM86 Q/

prussian blue, when I finally get the link to work, broken word wrappers
ought to be shot, and survivors shot again. Unforch, its probably broken
at gmail, they've not got that right in 20 years and won't fix it. Its
not even open for discussion, BTDT.  Repeatedly.

Anyway, I'll see if the local NAPA store has any Monday.

Thanks Ken.

-Original Message-
From: Gene Heskett [mailto:ghesk...@shentel.net]
Sent: Friday, July 03, 2020 9:50 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] More BS-1 clone headaches.-

On Friday 03 July 2020 20:46:46 andy pugh wrote:

On Sat, 4 Jul 2020 at 01:25, Gene Heskett 

wrote:

Blue.

I thought of that, but I don't know where I could src some of
that locally.  Is "diechem blue" the right search term to feed
google??

Not really, Dykem is a marking out fluid rather than a contact
testing compound.

You can see what happens with just a marker pen, though. (it will
work just as well as Dykem)

If you can get it clean enough to stick, formerly greased steel is
not a good candidate. Ink with acid etch might work but I've not see
any of that since I was building titan sites around EAFB in 1960-61.


In the UK I would use "Stuarts Micrometer Blue" but I don't know
what the US version is.

But the US version of "marker pen" seems to be "Sharpie'

If you can get it truly lox clean. Or you can find one marked
"permanent" which has solvents that can penetrate the lube film.

This might be a place for candle smoke if it wasn't such a bitch to
re-assemble for testing, I usually smoke rifle actions to get a good
start on bedding them into the wood.  It transfers to the wood on
contact, telling you where to carve next. Another possibility on
this side of the pond might be Birchwood-Casey's Cold blue, which
can blacken clean steel.  And its un-tough enough to show the
contact pattern pretty easily.  That I can get at Wallies.  No clue
if they'll be open tom. though as tom. is Independence day on this
side of the pond.

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


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

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


Cheers, Gene Heskett



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


Re: [Emc-users] has anyone retrofitted through spindle coolant onto a cnc mill yet with a rotary union.

2020-07-04 Thread Thomas J Powderly
You can look at gun drills ( very little to do with guns, but very much 
high pressure drilling )


Used in mold shops for deep coolant holes. They cut straight and fast.

If you blow a coolant line on these its dangerous.

the drill doesnt look like those in your toolbox

wayback machine has

https://web.archive.org/web/20161102005306/http://www.unisig.com/information-and-resources/what-is-deep-hole-drilling/what-is-gun-drilling/

hth tomp

On 7/4/20 9:06 PM, Scott Harwell via Emc-users wrote:

  Andy,
https://www.deublin.com/en/Product-Series?series=1101
Deublin units work well. The problem is tool retention design they will not 
take direct thrust. They may have other products you can adapt.

Scott

 On Saturday, July 4, 2020, 5:54:27 AM CDT, andrew beck 
 wrote:
  
  Hey everyone  just wondering if anyone has ever used a rotary union to

plumb through spindle high pressure coolant into their machine.  I am
thinking about doing it and just looking for advice.  I have the high
pressure pump already and there is a hole down the middle of my spindle.  I
just need a rotary union I think and need to do some machining to make it
all fit..

I have no idea what type of rotary union I need though

regards

Andrew

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

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



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


Re: [Emc-users] Design for the materials and process

2020-06-06 Thread Thomas J Powderly

Gene

the colors:
There is no chart, but there are a few different colors:
- Green = outer wall lines
- Red = inner wall lines
- Cyan = support/skirt
- Dark blue = moves (thin lines)
- 3 other colors = infill (cycles between the 3 colors)
from     ian     Dormant  ultimaker forum

plus

about: you can chanhe them

https://github.com/Ultimaker/Cura/issues/6040

hth ( at least quicker than a print )

tomp



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


[Emc-users] LinuxCNC 3Dprinting

2020-06-03 Thread Thomas J Powderly

Gene. are you using linuxcnc to control the 3Dprinter?

I have a hotend and a roll of PLA

and I was considering making a swapable head on my machine.

thanks

tomp



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


Re: [Emc-users] Cool new take on a foam cutter:

2020-06-03 Thread Thomas J Powderly

a simpler (!) take on similar idea

https://www.youtube.com/watch?v=2ZTyospKniQ

listening to the evolution of the 'program' is interesting.

tomp

"""

Nice machine! Looks like a little bit of a challenge to program it.

"""



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


[Emc-users] timestamp ethernet hardware

2020-05-18 Thread Thomas J Powderly

I think timestamping was a benefit, esp for PPMC.

I just read about the new Teensy4.1 having ethernet hardware with PTP.

Then I checked to see if there were off the shelf ethernet cards with 
PTP ( there are ).


Is harwdare generated, timestamped packets of use to linuxcnc?

Can/Would syncing ethernet devices be useful?

tomp

https://www.pjrc.com/teensy-4-1-released/

https://www.embedded.com/using-ieee-1588-for-synchronization-of-network-connected-devices/





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


[Emc-users] bed leveling component python 2

2020-05-10 Thread Thomas J Powderly

A python tool to comp Z for a non flat work surface

maybe of interest to emc-users

https://www.youtube.com/watch?v=3BpqfBpozeM

https://github.com/scottalford75/LinuxCNC-3D-Printing/tree/master/compensation

tomp




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


[Emc-users] orangepi cnc-club-ru

2020-05-10 Thread Thomas J Powderly

A few months back, there was wprk on 'orangepi-cnc'

Which was linuxcnc running on the orange pi platform(s).

It has come back to life ( Nick and MX Maxter are comitting again )

Some new code uses a risc co-processor.

Some other platforms are also built for ( cubie, banana )

I doubt the risc hardware is available on other platforms.

but, This may be of interest to emc-users

https://cnc32.ru/orangecnc/

tomp


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


Re: [Emc-users] linuxcnc openlung ventilators

2020-03-24 Thread Thomas J Powderly

this?

https://hackaday.com/2020/03/23/mit-ventilator-designed-with-common-manual-resuscitator-submitted-for-fda-testing/

i havent read it yet

thanks! tomp

On 3/24/20 4:05 PM, Gregg Eshelman via Emc-users wrote:

MIT Ventilator Designed With Common Manual Resuscitator



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


Re: [Emc-users] PMSM, STMBL Drive

2020-03-21 Thread Thomas J Powderly
*rene-dev  * commented on May 7, 2018 



IRAM256-1567A2 or IRAM256-1067A2 can be used as replacement, but they 
only have 15 and 10A, but thats plenty for most servos.

they are still available at mouser.

and I see they are near 26bucks at

https://m.th.aliexpress.com/item/32839176520.html

and later said


 *rene-dev  * commented on Jun 21,
 2018
 

All A2 models seem to be out of stock now. The A models can be bodged in:


with this picture
https://user-images.githubusercontent.com/707259/41713022-52b1f708-754c-11e8-9fa2-02efb2a22f7d.jpeg

the discussion about replacements, hacks, future is at
https://github.com/rene-dev/stmbl/issues/91

and 2 pcs of 10(8say some ppl) ampere in Rochester usa 13.37$ each
https://www.rocelec.com/part/INFINFIRAM256-1067A2

HTH
tomp


On 3/21/20 9:10 PM, andy pugh wrote:

On Sat, 21 Mar 2020 at 14:02, Thaddeus Waldner  wrote:


I would also like it to be priced in line with the cheaper (e.g.Automation 
Direct GS2) 1hp AC inverters. AC inverters should actually have all the 
required hardware as-is but they don’t run a synchronous motor. Assembling 
STMBL drives is something I can consider.

The current STMBL design relies on a power module that is effectively
unavailable (IRAM256-2067A2), so building one is difficult, and
sourcing complete ones also difficult.

You could ask on the STMBL Gitter if sensorless operation is possible:
https://gitter.im/rene-dev/stmbl


--
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] RPi4 7i90 7i33

2020-03-07 Thread Thomas J Powderly

@Dave Engvall

Will you be using SPI between the Pi and the 7i90?

I have a stepper system now but have 7i33 in the future project box.

Thx TomP



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


Re: [Emc-users] trying to connect a encoder from cnc spindle motor to schiender vfd

2020-02-12 Thread Thomas J Powderly

Jon, I cant find US dist either

maybe the TI chips are better is the states

http://www.ti.com/lit/ug/tidua05a/tidua05a.pdf
http://www.ti.com/lit/df/tidrf54/tidrf54.pdf

hth

tomP




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


Re: [Emc-users] trying to connect a encoder from cnc spindle motor to schiender vfd

2020-02-12 Thread Thomas J Powderly

gene,

On 2/12/20 10:38 PM, Gene Heskett wrote:

On Wednesday 12 February 2020 05:55:34 you wrote:
...

so make sure you know the full heidenhain part number when hunting
info

that means the full identifier is more than just 1 box on the label )

Yes, I've noted the frustration creation of finding info on the
Heidenhain encoders on the list over the years. Enough that I'd be
reticent to buy them as they seem to have a random number generator in
naming them.



hahaha gene,

its really simple once you read the book "howto identify that heidenhain 
thingy."


or ask a Heidenhain.

I think there's a lot of stuff posted to inet and ebay etc with 
serialnumbers as identifiers


tomp

here's the skinny on the id label

you need the product name and identity number

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


[Emc-users] Fwd: Re: trying to connect a encoder from cnc spindle motor to schiender vfd

2020-02-12 Thread Thomas J Powderly

sorry gene i didnt see i sent this private



 Forwarded Message 
Subject: 	Re: [Emc-users] trying to connect a encoder from cnc spindle 
motor to schiender vfd

Date:   Wed, 12 Feb 2020 17:55:34 +0700
From:   Thomas J Powderly 
To: Gene Heskett 



hello
On 2/12/20 4:52 PM, Gene Heskett wrote:

On Wednesday 12 February 2020 01:49:34 andrew beck wrote:
the option I just thought of while googling is, can I convert the sin 
cos format in to a normal TTL or something like that? even 1000 ppr 
would be heaps it is only on the spindle. 
One thing you might try, is to use a couple of those $2 rs485 to ttl 
boards. I bought an encoder to put on the rear of the spindle motor, 
only to find on its arrival it had a balanced output of only a few 
millivolts, nothing ttl about it. So I made a small hammond box with 
two of those in it to translate it to ttl for feeding the encoder in 
the 5i25. Works a treat. But because the sin/cos is generally 
magneticly generated, its signal may get weak enough to miss count at 
very low speeds, which might lead to enough error to make sloppy 
threads when rigid tapping with a peck routine. It might miscount at 
the turnaround at the bottom of the hole.
I just want to get the data into the vfd so It knows when the motors 
is slowing down. and so I can rigid tap and the existing encoder is a 
high quality heidenhian one so might be good to keep it if it is not 
too much trouble. 
ISTR Jon has a board for that, see at PicoSystems.com. 


I used heidenhain scales and encoders exclusively , but on heidhenain tnc.
heres something relevant
from 
https://www.practicalmachinist.com/vb/deckel-maho-aciera-abene-mills/deckel-nc-upgrade-cons-pros-299846-print/index11.html


"""
Here is what I will be using to interface my existing scales to LinuxCNC 
via MESA hardware:

IC Haus TW28 Interpolator
"""

thats is talking about an interface chip designed to read the sin cos 
output of the heidenhain encoder.

I do not think it is what's needed for the newer 'endat' encoders.
I have seen simpler encoder interfaces but they simply made a single 
count per transition
where thes ichaus chips interpolate same as the heidenhain nc's did, 
giving you many counts per transition


https://www.ichaus.de/keyword/Interpolators

( the newer scales and encoder maybe endat and may use biss ( past my 
field op years ,

AndyPugh and Jon may have some threads on the subject

so make sure you know the full heidenhain part number when hunting info

that means the full identifier is more than just 1 box on the label )


regards Andrew On Wed, Feb 12, 2020 at 7:43 PM andrew beck 
 wrote:
Hi guys wondering if anyone has any ideas here. I have a heidanhain 
spindle motor that runs up to 1 rpm and has a 5v sin cos encoder 
on it. I am currently controlling the motor with a schiender vfd. I 
am talking to the support engineers here in New Zealand about buying 
a encoder card so I can get better low down torque. If I run the 
card in full encoder closed loop control in the vfd I can get 200 
percent of the torque right down to 0 rpm for 30 seconds or so which 
is pretty useful. I am currently just running the drive in Variable 
frequency control which rapidly looses torque at low rpm. Anyway 
they have a bunch of cards I can use but don't have a encoder card 
that is suitable for sin cos encoders. I have no trouble changing 
the encoder but am not sure if I can get a source of encoders that 
spin up to 10k rpm. Anyone have any suggestions? regards Andrew 
___ Emc-users mailing 
list Emc-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/emc-users 
Cheers, Gene Heskett 

hth
tomp


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


Re: [Emc-users] trying to connect a encoder from cnc spindle motor to schiender vfd

2020-02-12 Thread Thomas J Powderly

hello

BTW if your encoder is 11uA ( not 5V not 1Vp/p )

then the last diagram here may be of use

http://pdf.dzsc.com/RLX/RLXA2510.pdf


heidenhain encoders are good equipment, it'd be sad to change it out.

hth tomp



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


Re: [Emc-users] Open source CNC architecture

2020-01-27 Thread Thomas J Powderly

Hi Dave

On 1/27/20 11:39 PM, dave engvall wrote:
Linuxcnc get used because it works ... at least well enough to get 
most jobs done.


I hope Gene gets something workable out of the Rpi4; that looks 
promising.



yes I hope I can retrace his work and build one.


My vision of a new system is something very modular. Small boards 
running a microcontroller with some chance of the chip not 
disappearing too soon. Maybe that means burning FPGA's for each task 
and  hoping you can reuse most of the code on the next gen or two. 


Thats an interesting way to extend life ( heh I still have PALs that i use )

An Z80 core clone (for example ) is opensource. so as long as FPGAs are 
around, so are old processors.



Communication between boards via ZMQ. Use one for motion, another for 
task and other necessary bits and pieces.


hmm we fall back into the division/rewrite wars... I cant write the code 
so I cant join in the battle.





 Does  someone have a better idea than X for the display?


the Xmotion LinuxCNC project used the framebuffer, but there's been no 
updates for over a year


I hoped that it would get rid of the evilGL ;-) and let puny pi's run 
LinuxCNC.


( trademark that   punypi ;-)

The supplied code never ran for me, but I saw a video so it must be true ;-)



Has anyone tried a browser as a GUI?


I think Michael and MachineKit had preliminary functionality years ago,

( had some buttons and results from pressing them )

here's something more recent 
https://machinekoder.com/web-uis-for-machinekit/





Speaking of funding; I think the task is too big and diverse for 
crowd-funding.


If someone really wants to get radical then write a controller that is 
all NURBS including the straight lines. Of course that also demands a 
cheap and usable CAD/CAM. I don't think one hands codes NURBS ... ;-)  
However that might take care of some of the lookahead problems. Just 
dreaming. Ha!


..Back to resurrecting my Mazak.

Dave




best o luck on the Mazak

TomP



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


[Emc-users] Merry Christmas 2019

2019-12-24 Thread Thomas J Powderly

Merry Christmas to all

tomp



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


[Emc-users] D. Garret's Dry Run LinuxCNC

2019-12-13 Thread Thomas J Powderly

I dont know if this branch and demo are known to the list
https://www.youtube.com/watch?v=6dzFt-KCMgU
tomp


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


Re: [Emc-users] off topic repair bldc ring magnet for halls

2019-12-06 Thread Thomas J Powderly

Sorry to ask off topic

but this group is the most knowledgeable in all things geeky ;-)

Please read this using a fixed font so the ascii timing diagram is correct.

I am trying to rebuild a damaged bldc motor

It had built-in controller, and water damage blew fet traces right off the pcb.

The pcb also had 3 hall sensors SS41 and the rotor has a ring magnet.

A quick check showed the halls could still be energized and output 5V signals.

I brought the UVW coil wires and the Hall wires out for a new external bldc 
drive.

But when I tested the halls closely I saw the nice 3 phase ripple wasnt 
continous for 360 mechanical degrees.

I repeated checking many revolutions and saw a repeating failure in 3rd of 4 
quadrants of the magnet ( 4 cycles to 360 mech degrees )

I think I need to replace the ring magnet.

Has anyone here any advice ( besides buy a new 400$ motor ? :-)

I've asked the manufacturer but they seem out of business since 2015

here's the letter to the mfctr...

Hello

Please read this using a fixed font so the timing diagram is correct.

I have a cyclone motor with built in control.

I have water damage and fets blew damaging the pcb.

I have little money, so I try to fix.

I examined and see the HALLs still work

and decided to use an external BLDC drive.

I cleaned the motor and bring out new UVW and Hall and 5V/gnd for halls.

I applied 5V and use 10Kohm pull up on each hall output,

then record the signal as I turn the motor by hand thru each detent (cog) for 
360 mechanical degrees.

The motor shaft can be turned by hand and has definite positions where the 
magnets hold the shaft.

I call these positions 'cogs' or 'detents'.

I tested the outputs of the hall sensors at each cog of the motor turning CW.

There are 24 positions in 360 degrees of motor shaft ( no gearbox connected ).

There are 4 cycles of the Hall pattern in 360 degrees.

Each 90 degree cycle has 6 'cogs'.

The halls actt differently in quadrant 3 of 4.

I suspect the magnet is damaged

    cog count

hall 1 2 3 4 5 6|1 2 3 4 5 6|1 2 3 4 5 6|1 2 3 4 5 6| <-- 4 sets of 6 cogs is 
360 mechanical degree

 _ _ _  |_ _ _  |  _    |_ _ _

U |_ _ _| |_ _ _ _ _ _| |_ _| |_ _ _|

  3  3  |  3    6  1  2    3 3   not 3 3 3 3 3 3 3 3! the 
3rd set is wrong

    |   |   |

 _ _ _  |    _ _ _   _   _ _ _

V    _ _| |_ _ _| |_ _ _ _ _| |_ _ _| |_

    ..2    3 3 3   5 1   3 3   1..   again 3rd set is wrong

    |   |   |

 _   _ _ _   _ _ _   _   _ _

W |_ _ _| |_ _ _| |_ _ _ _ _| |_ _ _|

   ..1   3 3 3 3   5 1   3    2..    again 3rd set is wrong

    |   |   |

   


    ||

    3 small signals

   


since this repeats in many tests

and the 3rd quadrant is always different

I think the magnet ring is damaged ( depolarized almost ) in that quadrant.

Can I get a new magnet?

Can I repair the magnet?

Does the magnet need aligning?

  


Sorry for the complex question, hope you can help me.

Thanks Tom Powderly

  




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


Re: [Emc-users] Emc-users Digest, Vol 162, Issue 47

2019-10-29 Thread Thomas J Powderly

Gene, Hello,
Andy Pugh has written up the hal_pi_gpio.c for branch 2.8.

||/||/
On 10/28/19 1:58 PM, Gene Heskett wrote:

On Sunday 27 October 2019 07:08:30 Andy Pugh wrote:


On 27 Oct 2019, at 05:39, Tim March  wrote:

The revision # can be different depending on where it was
manufactured.

I will run it with my own Pi4 to get some numbers, but if you have
more?


Andy, I ran the stuff TomP referred to in a PM with a link, and got this
from a 2 gig rpi4:pinout
pi@rpi4:/etc/apt/sources.list.d $ pinout
,.
|  J8   +==
| 1ooo  PoE |   Net
|  Wioo +==
|  Fi  Pi Model 4B  V1.1 oo  |
|,.   +
| |D||SoC |   |USB3
| |S|||   +
| |I|`'  |
|   |C|   +
|   |S|   |USB2
| pwr   |HD|   |HD| |I||A|+
`-| |---|MI|---|MI||V|---'

Revision   : b03111
SoC: BCM2711
RAM: 2048Mb
Storage: MicroSD
USB ports  : 4 (excluding power)
Ethernet ports : 1
Wi-fi  : True
Bluetooth  : True
Camera ports (CSI) : 1
Display ports (DSI): 1

J8:
3V3  (1) (2)  5V
  GPIO2  (3) (4)  5V
  GPIO3  (5) (6)  GND
  GPIO4  (7) (8)  GPIO14
GND  (9) (10) GPIO15
GPIO17 (11) (12) GPIO18
GPIO27 (13) (14) GND
GPIO22 (15) (16) GPIO23
3V3 (17) (18) GPIO24
GPIO10 (19) (20) GND
  GPIO9 (21) (22) GPIO25
GPIO11 (23) (24) GPIO8
GND (25) (26) GPIO7
  GPIO0 (27) (28) GPIO1
  GPIO5 (29) (30) GND
  GPIO6 (31) (32) GPIO12
GPIO13 (33) (34) GND
GPIO19 (35) (36) GPIO16
GPIO26 (37) (38) GPIO20
GND (39) (40) GPIO21

For further information, please refer to https://pinout.xyz/


At the bottom of /proc/cpuinfo:

Hardware: BCM2835
Revision: b03111
Serial  : 10004adfced0
Model   : Raspberry Pi 4 Model B Rev 1.1



Note that one command identifies your RPi4 SOC as BCM2835

and another reports BCM2711 ( the correct answer ).



And I got a repeat of the last line above for
cat /proc/device-tree/model. That doesn't contain memory provided in the
revision number though.

Is this data that you are looking for?

Are you working on making a gpio parport?  If you are, are you intending
to make it work with the 7i76 and its cousins sserial expansions?  That
would be kewl if its fast enough to pull that off. I didn't find that
even a 1 gig pi3 has problems building linuxcnc after I'd made a 10 gig
swap on a 120gb ssd and added it to /etc/fstab. Building linuxcnc on the
pi3 ran it around 85 megs into swap, and when that ssd was moved to the
pi4 with 2 gigs, it used about 50 megs to build the rs274 interpreter.
But the faster usb-3 interface on the pi4 sped up the build
considerably. Well under an hour.

Cheers, Gene Heskett


In your build and in your boot command, is there any mention of the dto 
or dtb?

( device tree overlay / device tree binary )



Did you build for 32 or 64bit?


The boot command might mention the dtb.
The dtb for RPi4 would be *the 64 bit version of bcm2711-rpi-4-b.dtb*

I think the build command would likely have '|bcm2711_defconfig' in it, 
not 'bcm2835'.|


oh, to make things even easier to understand , BCM2838 is another name 
for BCM2711 (groan).

I am still chewing on https://andrei.gherzan.ro/linux/raspbian-rpi4-64/

Also, for users wanting to use stepgens connected to gpio pins,

we dont have the 'double-step' trick thats inside hal_parport.

(hal_parport’s auto-resetting pins)

I think I was told it's possible to get higher step-rates using a 
different stepgen type,

that this other stepgen type was effectively same as Jepler's 'double-step'.
but I haven't found that email yet.


TomP





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


Re: [Emc-users] Emc-users Digest, Vol 162, Issue 47

2019-10-27 Thread Thomas J Powderly

hehe


On 10/27/19 12:39 PM, Tim March wrote:
Re: [Emc-users] Raspberry Pi 
The RPI gipo driver that TProwle explained in wicky works with RPI 4. 


is Powderly that difficult?

Powderly Waverly Haverly Everly, all good old Welsh names.


And the credits goto Micheal Haberlerand KL Chin for the hal-gpio driver.

Michael wrote it for Machinekit

and KL unravelled 2 lines thus allowing it to work with Linuxcnc.

And now include Andy Pugh's work on it.


It needs to be updated for new revision # of RPI 4. 
I have RPI 4 w/4gig of ram I added revision # for my board. The revision 
# can be different depending on where it was manufactured.




Yes theres some code that look for revisions and
isnt very future friendly.

Also I just thought.. I am not sure RPi4 uses BCM2835.

But if it works, thats a good start.

I have had a hat made that you connect a 40 pin ribbon cable to gpio’s 
and hat. Then use a Grbl CNC Shield v3 with Polou drivers for a 4 Axis 
solution.






Cool, let us know about the hat.
Also look into the SPI I/O expansion using MCP23S17 chips.
I used 2 pcs on an RPi form factor pcb from ETT, and it worked well.
I didnt use it inside Linuxcnc but it gave me oodles of cheap user i/o.
( and its stackable )
hth
TomP

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


Re: [Emc-users] Raspberry Pi

2019-10-26 Thread Thomas J Powderly



On 10/26/19 10:16 PM, andy pugh wrote:
On Sat, 26 Oct 2019 at 00:23, Marshland Engineering < 
marshl...@marshland.co.nz> wrote:
Can a PI be used directly to drive the 2 stepper drives for this 
application ? Maybe just needs a break out board for the IO connections. 
I don't think it is 100% simple with LinuxCNC as there isn't a hal 
driver for the Pi GPIO. 
https://github.com/LinuxCNC/linuxcnc/tree/master/src/hal/drivers 
Machinekit has one (hal_gpio) 
https://github.com/machinekit/machinekit/tree/master/src/hal/drivers 
But it hasn't been ported across to LinuxCNC. I don't know how much 
work it would be to do so. 

re: rpi hal_gpio module

a gent named K L Chan wrote it

and I posted it in the wikia while back

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RPi3BPreemptRT#buildhalgpio
4) ADD THE MAGIC hal_gpio module TO DRIVE REAL MOTORS, READ LIMITS, AND 
RULE THE WORLD PINKY

hth
tomp tjtr33*
*

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


Re: [Emc-users] Real-Time Linux on the Raspberry Pi

2019-10-03 Thread Thomas J Powderly

More test say the little ethernet module is not good enuf

Iperf shows 3.3MBits/sec.

Using the usb eth0 as a benchmark,

linuxcnc axis display is a lot slower and very choppy.

And as an aside

Enabling the opengl hdwr option #1 disrupts the gpio ethernet ( can ping 
any other system)


but mode 2 * ( no kms ) works, just slightly less choppy

so

fergitaboudit

tomp



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


Re: [Emc-users] Real-Time Linux on the Raspberry Pi

2019-10-03 Thread Thomas J Powderly

Hi Gene, PCW,
I just hooked up a second ethernet port to an rpi3b.
I ssh'd into eth1 and ran a sim axis.
pi@raspberrypi:~/linuxcnc-dev $ uname -a
Linux raspberrypi 4.14.59-rt37-v7+ #1 SMP PREEMPT RT Sun Aug 26 15:11:25 
+07 2018 armv7l GNU/Linux


What tests can be run to see if this can use 'normal' mesa ethernet cards?
without actually having them ?
tomp

The 'trick' to extra ethernet port without using the usb bridge
is to use an ENC28J60 module connected to gpio pins ( no usb involved )
the ethernet is bitbanged spi
here's a link to what i did ( altho i have different pins used and a 
slightly different module than he used )

https://www.instructables.com/id/Super-Cheap-Ethernet-for-the-Raspberry-Pi



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


[Emc-users] OrangePiCNC hardware on TaoBao

2019-09-20 Thread Thomas J Powderly
The Russian linuxcnc arm of cnc-club.ru has been developing an orangePi 
based system


(Mx_Master is the chief dev)

It uses machineKit afaict


but the devs had stopped publishing recently,

then I heard about this on TaoBao


https://tinyurl.com/y4w4m5w2<<< tinyurl of the google translated version

I do not think its what the developers wanted / did.


and some info on the project

http://orange-cnc.ru/


more discussion on cnc-club.ru


I figger it may be of interest

tho I think you're _really_ on your own going down this path

( even if you're literate in both Chinese and Russian (not me ) )

tomp



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


Re: [Emc-users] MESA 7i92H Saga

2019-08-22 Thread Thomas J Powderly

woot!

On 8/22/19 8:20 PM, Peter C. Wallace wrote:

On Wed, 21 Aug 2019, John Dammeyer wrote:


Date: Wed, 21 Aug 2019 23:12:34 -0700
From: John Dammeyer 
Reply-To: "Enhanced Machine Controller (EMC)"
    
To: "'Enhanced Machine Controller (EMC)'" 


Subject: Re: [Emc-users] MESA 7i92H Saga

Hi Tom,
Alas. No. Still not found.
I could probably sudo apt-get ifconfig but I really don't understand 
why this fundamental tool isn't included in the liveCD stretch 
version.  The graphical network tool is only somewhat useful and 
doesn't provide any detailed information on what's there.

John


ifconfig has been deprecated in favor of ip on modern Linux distributions


ip a

will list all interfaces




instead of

you learn something new every day...

it's

you learn something's old every day

tomp

will Indian Pale Ale help me remember this?


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


Re: [Emc-users] MESA 7i92H Saga

2019-08-21 Thread Thomas J Powderly

John hello,

On 8/22/19 11:32 AM, John Dammeyer wrote:

Might be easier to find a supported WIFI adapter (I'm using some $8.00
edimax
thing here thats trouble free and has built in support)

So it was plug and play?   No sudo apt-get?

I'm finding this latest stretch version graphical tool doesn't even report that 
there's a connection and there's no ifconfig or ipconfig on the command line.

Anyway, if you can point me to an amazon part number I'll pick up one.

Thanks
John


maybe

sudo ifconfig

will work better

HTH

tomp



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


Re: [Emc-users] LinuxCNC did this too.

2019-07-09 Thread Thomas J Powderly

Hello Davide,

On 7/9/19 9:21 PM, Davide wrote:


Il 8 luglio 2019 05:46:51 CEST, TJoseph Powderly  ha scritto:

cool, thank you.
was this Linuxcnc ( gcode) or Hal ?
I think Hal can do a lot for animatronics and multimedia.
TomP

Sorry but, what do you mean by that?


We can move mechanisms with Hal, without Gcode, without LinuxCNC.

Hal can simply make motors move and use encoders and PIDs without 
involving Gcode or Linuxcnc.


You could have hundreds of motors moving, while linuxcnc can have 9 
xyzabcuvw (usually)


You can do linear circular helical and more interpolations in python and 
have hal to interface your hardware.


Your flying ball could be accomplished in another way, thats all.



This setup was made by 4 joints (wires) and my kinematic module. A 
three-axis-joystick was used to jog,home and set jog speed, and a gcode path 
was generated by a software I've done in Processing.

ah! processing and hal is exciting.

A wonderful mesa 7i92 was used to send differential step/dir over a max lenght 
of 220mt cat6 rj45 twisted-pair cable without problem. lines where terminated 
with 100ohm resistor (without those i had problems..) directly on the drivers, 
which accepted differential input.

oh i remember that conversation a bit. thats a lng wire!


for the future I have to find a way to close the loop in a different way, 
because with those hybrid drivers, if one gets alarmed, the system continues to 
move until i stop it.

maybe bringing an ethernet mesa card to every winch?


I wanted to really thank you all for the help I've received in these years from 
this community, that brought me to this point.


Ciao,

Davide D'Angelo.



thank you for your work

tomp




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


Re: [Emc-users] linear scales Heidenhain

2012-12-14 Thread Thomas J Powderly
On 12/13/2012 02:07 PM, jean-paul coninx wrote:
> Dear Viesturs,
>
>
> Thanks for your reply. I m sure that these linear scales from Heidenhain in 
> combination with a Heidenhain controller
> have a analog output. I also know that some of the Maho mills (from few year 
> later) have a Philips 432 controller. Maybe
> the glass scales in combination with these controller are quadrture 
> I will look for documantation but I m not sure i can help you . I have only a 
> general service manual for the Maho  mh 700c
>
> Regards
> j^p
>
>
>
>> From: viesturs.la...@gmail.com
>> Date: Thu, 13 Dec 2012 19:49:44 +0200
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] linear scales Heidenhain
>>
>> 2012/12/13 jean-paul coninx:
>>  
>>>
>>> Dear emc users,
>>>
>>> I am an owner from a maho mhc 700c with a heidenhain tnc 135 controller. 
>>> The controller doesn t work any more.
>>> I have read something about retrofitting. The most people use the Mesa 
>>> cards in combination with Linuxcnc. For already a few years (no time like 
>>> everyone) I a bought a Heidenhain EXE 935 convertor ( 3 axis from sinus 
>>> wave to ttl signal) . The moment I bought these EXE 935 the Mesa 7i49 didnt 
>>> exist . In my opinion I have two options :
>>>
>>>
>>> Mesa 5i20 + Exe 935 + 7i33 and 2 x 7i37TA
>>> Mesa 5i20 + 7i49 + 2 x 737TA
>>>
>>> Which are the advantages or disadvantages to use the EXE 935 ?? I prefer 
>>> without (the more I use the more can stop working)
>>>
>>>
>> Are You sure that linear scales have analog output?
>> I was offered to do a retrofit of Maho MH400P mill, so few months ago
>> I spent few hours going through a thick file of documentation and I
>> remember that I saw something about quadrature TTL signal. I did not
>> pay that much attention to it, because I was looking for instructions
>> how to remove the cover from hydraulic pump. It needs to be fixed and
>> that is a prerequisite for me to get that job.
>>
>> Is there any chance that You have some useful information about
>> servicing hydraulic pump of Your mill? I suspect that they might be
>> pretty similar.
>>
>> -- 
>> Viesturs
>>
>> If you can't fix it, you don't own it.
>> http://www.ifixit.com/Manifesto
>>
>> --
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>  
>   
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
Heidenhain linear scales are of 2 varieties, both analog sinus output
either 11uA p/p (older) or 1V p/p ( newer)
both output 2 out of phase sinus that are 'interpolated' to determine 
the numeric value

some have a form of absolute encoding ( Linear Distance Coded), these 
have an absolute mark every 2 cm
and homing is facilitated by moving past any 2 marks, yielding an 
absolute position without going to extreme end

you can get info from heidenhain's website
on which EXE to use for the scales you have

a heidenhain cnc does not use these EXE's they work directly with the 
control

it's 'sorta like a resolver' :)
and EXE boxes are expensive ( i got a set of 4 but i use them :| )
regards
Tomp

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT - CNC Workshop not to be hosted by Digital

2012-10-19 Thread Thomas J Powderly
IMTS vendor trick
the unions handle everything ( plugging in cord, taping crepe-paper to 
tables, unfolding tables )
a lot of people tried to bribe them so the people could do it themselves
doesnt work, theres just too many bribes
we dragged in coolers full of beer
thats something they could NOT get
we suddenly had extra phones, extra tables, no problems :)
tom3p

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hold-down straps

2012-10-13 Thread Thomas J Powderly
On 10/13/2012 12:58 AM, Peter Loron wrote:
> I watched the linked video. Can somebody comment on why you would use a 
> shaper for that work instead of a mill or surface grinder? I'm trying to 
> understand the purpose of a shaper.
>
> Thanks.
>
> -Pete
>
shaper produce almost no stress in the surface
rotary machining ( mills lathes ) create a skin that warps under stress 
of heat, and unravels with time
AGie machine castings ( sinkers, wedm's & edmgrinders)  were all shaped, 
then checked in a heat box for 24hrs
( dunno present day mcftr methods, but true in Losonne when i was there 
in 80's )
these machines hold micron tolerances becuz every tiny detail was tested
the machine tool has to be better than the machined work
regards
tomp


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hardinge CHNC to EMC conversion

2008-06-12 Thread Thomas J Powderly
The description PLUS MINUS ZERO refer to 3 different sensed positions of
the slide, and dont say anything about the voltages.
Your schematics likely show a voltage going to them, or a pull up
resistor tied to them. You really have to look at the schema for that.

THE ABCD on a turret makes me think the encoder is very coarse and the
information ABCD is really just a 4 bit count of position. This is more
credible if your turret has less than 17 positions.
It is an encoder, just not the sort most people think of.
The turret for the Mazak was just holes in a yard wide disk and prox
sensors. after i unmasked it, it was pretty simple to understand. It may
be like yours.

Again, your schematics should tell you the voltage supplied, or (at
least ) lead you to one end that you can measure.

hth

TomP

On Thu, 2008-06-12 at 19:22 -0400, Ed wrote:
> Going throuogh the schematics for my CHNC the limit switches and the 
> home switch have three terminals PLUS MINUS and ZERO. Are these voltage 
> or polarity dependent or are they simple switches? Also the turret 
> encoder shows an A B C and D outputs. Are these binary or BCD and why 4 
> lines when 3 would be enough for 8 positions? What voltage to this 
> encoder? Probably more questions later as I dig into it. Thanks.   Ed.
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] servo with brake issue

2008-05-24 Thread Thomas J Powderly
Jorge,
I have not had same experience and I use AD SureServo 3kW motor with
brake. Just to let you know its not a constant problem. There are config
bits to set in the SureServo drive. And the SureServo people at AD were
smart & helpful. Also appreciate your work on Open Source Hardware.
TomP



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: Synergy

2008-05-19 Thread Thomas J Powderly
Some of the visual bits in emc use OpenGL, and many of the video
recording tools have trouble with that, so here what works in the 
environment you're concerned with...
http://emergent.unpy.net/01196105360
I've managed to follow this recipe and could record the Vismach
windows ( a problem ) and the AXIS interface at the same time.
hth
TomP



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] galesburg emc fest campsite

2008-05-06 Thread Thomas J Powderly
cheapest digs (with hot shower), are to camp here
about 5 to 10 minutes from the fest
http://maps.yahoo.com/map?q1=%20Galesburg,%20IL%
20us&mag=5&ard=1#mvt=h&lat=40.984505&lon=-90.390022&mag=5&zoom=16&q1=%
20Galesburg%2C%20IL%20us

and the cheap food is at PigglyWiggly
esp breakfast
tomp


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] dxf to gcode

2008-05-04 Thread Thomas J Powderly
dxf2gcode
one solution:
gcnccam
http://sourceforge.net/projects/gcnccam
tomp


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 8255 driver

2008-05-03 Thread Thomas J Powderly
Dave, that driver is for a 48 i/o
thats all there is on the AX card ( 2 8255 chips)
the Futurlec ( pci_8255) has 3 chips
thus the diff in i/o points
tomp


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 8255 driver

2008-04-30 Thread Thomas J Powderly
Sam,
On the pci_8255 "hal show pin" you listed,
did that configuration lock up?
it had several inputs.

re: 
"By the way...  Got I/O? ;)"
re:
"If any of the pins are set to inputs - it will hardlock the computer
after a certain amount of time."

thanks for looking into it
TomP



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 8255 driver

2008-04-30 Thread Thomas J Powderly
Gene,
nothing written by me
Jepler (?) wrote pci_8255.c
its from cvs
some info here
http://emergent.unpythonic.net/01165433819

hal_ax5214 is from the live cd
John Kasunich wrote that

regards
tomp
---snip
> >tomp
> >
> Great Thomas.  Is this code you did, or were you able to make the code that 
> came on the cd's with the cards actually build on linux?
> 
snip


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 8255 driver

2008-04-29 Thread Thomas J Powderly
Gene,
pci_8255 is in my cvs emc2 run-in-place installation
pci_8255.c
pci_8255.o
and
i think the hal_ax5214h.c driver in all emc2 installs is really an 8255
(the src doesnt say that, so may be wrong)
tomp

in On Tue, 2008-04-29 at 22:56 -0400, Gene Heskett wrote:
> On Tuesday 29 April 2008, Andrew Ayre wrote:
> >Wow - 8255s - I didn't know those were still used for commercial products.
> >
> Small correction, 82C55's, the cmos versions, so the board doesn't draw much 
> more power than is consumed by any outputs being pulled high.  Each line is 
> limited to about a 2 mill load, but can pull rail to rail both directions.  I 
> had some of them once, sent them someplace that was gonna write a linux 
> driver.  I tried to write one myself, and found I knew very little about 'PC' 
> architecture.  The card contains no bios AFAIK, so its invisible to an lspci 
> listing.
> 
> Once a linux driver is available, I think they would make a very nice 
> interface for emc's use.  With all 24 lines available on each chip, the i/o 
> expansion possibilities sure beat the usual parport, an architecture 
> originally built from the 8255 decades ago.  IIRC the actual cabling from 
> each chip was on a 34 pin floppy drive sized cable, so each card gave you 3, 
> 34 pin ribbon cables out of a spare slot opening in the back of the case.
> 
> One thing I ran into was that while that web site below shows prices in USD, 
> they billed my card in AUD and applied the exchange rate, so I paid about a 
> 20% premium over the quoted price.  Quite close to a big buck each at the 
> time, which was about 4, maybe 5 years ago now.
> 
> I also bought a few of stepper controllers based on the L298 they have, touch 
> them only with a very long pole, there is no current chopper available for 
> current regulation.
> 
> >Andy
> >
> >Dave Keeton wrote:
> >> This board looks good! I did just buy a new NI DIO 96 board off of EBAY
> >> for 50 bucksIf it does'nt work out I'll check it out. I guess i was
> >> completely wrong about the I/O situation. You all have been a big
> >> help....How do I go about setting up the drivers for these boards in EMC?
> >> I am not all that familiar with Linux
> >>
> >> Dave
> >>
> >> - Original Message -
> >> From: "Thomas J Powderly" <[EMAIL PROTECTED]>
> >> To: "Enhanced Machine Controller (EMC)" 
> >> Sent: Tuesday, April 29, 2008 12:39 PM
> >> Subject: Re: [Emc-users] Classicladder
> >>
> >>> to Dave Keeton:
> >>> http://www.futurlec.com/PCI8255.shtml
> >>> 79$ US
> >>> 72 i/o points
> >>> pci
> >>> emc2 driver is available, "sorta beta"
> >>> regards
> >>> TomP
> >>>
> >>>
> >>>
> >>> -
> >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> >>> Don't miss this year's exciting event. There's still time to save $100.
> >>> Use priority code J8TL2D2.
> >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/ja
> >>>vaone ___
> >>> Emc-users mailing list
> >>> Emc-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >> -
> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> >> Don't miss this year's exciting event. There's still time to save $100.
> >> Use priority code J8TL2D2.
> >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/jav
> >>aone ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Classicladder

2008-04-29 Thread Thomas J Powderly
http://www.boondog.com/tutorials/8255/8255.htm
(you'll have to dig a bit to get the broken images fixed,
but they're there, just not browsable ;)
an isa 8255, an 8254 and a 2776(?) pwm control board too
(the sire is a bit dusty & disused ;)
tomp
On Tue, 2008-04-29 at 15:36 -0700, Andrew Ayre wrote:
> Wow - 8255s - I didn't know those were still used for commercial products.
> 
> Andy
:)


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Classicladder

2008-04-29 Thread Thomas J Powderly
to Dave Keeton:
http://www.futurlec.com/PCI8255.shtml
79$ US
72 i/o points
pci
emc2 driver is available, "sorta beta"
regards
TomP



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   >