Re: [Emc-developers] 7i76 vs spinout signal

2019-02-09 Thread Gene Heskett
On Thursday 07 February 2019 23:08:31 Gene Heskett wrote:

>
> But I'll see if I can get it back out of there tomorrow, and I still
> have the box & most of the packing from the 2nd one. I'll just put the
> 2nd one in this box, and wait for the fixed one for the 6040 gantry.
>
> Thanks Peter.
>
But by the time I got them switched, and the last spindle problem solved, 
it was way too late to make the P.O. And I still have a new swarf wiper 
to make today.  So now it won't leave here till Monday.

Thanks Peter.

[...]

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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-07 Thread Gene Heskett
On Thursday 07 February 2019 22:37:16 Peter C. Wallace wrote:

> On Thu, 7 Feb 2019, Gene Heskett wrote:
> > Date: Thu, 7 Feb 2019 19:56:20 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Thursday 07 February 2019 19:41:20 Peter C. Wallace wrote:
> >> Yes its fixable  just needs a TLP127 OPTO and careful work with a
> >> SMT hot air gun...
> >
> > And if you do it? How much?  I have the hot air tools, but the hands
> > at 84 are getting a little shaky for that sort of work.  As I am
> > learning in doing this project.
>
> Just send it back And I'll fix it

Thats not right either Peter, it was my dumbassed mistake, not yours.

I called myself giving it a good inspection as I was makeing that socket, 
but obviously not good enough. I'm still fighting with my plastic eyes, 
plenty sharp, but depth perception at short ranges doesn't seem to be 
quite as good. I'm using a lot of those Hilitchi crimp-on pins, and I 
don't always hit the hole in the rear colored socket that well. A year 
ago, even with my cataracts, I was doing a lot better. Frustrating, & 
forcing me to admit I'm not the man I once was, not even once.

But I'll see if I can get it back out of there tomorrow, and I still have 
the box & most of the packing from the 2nd one. I'll just put the 2nd 
one in this box, and wait for the fixed one for the 6040 gantry.

Thanks Peter.

> >>> Thanks Peter.
> >>>
> >>>> feed 5 volts regulated to spindir+. wire internal to the
> >>>> interface box Feed interface boxes +12 unswitched power over the
> >>>> cable to +12 volt Feed regulated 12 volts to spinena+,  Third
> >>>> wire
> >>>> Feed spinena- to servo enable on pin 5.
> >>>> Find pwmgen-01.pulse to PWM + on servo pin-1
> >>>>
> >>>>> Feed a signal from the Sainsmart's pwm-1-output to the pwm+ at
> >>>>> pin1 on the servo is the 5th wire and the connector is full.
> >>>>> Once thats done, take 3/8" off the bottom of the swarf shield
> >>>>> over the x-home-switch, which will allow that to come back over
> >>>>> the top of the y motor, giving me back a sorely needed
> >>>>> additional inch or more of y motion. The table was coming
> >>>>> forward but this swarf shield was too long and was hitting the
> >>>>> motor mount.  If I clear that, I gain nearly 1.5" of y motion.
> >>>>> When I put that bellows cover on, I was far more concerned with
> >>>>> keeping swarf out of the y screw when I built it 4 years ago.
> >>>>>
> >>>>> Now, a question for Jon:
> >>>>>
> >>>>> Normally that 12 volts to the logic on pin 6 will be present
> >>>>> anytime the interfaces line cord is plugged in, and which I
> >>>>> intend eventually to plug into the power strip that feeds the
> >>>>> rest of the motor power box. So it will come on with all the
> >>>>> stepper drivers, but spindle power is soft started by enabling
> >>>>> the machine from F2, takes 3 seconds to get full power.  And I
> >>>>> don't trip a 30 amp breaker charging the supplies caps.
> >>>>>
> >>>>> But is it safe to apply the high voltage motor power to the
> >>>>> pwm-servo amp IF for some reason the interface is powerless and
> >>>>> its 12 volt supply is off. This will put full motor power at
> >>>>> pins-1-2, with no logic power on pin 6.
> >>>>>
> >>>>> Is that safe, or will it let some smoke out and kill all the
> >>>>> local kittens? I could rig a relay, or better yet, move the SSR
> >>>>> + terminals to the 12 volt supply, better yet disable that in
> >>>>> hal if the 12 volts isn't there by changing the sserial com mode
> >>>>> so it will send an a/d output back to lcnc.  Thats slower of
> >>>>> course but I'll check it out.
> >>>>>
> >>>>> Thanks Jon.
> >>>
> >>> 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 <http://geneslinuxbox.net:6309/gene>
> >>>
> >>>
>

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-07 Thread Peter C. Wallace

On Thu, 7 Feb 2019, Gene Heskett wrote:


Date: Thu, 7 Feb 2019 19:56:20 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Thursday 07 February 2019 19:41:20 Peter C. Wallace wrote:


Yes its fixable  just needs a TLP127 OPTO and careful work with a SMT
hot air gun...


And if you do it? How much?  I have the hot air tools, but the hands at
84 are getting a little shaky for that sort of work.  As I am learning
in doing this project.


Just send it back And I'll fix it




Thanks Peter.


feed 5 volts regulated to spindir+. wire internal to the interface
box Feed interface boxes +12 unswitched power over the cable to +12
volt Feed regulated 12 volts to spinena+,  Third wire
Feed spinena- to servo enable on pin 5.
Find pwmgen-01.pulse to PWM + on servo pin-1


Feed a signal from the Sainsmart's pwm-1-output to the pwm+ at
pin1 on the servo is the 5th wire and the connector is full. Once
thats done, take 3/8" off the bottom of the swarf shield over the
x-home-switch, which will allow that to come back over the top of
the y motor, giving me back a sorely needed additional inch or
more of y motion. The table was coming forward but this swarf
shield was too long and was hitting the motor mount.  If I clear
that, I gain nearly 1.5" of y motion. When I put that bellows
cover on, I was far more concerned with keeping swarf out of the y
screw when I built it 4 years ago.

Now, a question for Jon:

Normally that 12 volts to the logic on pin 6 will be present
anytime the interfaces line cord is plugged in, and which I intend
eventually to plug into the power strip that feeds the rest of the
motor power box. So it will come on with all the stepper drivers,
but spindle power is soft started by enabling the machine from F2,
takes 3 seconds to get full power.  And I don't trip a 30 amp
breaker charging the supplies caps.

But is it safe to apply the high voltage motor power to the
pwm-servo amp IF for some reason the interface is powerless and
its 12 volt supply is off. This will put full motor power at
pins-1-2, with no logic power on pin 6.

Is that safe, or will it let some smoke out and kill all the local
kittens? I could rig a relay, or better yet, move the SSR +
terminals to the 12 volt supply, better yet disable that in hal if
the 12 volts isn't there by changing the sserial com mode so it
will send an a/d output back to lcnc.  Thats slower of course but
I'll check it out.

Thanks Jon.


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 <http://geneslinuxbox.net:6309/gene>



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


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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



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 <http://geneslinuxbox.net:6309/gene>



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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-07 Thread Peter C. Wallace

On Thu, 7 Feb 2019, Gene Heskett wrote:


Date: Thu, 7 Feb 2019 19:33:46 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Thursday 07 February 2019 15:49:09 Gene Heskett wrote:


On Thursday 07 February 2019 13:07:53 Gene Heskett wrote:

On Tuesday 05 February 2019 21:49:21 Gene Heskett wrote:

So ATM I have a reserved input for the probe, and the steppers to
wire step-dir sigs to, and I think put the probe on a 5 pin plug
thats not busy.

Then I should be ready to smoke test it by late tomorrow.. So far
I've not given the motors any power, safer that way. But I had to
redo the mechanics of the x home switch, buried under a bunch of
covers, its probably still not mechanically right, but I'll need
stepper power and a good light to see what needs to be done.


Got that all done, but wore out a knee, its about due for another
acid shot, giving me he!! this morning yet.  Steppers all done, as
are home switches.


Correction, to clarify what I am doing to me when I take a copy to the
machine to build it.

I believe I've figured out how to squeeze the pwmservo's controls
into 1, 5 pin plug.

Connecting a ground to pin2 and pin4 on the servo hooks up a - for the
optos for pwm and dir. 1 wire. The shields in a two pair cable, use
pin 3 in the GS12-5 connector.
Feed regulated 5 volts to spindir+ right on the 7i76. no cable wire
Feed spindir- to servo pin 3, direction+.  2nd cable wire, will pullup
servo direction line.


To PCW:

But I got shaky making up that cable and connector and inadvertantly made
a solder blob short between spindir- and ground, with 5.11 volts on
spindir+.  And spindir- isn't coming on even with the short removed now.
FWIW, all 5 of the contacts in this plug are in about a 5.5mm circle.
Next panel I'll use the GS16-5 plug, bigger and far easier for this old
man to work with.



Yeah you can definately fry the OPTO transistors by driving into shorted load




I've fixed the short, but may have toasted that driver chip. If it was
ptc protected, does it take a full everything off including the computer
to reset it, and how much cooldown time. Its had power but has not come
back in around 30 minutes. No heat either.

So sock it to me Peter. If its toes up for good, I can put the 2nd card
in, in which case can you fix this one?


Yes its fixable  just needs a TLP127 OPTO and careful work with a SMT hot air 
gun...




Thanks Peter.


feed 5 volts regulated to spindir+. wire internal to the interface box
Feed interface boxes +12 unswitched power over the cable to +12 volt
Feed regulated 12 volts to spinena+,  Third wire
Feed spinena- to servo enable on pin 5.
Find pwmgen-01.pulse to PWM + on servo pin-1


Feed a signal from the Sainsmart's pwm-1-output to the pwm+ at pin1
on the servo is the 5th wire and the connector is full. Once thats
done, take 3/8" off the bottom of the swarf shield over the
x-home-switch, which will allow that to come back over the top of
the y motor, giving me back a sorely needed additional inch or more
of y motion. The table was coming forward but this swarf shield was
too long and was hitting the motor mount.  If I clear that, I gain
nearly 1.5" of y motion. When I put that bellows cover on, I was far
more concerned with keeping swarf out of the y screw when I built it
4 years ago.

Now, a question for Jon:

Normally that 12 volts to the logic on pin 6 will be present anytime
the interfaces line cord is plugged in, and which I intend
eventually to plug into the power strip that feeds the rest of the
motor power box. So it will come on with all the stepper drivers,
but spindle power is soft started by enabling the machine from F2,
takes 3 seconds to get full power.  And I don't trip a 30 amp
breaker charging the supplies caps.

But is it safe to apply the high voltage motor power to the
pwm-servo amp IF for some reason the interface is powerless and its
12 volt supply is off. This will put full motor power at pins-1-2,
with no logic power on pin 6.

Is that safe, or will it let some smoke out and kill all the local
kittens? I could rig a relay, or better yet, move the SSR +
terminals to the 12 volt supply, better yet disable that in hal if
the 12 volts isn't there by changing the sserial com mode so it will
send an a/d output back to lcnc.  Thats slower of course but I'll
check it out.

Thanks Jon.


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 <http://geneslinuxbox.net:6309/gene>



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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signatu

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-07 Thread Gene Heskett
On Thursday 07 February 2019 15:49:09 Gene Heskett wrote:

> On Thursday 07 February 2019 13:07:53 Gene Heskett wrote:
> > On Tuesday 05 February 2019 21:49:21 Gene Heskett wrote:
> > > So ATM I have a reserved input for the probe, and the steppers to
> > > wire step-dir sigs to, and I think put the probe on a 5 pin plug
> > > thats not busy.
> > >
> > > Then I should be ready to smoke test it by late tomorrow.. So far
> > > I've not given the motors any power, safer that way. But I had to
> > > redo the mechanics of the x home switch, buried under a bunch of
> > > covers, its probably still not mechanically right, but I'll need
> > > stepper power and a good light to see what needs to be done.
> >
> > Got that all done, but wore out a knee, its about due for another
> > acid shot, giving me he!! this morning yet.  Steppers all done, as
> > are home switches.
>
> Correction, to clarify what I am doing to me when I take a copy to the
> machine to build it.
>
> I believe I've figured out how to squeeze the pwmservo's controls
> into 1, 5 pin plug.
>
> Connecting a ground to pin2 and pin4 on the servo hooks up a - for the
> optos for pwm and dir. 1 wire. The shields in a two pair cable, use
> pin 3 in the GS12-5 connector.
> Feed regulated 5 volts to spindir+ right on the 7i76. no cable wire
> Feed spindir- to servo pin 3, direction+.  2nd cable wire, will pullup
> servo direction line.

To PCW:

But I got shaky making up that cable and connector and inadvertantly made 
a solder blob short between spindir- and ground, with 5.11 volts on 
spindir+.  And spindir- isn't coming on even with the short removed now. 
FWIW, all 5 of the contacts in this plug are in about a 5.5mm circle. 
Next panel I'll use the GS16-5 plug, bigger and far easier for this old 
man to work with.

I've fixed the short, but may have toasted that driver chip. If it was 
ptc protected, does it take a full everything off including the computer  
to reset it, and how much cooldown time. Its had power but has not come 
back in around 30 minutes. No heat either.

So sock it to me Peter. If its toes up for good, I can put the 2nd card 
in, in which case can you fix this one?

Thanks Peter.

> feed 5 volts regulated to spindir+. wire internal to the interface box
> Feed interface boxes +12 unswitched power over the cable to +12 volt
> Feed regulated 12 volts to spinena+,  Third wire
> Feed spinena- to servo enable on pin 5.
> Find pwmgen-01.pulse to PWM + on servo pin-1
>
> > Feed a signal from the Sainsmart's pwm-1-output to the pwm+ at pin1
> > on the servo is the 5th wire and the connector is full. Once thats
> > done, take 3/8" off the bottom of the swarf shield over the
> > x-home-switch, which will allow that to come back over the top of
> > the y motor, giving me back a sorely needed additional inch or more
> > of y motion. The table was coming forward but this swarf shield was
> > too long and was hitting the motor mount.  If I clear that, I gain
> > nearly 1.5" of y motion. When I put that bellows cover on, I was far
> > more concerned with keeping swarf out of the y screw when I built it
> > 4 years ago.
> >
> > Now, a question for Jon:
> >
> > Normally that 12 volts to the logic on pin 6 will be present anytime
> > the interfaces line cord is plugged in, and which I intend
> > eventually to plug into the power strip that feeds the rest of the
> > motor power box. So it will come on with all the stepper drivers,
> > but spindle power is soft started by enabling the machine from F2,
> > takes 3 seconds to get full power.  And I don't trip a 30 amp
> > breaker charging the supplies caps.
> >
> > But is it safe to apply the high voltage motor power to the
> > pwm-servo amp IF for some reason the interface is powerless and its
> > 12 volt supply is off. This will put full motor power at pins-1-2,
> > with no logic power on pin 6.
> >
> > Is that safe, or will it let some smoke out and kill all the local
> > kittens? I could rig a relay, or better yet, move the SSR +
> > terminals to the 12 volt supply, better yet disable that in hal if
> > the 12 volts isn't there by changing the sserial com mode so it will
> > send an a/d output back to lcnc.  Thats slower of course but I'll
> > check it out.
> >
> > Thanks Jon.

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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-07 Thread Gene Heskett
On Thursday 07 February 2019 13:07:53 Gene Heskett wrote:

> On Tuesday 05 February 2019 21:49:21 Gene Heskett wrote:
> > So ATM I have a reserved input for the probe, and the steppers to
> > wire step-dir sigs to, and I think put the probe on a 5 pin plug
> > thats not busy.
> >
> > Then I should be ready to smoke test it by late tomorrow.. So far
> > I've not given the motors any power, safer that way. But I had to
> > redo the mechanics of the x home switch, buried under a bunch of
> > covers, its probably still not mechanically right, but I'll need
> > stepper power and a good light to see what needs to be done.
>
> Got that all done, but wore out a knee, its about due for another acid
> shot, giving me he!! this morning yet.  Steppers all done, as are home
> switches.

Correction, to clarify what I am doing to me when I take a copy to the 
machine to build it.

I believe I've figured out how to squeeze the pwmservo's controls
into 1, 5 pin plug.

Connecting a ground to pin2 and pin4 on the servo hooks up a - for the 
optos for pwm and dir. 1 wire. The shields in a two pair cable, use pin 
3 in the GS12-5 connector.
Feed regulated 5 volts to spindir+ right on the 7i76. no cable wire
Feed spindir- to servo pin 3, direction+.  2nd cable wire, will pullup 
servo direction line.

feed 5 volts regulated to spindir+. wire internal to the interface box
Feed interface boxes +12 unswitched power over the cable to +12 volt
Feed regulated 12 volts to spinena+,  Third wire
Feed spinena- to servo enable on pin 5.
Find pwmgen-01.pulse to PWM + on servo pin-1


