Re: [Emc-users] Another thought on my failures re following errors

2017-10-23 Thread jrmitchellj .
Don't forget about the alignment of the shadow mask on those color tubes!

Modern TVs are essentially "unserviceable".  New sets can be built faster
than any repair would take.
Fortunately modern sets are vastly more reliable than their predecessors.
Now manufacturers have to come up with gimmicks to sell new sets.
 currently, that is 4K!


Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Mon, Oct 23, 2017 at 4:45 AM, Gene Heskett  wrote:

> On Monday 23 October 2017 04:52:58 andy pugh wrote:
>
> > On 23 October 2017 at 01:35, Gene Heskett  wrote:
> > > Now of course, except for psu electrolytics, tv's aren't generally
> > > repairable, no data. The consumer has been trained to toss & buy
> > > new. :(
> >
> > I think it is more complicated that that.
> >
> > I think that an analogue CRT TV is the last device that any one person
> > could understand all of.
> > I can imagine that there are people who could make a CRT and design
> > the receiver circuits.
> >
> > I don't think that there are many people who can make an LCD, but for
> > the sake of argument I will assume there are some.
> > But I bet those few people don't _also_ understand the digital
> > broadcast codecs.
>
> I think that also is a valid belief Andy. As for the latter, I know how
> to monitor that digital data stream for distortions that can kill your
> range, but couldn't begin to build that encoder. That has all taken
> place since I retired. Building a monochrome crt is a piece of cake, but
> theres a huge amount of precision involved in the laying of the phosphor
> dots or stripes on the back face of the screen in the case of a
> trinitron tube, that few in the world still have working gear to make
> those.
>
> 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
>
--
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] Another thought on my failures re following errors

2017-10-23 Thread Gene Heskett
On Monday 23 October 2017 04:52:58 andy pugh wrote:

> On 23 October 2017 at 01:35, Gene Heskett  wrote:
> > Now of course, except for psu electrolytics, tv's aren't generally
> > repairable, no data. The consumer has been trained to toss & buy
> > new. :(
>
> I think it is more complicated that that.
>
> I think that an analogue CRT TV is the last device that any one person
> could understand all of.
> I can imagine that there are people who could make a CRT and design
> the receiver circuits.
>
> I don't think that there are many people who can make an LCD, but for
> the sake of argument I will assume there are some.
> But I bet those few people don't _also_ understand the digital
> broadcast codecs.

I think that also is a valid belief Andy. As for the latter, I know how 
to monitor that digital data stream for distortions that can kill your 
range, but couldn't begin to build that encoder. That has all taken 
place since I retired. Building a monochrome crt is a piece of cake, but 
theres a huge amount of precision involved in the laying of the phosphor 
dots or stripes on the back face of the screen in the case of a 
trinitron tube, that few in the world still have working gear to make 
those.

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] Another thought on my failures re following errors

2017-10-23 Thread andy pugh
On 23 October 2017 at 01:35, Gene Heskett  wrote:

> Now of course, except for psu electrolytics, tv's aren't generally
> repairable, no data. The consumer has been trained to toss & buy new. :(

I think it is more complicated that that.

I think that an analogue CRT TV is the last device that any one person
could understand all of.
I can imagine that there are people who could make a CRT and design
the receiver circuits.

I don't think that there are many people who can make an LCD, but for
the sake of argument I will assume there are some.
But I bet those few people don't _also_ understand the digital
broadcast codecs.

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

--
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] Another thought on my failures re following errors

2017-10-22 Thread Gene Heskett
On Sunday 22 October 2017 20:00:21 jrmitchellj . wrote:

> I don't even have my First Phone ticket up on the wall anymore.  It
> gets no respect at all now!

When I was looking for work, some decades ago, I'd lay that on the desk 
then make a show of finding my CET card in the wallet. Even then the 1st 
wasn't anything but paper, but eyebrows went up and I got the job when 
they saw the C.E.T. card.  That over-rode any concerns they may have had 
about my 8th grade education.

I do not know if theres another of those cards in West Virginia. Nebraska 
is ISCET HQ, and last I knew, they had issued 122 of those cards, mine 
is NEB-118 issued in '72. Most of them went to Ca. because its a 
requirement to get a business license to open a tv repair shop in Ca.

