Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread Gene Heskett
On Tuesday 06 June 2017 22:39:16 jeremy youngs wrote:

> So pwm to analog 10v is necessary
>
Yes, and the velocity output from an encoder module to tell this 
controller how fast the spindle is turning.  Its the feedback signal to 
the PID module.  The actual lock step that drives the z axis is 
determined from the position output of this same encoder module.

There is a spindle speed limit when doing the coarser threads, in the 
form of the z axis MAXVEL. But I'm not sure it squawks if you exceed it, 
so don't exceed it.

> On Jun 6, 2017 8:55 PM, "Jon Elson"  wrote:
> > On 06/06/2017 12:36 PM, jeremy youngs wrote:
> >> Isolated, as in opto isolator on the bob ? Thank you
> >>
> >>
> >> The speed command is an analog voltage, so a simple optoisolator
> >> won't
> >
> > work.  There are isolated spindle speed controllers that use a PWM
> > scheme on an optoisolator and then convert to voltage on the
> > isolated side.
> >
> > Jon
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread jeremy youngs
So pwm to analog 10v is necessary

On Jun 6, 2017 8:55 PM, "Jon Elson"  wrote:

> On 06/06/2017 12:36 PM, jeremy youngs wrote:
>
>> Isolated, as in opto isolator on the bob ? Thank you
>>
>>
>> The speed command is an analog voltage, so a simple optoisolator won't
> work.  There are isolated spindle speed controllers that use a PWM scheme
> on an optoisolator and then convert to voltage on the isolated side.
>
> Jon
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread Jon Elson

On 06/06/2017 12:36 PM, jeremy youngs wrote:

Isolated, as in opto isolator on the bob ? Thank you


The speed command is an analog voltage, so a simple 
optoisolator won't work.  There are isolated spindle speed 
controllers that use a PWM scheme on an optoisolator and 
then convert to voltage on the isolated side.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread jeremy youngs
Thank you guys

On Jun 6, 2017 4:29 PM, "Gene Heskett"  wrote:

> On Tuesday 06 June 2017 10:31:45 jeremy youngs wrote:
>
> > Good day folks. Im waiting for ebay to drop this at my door
> > https://www.google.com/url?sa=t=web=j=http://spectechin
> >d.com/Documents/KB/KBMG-212D-manual.pdf=0ahUKEwjM6aSAtqnUAhUG3IMKHc
> >T_CUgQFggqMAA=AFQjCNGFBaUXQadurcokpyECREPoUQtv-A=Pi3K5iam1Y-9U
> >dVNt5mrew . It calls for a tach/generator my google foo shows them to
> > be very cost prohibitive. I have so far only setup stepper system. I
> > am using this as a spindle drive on my mill 90 v treadmill motor. I
> > want to be able to rigid tap. My question is can I just use an encoder
> > and have Linux cnc control the position ? I think so but before I
> > order an encoder I would like to know . Thanks
> > Jeremy
> >
> As long as that controller is passably real time, which with an scr
> controller might be a problem since itr can't react any faster than the
> lines power frequency, I don't see why not. I have one with an
> opto-interruptor setup thats effectively a 268 counts per spindle rev,
> driving by a PID control setup, reacts fast enough to rattle the gears
> between a brushed 1 hp motor and the spindle of a Grizzly G0704, so the
> speed is fairly well controlled. But that has very little to do with
> rigid tapping as the 268 steps per revolution is what the (normally Z)
> axis follows quite accurately.
>
> I've a similar setup on The Little Monster, a 7x14 mini-lathe, similar
> horsepower but moving a 5" chuck, which has buckets of mass to reverse,
> so the turnaround time at the bottom of the hole can be considerable,
> particularly in terms of overshoot, so I have to drill the hole at least
> 4 tap turns deeper, else the tap hits the bottom of the hole, followed
> by the sickening crunch of yet another broken tap.
>
> I have a hall effect encoder ( 240 steps/rev) on an 11x36 sheldon I am
> just now bringing to life, and again, that nearly 8" chuck, and the
> turnaround ballistics of the vfd driving the 1 hp, 3 phase motor will
> also make me keep track of how much deeper I need to drill the hole to
> keep from hitting the bottom of it as its slowing, having reached the
> depth you gave the G33.1 in the call. I've developed some hal code that
> will tell me how much overshoot I have, but on that 3/4 ton machine, I
> don't expect to be able to tap at anything over 250 revs. Those are the
> gotcha's, but if the tap doesn't break, the rigidly tapped hole will be
> tapped nicely.
>
> What I'm trying to say is that a common  A/B/X quadrature output encoder
> (it must have an indeX once per rev) even with much larger slices of
> rotation per step than what I am using, can and has done rigid tapping
> for several folks here. The quadrature gives linuxcnc the direction
> information on the next pulse output as it hits zero speed and starts
> the reversal.
>
> > On Jun 5, 2017 4:05 PM, "Stuart Stevenson"  wrote:
> > > Gentlemen,
> > >
> > > Debian Wheezy
> > > latest linuxcnc release - installed today - but the last release did
> > > the same thing
> > > Axis interface
> > > Kasuga 3 axis mill
> > >
> > > when starting (run from here) on line 310 I get the error "length of
> > > cutter compensation entry move is not greater than the tool radius"
> > >
> > > This only happens when I 'run from here'.
> > > When running through the program the machine runs this code just
> > > fine. I cannot run through the program as I must change tools in the
> > > holder - set the tool length - and - start by picking 'run from
> > > here' (right click on the mouse).
> > >
> > > status window shows G40 prior to initiating 'run from here'
> > > after initiating 'run from here' the error shows and the status
> > > window shows G41
> > > mdi g40 resets the status window
> > > reinitiation of 'run from here' shows the error and sets the status
> > > window to G41
> > >
> > > Editing the G41 and G40 out of the program allows 'run from here' to
> > > start the machine and run the tool.
> > >
> > > snippet of code from the program
> > >
> > > N288X.1684Y-.6104
> > > N289G01Z.105F100.0
> > > N290G41X.0024F4.0
> > > N291Y-1.428
> > > N292G40
> > > N293X.1024
> > > N294G00Z1.115
> > > N295M05
> > > N296M09
> > > N297G91G28Z.0
> > > N298(MSG)
> > > N299(MSG TOOL T4. IS)
> > > N300(MSG DIA0.5000)
> > > N301(MSG CRAD   0.)
> > > N302(MSG FLTLEN 0.2500)
> > > N303(MSG STKOUT 0.5000)
> > > N304(MSG)
> > > N305(MSG 1/2 SPOT DRILL.)
> > > N306(MSG)
> > > N307(MSG SPOT DRILL HOLE)
> > > N308(MSG)
> > > N309(MSG)
> > > N310G91G49G28Z.0
> > > N311T04M06
> > > N312G64P.001
> > > N313G90G00G43
> > > N314S1400M08
> > > N315X1.375Y-3.0M03
> > > N316Z1.115
> > > N317X-.3Y-.1
> > > N318G81X-.2Y-.2Z.075R.275F2.0
> > > N319G80M05
> > > N320M09
> > > N321G91G28Z.0
> > >
> > > thanks
> > > Stuart
> > >
> > >
> > >
> > >
> > > --
> > > Addressee is the intended audience.
> > > If you are not the addressee then my 

Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Gene Heskett
On Tuesday 06 June 2017 11:46:27 Bertho Stultiens wrote:

> On 06/06/2017 03:30 AM, Gene Heskett wrote:
> > Does the image I downloaded Saturday and wrote to an sd card
> > yesterday have this stuff in it?
>
> No, you need to pull the most recent source-files (hm2_rpspi.c and
> spi_common_rpspi.h) from the mailing list (or the forum).
>
> Login as pi user and put them in
> ~/linuxcnc-git/src/hal/drivers/mesa-hostmot2/
>
Since I saved them on this  machine and have not made sshfs live yet, 
Thats best done by bringing the card in, plugging it into a reader to do 
the transfers.