> Feed a signal from the Sainsmart's pwm-1-output to the pwm+ at pin1 on
> the servo is the 5th wire and the connector is full. Once thats done,
> take 3/8" off the bottom of the swarf shield over the x-home-switch,
> which will allow that to come back over the top of the y motor, giving
> me back a sorely needed additional inch or more of y motion. The table
> was coming forward but this swarf shield was too long and was hitting
> the motor mount.  If I clear that, I gain nearly 1.5" of y motion.
> When I put that bellows cover on, I was far more concerned with
> keeping swarf out of the y screw when I built it 4 years ago.
>
> Now, a question for Jon:
>
> Normally that 12 volts to the logic on pin 6 will be present anytime
> the interfaces line cord is plugged in, and which I intend eventually
> to plug into the power strip that feeds the rest of the motor power
> box. So it will come on with all the stepper drivers, but spindle
> power is soft started by enabling the machine from F2, takes 3 seconds
> to get full power.  And I don't trip a 30 amp breaker charging the
> supplies caps.
>
> But is it safe to apply the high voltage motor power to the pwm-servo
> amp IF for some reason the interface is powerless and its 12 volt
> supply is off. This will put full motor power at pins-1-2, with no
> logic power on pin 6.
>
> Is that safe, or will it let some smoke out and kill all the local
> kittens? I could rig a relay, or better yet, move the SSR + terminals
> to the 12 volt supply, better yet disable that in hal if the 12 volts
> isn't there by changing the sserial com mode so it will send an a/d
> output back to lcnc.  Thats slower of course but I'll check it out.
>
> Thanks Jon.
>
> 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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-05 Thread Gene Heskett
On Monday 04 February 2019 13:34:55 Gene Heskett wrote:

> On Monday 04 February 2019 12:09:05 Peter C. Wallace wrote:
>
> Steppers still not fully connected. With the cable and connectors I
> have, I'll put 2 on each connector, saveing me a space on the back
> panel for whatever.  But that will be tomorrow IF I get the home
> switches rewire done today.
>
Which 
But thats not done yet, I finished up the home rewiring, and I may be 
getting a leetle bit schmardter.  As I'm  hooking things up, and getting 
sserial fails and shut down notices in the shell I'm running lcnc from. 
So when I got the last one  back together and it  didn't work, a 
shutdown left those messages on screen  Restarted lcnc and it works.

So ATM I have a reserved input for the probe, and the steppers to wire 
step-dir sigs to, and I think put the probe on a 5 pin plug thats not 
busy.

Then I should be ready to smoke test it by late tomorrow.. So far I've 
not given the motors any power, safer that way. But I had to redo the 
mechanics of the x home switch, buried under a bunch of covers, its 
probably still not mechanically right, but I'll need stepper power and a 
good light to see what needs to be done.

> Thanks Peter.
>
> 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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-04 Thread Gene Heskett
On Monday 04 February 2019 12:09:05 Peter C. Wallace wrote:

> On Mon, 4 Feb 2019, Gene Heskett wrote:
> > Date: Mon, 4 Feb 2019 05:13:08 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Sunday 03 February 2019 20:03:28 Peter C. Wallace wrote:
> >> On Sun, 3 Feb 2019, Gene Heskett wrote:
> >>> Date: Sun, 3 Feb 2019 19:56:53 -0500
> >>> From: Gene Heskett 
> >>> Reply-To: EMC developers 
> >>> To: emc-developers@lists.sourceforge.net
> >>> Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >>>
> >>> On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:
> >>>> On Sun, 3 Feb 2019, Gene Heskett wrote:
> >>>
> >>> getting TLDR, clipped most of whats been solved
> >>>
> >>>> The 7I76 spindle ENA and DIR outputs are independent of the
> >>>> analog value of spinout, (though the analog out is forced to 0 if
> >>>> spinena is false) is it possible you have a wiring error?
> >>>
> >>> This is solved and it looks like I can excise that other stuff
> >>> from the hal file.
> >>>
> >>> Now, re a lack of response at the actual outputs 15 and 14.
> >>>
> >>> I did a setp to set invert true, made them come on when they
> >>> should have been off so I setp them to false, and now they are
> >>> working as desired.
> >>
> >> I dont think thats the case, I suspect you misdiagnosed the initial
> >> test
> >
> > While thats always a possibility, but its a test reading I did
> > multiple times for both conditions, and until I added the
> > setp output-invert true,
> > which made it backwards, so I setp'd it false and it works as
> > expected.
>
> If thats really case, I think you may have a thread order or other
> error in your hal file.
>
> Is certainly not a known problem with 7I76 outputs, and I just
> verified here that they work as expected.
>
> > ATM its the middle of the night and I'm trying to see if I have all
> > 4 stepgens ready to hook up later today, and I find I cannot see the
> > actual steps with a halscope any place.  So I'll have to scope probe
> > the 7i76 stepgen pulse outputs.  Is this correct? Or is there a way
> > to see them on a halscope pin when there is no base thread? I can't
> > find an output that shows them, Probably too short for halscope
> > running on srevo-thread to see. I can see the dir changes at the
> > corresponding gpio.in, so I assume they are working. I'll try to get
> > that all hooked up today, leaving the home switches and encoder to
> > sort tomorrow.  And that should get that mill 100% usable again.
> > Leaving me plotting how to make a tool changer for it.  And
> > searching for an endoscope camera that actually works.
> >
> > On another front, I have the alignment kit working well on the 6040
> > already. Theoretically, just copying that code to this machine
> > should handle that. easy-peasy on the 6040 as the workpiece is
> > usually mounted on a spoil board and therefore insulated, so it
> > could be made to use a G38.2 to detect the angular error. Aligning
> > the machine to the workpiece rather than the other way around.
>
> You can allways temporarily set the step mode to quadrature
> you can always get about 50% state read on a undersample
> (the likely hood of catchinh a 1 usec pulse at 1 KHz is only 1 in a
> 1000)
>
I took ohms readings on it at the card input point, figured the shield of 
the existing was ground, and I faintly recalled the power lead to the 
omron was the 5 volt supply and it would be a lower ohmage. That left 3 
unidentified leads, two of which had nearly identical ohms to ground 
while the third was obviously different as it comes from the old optical 
index on the spindle, not from the omron on the motor by way of a couple 
rs455 receivers in a little box in the middle of the encoder cable.

My cable has two shielded pair, a blk-wht and a blk/red.  So I hooked the 
shields to ground, the red wire to 5 volts, the blk wires to enca+ and 
encb+ and the wht to idex+. I even got lucky and had the black wires 
correct, the raw count moves in the right direction when the spindle is 
turned by hand.

So that should be solved, then I read the comment about wiring limits etc 
on page 14, and assumed it also applies to home switches. Which doesn't 
match my current setup, so I'm in the early stages of putting in new 
switches and wireing it up according to that comment on p

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-04 Thread Peter C. Wallace

On Mon, 4 Feb 2019, Gene Heskett wrote:


Date: Mon, 4 Feb 2019 05:13:08 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Sunday 03 February 2019 20:03:28 Peter C. Wallace wrote:


On Sun, 3 Feb 2019, Gene Heskett wrote:

Date: Sun, 3 Feb 2019 19:56:53 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:

On Sun, 3 Feb 2019, Gene Heskett wrote:


getting TLDR, clipped most of whats been solved


The 7I76 spindle ENA and DIR outputs are independent of the analog
value of spinout, (though the analog out is forced to 0 if spinena
is false) is it possible you have a wiring error?


This is solved and it looks like I can excise that other stuff from
the hal file.

Now, re a lack of response at the actual outputs 15 and 14.

I did a setp to set invert true, made them come on when they should
have been off so I setp them to false, and now they are working as
desired.


I dont think thats the case, I suspect you misdiagnosed the initial
test


While thats always a possibility, but its a test reading I did multiple
times for both conditions, and until I added the
setp output-invert true,
which made it backwards, so I setp'd it false and it works as expected.



If thats really case, I think you may have a thread order or other error in 
your hal file.


Is certainly not a known problem with 7I76 outputs, and I just verified here 
that they work as expected.




ATM its the middle of the night and I'm trying to see if I have all 4
stepgens ready to hook up later today, and I find I cannot see the
actual steps with a halscope any place.  So I'll have to scope probe the
7i76 stepgen pulse outputs.  Is this correct? Or is there a way to see
them on a halscope pin when there is no base thread? I can't find an
output that shows them, Probably too short for halscope running on
srevo-thread to see. I can see the dir changes at the corresponding
gpio.in, so I assume they are working. I'll try to get that all hooked
up today, leaving the home switches and encoder to sort tomorrow.  And
that should get that mill 100% usable again. Leaving me plotting how to
make a tool changer for it.  And searching for an endoscope camera that
actually works.