Now of course, except for psu electrolytics, tv's aren't generally 
repairable, no data. The consumer has been trained to toss & buy new. :(
>
>
> Ray
>
> --J. Ray Mitchell Jr.
> jrmitche...@gmail.com
> (818)324-7573
>
>
> The dogmas of the quiet past, are inadequate to the stormy present.
> The occasion is piled high with difficulty, and we must rise with the
> occasion. As our case is new, so we must think anew and act anew. We
> must disenthrall ourselves, and then we shall save our
> country.*Abraham Lincoln
> *, *Annual
> message to Congress, December 1, 1862*
> *16th president of US (1809 - 1865)*
>
> On Sun, Oct 22, 2017 at 4:31 PM, Gene Heskett  
wrote:
> > On Sunday 22 October 2017 00:31:29 Gene Heskett wrote:
> > > On Saturday 21 October 2017 21:18:28 Gene Heskett wrote:
> > > > On Saturday 21 October 2017 20:36:28 andy pugh wrote:
> > > > > On 21 October 2017 at 23:50, Gene Heskett
> > > > > 
> > >
> > > wrote:
> > > > > > I have 4 ea 5i25's. A 5th one has been tossed as the ptc
> > > > > > blew up hard enough to leave a carbonized crather in the
> > > > > > pcb.
> > > > >
> > > > > You seem to have a rare talent for breaking Mesa cards.
> > > > >
> > > > > > Plugged into the huge Optiplex 745 with a 3.4 GHz dual core
> > > > > > intel cpu, 2 of them will turn the power led orange, which
> > > > > > stops the boot in its tracks in under a second from powerup.
> > > > >
> > > > > I have never seen this with a Mesa card directly in a
> > > > > motherboard slot. I _have_ seen this when using riser cards.
> > > > > Are you using any sort of riser card?
> > > >
> > > > +
> > > > No, sorry to disappoint you. :)
> > >
> > > And just maybe I am not D.I.W. till I get some more 5i25's, toward
> > > the end of the coming week now. Walking out of my midden
> > > heap/den/computer room just now to take my nightly pills and get
> > > ready to catch a few, I spied a box with some r-pi packaging in
> > > it, and halfway to the bottom of the box was a brand new, still
> > > sealed in the pink bag, 5i25 with a full height backplate. So that
> > > one will get tested tomorrow. A sticker even says it already has
> > > the correct firmware loaded.
> > >
> > > My grin is pretty wide right now.
> >
> > But I am not going to get at it in whats left of the day today.
> >
> > You see, radio engineers are a dying breed, no magic left in the FCC
> > ticket, and I am close to the last in this patch of woods.  So when
> > the phone call came in from our local AM daytimer that his nearly 70
> > yo, 1kw Gates transmitter was on the fritz (again, I've been keeping
> > it on the air for nearly 20 years now) I told him it would take a
> > bit to get it all in one sock, but that I'd be there after taking
> > care of the Missus.
> >
> > And I spent the rest of the day replacing semi-cooked parts and
> > tubes. But although we both looked high and low for an 8200 ohm 2
> > watt resistor that I think is in its death throes, Digikey was as
> > close as we found some more of those.  5 of them, metal film 3
> > watters S/B here Wednesday sometime late. But I'm bushed. He has a
> > 50 watt night time transmitter for backup, so that will get some
> > daytime use.
> >
> > As the saying goes. I'm not the man I once was, even once. :)
> > Sigh...
> >
> > > > Cheers, Gene Heskett
> > >
> > > Cheers, Gene Heskett
> >
> > 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
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.lin

Re: [Emc-users] Another thought on my failures re following errors

2017-10-22 Thread jrmitchellj .
I don't even have my First Phone ticket up on the wall anymore.  It gets no
respect at all now!


Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Sun, Oct 22, 2017 at 4:31 PM, Gene Heskett  wrote:

> On Sunday 22 October 2017 00:31:29 Gene Heskett wrote:
>
> > On Saturday 21 October 2017 21:18:28 Gene Heskett wrote:
> > > On Saturday 21 October 2017 20:36:28 andy pugh wrote:
> > > > On 21 October 2017 at 23:50, Gene Heskett 
> >
> > wrote:
> > > > > I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up
> > > > > hard enough to leave a carbonized crather in the pcb.
> > > >
> > > > You seem to have a rare talent for breaking Mesa cards.
> > > >
> > > > > Plugged into the huge Optiplex 745 with a 3.4 GHz dual core
> > > > > intel cpu, 2 of them will turn the power led orange, which stops
> > > > > the boot in its tracks in under a second from powerup.
> > > >
> > > > I have never seen this with a Mesa card directly in a motherboard
> > > > slot. I _have_ seen this when using riser cards. Are you using any
> > > > sort of riser card?
> > >
> > > +
> > > No, sorry to disappoint you. :)
> >
> > And just maybe I am not D.I.W. till I get some more 5i25's, toward the
> > end of the coming week now. Walking out of my midden heap/den/computer
> > room just now to take my nightly pills and get ready to catch a few, I
> > spied a box with some r-pi packaging in it, and halfway to the bottom
> > of the box was a brand new, still sealed in the pink bag, 5i25 with a
> > full height backplate. So that one will get tested tomorrow. A sticker
> > even says it already has the correct firmware loaded.
> >
> > My grin is pretty wide right now.
> >
> But I am not going to get at it in whats left of the day today.
>
> You see, radio engineers are a dying breed, no magic left in the FCC
> ticket, and I am close to the last in this patch of woods.  So when the
> phone call came in from our local AM daytimer that his nearly 70 yo, 1kw
> Gates transmitter was on the fritz (again, I've been keeping it on the
> air for nearly 20 years now) I told him it would take a bit to get it
> all in one sock, but that I'd be there after taking care of the Missus.
>
> And I spent the rest of the day replacing semi-cooked parts and tubes.
> But although we both looked high and low for an 8200 ohm 2 watt resistor
> that I think is in its death throes, Digikey was as close as we found
> some more of those.  5 of them, metal film 3 watters S/B here Wednesday
> sometime late. But I'm bushed. He has a 50 watt night time transmitter
> for backup, so that will get some daytime use.
>
> As the saying goes. I'm not the man I once was, even once. :)
> Sigh...
>
> > > Cheers, Gene Heskett
> >
> > Cheers, Gene Heskett
>
>
> 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
>
--
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] Another thought on my failures re following errors

2017-10-22 Thread Gene Heskett
On Sunday 22 October 2017 00:31:29 Gene Heskett wrote:

> On Saturday 21 October 2017 21:18:28 Gene Heskett wrote:
> > On Saturday 21 October 2017 20:36:28 andy pugh wrote:
> > > On 21 October 2017 at 23:50, Gene Heskett 
>
> wrote:
> > > > I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up
> > > > hard enough to leave a carbonized crather in the pcb.
> > >
> > > You seem to have a rare talent for breaking Mesa cards.
> > >
> > > > Plugged into the huge Optiplex 745 with a 3.4 GHz dual core
> > > > intel cpu, 2 of them will turn the power led orange, which stops
> > > > the boot in its tracks in under a second from powerup.
> > >
> > > I have never seen this with a Mesa card directly in a motherboard
> > > slot. I _have_ seen this when using riser cards. Are you using any
> > > sort of riser card?
> >
> > +
> > No, sorry to disappoint you. :)
>
> And just maybe I am not D.I.W. till I get some more 5i25's, toward the
> end of the coming week now. Walking out of my midden heap/den/computer
> room just now to take my nightly pills and get ready to catch a few, I
> spied a box with some r-pi packaging in it, and halfway to the bottom
> of the box was a brand new, still sealed in the pink bag, 5i25 with a
> full height backplate. So that one will get tested tomorrow. A sticker
> even says it already has the correct firmware loaded.
>
> My grin is pretty wide right now.
>
But I am not going to get at it in whats left of the day today.