I have had it working a time or three with the buildbots old 2.8.0-pre, 
but its quite fragile, never crashing at the same point twice.

> Then do:
> $ cd ~/linuxcnc-git/src
> $ make
> $ sudo make setuid
> $ ../scripts/linuxcnc -v
> ../../linuxcnc/configs/sheldon-lathe/7i90-axis.ini
>
> That should run your sheldon lathe config. You may need to update the
> config as needed.

I've rsync'd that out to a backup drive from the card that was in it for 
the last 4 or so days, then when this new finally booted to a usable 
screen, rsynced it back in order to get the most recent edits in place. 
ANAICT, everything works, but its very, very fragile, freezing up at the 
drop of a 4-40 screw 10 feet away.

I was going to print the README.md, and build according to that, but 
found that while the package manager says cups-client and friends is 
installed, its not usable as there is no /etc/cups/cups-client.conf.

I haven't sorted that basket of rattlesnakes yet, been sitting on the 
rider, trying to find my yard.  That, by the time I loaded the 3x5x1 
foot deep 2 wheeled wagon full of hedge trimmings stacked about 3 feet 
high, to haul it to the burn pit wrote a ~30~ to my back for the day, so 
the weedeating around the edges will wait till another dry day.

And its time (17:45) to round up something for dinner. So thats the 
status for today.  Thank you Bertho.

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread Gene Heskett
On Tuesday 06 June 2017 10:31:45 jeremy youngs wrote:

> Good day folks. Im waiting for ebay to drop this at my door
> https://www.google.com/url?sa=t=web=j=http://spectechin
>d.com/Documents/KB/KBMG-212D-manual.pdf=0ahUKEwjM6aSAtqnUAhUG3IMKHc
>T_CUgQFggqMAA=AFQjCNGFBaUXQadurcokpyECREPoUQtv-A=Pi3K5iam1Y-9U
>dVNt5mrew . It calls for a tach/generator my google foo shows them to
> be very cost prohibitive. I have so far only setup stepper system. I
> am using this as a spindle drive on my mill 90 v treadmill motor. I
> want to be able to rigid tap. My question is can I just use an encoder
> and have Linux cnc control the position ? I think so but before I
> order an encoder I would like to know . Thanks
> Jeremy
>
As long as that controller is passably real time, which with an scr 
controller might be a problem since itr can't react any faster than the 
lines power frequency, I don't see why not. I have one with an 
opto-interruptor setup thats effectively a 268 counts per spindle rev, 
driving by a PID control setup, reacts fast enough to rattle the gears 
between a brushed 1 hp motor and the spindle of a Grizzly G0704, so the 
speed is fairly well controlled. But that has very little to do with 
rigid tapping as the 268 steps per revolution is what the (normally Z) 
axis follows quite accurately.  

I've a similar setup on The Little Monster, a 7x14 mini-lathe, similar 
horsepower but moving a 5" chuck, which has buckets of mass to reverse, 
so the turnaround time at the bottom of the hole can be considerable, 
particularly in terms of overshoot, so I have to drill the hole at least 
4 tap turns deeper, else the tap hits the bottom of the hole, followed 
by the sickening crunch of yet another broken tap.

I have a hall effect encoder ( 240 steps/rev) on an 11x36 sheldon I am 
just now bringing to life, and again, that nearly 8" chuck, and the 
turnaround ballistics of the vfd driving the 1 hp, 3 phase motor will 
also make me keep track of how much deeper I need to drill the hole to 
keep from hitting the bottom of it as its slowing, having reached the 
depth you gave the G33.1 in the call. I've developed some hal code that 
will tell me how much overshoot I have, but on that 3/4 ton machine, I 
don't expect to be able to tap at anything over 250 revs. Those are the 
gotcha's, but if the tap doesn't break, the rigidly tapped hole will be 
tapped nicely.