On another front, I have the alignment kit working well on the 6040
already. Theoretically, just copying that code to this machine should
handle that. easy-peasy on the 6040 as the workpiece is usually mounted
on a spoil board and therefore insulated, so it could be made to use a
G38.2 to detect the angular error. Aligning the machine to the workpiece
rather than the other way around.


You can allways temporarily set the step mode to quadrature
you can always get about 50% state read on a undersample
(the likely hood of catchinh a 1 usec pulse at 1 KHz is only 1 in a 1000)




Thanks Peter.


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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



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 <http://geneslinuxbox.net:6309/gene>



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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-04 Thread Gene Heskett
On Sunday 03 February 2019 20:03:28 Peter C. Wallace wrote:

> On Sun, 3 Feb 2019, Gene Heskett wrote:
> > Date: Sun, 3 Feb 2019 19:56:53 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:
> >> On Sun, 3 Feb 2019, Gene Heskett wrote:
> >
> > getting TLDR, clipped most of whats been solved
> >
> >> The 7I76 spindle ENA and DIR outputs are independent of the analog
> >> value of spinout, (though the analog out is forced to 0 if spinena
> >> is false) is it possible you have a wiring error?
> >
> > This is solved and it looks like I can excise that other stuff from
> > the hal file.
> >
> > Now, re a lack of response at the actual outputs 15 and 14.
> >
> > I did a setp to set invert true, made them come on when they should
> > have been off so I setp them to false, and now they are working as
> > desired.
>
> I dont think thats the case, I suspect you misdiagnosed the initial
> test
>
While thats always a possibility, but its a test reading I did multiple 
times for both conditions, and until I added the 
setp output-invert true,
which made it backwards, so I setp'd it false and it works as expected.

ATM its the middle of the night and I'm trying to see if I have all 4 
stepgens ready to hook up later today, and I find I cannot see the 
actual steps with a halscope any place.  So I'll have to scope probe the 
7i76 stepgen pulse outputs.  Is this correct? Or is there a way to see 
them on a halscope pin when there is no base thread? I can't find an 
output that shows them, Probably too short for halscope running on 
srevo-thread to see. I can see the dir changes at the corresponding 
gpio.in, so I assume they are working. I'll try to get that all hooked 
up today, leaving the home switches and encoder to sort tomorrow.  And 
that should get that mill 100% usable again. Leaving me plotting how to 
make a tool changer for it.  And searching for an endoscope camera that 
actually works.

On another front, I have the alignment kit working well on the 6040 
already. Theoretically, just copying that code to this machine should 
handle that. easy-peasy on the 6040 as the workpiece is usually mounted 
on a spoil board and therefore insulated, so it could be made to use a 
G38.2 to detect the angular error. Aligning the machine to the workpiece 
rather than the other way around.

Thanks Peter.
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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 <http://geneslinuxbox.net:6309/gene>



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Peter C. Wallace

On Sun, 3 Feb 2019, Gene Heskett wrote:


Date: Sun, 3 Feb 2019 19:56:53 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:


On Sun, 3 Feb 2019, Gene Heskett wrote:


getting TLDR, clipped most of whats been solved


The 7I76 spindle ENA and DIR outputs are independent of the analog
value of spinout, (though the analog out is forced to 0 if spinena is
false) is it possible you have a wiring error?

This is solved and it looks like I can excise that other stuff from the
hal file.

Now, re a lack of response at the actual outputs 15 and 14.

I did a setp to set invert true, made them come on when they should have
been off so I setp them to false, and now they are working as desired.


I dont think thats the case, I suspect you misdiagnosed the initial test


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Gene Heskett
On Sunday 03 February 2019 14:45:38 Peter C. Wallace wrote:

> the nuts on those connectors which are below the boards in this box.
>
> Now in the next step of wiring this up I have a pair of 40 amp SSR's,
> with 5.11+ on both + terminals of the SSR's, and am using
> hm2_5i25.0.7i76.0.0.outputs 15 and 14 with the idea that turning them
> on will ground the -terminals, enabling the SSR's in sequence, when
> the first one is enabled, power is applied to the stack of toroids
> thru a 50 ohm 200 watt resistor the start chargeing the filter caps, 3
> second later an identical signal is sent to
> hm2_5i25.0.7i76.0.0.output14 which bypasses the 50 ohm resistor,
> enabling the spindle psu at full power.
>
> I can see, with a halmeter that the signal is sent to those output
> pins.
>
> But they aren't turning on to sink the - pins of the SSR's.  They
> regardless of the halmeter state, stubbornly sitting at 4.66+ which
> would be about what I'd expect to see when I measure to ground/common
> with a 10 megohm input DVM from the - terminals of the SSR controls.
> Not enough current flowing thru the meter to tickle the SSR's of
> course. I am wired to the last and next to last at the upper end of
> TB5 which the docs say is output15 and output14. Field power on the
> orange connector is 12.2 volts positive on pin 1, and negatives are
> wired common between pin 8 of the orange connector and pin 24 of the 4
> pin header to its left.
>
>
>
>
> Another common issue can be that you are not using the field power
> common for the load common (note that the field I/O is galvanically
> isolated from logic power so the load power common must connect to the
> field power (orange connector) common
>
It is common. And has been all along..
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Gene Heskett
On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:

> On Sun, 3 Feb 2019, Gene Heskett wrote:

getting TLDR, clipped most of whats been solved
>
> The 7I76 spindle ENA and DIR outputs are independent of the analog
> value of spinout, (though the analog out is forced to 0 if spinena is
> false) is it possible you have a wiring error?
This is solved and it looks like I can excise that other stuff from the 
hal file.

Now, re a lack of response at the actual outputs 15 and 14.

I did a setp to set invert true, made them come on when they should have 
been off so I setp them to false, and now they are working as desired.

But they weren't working before I setp'd those 2 output-inverts to 
anything. I can see my halfile growing another 50+ lines, but so far 
I've not yet had to invert an input, mostly because what I've used so 
far (spindle gearshift tally's) is on the SainMmart bob and coming in 
thru p2 on the 5i25.  But the home switches will have to be on the 7i76.  
Thats probably another differently painted horse...

Onward and upward, to encoder inputs (I hope) But the old BoB got in the 
way, so all 4 steppers step and dir's are now on are now on one terminal 
strip, waiting for me to bring in the cables. Small power supplies can 
leave as this new box can supply all that. I can bring in two steppers 
per cable, and use the 5th connection on one of them to ship in the 5 
volts for the drivers + terminals. That gets me down to two cables and 
connectors for all 4 axises. That might leave me enough to run a tool 
changer.

I've figured out the 5 volts and grounds for the encoder but I have to 
power it up to decipher which of the other 3 wires is which. Ditto the 
home switches.  That was such a birds next inside and around the old Bob 
that it just had to go.

And by the time I'd made two trips to the store because the larder was 
getting low, and fixed dinner for the missus, I'm all in but my 
shoelaces.  Tomorrow is the next day to work on this.  Anything else in 
the odd dept. I need to know?  Home switches are all closures to ground, 
do I need to put pullups on the 3 inputs, or do they supply what they 
need?  Or, since their grounds are isolated from the machine frame, 
should I put 5 volts on that ground and watch for a true coming out?

Thanks for your patience Peter.


> > Peter Wallace
> > Mesa Electronics
> >
> > (\__/)
> > (='.'=) This is Bunny. Copy and paste bunny into your
> > (")_(") signature to help him gain world domination.
>
> 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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Peter C. Wallace

the nuts on those connectors which are below the boards in this box.

Now in the next step of wiring this up I have a pair of 40 amp SSR's, 
with 5.11+ on both + terminals of the SSR's, and am using 
hm2_5i25.0.7i76.0.0.outputs 15 and 14 with the idea that turning them on 
will ground the -terminals, enabling the SSR's in sequence, when the 
first one is enabled, power is applied to the stack of toroids thru a 50 
ohm 200 watt resistor the start chargeing the filter caps, 3 second 
later an identical signal is sent to hm2_5i25.0.7i76.0.0.output14 which 
bypasses the 50 ohm resistor, enabling the spindle psu at full power.


I can see, with a halmeter that the signal is sent to those output pins.

But they aren't turning on to sink the - pins of the SSR's.  They 
regardless of the halmeter state, stubbornly sitting at 4.66+ which 
would be about what I'd expect to see when I measure to ground/common 
with a 10 megohm input DVM from the - terminals of the SSR controls. Not 
enough current flowing thru the meter to tickle the SSR's of course. I 
am wired to the last and next to last at the upper end of TB5 which the 
docs say is output15 and output14. Field power on the orange connector 
is 12.2 volts positive on pin 1, and negatives are wired common between 
pin 8 of the orange connector and pin 24 of the 4 pin header to its 
left.





Another common issue can be that you are not using the field power common for 
the load common (note that the field I/O is galvanically isolated from logic 
power so the load power common must connect to the field power (orange 
connector) common



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Peter C. Wallace

On Sun, 3 Feb 2019, Gene Heskett wrote:


Date: Sun, 3 Feb 2019 14:34:13 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:



On Sun, 3 Feb 2019, Gene Heskett wrote:
> Date: Sun, 3 Feb 2019 07:16:13 -0500
> From: Gene Heskett 
> Reply-To: EMC developers 
> To: emc-developers@lists.sourceforge.net
> Subject: Re: [Emc-developers] 7i76 vs spinout signal
>
> On Sunday 03 February 2019 01:19:26 Peter C. Wallace wrote:
>
> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 21:46:24 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:
> >
> > On Sat, 2 Feb 2019, Gene Heskett wrote:
> > > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > > From: Gene Heskett 
> > > Reply-To: EMC developers 
> > > To: emc-developers@lists.sourceforge.net
> > > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> > >
> > > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > > On 2 Feb 2019, at 18:13, Gene Heskett 
> > > > wrote:
> > > >
> > > > But whats the range of spindle speed requests that are valid
> > > > in that case.
> > >
> > > Approx -1.8 x 10^308 to  +1.8 x 10^308
> > >
> > > Because its a double precision floating point.
> > >
> > > Are you reading the 7i76 manual or just the LinuxCNC docs?
> >
> > The 7i76 manual lacks anything like such an explanation for the
> > spindle functions. Or has it been expanded and corrected?, I've
> > had the doc file I am looking at for about 3 months now.
> >
> > Thanks Andy.
>
> I just read it again, top to bottom and back up. None of this stuff
> is in it, nor is there any reference to reading the manpage for
> sserial.
>
> > The sserial man page has some info about the 7i76 pins
>
> So it does, but haveing no reference to it in the doc, I hadn't read
> it until now. It also states theres a high likelyhood of its being
> permanently out of date.  And it makes zero mention that ENA and DIR
> appear to be activated ONLY when when spinout has valid non-zero
> data. That might work for a vfd but not for a pwm-servo such as Jon
> sells. The way its worded, ENA and DIR appear to be straight thru
> from input to output isolated controls, which would make them 100%
> useful. But because they aren't activated until spinout has valid
> non-zero data, the ENA is of zero use to me. That amp must be
> enabled, then pulsed to charge the gates properly before the data
> from the pid.out arrives at the pwmgen.1.value pin to start its
> generation of pulses. I do have a method worked out that should
> work, using the otherwise mounted for its looks, relay on the
> SainSmart BoB. Driven by p2 of the 5i25 using a special bitfile
> Peter sent me which puts a 2nd pwmgen on the P2 connector since the
> first one goes to /dev/null in the 7i76d. I may be able to get that
> wired up tomorrow, but I am making all this hookup hardware as I go.
> From a 150 foot spool of wire, and a bag of GS12-5 connectors.
> Darned near too small for these getting a little shaky old hands.
>
>
>
>
> Thats not quite true, The 7I76 DIR output is a completely
> independent output bit and ENA must be present for the analog output
> to work, that is analog out is dependent on ENA but not the other
> way around.

I did not find that in my testing, Peter. Neither ENA- was pulled up
to the +12 volts on ENA+, nor was DIR- pulled up to the +5 volts on
DIR+, until I gave it a non-zero spinout. In my testing, no power was
applied to tb4,1-3 because the intent is to use the 2nd pwmgen as the
input to jon's servo amp in this instant build. I will use it with the
vfd in the 6040 build that I bought the 2nd 7i76d for. So I was forced
to use the relay on a sainsmart bob to switch the ena to the pwm-servo
amp and use a timedelay module to delay everything else until the
relay was solidly closed.

Is there some other magic I missed?  Humm, maybe, I had not learned
about the params that needed set according to "man 9 sserial" until
yesterday. IMO, this should have been mentioned in the downloadable
doc for the 7i76 but is not. They now are being set, so I'll retest
and advise today.

Those aren't accessible to a halmeter, so I have to use a dvm (or a
scope) to verify. And I was reading  a wandering 60 millivolts to
ground at those terminals.

Thanks Peter.


The 7I76 spindle

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Gene Heskett
On Sunday 03 February 2019 09:30:46 Peter C. Wallace wrote:

> On Sun, 3 Feb 2019, Gene Heskett wrote:
> > Date: Sun, 3 Feb 2019 07:16:13 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Sunday 03 February 2019 01:19:26 Peter C. Wallace wrote:
> >
> > On Sat, 2 Feb 2019, Gene Heskett wrote:
> > > Date: Sat, 2 Feb 2019 21:46:24 -0500
> > > From: Gene Heskett 
> > > Reply-To: EMC developers 
> > > To: emc-developers@lists.sourceforge.net
> > > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> > >
> > > On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:
> > >
> > > On Sat, 2 Feb 2019, Gene Heskett wrote:
> > > > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > > > From: Gene Heskett 
> > > > Reply-To: EMC developers 
> > > > To: emc-developers@lists.sourceforge.net
> > > > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> > > >
> > > > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > > > On 2 Feb 2019, at 18:13, Gene Heskett 
> > > > > wrote:
> > > > >
> > > > > But whats the range of spindle speed requests that are valid
> > > > > in that case.
> > > >
> > > > Approx -1.8 x 10^308 to  +1.8 x 10^308
> > > >
> > > > Because its a double precision floating point.
> > > >
> > > > Are you reading the 7i76 manual or just the LinuxCNC docs?
> > >
> > > The 7i76 manual lacks anything like such an explanation for the
> > > spindle functions. Or has it been expanded and corrected?, I've
> > > had the doc file I am looking at for about 3 months now.
> > >
> > > Thanks Andy.
> >
> > I just read it again, top to bottom and back up. None of this stuff
> > is in it, nor is there any reference to reading the manpage for
> > sserial.
> >
> > > The sserial man page has some info about the 7i76 pins
> >
> > So it does, but haveing no reference to it in the doc, I hadn't read
> > it until now. It also states theres a high likelyhood of its being
> > permanently out of date.  And it makes zero mention that ENA and DIR
> > appear to be activated ONLY when when spinout has valid non-zero
> > data. That might work for a vfd but not for a pwm-servo such as Jon
> > sells. The way its worded, ENA and DIR appear to be straight thru
> > from input to output isolated controls, which would make them 100%
> > useful. But because they aren't activated until spinout has valid
> > non-zero data, the ENA is of zero use to me. That amp must be
> > enabled, then pulsed to charge the gates properly before the data
> > from the pid.out arrives at the pwmgen.1.value pin to start its
> > generation of pulses. I do have a method worked out that should
> > work, using the otherwise mounted for its looks, relay on the
> > SainSmart BoB. Driven by p2 of the 5i25 using a special bitfile
> > Peter sent me which puts a 2nd pwmgen on the P2 connector since the
> > first one goes to /dev/null in the 7i76d. I may be able to get that
> > wired up tomorrow, but I am making all this hookup hardware as I go.
> > From a 150 foot spool of wire, and a bag of GS12-5 connectors.
> > Darned near too small for these getting a little shaky old hands.
> >
> >
> >
> >
> > Thats not quite true, The 7I76 DIR output is a completely
> > independent output bit and ENA must be present for the analog output
> > to work, that is analog out is dependent on ENA but not the other
> > way around.
>
> I did not find that in my testing, Peter. Neither ENA- was pulled up
> to the +12 volts on ENA+, nor was DIR- pulled up to the +5 volts on
> DIR+, until I gave it a non-zero spinout. In my testing, no power was
> applied to tb4,1-3 because the intent is to use the 2nd pwmgen as the
> input to jon's servo amp in this instant build. I will use it with the
> vfd in the 6040 build that I bought the 2nd 7i76d for. So I was forced
> to use the relay on a sainsmart bob to switch the ena to the pwm-servo
> amp and use a timedelay module to delay everything else until the
> relay was solidly closed.
>
> Is there some other magic I missed?  Humm, maybe, I had not learned
> about the params that needed set according to "man 9 sserial" until
> yesterday. IMO, this should have been mentioned in the downloadable
> doc for the 7i76 but is not. They now

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Andy Pugh



> On 3 Feb 2019, at 15:30, Peter C. Wallace  wrote:
> 
> The 7I76 spindle ENA and DIR outputs are independent of the analog value
> of spinout,

However, motion.spindle.is-on is false if spindle speed is zero. Perhaps this 
is a Hal thing? 

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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Peter C. Wallace

On Sun, 3 Feb 2019, Gene Heskett wrote:


Date: Sun, 3 Feb 2019 07:16:13 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Sunday 03 February 2019 01:19:26 Peter C. Wallace wrote:



On Sat, 2 Feb 2019, Gene Heskett wrote:
> Date: Sat, 2 Feb 2019 21:46:24 -0500
> From: Gene Heskett 
> Reply-To: EMC developers 
> To: emc-developers@lists.sourceforge.net
> Subject: Re: [Emc-developers] 7i76 vs spinout signal
>
> On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:
>
> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > On 2 Feb 2019, at 18:13, Gene Heskett 
> > > wrote:
> > >
> > > But whats the range of spindle speed requests that are valid in
> > > that case.
> >
> > Approx -1.8 x 10^308 to  +1.8 x 10^308
> >
> > Because its a double precision floating point.
> >
> > Are you reading the 7i76 manual or just the LinuxCNC docs?
>
> The 7i76 manual lacks anything like such an explanation for the
> spindle functions. Or has it been expanded and corrected?, I've had
> the doc file I am looking at for about 3 months now.
>
> Thanks Andy.

I just read it again, top to bottom and back up. None of this stuff is
in it, nor is there any reference to reading the manpage for sserial.

> The sserial man page has some info about the 7i76 pins

So it does, but haveing no reference to it in the doc, I hadn't read
it until now. It also states theres a high likelyhood of its being
permanently out of date.  And it makes zero mention that ENA and DIR
appear to be activated ONLY when when spinout has valid non-zero data.
That might work for a vfd but not for a pwm-servo such as Jon sells.
The way its worded, ENA and DIR appear to be straight thru from input
to output isolated controls, which would make them 100% useful. But
because they aren't activated until spinout has valid non-zero data,
the ENA is of zero use to me. That amp must be enabled, then pulsed to
charge the gates properly before the data from the pid.out arrives at
the pwmgen.1.value pin to start its generation of pulses. I do have a
method worked out that should work, using the otherwise mounted for
its looks, relay on the SainSmart BoB. Driven by p2 of the 5i25 using
a special bitfile Peter sent me which puts a 2nd pwmgen on the P2
connector since the first one goes to /dev/null in the 7i76d. I may be
able to get that wired up tomorrow, but I am making all this hookup
hardware as I go. From a 150 foot spool of wire, and a bag of GS12-5
connectors. Darned near too small for these getting a little shaky old
hands.




Thats not quite true, The 7I76 DIR output is a completely independent
output bit and ENA must be present for the analog output to work, that
is analog out is dependent on ENA but not the other way around.

I did not find that in my testing, Peter. Neither ENA- was pulled up to 
the +12 volts on ENA+, nor was DIR- pulled up to the +5 volts on DIR+, 
until I gave it a non-zero spinout. In my testing, no power was applied 
to tb4,1-3 because the intent is to use the 2nd pwmgen as the input to 
jon's servo amp in this instant build. I will use it with the vfd in the 
6040 build that I bought the 2nd 7i76d for. So I was forced to use the 
relay on a sainsmart bob to switch the ena to the pwm-servo amp and use 
a timedelay module to delay everything else until the relay was solidly 
closed.


Is there some other magic I missed?  Humm, maybe, I had not learned about 
the params that needed set according to "man 9 sserial" until yesterday. 
IMO, this should have been mentioned in the downloadable doc for the 
7i76 but is not. They now are being set, so I'll retest and advise 
today.


Those aren't accessible to a halmeter, so I have to use a dvm (or a 
scope) to verify. And I was reading  a wandering 60 millivolts to ground 
at those terminals.


Thanks Peter.


The 7I76 spindle ENA and DIR outputs are independent of the analog value
of spinout, (though the analog out is forced to 0 if spinena is false)
is it possible you have a wiring error?


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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 <http://geneslinuxbox.net:6309/gene>



___
Emc-developers mailing list
Emc-devel

Re: [Emc-developers] 7i76 vs spinout signal

2019-02-03 Thread Gene Heskett
On Sunday 03 February 2019 01:19:26 Peter C. Wallace wrote:

> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 21:46:24 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:
> >
> > On Sat, 2 Feb 2019, Gene Heskett wrote:
> > > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > > From: Gene Heskett 
> > > Reply-To: EMC developers 
> > > To: emc-developers@lists.sourceforge.net
> > > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> > >
> > > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > > On 2 Feb 2019, at 18:13, Gene Heskett 
> > > > wrote:
> > > >
> > > > But whats the range of spindle speed requests that are valid in
> > > > that case.
> > >
> > > Approx -1.8 x 10^308 to  +1.8 x 10^308
> > >
> > > Because its a double precision floating point.
> > >
> > > Are you reading the 7i76 manual or just the LinuxCNC docs?
> >
> > The 7i76 manual lacks anything like such an explanation for the
> > spindle functions. Or has it been expanded and corrected?, I've had
> > the doc file I am looking at for about 3 months now.
> >
> > Thanks Andy.
>
> I just read it again, top to bottom and back up. None of this stuff is
> in it, nor is there any reference to reading the manpage for sserial.
>
> > The sserial man page has some info about the 7i76 pins
>
> So it does, but haveing no reference to it in the doc, I hadn't read
> it until now. It also states theres a high likelyhood of its being
> permanently out of date.  And it makes zero mention that ENA and DIR
> appear to be activated ONLY when when spinout has valid non-zero data.
> That might work for a vfd but not for a pwm-servo such as Jon sells.
> The way its worded, ENA and DIR appear to be straight thru from input
> to output isolated controls, which would make them 100% useful. But
> because they aren't activated until spinout has valid non-zero data,
> the ENA is of zero use to me. That amp must be enabled, then pulsed to
> charge the gates properly before the data from the pid.out arrives at
> the pwmgen.1.value pin to start its generation of pulses. I do have a
> method worked out that should work, using the otherwise mounted for
> its looks, relay on the SainSmart BoB. Driven by p2 of the 5i25 using
> a special bitfile Peter sent me which puts a 2nd pwmgen on the P2
> connector since the first one goes to /dev/null in the 7i76d. I may be
> able to get that wired up tomorrow, but I am making all this hookup
> hardware as I go. From a 150 foot spool of wire, and a bag of GS12-5
> connectors. Darned near too small for these getting a little shaky old
> hands.
>
>
>
>
> Thats not quite true, The 7I76 DIR output is a completely independent
> output bit and ENA must be present for the analog output to work, that
> is analog out is dependent on ENA but not the other way around.
>
I did not find that in my testing, Peter. Neither ENA- was pulled up to 
the +12 volts on ENA+, nor was DIR- pulled up to the +5 volts on DIR+, 
until I gave it a non-zero spinout. In my testing, no power was applied 
to tb4,1-3 because the intent is to use the 2nd pwmgen as the input to 
jon's servo amp in this instant build. I will use it with the vfd in the 
6040 build that I bought the 2nd 7i76d for. So I was forced to use the 
relay on a sainsmart bob to switch the ena to the pwm-servo amp and use 
a timedelay module to delay everything else until the relay was solidly 
closed.

Is there some other magic I missed?  Humm, maybe, I had not learned about 
the params that needed set according to "man 9 sserial" until yesterday. 
IMO, this should have been mentioned in the downloadable doc for the 
7i76 but is not. They now are being set, so I'll retest and advise 
today.

Those aren't accessible to a halmeter, so I have to use a dvm (or a 
scope) to verify. And I was reading  a wandering 60 millivolts to ground 
at those terminals.