You see, radio engineers are a dying breed, no magic left in the FCC 
ticket, and I am close to the last in this patch of woods.  So when the 
phone call came in from our local AM daytimer that his nearly 70 yo, 1kw 
Gates transmitter was on the fritz (again, I've been keeping it on the 
air for nearly 20 years now) I told him it would take a bit to get it 
all in one sock, but that I'd be there after taking care of the Missus.

And I spent the rest of the day replacing semi-cooked parts and tubes. 
But although we both looked high and low for an 8200 ohm 2 watt resistor 
that I think is in its death throes, Digikey was as close as we found 
some more of those.  5 of them, metal film 3 watters S/B here Wednesday 
sometime late. But I'm bushed. He has a 50 watt night time transmitter 
for backup, so that will get some daytime use.

As the saying goes. I'm not the man I once was, even once. :)
Sigh...

> > Cheers, Gene Heskett
>
> Cheers, Gene Heskett


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] Another thought on my failures re following errors

2017-10-21 Thread Gene Heskett
On Saturday 21 October 2017 21:18:28 Gene Heskett wrote:

> On Saturday 21 October 2017 20:36:28 andy pugh wrote:
> > On 21 October 2017 at 23:50, Gene Heskett  
wrote:
> > > I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up
> > > hard enough to leave a carbonized crather in the pcb.
> >
> > You seem to have a rare talent for breaking Mesa cards.
> >
> > > Plugged into the huge Optiplex 745 with a 3.4 GHz dual core intel
> > > cpu, 2 of them will turn the power led orange, which stops the
> > > boot in its tracks in under a second from powerup.
> >
> > I have never seen this with a Mesa card directly in a motherboard
> > slot. I _have_ seen this when using riser cards. Are you using any
> > sort of riser card?
>
> +
> No, sorry to disappoint you. :)
>
And just maybe I am not D.I.W. till I get some more 5i25's, toward the 
end of the coming week now. Walking out of my midden heap/den/computer 
room just now to take my nightly pills and get ready to catch a few, I 
spied a box with some r-pi packaging in it, and halfway to the bottom of 
the box was a brand new, still sealed in the pink bag, 5i25 with a full 
height backplate. So that one will get tested tomorrow. A sticker even 
says it already has the correct firmware loaded.

My grin is pretty wide right now.
> Cheers, Gene Heskett


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] Another thought on my failures re following errors

2017-10-21 Thread Gene Heskett
On Saturday 21 October 2017 20:36:28 andy pugh wrote:

> On 21 October 2017 at 23:50, Gene Heskett  wrote:
> > I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up
> > hard enough to leave a carbonized crather in the pcb.
>
> You seem to have a rare talent for breaking Mesa cards.
>
> > Plugged into the huge Optiplex 745 with a 3.4 GHz dual core intel
> > cpu, 2 of them will turn the power led orange, which stops the boot
> > in its tracks in under a second from powerup.
>
> I have never seen this with a Mesa card directly in a motherboard
> slot. I _have_ seen this when using riser cards. Are you using any
> sort of riser card?
+
No, sorry to disappoint you. :)

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] Another thought on my failures re following errors

2017-10-21 Thread andy pugh
On 21 October 2017 at 23:50, Gene Heskett  wrote:

> I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up hard
> enough to leave a carbonized crather in the pcb.

You seem to have a rare talent for breaking Mesa cards.

> Plugged into the huge Optiplex 745 with a 3.4 GHz dual core intel cpu, 2
> of them will turn the power led orange, which stops the boot in its
> tracks in under a second from powerup.

I have never seen this with a Mesa card directly in a motherboard
slot. I _have_ seen this when using riser cards. Are you using any
sort of riser card?


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

--
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] Another thought on my failures re following errors

2017-10-21 Thread jrmitchellj .
I would get to a very basic setup then add a feature or two at a time,
test, rinse, repeat, until it breaks, then back up one step.
Disable things like backlash & leadscrew correction, as I think they could
have an effect on counting.

Some of the signals in your HAL example are quite different than what i
have in my config.  Did things change a lot in 2.8?
I don't have anything with "joint" in the name.  Do have a bunch with
"axis" in the name.

Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com


The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Sat, Oct 21, 2017 at 3:50 PM, Gene Heskett  wrote:

> On Saturday 21 October 2017 13:17:13 Gene Heskett wrote:
>
> > On Friday 20 October 2017 21:27:43 Gene Heskett wrote:
> > > On Friday 20 October 2017 20:41:04 andy pugh wrote:
> > > > On 20 October 2017 at 20:00, Gene Heskett 
> > > > wrote:
> >
> > What I saw while running it with halrun, is that its working fine.
> >
> > But I may have found the problem. Somehow, and I don't recall doing
> > it, I have wound up trying to run all 3 steppers in both position, AND
> > velocity modes. How I arrived at that shall remain a mystery, but
> > probably by following man pages. Referring to the 750 page doc, since
> > the docs for the 5i25 are totally mute of any operational
> > configuration help, I find the docs say under hal components,
> > stepgens:
> >
> > velocity-cmd (only for velocity mode)
> > and
> > position-cmd (only for position mode)
> >
> > That seems to be the only place where that restriction is mentioned.
> >
> > So now I need to go thru the .hal file and make it one or the other.
> >
> > For a 3 or 4 axis mill, is there a best way?
> >
> > I've always used position, but I can as I've learned, that there are
> > also advantages to velocity, but do they actually exist w/o an encoder
> > feedback, which is normally not done with steppers.
> >
> > I have gone thru the hal file in the last 4 or 5 days, and cleaned it
> > up to be more logically readable, without actually changing anything,
> > so here is that hookup stanza for Z:
> >
> > #*
> > # ---closedloop stepper signals for Z
> > #*
> > net z-pos-cmd   <= joint.2.motor-pos-cmd => pid.z.command
> > net z-vel-cmd   <= joint.2.vel-cmd => pid.z.command-deriv
> > net z-pos-fb<= hm2_5i25.0.stepgen.02.position-fb =>
> > joint.2.motor-pos-fb pid.z.feedback net z-idx-ena   <=>
> > pid.z.index-enable
> > net z-mtr-vel   <=  pid.z.output => hm2_5i25.0.stepgen.02.velocity-cmd
> > net z-enable<= joint.2.amp-enable-out =>
> > hm2_5i25.0.stepgen.02.enable pid.z.enable
> >
> > This is what all 3 active axises look like. So which do I nuke out of
> > the above to arrive at pure position, or pure velocity control? And
> > what about line 2?
> >
> > The assumption seems to be, if following the description starting on
> > page 655 of the doc.pdf, is all position mode, the velocity pins
> > aren't even shown in the gfx on the next page.  If the velocity mode
> > has been added since that gfx was created, perhaps the gfx should also
> > be updated to reflect that? In the meantime I am going to make it
> > position only, just for S&G.  With luck, this will fix it.
> >
>
> Update after todays frustrations. Background. I have two Dells, one 520x
> I generally use for programming these cards, either in its one pci slot,
> or for 7i90's, a 3 foot parallel cable to fit the parport on one end,
> and the 26 pin header of a 7i90 on the other.
>
> I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up hard
> enough to leave a carbonized crather in the pcb. So it is not counted in
> the 4 I have.  All have been flashed with 5i25_prob_rfx2.bit files, and
> at least 3 that will do a verify against that file, when plugged into
> the Dell 520.
>
> Plugged into the huge Optiplex 745 with a 3.4 GHz dual core intel cpu, 2
> of them will turn the power led orange, which stops the boot in its
> tracks in under a second from powerup.
>
> And two of them look to be 100% functional cards when plugged into the
> big Optiplex, except, with the pid's enabled, and the stepgens enabled,
> I can see the stepgen.nn.position-cmd's from the pid's just fine, but
> now no counts ever occur, and of course the position-fb's remain at
> 0..
>
> Loading up Andy's test config, after the loadrt of hm2_pci, a show shows
> a boatload of data, all of which looks good to me.
>
> One of the pins on the 2 cards that don't kill the Optiplex, does show,
> and that registers on the DRO too, the backlash move when I change the
> requested movement dir

Re: [Emc-users] Another thought on my failures re following errors

2017-10-21 Thread Gene Heskett
On Saturday 21 October 2017 13:17:13 Gene Heskett wrote:

> On Friday 20 October 2017 21:27:43 Gene Heskett wrote:
> > On Friday 20 October 2017 20:41:04 andy pugh wrote:
> > > On 20 October 2017 at 20:00, Gene Heskett 
> > > wrote:
>
> What I saw while running it with halrun, is that its working fine.
>
> But I may have found the problem. Somehow, and I don't recall doing
> it, I have wound up trying to run all 3 steppers in both position, AND
> velocity modes. How I arrived at that shall remain a mystery, but
> probably by following man pages. Referring to the 750 page doc, since
> the docs for the 5i25 are totally mute of any operational
> configuration help, I find the docs say under hal components,
> stepgens:
>
> velocity-cmd (only for velocity mode)
> and
> position-cmd (only for position mode)
>
> That seems to be the only place where that restriction is mentioned.
>
> So now I need to go thru the .hal file and make it one or the other.
>
> For a 3 or 4 axis mill, is there a best way?
>
> I've always used position, but I can as I've learned, that there are
> also advantages to velocity, but do they actually exist w/o an encoder
> feedback, which is normally not done with steppers.
>
> I have gone thru the hal file in the last 4 or 5 days, and cleaned it
> up to be more logically readable, without actually changing anything,
> so here is that hookup stanza for Z:
>
> #*
> # ---closedloop stepper signals for Z
> #*
> net z-pos-cmd   <= joint.2.motor-pos-cmd => pid.z.command
> net z-vel-cmd   <= joint.2.vel-cmd => pid.z.command-deriv
> net z-pos-fb<= hm2_5i25.0.stepgen.02.position-fb =>
> joint.2.motor-pos-fb pid.z.feedback net z-idx-ena   <=>
> pid.z.index-enable
> net z-mtr-vel   <=  pid.z.output => hm2_5i25.0.stepgen.02.velocity-cmd
> net z-enable<= joint.2.amp-enable-out =>
> hm2_5i25.0.stepgen.02.enable pid.z.enable
>
> This is what all 3 active axises look like. So which do I nuke out of
> the above to arrive at pure position, or pure velocity control? And
> what about line 2?
>
> The assumption seems to be, if following the description starting on
> page 655 of the doc.pdf, is all position mode, the velocity pins
> aren't even shown in the gfx on the next page.  If the velocity mode
> has been added since that gfx was created, perhaps the gfx should also
> be updated to reflect that? In the meantime I am going to make it
> position only, just for S&G.  With luck, this will fix it.
>