What I'm trying to say is that a common  A/B/X quadrature output encoder 
(it must have an indeX once per rev) even with much larger slices of 
rotation per step than what I am using, can and has done rigid tapping 
for several folks here. The quadrature gives linuxcnc the direction 
information on the next pulse output as it hits zero speed and starts 
the reversal.

> On Jun 5, 2017 4:05 PM, "Stuart Stevenson"  wrote:
> > Gentlemen,
> >
> > Debian Wheezy
> > latest linuxcnc release - installed today - but the last release did
> > the same thing
> > Axis interface
> > Kasuga 3 axis mill
> >
> > when starting (run from here) on line 310 I get the error "length of
> > cutter compensation entry move is not greater than the tool radius"
> >
> > This only happens when I 'run from here'.
> > When running through the program the machine runs this code just
> > fine. I cannot run through the program as I must change tools in the
> > holder - set the tool length - and - start by picking 'run from
> > here' (right click on the mouse).
> >
> > status window shows G40 prior to initiating 'run from here'
> > after initiating 'run from here' the error shows and the status
> > window shows G41
> > mdi g40 resets the status window
> > reinitiation of 'run from here' shows the error and sets the status
> > window to G41
> >
> > Editing the G41 and G40 out of the program allows 'run from here' to
> > start the machine and run the tool.
> >
> > snippet of code from the program
> >
> > N288X.1684Y-.6104
> > N289G01Z.105F100.0
> > N290G41X.0024F4.0
> > N291Y-1.428
> > N292G40
> > N293X.1024
> > N294G00Z1.115
> > N295M05
> > N296M09
> > N297G91G28Z.0
> > N298(MSG)
> > N299(MSG TOOL T4. IS)
> > N300(MSG DIA0.5000)
> > N301(MSG CRAD   0.)
> > N302(MSG FLTLEN 0.2500)
> > N303(MSG STKOUT 0.5000)
> > N304(MSG)
> > N305(MSG 1/2 SPOT DRILL.)
> > N306(MSG)
> > N307(MSG SPOT DRILL HOLE)
> > N308(MSG)
> > N309(MSG)
> > N310G91G49G28Z.0
> > N311T04M06
> > N312G64P.001
> > N313G90G00G43
> > N314S1400M08
> > N315X1.375Y-3.0M03
> > N316Z1.115
> > N317X-.3Y-.1
> > N318G81X-.2Y-.2Z.075R.275F2.0
> > N319G80M05
> > N320M09
> > N321G91G28Z.0
> >
> > thanks
> > Stuart
> >
> >
> >
> >
> > --
> > Addressee is the intended audience.
> > If you are not the addressee then my consent is not given for you to
> > read this email furthermore it is my wish you would close this
> > without saving or reading, and cease and desist from saving or
> > opening my private correspondence.
> > Thank you for honoring my wish.
> > 

Re: [Emc-users] won't start on line 310 (run from here)

2017-06-06 Thread Stuart Stevenson
will try that - thanks

On Tue, Jun 6, 2017 at 11:53 AM, Jon Elson  wrote:

> On 06/05/2017 03:56 PM, Stuart Stevenson wrote:
>
>> Gentlemen,
>>
>> Debian Wheezy
>> latest linuxcnc release - installed today - but the last release did the
>> same thing
>> Axis interface
>> Kasuga 3 axis mill
>>
>> when starting (run from here) on line 310 I get the error "length of
>> cutter
>> compensation entry move is not greater than the tool radius"
>>
> The message clearly indicates the interpreter thinks cutter radius comp is
> on.
> if it executed the G41 on line N290 but then did NOT execute the G40 on
> line N292, then it would still be in G41 offset mode.  Note the displayed
> modes on the GUI are provided by a DIFFERENT interpreter that is not aware
> of the stop and run from line.  If you need to run from line, it might be
> safest to insert a line with a G40 there, and run from that line to be sure
> the offset is turned off.
>
>>
>> Jon
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread Greg Bentzinger via Emc-users
The way I read the manual page 24 section H. It is saying the tach is a better 
option for fine motor control, but not required.