Thanks Peter.

> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.


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 <http://geneslinuxbox.net:6309/gene>



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Peter C. Wallace

On Sat, 2 Feb 2019, Gene Heskett wrote:


Date: Sat, 2 Feb 2019 21:46:24 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:



On Sat, 2 Feb 2019, Gene Heskett wrote:
> Date: Sat, 2 Feb 2019 19:01:59 -0500
> From: Gene Heskett 
> Reply-To: EMC developers 
> To: emc-developers@lists.sourceforge.net
> Subject: Re: [Emc-developers] 7i76 vs spinout signal
>
> On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > On 2 Feb 2019, at 18:13, Gene Heskett 
> > wrote:
> >
> > But whats the range of spindle speed requests that are valid in
> > that case.
>
> Approx -1.8 x 10^308 to  +1.8 x 10^308
>
> Because its a double precision floating point.
>
> Are you reading the 7i76 manual or just the LinuxCNC docs?

The 7i76 manual lacks anything like such an explanation for the
spindle functions. Or has it been expanded and corrected?, I've had
the doc file I am looking at for about 3 months now.

Thanks Andy.

I just read it again, top to bottom and back up. None of this stuff is in 
it, nor is there any reference to reading the manpage for sserial.


The sserial man page has some info about the 7i76 pins