Update after todays frustrations. Background. I have two Dells, one 520x 
I generally use for programming these cards, either in its one pci slot, 
or for 7i90's, a 3 foot parallel cable to fit the parport on one end, 
and the 26 pin header of a 7i90 on the other.

I have 4 ea 5i25's. A 5th one has been tossed as the ptc blew up hard 
enough to leave a carbonized crather in the pcb. So it is not counted in 
the 4 I have.  All have been flashed with 5i25_prob_rfx2.bit files, and 
at least 3 that will do a verify against that file, when plugged into 
the Dell 520.

Plugged into the huge Optiplex 745 with a 3.4 GHz dual core intel cpu, 2 
of them will turn the power led orange, which stops the boot in its 
tracks in under a second from powerup.

And two of them look to be 100% functional cards when plugged into the 
big Optiplex, except, with the pid's enabled, and the stepgens enabled, 
I can see the stepgen.nn.position-cmd's from the pid's just fine, but 
now no counts ever occur, and of course the position-fb's remain at 
0..

Loading up Andy's test config, after the loadrt of hm2_pci, a show shows 
a boatload of data, all of which looks good to me.

One of the pins on the 2 cards that don't kill the Optiplex, does show, 
and that registers on the DRO too, the backlash move when I change the 
requested movement direction. Something is the .002 to .003" range, but 
after that, its all silent until I have moved that axis enough to 
trigger the following error.

Its close to $200 for another pair of those 5i25's, so what are the 
chances they can be repaired for a bit less total sheckles?

Thanks everybody.

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] Another thought on my failures re following errors

2017-10-21 Thread Gene Heskett
On Saturday 21 October 2017 13:54:41 jrmitchellj . wrote:

> What 750 page document are you referring to?
>
> Ray
>
Linuxcnc-Documentation.pdf, its on the harddrive of any lcnc install,
in /usr/share/doc/linuxcnc/ is IIRC the path to it. And its updated 
at the same time your LCNC install is, in my case a 2.8.0-pre1-3371 dated 
10/17/2017.

And once I had stripped my hal file down to this:

net x-pos-cmd   <= joint.0.motor-pos-cmd => pid.x.command # desired position
net x-mtr-cmd   <= pid.x.output => hm2_5i25.0.stepgen.00.position-cmd
net x-pos-fb<= hm2_5i25.0.stepgen.00.position-fb =>  pid.x.feedback 
joint.0.motor-pos-fb
net x-enable<= joint.0.amp-enable-out   => hm2_5i25.0.stepgen.00.enable 
pid.x.enable

copy/pasted/edited for the other 2 axises, restarting linuxcnc -l and 
loading up enough halmeters to follow all the way thru from joint.n 
back to joint.n.position-fb, I find the pid's are as expected. The
position is arriving at hm2_5i25.0.stepgen.nn.position-cmd just
fine.

But while all .enables are true, there is not a .count accumulated at the
output of any stepgen, nor is there an output from any stepgens position-fb

So I am still looking at an error shutdown for moving any axis more 
than a thou.

I have 2 more cards, but will need to remove the short brackets to test 
them, which I'll do now that I've made some late lunch for Dee and the
same but less bread for moi. They also did not work in the low profile
Dell Dimension 745's. But I'll test them in this Optiplex 745 just to be
sure.

> --J. Ray Mitchell Jr.
> jrmitche...@gmail.com
> (818)324-7573
>

Thanks Ray.

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] Another thought on my failures re following errors

2017-10-21 Thread jrmitchellj .
What 750 page document are you referring to?

Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com
(818)324-7573


The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Sat, Oct 21, 2017 at 10:17 AM, Gene Heskett  wrote:

> On Friday 20 October 2017 21:27:43 Gene Heskett wrote:
>
> > On Friday 20 October 2017 20:41:04 andy pugh wrote:
> > > On 20 October 2017 at 20:00, Gene Heskett 
> wrote:
>
> What I saw while running it with halrun, is that its working fine.
>
> But I may have found the problem. Somehow, and I don't recall doing it,
> I have wound up trying to run all 3 steppers in both position, AND
> velocity modes. How I arrived at that shall remain a mystery, but
> probably by following man pages. Referring to the 750 page doc, since
> the docs for the 5i25 are totally mute of any operational
> configuration help, I find the docs say under hal components, stepgens:
>
> velocity-cmd (only for velocity mode)
> and
> position-cmd (only for position mode)
>
> That seems to be the only place where that restriction is mentioned.
>
> So now I need to go thru the .hal file and make it one or the other.
>
> For a 3 or 4 axis mill, is there a best way?
>
> I've always used position, but I can as I've learned, that there are
> also advantages to velocity, but do they actually exist w/o an encoder
> feedback, which is normally not done with steppers.
>
> I have gone thru the hal file in the last 4 or 5 days, and cleaned it up
> to be more logically readable, without actually changing anything, so
> here is that hookup stanza for Z:
>
> #*
> # ---closedloop stepper signals for Z
> #*
> net z-pos-cmd   <= joint.2.motor-pos-cmd => pid.z.command
> net z-vel-cmd   <= joint.2.vel-cmd => pid.z.command-deriv
> net z-pos-fb<= hm2_5i25.0.stepgen.02.position-fb =>
> joint.2.motor-pos-fb pid.z.feedback
> net z-idx-ena   <=> pid.z.index-enable
> net z-mtr-vel   <=  pid.z.output => hm2_5i25.0.stepgen.02.velocity-cmd
> net z-enable<= joint.2.amp-enable-out => hm2_5i25.0.stepgen.02.enable
> pid.z.enable
>
> This is what all 3 active axises look like. So which do I nuke out of the
> above to arrive at pure position, or pure velocity control? And what about
> line 2?
>
> The assumption seems to be, if following the description starting on
> page 655 of the doc.pdf, is all position mode, the velocity pins aren't
> even shown in the gfx on the next page.  If the velocity mode has been
> added since that gfx was created, perhaps the gfx should also be updated
> to reflect that? In the meantime I am going to make it position only,
> just for S&G.  With luck, this will fix it.
>
> 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
>
--
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] Another thought on my failures re following errors