If you are using a spindle encoder as a tach source to have LinuxCNC control a 
+/- 10VDC connected between terminals COM and SIG (see figure 14).

As Jon stated you will need a spindle control board that is isolated on power 
and ground - This is not just talking about opto isolators.

That is a Cadillac of KB controllers as most will accept speed control - but 
not allow reversing without using an external physical switch/contactor and 
that is sensitive to switching under load.

Be careful - no magic smoke! - bad for your health and painful in the wallet.

Greg - Out yonder in Yoder.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread jeremy youngs
Isolated, as in opto isolator on the bob ? Thank you

On Jun 6, 2017 12:03 PM, "Jon Elson"  wrote:

> On 06/06/2017 09:31 AM, jeremy youngs wrote:
>
>> Good day folks. Im waiting for ebay to drop this at my door
>> https://www.google.com/url?sa=t=web=j=http://
>> spectechind.com/Documents/KB/KBMG-212D-manual.pdf=0ahUKE
>> wjM6aSAtqnUAhUG3IMKHcT_CUgQFggqMAA=AFQjCNGFBaUXQadurcokp
>> yECREPoUQtv-A=Pi3K5iam1Y-9UdVNt5mrew
>> . It calls for a tach/generator my google foo shows them to be very cost
>> prohibitive. I have so far only setup stepper system. I am using this as a
>> spindle drive on my mill 90 v treadmill motor. I want to be able to rigid
>> tap. My question is can I just use an encoder and have Linux cnc control
>> the position ? I think so but before I order an encoder I would like to
>> know .
>>
> Big problem with KB drives is they are NOT isolated from the power mains.
> So, your source of the speed command must be isolated.  Tach generators are
> really just DC brush motors wound to be free of voltage ripple.  Maxon
> makes some nice small motors that make excellent tachs.  You can often find
> them surplus for under $10.
>
> Jon
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread Jon Elson

On 06/06/2017 09:31 AM, jeremy youngs wrote:

Good day folks. Im waiting for ebay to drop this at my door
https://www.google.com/url?sa=t=web=j=http://spectechind.com/Documents/KB/KBMG-212D-manual.pdf=0ahUKEwjM6aSAtqnUAhUG3IMKHcT_CUgQFggqMAA=AFQjCNGFBaUXQadurcokpyECREPoUQtv-A=Pi3K5iam1Y-9UdVNt5mrew
. It calls for a tach/generator my google foo shows them to be very cost
prohibitive. I have so far only setup stepper system. I am using this as a
spindle drive on my mill 90 v treadmill motor. I want to be able to rigid
tap. My question is can I just use an encoder and have Linux cnc control
the position ? I think so but before I order an encoder I would like to
know .
Big problem with KB drives is they are NOT isolated from the 
power mains.  So, your source of the speed command must be 
isolated.  Tach generators are really just DC brush motors 
wound to be free of voltage ripple.  Maxon makes some nice 
small motors that make excellent tachs.  You can often find 
them surplus for under $10.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] won't start on line 310 (run from here)

2017-06-06 Thread Jon Elson

On 06/05/2017 03:56 PM, Stuart Stevenson wrote:

Gentlemen,

Debian Wheezy
latest linuxcnc release - installed today - but the last release did the
same thing
Axis interface
Kasuga 3 axis mill

when starting (run from here) on line 310 I get the error "length of cutter
compensation entry move is not greater than the tool radius"
The message clearly indicates the interpreter thinks cutter 
radius comp is on.
if it executed the G41 on line N290 but then did NOT execute 
the G40 on line N292, then it would still be in G41 offset 
mode.  Note the displayed modes on the GUI are provided by a 
DIFFERENT interpreter that is not aware of the stop and run 
from line.  If you need to run from line, it might be safest 
to insert a line with a G40 there, and run from that line to 
be sure the offset is turned off.



Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Bertho Stultiens
On 06/06/2017 03:30 AM, Gene Heskett wrote:
> Does the image I downloaded Saturday and wrote to an sd card yesterday 
> have this stuff in it?