So it does, but haveing no reference to it in the doc, I hadn't read it 
until now. It also states theres a high likelyhood of its being 
permanently out of date.  And it makes zero mention that ENA and DIR 
appear to be activated ONLY when when spinout has valid non-zero data. 
That might work for a vfd but not for a pwm-servo such as Jon sells. The 
way its worded, ENA and DIR appear to be straight thru from input to 
output isolated controls, which would make them 100% useful. But because 
they aren't activated until spinout has valid non-zero data, the ENA is 
of zero use to me. That amp must be enabled, then pulsed to charge the 
gates properly before the data from the pid.out arrives at the 
pwmgen.1.value pin to start its generation of pulses. I do have a method 
worked out that should work, using the otherwise mounted for its looks, 
relay on the SainSmart BoB. Driven by p2 of the 5i25 using a special 
bitfile Peter sent me which puts a 2nd pwmgen on the P2 connector since 
the first one goes to /dev/null in the 7i76d. I may be able to get that 
wired up tomorrow, but I am making all this hookup hardware as I go. 
From a 150 foot spool of wire, and a bag of GS12-5 connectors. Darned 
near too small for these getting a little shaky old hands.





Thats not quite true, The 7I76 DIR output is a completely independent output 
bit and ENA must be present for the analog output to work, that is analog out 
is dependent on ENA but not the other way around.


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Gene Heskett
On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:

> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > On 2 Feb 2019, at 18:13, Gene Heskett 
> > > wrote:
> > >
> > > But whats the range of spindle speed requests that are valid in
> > > that case.
> >
> > Approx -1.8 x 10^308 to  +1.8 x 10^308
> >
> > Because itÿÿs a double precision floating point.
> >
> > Are you reading the 7i76 manual or just the LinuxCNC docs?
>
> The 7i76 manual lacks anything like such an explanation for the
> spindle functions. Or has it been expanded and corrected?, I've had
> the doc file I am looking at for about 3 months now.
>
> Thanks Andy.
>
I just read it again, top to bottom and back up. None of this stuff is in 
it, nor is there any reference to reading the manpage for sserial.
>
> The sserial man page has some info about the 7i76 pins

So it does, but haveing no reference to it in the doc, I hadn't read it 
until now. It also states theres a high likelyhood of its being 
permanently out of date.  And it makes zero mention that ENA and DIR 
appear to be activated ONLY when when spinout has valid non-zero data. 
That might work for a vfd but not for a pwm-servo such as Jon sells. The 
way its worded, ENA and DIR appear to be straight thru from input to 
output isolated controls, which would make them 100% useful. But because 
they aren't activated until spinout has valid non-zero data, the ENA is 
of zero use to me. That amp must be enabled, then pulsed to charge the 
gates properly before the data from the pid.out arrives at the 
pwmgen.1.value pin to start its generation of pulses. I do have a method 
worked out that should work, using the otherwise mounted for its looks, 
relay on the SainSmart BoB. Driven by p2 of the 5i25 using a special 
bitfile Peter sent me which puts a 2nd pwmgen on the P2 connector since 
the first one goes to /dev/null in the 7i76d. I may be able to get that 
wired up tomorrow, but I am making all this hookup hardware as I go. 
From a 150 foot spool of wire, and a bag of GS12-5 connectors. Darned 
near too small for these getting a little shaky old hands.

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 <http://geneslinuxbox.net:6309/gene>



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Peter C. Wallace

On Sat, 2 Feb 2019, Gene Heskett wrote:


Date: Sat, 2 Feb 2019 19:01:59 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] 7i76 vs spinout signal

On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:



> On 2 Feb 2019, at 18:13, Gene Heskett  wrote:
>
> But whats the range of spindle speed requests that are valid in that
> case.

Approx -1.8 x 10^308 to  +1.8 x 10^308

Because it??s a double precision floating point.

Are you reading the 7i76 manual or just the LinuxCNC docs?

The 7i76 manual lacks anything like such an explanation for the spindle 
functions. Or has it been expanded and corrected?, I've had the doc file 
I am looking at for about 3 months now.


Thanks Andy.


The sserial man page has some info about the 7i76 pins






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



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 <http://geneslinuxbox.net:6309/gene>



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

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Gene Heskett
On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:

> > On 2 Feb 2019, at 18:13, Gene Heskett  wrote:
> >
> > But whats the range of spindle speed requests that are valid in that
> > case.
>
> Approx -1.8 x 10^308 to  +1.8 x 10^308
>
> Because it’s a double precision floating point.
>
> Are you reading the 7i76 manual or just the LinuxCNC docs?
>
The 7i76 manual lacks anything like such an explanation for the spindle 
functions. Or has it been expanded and corrected?, I've had the doc file 
I am looking at for about 3 months now.

Thanks Andy.
>
>
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Gene Heskett
On Saturday 02 February 2019 11:00:21 Peter C. Wallace wrote:

> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 07:37:11 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers 
> > Subject: [Emc-developers] 7i76 vs spinout signal
> >
> > Can someone please explain to me, who is used to using a spinx1 for
> > the pwmgen output to analog voltage conversion, just how in tuncket
> > the 7i76 works? I just now found out, when I tried to redirect a
> > 5i25 pwmgen output pin and found from the error  msg as it died,
> > that
> > hm2_5i25.0.7i76.spinout is a float input!
> >
> > In Other Words, pwmgen.0. in the 5i25 is driveing /dev/null.  So I
> > fed the hm2_5i25.0.pwmgen.0.value to hm2_5i25.0.7i76.spinout and can
> > now read it there with a halmeter.  But I've no clue what sort of a
> > float it wants to use the full voltage range of tb4's spindle- to
> > tb4's spindle+ at tb4's spindle-out.
> >
> > The document on the 7i76 seems to be totally mute on this. Can some
> > who knows please explain?
> >
> > To say I am bumfuzzled at this revelation is putting it mildly if
> > this does indeed bring the ENA and DIR outputs on tb4 to life, which
> > are not responding with spinout at 0.. I'll have to
> > recalibrate scales and gains at several locations in nearly a 800
> > LOC hal file.
> >
> > 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 <http://geneslinuxbox.net:6309/gene>
> >
> >
> >
> > ___
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> The 7I76 spindle output should not be too different from a PWM setup
> There are three pins related to spindle control
>
> 7i76.x.x.spindir
> 7i76.x.x.spinena
> 7i76.x.x.spinout
>
> and 5 parameters
>
> 7i76.x.x.spindir-invert
> 7i76.x.x.spinena-invert
> 7i76.x.x.spinout-maxlim
> 7i76.x.x.spinout-minlim
> 7i76.x.x.spinout-scalemax
>
Aha! Thanks Peter, due to an Oldtimers attack, I never thought to check 
the halmeter's params menu. Now it all falls into place.  Those are 
relatively small numbers, set in the .ini file for the G0704, excerpt 
minlim which doesn't apply with a pmdc motor, and the way I'm wiring it 
I don't think the inverts will be needed.

However, I'll need an ENA active separately on the G0704. Can that be 
done by inverting a field output? In the sequence of applying signals to 
srart and boot the pwm-servo, I need the +12 volt on its enable before 
its booted, in order for the boot to work.  And since its a d suffix, 
ENA- looks like the only way.
>
> Typically the maxlim and scalemax parameters are set to the maximum
> spindle RPM, and the minlim parameter is set to 0. This scales the
> analog voltage so full scale RPM is full scale voltage (100% of SPIN+)
>
> The 7I76 output is unipolar so normally its linked to motions spindle
> speed speed-out-abs pin

I think I have something else in that path due the the head gear shift in 
the G0704, but I get the idea now.  There's a pid.s in that setup with 
buckets of Pgain. Not needed in the vfd version since it will never cut 
threads anyway. So I'm not 100% convinced I need a spindle encoder on 
the 6040.