2017-10-21 Thread Gene Heskett
On Friday 20 October 2017 21:27:43 Gene Heskett wrote:

> On Friday 20 October 2017 20:41:04 andy pugh wrote:
> > On 20 October 2017 at 20:00, Gene Heskett  wrote:

What I saw while running it with halrun, is that its working fine.

But I may have found the problem. Somehow, and I don't recall doing it, 
I have wound up trying to run all 3 steppers in both position, AND 
velocity modes. How I arrived at that shall remain a mystery, but 
probably by following man pages. Referring to the 750 page doc, since 
the docs for the 5i25 are totally mute of any operational 
configuration help, I find the docs say under hal components, stepgens:

velocity-cmd (only for velocity mode)
and
position-cmd (only for position mode)

That seems to be the only place where that restriction is mentioned.

So now I need to go thru the .hal file and make it one or the other.

For a 3 or 4 axis mill, is there a best way?

I've always used position, but I can as I've learned, that there are 
also advantages to velocity, but do they actually exist w/o an encoder
feedback, which is normally not done with steppers.

I have gone thru the hal file in the last 4 or 5 days, and cleaned it up 
to be more logically readable, without actually changing anything, so 
here is that hookup stanza for Z:

#*
# ---closedloop stepper signals for Z
#*
net z-pos-cmd   <= joint.2.motor-pos-cmd => pid.z.command
net z-vel-cmd   <= joint.2.vel-cmd => pid.z.command-deriv
net z-pos-fb<= hm2_5i25.0.stepgen.02.position-fb => joint.2.motor-pos-fb 
pid.z.feedback
net z-idx-ena   <=> pid.z.index-enable
net z-mtr-vel   <=  pid.z.output => hm2_5i25.0.stepgen.02.velocity-cmd
net z-enable<= joint.2.amp-enable-out => hm2_5i25.0.stepgen.02.enable 
pid.z.enable

This is what all 3 active axises look like. So which do I nuke out of the 
above to arrive at pure position, or pure velocity control? And what about line 
2?

The assumption seems to be, if following the description starting on 
page 655 of the doc.pdf, is all position mode, the velocity pins aren't
even shown in the gfx on the next page.  If the velocity mode has been
added since that gfx was created, perhaps the gfx should also be updated
to reflect that? In the meantime I am going to make it position only,
just for S&G.  With luck, this will fix it.

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] Another thought on my failures re following errors

2017-10-20 Thread Gene Heskett
On Friday 20 October 2017 20:41:04 andy pugh wrote:

> On 20 October 2017 at 20:00, Gene Heskett  wrote:
> > from the cli, loadrt is command not found, but I wasn't smart enough
> > to do a halcmd first.
>
> Sorry, my error.
>
No, I would not say so. It is just that this has me so flustered its easy 
to forget. I am the one who dropped the ball.

> Start with "halrun" to start an interactive realtime HAL session.
> (It's an enormously powerful way to test things and know exactly what
> is going on)

I'll see if I can do that tommorrow.

I finished off what was left of daylight by going out to Wallies and 
getting one of those electric leaf vacuums and converting about 2 years 
worth of fallen pin oak leaves piled up against the house and front 
deck, into half a contractors bag of mulched up stuff. I helped Dee 
plant that tree, about 8 feet of it then, at least a year before we 
married in '89. Now its around 60 feet high, and this time of the year, 
a very prolific leaf producer. And thats a fire hazard I didn't clean up 
very well last fall, didn't feel like it. It looks healthy, but its 
sheer size is making me think It could come down in the next high wind. 
It was the only one still standing on this street after a straight line 
blow of 112 mph came off the hill west of here about 600 feet. Anything 
else over 20 feet tall went down, broke off or uprooted.  It was then 
pushing 50 feet tall, and Dee watched it from the front door, bending 
back and forth at least 20 feet each way. A pin oak is one tough cookie, 
grab a set of ratcheting loppers and go trim off a 1" thick branch thats 
hanging a bit low, you'd think you were cutting 1/2" steel rebar with 
bolt cutters. Converting that into sticks small enough to burn in the 
trash burner is best described as a 4 letter word, work. But the summer 
shade is priceless. Not to mention it cuts the AC bill.

Back on subject, what did you think of what I found today?

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] Another thought on my failures re following errors

2017-10-20 Thread andy pugh
On 20 October 2017 at 20:00, Gene Heskett  wrote:

> from the cli, loadrt is command not found, but I wasn't smart enough to
> do a halcmd first.

Sorry, my error.

Start with "halrun" to start an interactive realtime HAL session.
(It's an enormously powerful way to test things and know exactly what
is going on)


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

--
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] Another thought on my failures re following errors

2017-10-20 Thread Gene Heskett
On Friday 20 October 2017 08:10:56 Gene Heskett wrote:

> On Friday 20 October 2017 04:55:01 andy pugh wrote:
> > On 20 October 2017 at 02:43, Gene Heskett  
wrote:
> > > Got that done, hooked it up and fixed the network (damned udev)
> > > and then ran the mills config.  Exact same problem. That leaves me
> > > with a stack of bad 5i25's, or a config problem, but I have spent
> > > my time the last 3 days disabling one or more functions at a time
> > > until I was clear down to nothing but the 3 axises. w/o effecting
> > > the problem.
> >
> > You could try going even simpler. Test at the command-line
> >
> > loadrt hostmot2

from the cli, loadrt is command not found, but I wasn't smart enough to 
do a halcmd first.