No, you need to pull the most recent source-files (hm2_rpspi.c and
spi_common_rpspi.h) from the mailing list (or the forum).

Login as pi user and put them in
~/linuxcnc-git/src/hal/drivers/mesa-hostmot2/

Then do:
$ cd ~/linuxcnc-git/src
$ make
$ sudo make setuid
$ ../scripts/linuxcnc -v ../../linuxcnc/configs/sheldon-lathe/7i90-axis.ini

That should run your sheldon lathe config. You may need to update the
config as needed.

-- 
Greetings Bertho

(disclaimers are disclaimed)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RPI saga continues - SPI probably solved

2017-06-06 Thread Gene Heskett
On Monday 05 June 2017 10:20:03 Bertho Stultiens wrote:

> On 06/04/2017 06:15 AM, john mcintyre wrote:
> > Your saga continues, you must be related to a bulldogļ˜Š ,once locked
> > on  it cannot let go.
>
> Isn't this what you call a challenge?
>
>
> Anyway, I've fixed a couple of things, like endianness, which I did
> wrong in the previous versions. This implementation is hard-coded to
> use the RPI hardware peripherals. Also, you can now attach to SPI0 or
> SPI1 ports on the 40-pin header and you may choose any CE line you
> wish (updated man page also attached).
>
> My tests so far have seen stable results, timing wise, although I
> cannot test functionally on a real system (lacking a 7i90 in my
> inventory). Though, the timing has improved with respect to the
> original version.
>
> Read and write SPI clock frequencies may be different now. This will
> help to overcome the SPI round-trip delay while reading (just lower
> the read frequency setting), or when you want buffers on the SPI
> lines.
>
> So, if anybody wants to have a go and test this, please do so and tell
> me how it goes. In the meantime... need to get my hands on a 7i90 (and
> upgrade the mill at the local hackerspace).

Does the image I downloaded Saturday and wrote to an sd card yesterday 
have this stuff in it? I got sidetracked today, doing a poor man's 
set-true to the chuck, and getting it under a thou. Can't go any farther 
w/o reaming the bolt holes in the backing plate a wee bit. Thats pretty 
close, and I've no reamer kit.  Yet. Just one of several items I need to 
acquire, like a live center which I didn't get with it.  And of course 
more tooling, never have enough.

Back when I bought the ER-40 kit, someone said I couldn't use long 
workpieces with it, but it clears several feet of nominally 7/8" OD 
stock, so as long as the OD is no more than that, I don't see a problem, 
but I'll have to make a spider for the left end of the spindle, easily 
done if I can find some brass acorn nuts.

I'll see if I can pull the cover tomorrow and try the new sd card, 
Bertho.  Depends on the weather.

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)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] tach/generator/encoder

2017-06-06 Thread jeremy youngs
Good day folks. Im waiting for ebay to drop this at my door
https://www.google.com/url?sa=t=web=j=http://spectechind.com/Documents/KB/KBMG-212D-manual.pdf=0ahUKEwjM6aSAtqnUAhUG3IMKHcT_CUgQFggqMAA=AFQjCNGFBaUXQadurcokpyECREPoUQtv-A=Pi3K5iam1Y-9UdVNt5mrew
. It calls for a tach/generator my google foo shows them to be very cost
prohibitive. I have so far only setup stepper system. I am using this as a
spindle drive on my mill 90 v treadmill motor. I want to be able to rigid
tap. My question is can I just use an encoder and have Linux cnc control
the position ? I think so but before I order an encoder I would like to
know . Thanks
Jeremy

On Jun 5, 2017 4:05 PM, "Stuart Stevenson"  wrote:

> Gentlemen,
>
> Debian Wheezy
> latest linuxcnc release - installed today - but the last release did the
> same thing
> Axis interface
> Kasuga 3 axis mill
>
> when starting (run from here) on line 310 I get the error "length of cutter
> compensation entry move is not greater than the tool radius"
>
> This only happens when I 'run from here'.
> When running through the program the machine runs this code just fine. I
> cannot run through the program as I must change tools in the holder - set
> the tool length - and - start by picking 'run from here' (right click on
> the mouse).
>
> status window shows G40 prior to initiating 'run from here'
> after initiating 'run from here' the error shows and the status window
> shows G41
> mdi g40 resets the status window
> reinitiation of 'run from here' shows the error and sets the status window
> to G41
>
> Editing the G41 and G40 out of the program allows 'run from here' to start
> the machine and run the tool.
>
> snippet of code from the program
>
> N288X.1684Y-.6104
> N289G01Z.105F100.0
> N290G41X.0024F4.0
> N291Y-1.428
> N292G40
> N293X.1024
> N294G00Z1.115
> N295M05
> N296M09
> N297G91G28Z.0
> N298(MSG)
> N299(MSG TOOL T4. IS)
> N300(MSG DIA0.5000)
> N301(MSG CRAD   0.)
> N302(MSG FLTLEN 0.2500)
> N303(MSG STKOUT 0.5000)
> N304(MSG)
> N305(MSG 1/2 SPOT DRILL.)
> N306(MSG)
> N307(MSG SPOT DRILL HOLE)
> N308(MSG)
> N309(MSG)
> N310G91G49G28Z.0
> N311T04M06
> N312G64P.001
> N313G90G00G43
> N314S1400M08
> N315X1.375Y-3.0M03
> N316Z1.115
> N317X-.3Y-.1
> N318G81X-.2Y-.2Z.075R.275F2.0
> N319G80M05
> N320M09
> N321G91G28Z.0
>
> thanks
> Stuart
>
>
>
>
> --
> Addressee is the intended audience.
> If you are not the addressee then my consent is not given for you to read
> this email furthermore it is my wish you would close this without saving or
> reading, and cease and desist from saving or opening my private
> correspondence.
> Thank you for honoring my wish.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Programmer for a serial EEPROM?

2017-06-06 Thread Rene Hopf
Hi,
for programming I can recommend the TL866 minipro, available from ebay or 
aliexpress.
works great, programs almost everything, and there is open source software 
available for it.

Rene

> On 6. Jun 2017, at 07:24, Philipp Burch  wrote:
> 
> Hi Greg,
> 
> I would assume that this naming difference does not matter, as it seems
> to only affect the package. You could give this datasheet a try:
> 
> http://datasheet.datasheetarchive.com/originals/library/Datasheets-SW21/DSASW00417843.pdf
> 
> or
> 
> http://www.farnell.com/datasheets/1918295.pdf
> 
> On page 74 or 71, respectively, 25Q80BVAIG is listed as top side marking
> for the W25Q80BVDAIG, i.e. PDIP, industrial temp, green package.
> 
> Regards,
> Philipp
> 
> On 05.06.2017 23:00, Gregg Eshelman wrote:
>> I need to reprogram a Winbond 25Q80BVAIG serial EEPROM. It's an 8 pin
>> DIP. I've found some cheap ($5 or less) Chinese programmers on eBay with
>> a ZIF socket and USB. Dunno if they'll work for this chip.
>> 
>> Been trying to find a datasheet but Google and friends insist I cannot
>> read the characters off the chip and will only give me results for a
>> 25Q80BVSIG, or other strings of characters in varying degress of not
>> what I entered.
>> 
>> It IS a 25Q80BVAIG, I've found plenty of clear images of chips with that
>> and it's turned up in lists on sites offering them for sale. Dunno why
>> the search engines have to be so idiotically "helpful".
>> 
>> --
>> 
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users