Anyway, I am slowly wiring it up.  And finding the GS12-5 connectors are 
a bit small for my getting shaky hands to reliably solder to. But I'm 
getting there. Dinner got in the way for tonight though. And I could use 
a longer backshell, but thats solvable on the next one. Timeing I'll 
have to check with halscope.  Fun & games. What I really need is an ENA 
I can drive ahead of time, a millisecond or so, or possibly recompile 
the boot module for a much longer chain of start pulses.  That might do 
it.  But next is getting the spindle power supply startup sequence wired 
up. That may require I work over a length of 1/2" conduit to fashion a 
13mm socket on one end of a foot of it so I can reach in under the pcb's 
and tighten the nountings nuts.

Thanks for the help. 

> Peter Wallace
> Mesa Electronics
>
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


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 <http://geneslinuxbox.net:6309/gene>



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Andy Pugh


> On 2 Feb 2019, at 18:13, Gene Heskett  wrote:
> 
> But whats the range of spindle speed requests that are valid in that 
> case.

Approx -1.8 x 10^308 to  +1.8 x 10^308

Because it’s a double precision floating point. 

Are you reading the 7i76 manual or just the LinuxCNC docs?





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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Gene Heskett
On Saturday 02 February 2019 10:19:48 Andy Pugh wrote:

> > On 2 Feb 2019, at 13:37, Gene Heskett  wrote:
> >
> > Can someone please explain to me, who is used to using a spinx1 for
> > the pwmgen output to analog voltage conversion, just how in tuncket
> > the 7i76 works?
>
> The 7i76 has a (serial controlled) digital potentiometer.  You just
> pass it a the spindle speed you want and the two resistances change.
> You wire it exactly like a potentiometer and send it a number.
>
It would be very, very, very, nice if that was mentioned in the docs, 
Andy. Not a dot for an i or the crossbar of at. So I automaticly assumed 
it was a spinx1 in function.

But whats the range of spindle speed requests that are valid in that 
case.  I currently, for testing, have the motors idle speed set to 2, 
faster than the normal .1 that my hal file uses when neither gear shift 
switch is closed because they aren't wired up yet. This results in 
nearly full scale for a value of 49 sent to the pwm, giving a 99.9% duty 
cycle at the pwmgen output because the pid.s.Pgain is 20.  And on the 
GO704 using one of Jons pwm-servo's, I will/am (not wired yet) using the 
pwmgen.1.output sent to p2-gpio-26 as the pwm for that servo amp. But I 
still need functioning ENA- and DIR- so I've got to feed spinout 
something too else they don't work. Whats currently coming out of 
pwmgen.1 has already been calibrated for the GO704 and its pwm-servo 
driving the spindle.

But on the 6040, with its bastard 120 volt vfd, I'll need this 7i76's 
spindle setup from tb4-1-2-3.  But surely it can't deal with being sent 
a value of 24,000, or even half that at 12,000 for half speed of that 
spindle. For that to work there has to be a scale converting the rpms 
requested to something that ranges from 0 top 10 volts at the equ to the 
arm of the pot at tb4-2, where 1 and 3 are the com and 10+ or 12+ volt 
lines from the vfd.

So how is that "scaleing" between 24k rpms when the motor is to be wide 
open, and a full scale output of 10 volts to the vfd to be accomplished 
when I build this same interface for the 6040?  I rx'd the 2nd 7i76d 
yesterday Peter, but haven't unpacked it yet. One track mind strikes 
again. Oldtimers?

==

Much of the same hal file will be used, with only the gearshift stuff 
excised since that spindle has no gearshift. Nor will it have an encoder 
unless I can rig an IR optical off the wrench flats of the motors chuck.  
That will have to co-exist with the tool changer wrench if I build the 
hack-a-day tool changer. But I've already found the needed carousel spin 
is at least a full turn just to break a collet loose with the collets I 
have and only one nut so far, so thats discouraging. But its still a 
cute idea. Perhaps a ratcheting motion could be programmed, turn the nut 
1/3rd turn, lift it out of the socket, rewind the carousel and xy, drop 
it back into the gator socket, turn it another 3rd turn, wash rinse 
repeat as needed. Reverse to tighten but spring load the holding wrench 
away from an "its tight switch" so we don't loose the homes from 
slipping the motors a step or 70. Perhaps 2 switches in case its too 
tight, in which case leave the locking wrench in place, but lift it 
clear of the socket so a hand wrench can be used on the nut to break it 
free.  Use an M30 pause for that.  On a 6040, its big enough the 
carousel could have 8 pockets, and the larger diameter would give the 
motors a better chance of getting it done with less stress on the motors 
and screws.

Thinking out loud...  And all dependant on getting the vfd to respond to 
the DIR- to work, so the motor could be used to drop the nut and pick up 
the next one. In fact, it runs in reverse just fine if its 
miss-configured. I found that quite by accident while trying to make it 
work from the pc with only a 5 volt pwm, but it seems to need a 10 volt 
pwm, applied to a different input terminal.  But thats another subject 
line for Later. :)

Thank you Andy.

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 



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Peter C. Wallace

On Sat, 2 Feb 2019, Gene Heskett wrote:


Date: Sat, 2 Feb 2019 07:37:11 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers 
Subject: [Emc-developers] 7i76 vs spinout signal

Can someone please explain to me, who is used to using a spinx1 for the
pwmgen output to analog voltage conversion, just how in tuncket the 7i76
works? I just now found out, when I tried to redirect a 5i25 pwmgen
output pin and found from the error  msg as it died, that
hm2_5i25.0.7i76.spinout is a float input!

In Other Words, pwmgen.0. in the 5i25 is driveing /dev/null.  So I fed
the hm2_5i25.0.pwmgen.0.value to hm2_5i25.0.7i76.spinout and can now
read it there with a halmeter.  But I've no clue what sort of a float it
wants to use the full voltage range of tb4's spindle- to tb4's spindle+
at tb4's spindle-out.

The document on the 7i76 seems to be totally mute on this. Can some who
knows please explain?

To say I am bumfuzzled at this revelation is putting it mildly if this
does indeed bring the ENA and DIR outputs on tb4 to life, which are not
responding with spinout at 0.. I'll have to recalibrate scales
and gains at several locations in nearly a 800 LOC hal file.

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 <http://geneslinuxbox.net:6309/gene>



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




The 7I76 spindle output should not be too different from a PWM setup
There are three pins related to spindle control

7i76.x.x.spindir
7i76.x.x.spinena
7i76.x.x.spinout

and 5 parameters

7i76.x.x.spindir-invert
7i76.x.x.spinena-invert
7i76.x.x.spinout-maxlim
7i76.x.x.spinout-minlim
7i76.x.x.spinout-scalemax


Typically the maxlim and scalemax parameters are set to the maximum spindle 
RPM, and the minlim parameter is set to 0. This scales the analog voltage so 
full scale RPM is full scale voltage (100% of SPIN+)


The 7I76 output is unipolar so normally its linked to motions spindle speed 
speed-out-abs pin


Peter Wallace
Mesa Electronics



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


Re: [Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Andy Pugh



> On 2 Feb 2019, at 13:37, Gene Heskett  wrote:
> 
> Can someone please explain to me, who is used to using a spinx1 for the 
> pwmgen output to analog voltage conversion, just how in tuncket the 7i76 
> works?

The 7i76 has a (serial controlled) digital potentiometer.  You just pass it a 
the spindle speed you want and the two resistances change. You wire it exactly 
like a potentiometer and send it a number. 

The Spinx1 takes a PWM input and does much the same at the output. 

Wiring a 7i76 to a spinx1 is unlikely to work. 



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


[Emc-developers] 7i76 vs spinout signal

2019-02-02 Thread Gene Heskett
Can someone please explain to me, who is used to using a spinx1 for the 
pwmgen output to analog voltage conversion, just how in tuncket the 7i76 
works? I just now found out, when I tried to redirect a 5i25 pwmgen 
output pin and found from the error  msg as it died, that 
hm2_5i25.0.7i76.spinout is a float input!

In Other Words, pwmgen.0. in the 5i25 is driveing /dev/null.  So I fed 
the hm2_5i25.0.pwmgen.0.value to hm2_5i25.0.7i76.spinout and can now 
read it there with a halmeter.  But I've no clue what sort of a float it 
wants to use the full voltage range of tb4's spindle- to tb4's spindle+ 
at tb4's spindle-out.

The document on the 7i76 seems to be totally mute on this. Can some who 
knows please explain?

To say I am bumfuzzled at this revelation is putting it mildly if this 
does indeed bring the ENA and DIR outputs on tb4 to life, which are not 
responding with spinout at 0.. I'll have to recalibrate scales 
and gains at several locations in nearly a 800 LOC hal file.

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 



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