But I've just noticed that something has apparently set a debug command 
into the 5i25 and its NOT in the configuration. So now I can see all the 
stepgen.#.dbg pins. When the machine is live, just waiting to error once 
an axis has been moved, like the z has been moved a couple thou from 
initial position and enable time.

stepgen.N.dgb-step-rate for any axis that has been moved, but it hasn't 
errored yet, shows extremely large, 5 digits, random sign, and no 
decimal point, essentially raw noise that spans most of a u32 value!
I thought that was a steady clock?  Its a 0 if that axis has not been 
moved yet since running lcnc from a cli.

Does this sound normal?

I just checked TLM, and those dbg pins are enabled on it too, (and its 
the only other working 5i25 setup,) and its working well. Looking at the 
stepgen.N.dbg-step-rate pin, it runs way high, + or - 6 digits, and the 
sign matches the key I pressed, and it appears to degenerate back to 0 
in about 1/2 second after I release the "move it" button.

So that is how it looks in "normal" operation.  Me, goes off scratching 
my thinning hair, and to go see if the missus needs anything.

Thanks all.

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] Another thought on my failures re following errors

2017-10-20 Thread Gene Heskett
On Friday 20 October 2017 04:55:01 andy pugh wrote:

> On 20 October 2017 at 02:43, Gene Heskett  wrote:
> > Got that done, hooked it up and fixed the network (damned udev) and
> > then ran the mills config.  Exact same problem. That leaves me with
> > a stack of bad 5i25's, or a config problem, but I have spent my time
> > the last 3 days disabling one or more functions at a time until I
> > was clear down to nothing but the 3 axises. w/o effecting the
> > problem.
>
> You could try going even simpler. Test at the command-line
>
> loadrt hostmot2
> loadrt hm2_pci
> setp hm2_5i25.0.stepgen.00.position-scale 1000
> setp hm2_5i25.0.stepgen.01.position-scale 1000
> setp hm2_5i25.0.stepgen.02.position-scale 1000
> loadrt threads
> addf hm2_5i25.0.read thread1
> addf hm2_5i25.0.write thread1
> start
>
> setp hm2_5i25.0.stepgen.00.enable 1
> {might need to setp a GPIO for enable here too)
> setp hm2_5i25.0.stepgen.01.position-cmd  0.5
>
> (and so on)

Before I spend any great time doing that, I need to put a fan in the 
psu, its running warm.  Or go move a cable and check it on the other 
smaller, somewhat slower machine that also is exhibiting the problem.

First of course is do something about my caffiene/blood ratio, I'm about 
a quart low this time of the morning, 07:35.

This seems to be a problem, according to my poking around with halmeters 
and the halscope, of a PID problem. The pi-3b is running that 11x36 
sheldon lathe without any PID's. PID's, it seems to me, are mainly for 
servo's, and the only real "servo" in this machine is the spindle.  
So I may cobble up a 3rd config that drives the steppers using the same 
hal hookups the pi is using. This way the joint co-ordination isn't subject
to the rubber band effect in the pid's.

example for Z from the pi's hm2-7i90-stepper.hal:
# Z position command and feedback
net emcmot.01.pos-cmd   <= joint.1.motor-pos-cmd
net emcmot.01.pos-cmd   => hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-cmd
net motor.01.pos-fb <= hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-fb
net motor.01.pos-fb => joint.1.motor-pos-fb Z-axis-track.in
# axis enable chain
newsig emcmot.01.enable bit
net emcmot.01.enable<= joint.1.amp-enable-out
net emcmot.01.enable=> hm2_[HOSTMOT2](BOARD).0.stepgen.00.enable

And the pi runs it great. With the vfd, I don't even have the pos-fb path 
hooked up, and the rigid threading is all slaved to the spindle encoders 
output.

The extra Z-axis-track.in is part of the overshoot tracker, which on the 
lathe with its vfd spindle drive and a heavy chuck, takes much longer to 
effect the end of a g33.1's reversal, so I needed a way to quantify how
much overshoot there is. So practically, I can't run a g33.1 at more than 
200 rpms unless the hole is drilled thru. So now I can run it cutting air, 
watch the overshoot with a halmeter, convert it to distance and subtract 
that from the #<_z_depth> value fed to g33.1. No more broken taps from
hitting the bottom of the hole. (if I don't forget...).

The newsig might not even be needed since the net command creates it anyway.
I think thats a leftover from the example I started with.

Now, first things first, coffee.

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] Another thought on my failures re following errors

2017-10-20 Thread andy pugh
On 20 October 2017 at 02:43, Gene Heskett  wrote:

> Got that done, hooked it up and fixed the network (damned udev) and then
> ran the mills config.  Exact same problem. That leaves me with a stack
> of bad 5i25's, or a config problem, but I have spent my time the last 3
> days disabling one or more functions at a time until I was clear down to
> nothing but the 3 axises. w/o effecting the problem.

You could try going even simpler. Test at the command-line

loadrt hostmot2
loadrt hm2_pci
setp hm2_5i25.0.stepgen.00.position-scale 1000
setp hm2_5i25.0.stepgen.01.position-scale 1000
setp hm2_5i25.0.stepgen.02.position-scale 1000
loadrt threads
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
start

setp hm2_5i25.0.stepgen.00.enable 1
{might need to setp a GPIO for enable here too)
setp hm2_5i25.0.stepgen.01.position-cmd  0.5

(and so on)

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

--
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] Another thought on my failures re following errors

2017-10-19 Thread Gene Heskett
On Tuesday 17 October 2017 15:26:06 Gene Heskett wrote:

> On Tuesday 17 October 2017 11:01:29 Gene Heskett wrote:
> > Greetings everybody;
> >
> > It occurred to me later last night, that these following errors
> > absolutely have to be bus or card failure related.  The LCNC system
> > has no feedback from the motors, only from the 5i25. So as long as
> > thats working, I ought to be able to jog an axis at a reasonable
> > speed until it thinks its run into a software set limit and do it
> > without any following errors as long as the card is reporting back
> > to LCNC that it has moved the motor by however far it was commanded
> > to move.
> >
> > Ok, so test. I also have another Dell of that same vintage but a
> > slower p4 cpu.  And while I use it mainly for programming the
> > 5i25's, it does have linuxcnc installed.  So it could serve as a
> > test mule. Stay tuned.
> >
> > Sometimes my one track mind can't see the trees for all the forest.
> > :(
> >
> > An even newer patch for rt kernels was released on the linux-rt list
> > this morning, so I have the rock64 building that, 4.11.12-rt16. 
> > I'll test that when I figure out how the rock64 selects it versions
> > to boot, its not clear to me yet. ATM its running the issue stretch
> > kernel.
> >
> > So many irons, so little fire...
> >
> > Cheers, Gene Heskett
>
> Update, with one of the missbehaving 5i25's in this slower Dell it ran
> a couple of my old configs for TLM without a hiccup.
>
> So I did a temporary sshfs hookup and copied the complete
> config/GO704fast directory to that machine. Without Jons pwm-servo to
> initialize, I had to troll thru the hal file, nuking any references to
> the boot module that requires, until it would run with nothing but the
> card in the pci slot. About 10 lines commented and one setp added to
> duplicate what the commented code did.
>
> The problem came with the config!!!
>
> So now, nuke the extra stuff in the ini file until it Just Works
> again.
>
> Back later, hopefully with a finger pointed at the culprit.
>
> Cheers, Gene Heskett

I guess this is later...

The replacement computer arrived around 18:00 this evening.  After 
feeding us, I undertook to move the HD to the much bigger Optiplex 745.

That thing is a monster, both size and weight compared to a Dimension 
745. Didn't leave it running long, the psu fan is froze up.

Got that done, hooked it up and fixed the network (damned udev) and then 
ran the mills config.  Exact same problem. That leaves me with a stack 
of bad 5i25's, or a config problem, but I have spent my time the last 3 
days disabling one or more functions at a time until I was clear down to 
nothing but the 3 axises. w/o effecting the problem. When an axis has 
once been moved, it never stops, but hunts around where it stopped until 
I quit LCNC and start it again.  Once an axis has been moved, all axises 
are being sent random noise on the step lines, and much higher rep rate 
noise on the dir lines.  You can see the motion on the axises stepgen-fb 
lines, and if you wait long enough it will throw a following error. I 
can touch the z coupling, and if the cables are plugged in, its 
downright nervous.

So, I call John or Peter in the morning and see if these can be repaired, 
and if not, order 2 more so I have a spare.  Again.

Thats all folks!

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] Another thought on my failures re following errors

2017-10-17 Thread Gene Heskett
On Tuesday 17 October 2017 11:01:29 Gene Heskett wrote:

> Greetings everybody;
>
> It occurred to me later last night, that these following errors
> absolutely have to be bus or card failure related.  The LCNC system
> has no feedback from the motors, only from the 5i25. So as long as
> thats working, I ought to be able to jog an axis at a reasonable speed
> until it thinks its run into a software set limit and do it without
> any following errors as long as the card is reporting back to LCNC
> that it has moved the motor by however far it was commanded to move.
>
> Ok, so test. I also have another Dell of that same vintage but a
> slower p4 cpu.  And while I use it mainly for programming the 5i25's,
> it does have linuxcnc installed.  So it could serve as a test mule.
> Stay tuned.
>
> Sometimes my one track mind can't see the trees for all the forest. :(
>
> An even newer patch for rt kernels was released on the linux-rt list
> this morning, so I have the rock64 building that, 4.11.12-rt16.  I'll
> test that when I figure out how the rock64 selects it versions to
> boot, its not clear to me yet. ATM its running the issue stretch
> kernel.
>
> So many irons, so little fire...
>
> Cheers, Gene Heskett

Update, with one of the missbehaving 5i25's in this slower Dell it ran a 
couple of my old configs for TLM without a hiccup.

So I did a temporary sshfs hookup and copied the complete 
config/GO704fast directory to that machine. Without Jons pwm-servo to 
initialize, I had to troll thru the hal file, nuking any references to 
the boot module that requires, until it would run with nothing but the 
card in the pci slot. About 10 lines commented and one setp added to 
duplicate what the commented code did.

The problem came with the config!!!

So now, nuke the extra stuff in the ini file until it Just Works again.

Back later, hopefully with a finger pointed at the culprit.

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


[Emc-users] Another thought on my failures re following errors

2017-10-17 Thread Gene Heskett
Greetings everybody;

It occurred to me later last night, that these following errors 
absolutely have to be bus or card failure related.  The LCNC system has 
no feedback from the motors, only from the 5i25. So as long as thats 
working, I ought to be able to jog an axis at a reasonable speed until 
it thinks its run into a software set limit and do it without any 
following errors as long as the card is reporting back to LCNC that it 
has moved the motor by however far it was commanded to move.

Ok, so test. I also have another Dell of that same vintage but a slower 
p4 cpu.  And while I use it mainly for programming the 5i25's, it does 
have linuxcnc installed.  So it could serve as a test mule. Stay tuned.

Sometimes my one track mind can't see the trees for all the forest. :(

An even newer patch for rt kernels was released on the linux-rt list this 
morning, so I have the rock64 building that, 4.11.12-rt16.  I'll test 
that when I figure out how the rock64 selects it versions to boot, its 
not clear to me yet. ATM its running the issue stretch kernel.

So many irons, so little fire...

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