Re: [Emc-users] Q for Peter?

2022-03-14 Thread gene heskett
On Monday, 14 March 2022 20:21:30 EDT gene heskett wrote:
> On Monday, 28 February 2022 20:11:35 EDT gene heskett wrote:
> > Greetings Peter;
> > 
> > The 7i76 has, I recall reading, the ability to do analog to digital
> > conversions on the first 4 of its inputs. But the full scale range is
> > 36 volts if I recall right.  I don't recall the bit range, though,
> > whether its 8 bit, or 16.
> > 
> > Would it be possible to lower the full scale range to 0-5 volts with
> > a
> > firmware change?
> > 
> > I have acquired a couple pressure sensors rated at 0-10 psi with a 5
> > volt input, .5 to 4.5 volt outbut and want to use them to monitor,
> > and
> > control the speed by pwm means as the mister(s) only need 3 or 4 psi
> > to do their job if the nozzle is close enough to the cutting face.
> > Inch or so.
> 
> And neither of those worked at all, so I bought a couple MAP sensors,
> and when I dl the data sheets, I find they have a fairly high src
> resistance which limits the outut current to about .1 milliamps, with
> an analog voltage swing from typically .2 volts at a very good vacuum,
> to around 4.8 volts at 36.? PSIA. No digital, but an analog output.
> 
> Your A/D's on the first 4 inputs of a 7i76D would need more than the .1
> ma at full scale, so my next search then is for a single supply op-amp
> running on the motor voltage of 42 volts? (or more)
> 
> Well filtered of coarse.
> 
> > Thanks Peter, take care and stay well.

How about this one:



running on a filtered leg of the 42 volt motor psu?

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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


Re: [Emc-users] Q for Peter?

2022-03-14 Thread gene heskett
On Monday, 28 February 2022 20:11:35 EDT gene heskett wrote:
> Greetings Peter;
> 
> The 7i76 has, I recall reading, the ability to do analog to digital
> conversions on the first 4 of its inputs. But the full scale range is
> 36 volts if I recall right.  I don't recall the bit range, though,
> whether its 8 bit, or 16.
> 
> Would it be possible to lower the full scale range to 0-5 volts with a
> firmware change?
> 
> I have acquired a couple pressure sensors rated at 0-10 psi with a 5
> volt input, .5 to 4.5 volt outbut and want to use them to monitor, and
> control the speed by pwm means as the mister(s) only need 3 or 4 psi
> to do their job if the nozzle is close enough to the cutting face.
> Inch or so.
> 
And neither of those worked at all, so I bought a couple MAP sensors, and 
when I dl the data sheets, I find they have a fairly high src resistance
which limits the outut current to about .1 milliamps, with an analog 
voltage swing from typically .2 volts at a very good vacuum, to around 
4.8 volts at 36.? PSIA. No digital, but an analog output.

Your A/D's on the first 4 inputs of a 7i76D would need more than the .1 
ma at full scale, so my next search then is for a single supply op-amp 
running on the motor voltage of 42 volts? (or more)

Well filtered of coarse.

> Thanks Peter, take care and stay well.
> 
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law
> respectable. - Louis D. Brandeis
> Genes Web page 
> 
> 
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> .


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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


Re: [Emc-users] Q for Peter?

2022-03-01 Thread Chris Albertson
There are options that do not involve replacing a small part.

(1) just add an external low side resister (SMT parts are easy to remove) or
(2) if the pressure sensor is actually a pressure-sensitive resister, then
run it with more than 5 Volts.

On Tue, Mar 1, 2022 at 9:40 AM gene heskett  wrote:

> On Tuesday, March 1, 2022 11:55:26 AM EST andy pugh wrote:
> > On Tue, 1 Mar 2022 at 16:25, Peter C. Wallace  wrote:
> > > Not with firmware but you could replace the low side resistor network
> > > on the first 4 inputs with say 22K (was 1.8K) to get about a 5V full
> > > scale range
> > Or, less intrusively, boost the signal with an Op-Amp powered from the
> > field power?
>
> I've considered that, Andy, unforch field power isn't high enough voltage
> at 12 volts on that machine. But that doesn't mean a voltage booster
> won't take up residence there.
>
> Take care and stay well.
>
> Cheers, Gene Heskett.
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Q for Peter?

2022-03-01 Thread gene heskett
On Tuesday, March 1, 2022 11:55:26 AM EST andy pugh wrote:
> On Tue, 1 Mar 2022 at 16:25, Peter C. Wallace  wrote:
> > Not with firmware but you could replace the low side resistor network
> > on the first 4 inputs with say 22K (was 1.8K) to get about a 5V full
> > scale range
> Or, less intrusively, boost the signal with an Op-Amp powered from the
> field power?

I've considered that, Andy, unforch field power isn't high enough voltage 
at 12 volts on that machine. But that doesn't mean a voltage booster 
won't take up residence there.

Take care and stay well.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





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


Re: [Emc-users] Q for Peter?

2022-03-01 Thread gene heskett
On Tuesday, March 1, 2022 11:21:16 AM EST Peter C. Wallace wrote:
> On Mon, 28 Feb 2022, gene heskett wrote:
> > Date: Mon, 28 Feb 2022 20:11:35 -0500
> > From: gene heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > 
> > 
> > To: "Enhanced Machine Controller (EMC)"
> >  Subject: [Emc-users] Q for Peter?
> > 
> > Greetings Peter;
> > 
> > The 7i76 has, I recall reading, the ability to do analog to digital
> > conversions on the first 4 of its inputs. But the full scale range is
> > 36 volts if I recall right.  I don't recall the bit range, though,
> > whether its 8 bit, or 16.
> > 
> > Would it be possible to lower the full scale range to 0-5 volts with
> > a
> > firmware change?
> > 
> > I have acquired a couple pressure sensors rated at 0-10 psi with a 5
> > volt input, .5 to 4.5 volt outbut and want to use them to monitor,
> > and control the speed by pwm means as the mister(s) only need 3 or 4
> > psi to do their job if the nozzle is close enough to the cutting
> > face. Inch or so.
> > 
> > Thanks Peter, take care and stay well.
> > 
> > Cheers, Gene Heskett.
> 
> Not with firmware but you could replace the low side resistor network
> on the first 4 inputs with say 22K (was 1.8K) to get about a 5V full
> scale range

And those are I assume, surface mount grain of sand? 

I'll have to look, and my eyes are starting to fade.

Thanks Peter, stay well now.

> 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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>





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


Re: [Emc-users] Q for Peter?

2022-03-01 Thread andy pugh
On Tue, 1 Mar 2022 at 16:25, Peter C. Wallace  wrote:

> Not with firmware but you could replace the low side resistor network on the
> first 4 inputs with say 22K (was 1.8K) to get about a 5V full scale range

Or, less intrusively, boost the signal with an Op-Amp powered from the
field power?

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


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


Re: [Emc-users] Q for Peter?

2022-03-01 Thread Peter C. Wallace

On Mon, 28 Feb 2022, gene heskett wrote:


Date: Mon, 28 Feb 2022 20:11:35 -0500
From: gene heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Q for Peter?

Greetings Peter;

The 7i76 has, I recall reading, the ability to do analog to digital
conversions on the first 4 of its inputs. But the full scale range is 36
volts if I recall right.  I don't recall the bit range, though, whether
its 8 bit, or 16.

Would it be possible to lower the full scale range to 0-5 volts with a
firmware change?

I have acquired a couple pressure sensors rated at 0-10 psi with a 5 volt
input, .5 to 4.5 volt outbut and want to use them to monitor, and control
the speed by pwm means as the mister(s) only need 3 or 4 psi to do their
job if the nozzle is close enough to the cutting face. Inch or so.

Thanks Peter, take care and stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>




Not with firmware but you could replace the low side resistor network on the 
first 4 inputs with say 22K (was 1.8K) to get about a 5V full scale range







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



Peter Wallace
Mesa Electronics

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



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


[Emc-users] Q for Peter?

2022-02-28 Thread gene heskett
Greetings Peter;

The 7i76 has, I recall reading, the ability to do analog to digital 
conversions on the first 4 of its inputs. But the full scale range is 36 
volts if I recall right.  I don't recall the bit range, though, whether 
its 8 bit, or 16.

Would it be possible to lower the full scale range to 0-5 volts with a 
firmware change?

I have acquired a couple pressure sensors rated at 0-10 psi with a 5 volt 
input, .5 to 4.5 volt outbut and want to use them to monitor, and control 
the speed by pwm means as the mister(s) only need 3 or 4 psi to do their 
job if the nozzle is close enough to the cutting face. Inch or so.

Thanks Peter, take care and stay well.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 





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


Re: [Emc-users] Q for Peter CW.

2020-09-11 Thread Gene Heskett
On Thursday 10 September 2020 20:04:38 Gene Heskett wrote:

> On Thursday 10 September 2020 19:53:16 andy pugh wrote:
> > On Thu, 10 Sep 2020 at 22:46, Gene Heskett 
>
> wrote:
> > > True but subject to the time granularity of the servo-loop, and
> > > not fast enough to catch the first step without thinking about
> > > addf ordering.
> >
> > The step-gen won't make steps until it sees the new target. So
> > running the step-gen servo-thread section first in the list will
> > mean that it always gets a 1mS (or so) wait before the first pulse.
>
> I'll try to remember that when I get ready to put it online.  At my
> current progress with this 3d printer, I may even be another year
> older by then. :-(

That 4 lines of hal seems to be working, now I just need to find an 
output not currently occupied. If thats upside down, I assume a not 
right under it in the addf list would fix that. From the data sheet, I 
need to src a logic 1.  Its a 100k load so driving both with one wire is 
feasible.

Thank you guys.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Q for Peter CW.

2020-09-10 Thread Gene Heskett
On Thursday 10 September 2020 19:53:16 andy pugh wrote:

> On Thu, 10 Sep 2020 at 22:46, Gene Heskett  
wrote:
> > True but subject to the time granularity of the servo-loop, and not
> > fast enough to catch the first step without thinking about addf
> > ordering.
>
> The step-gen won't make steps until it sees the new target. So running
> the step-gen servo-thread section first in the list will mean that it
> always gets a 1mS (or so) wait before the first pulse.

I'll try to remember that when I get ready to put it online.  At my 
current progress with this 3d printer, I may even be another year older 
by then. :-(

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


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


Re: [Emc-users] Q for Peter CW.

2020-09-10 Thread andy pugh
On Thu, 10 Sep 2020 at 22:46, Gene Heskett  wrote:

> True but subject to the time granularity of the servo-loop, and not fast
> enough to catch the first step without thinking about addf ordering.

The step-gen won't make steps until it sees the new target. So running
the step-gen servo-thread section first in the list will mean that it
always gets a 1mS (or so) wait before the first pulse.

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


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


Re: [Emc-users] Q for Peter CW.

2020-09-10 Thread Sam Sokolik
I think peters solution would work just fine.  You have acceleration time.
It isn't like the stepper is going to be instantly moving at to speed.

The leadshine seems to have this built in.  After it doesn't see any steps
it lowers power.  Once it sees steps - it raises it back up.  Unknown to
linuxcnc.

On Thu, Sep 10, 2020, 4:46 PM Gene Heskett  wrote:

> On Thursday 10 September 2020 15:07:51 Peter C. Wallace wrote:
>
> > On Thu, 10 Sep 2020, Gene Heskett wrote:
> > > Date: Thu, 10 Sep 2020 13:53:24 -0400
> > > From: Gene Heskett 
> > > Reply-To: "Enhanced Machine Controller (EMC)"
> > >     
> > > To: "Enhanced Machine Controller (EMC)"
> > >  Subject: [Emc-users] Q for Peter
> > > CW.
> > >
> > > Greetings Peter;
> > >
> > > How hard would it be to convert the joint.#.free-tp-enable into
> > > move-is-in-progress signal?
> >
> > I think I would just use the "near" component on the commanded joint
> > velocity so when the commanded joint velocity is very "near" 0, the
> > current is lowered
> >
> True but subject to the time granularity of the servo-loop, and not fast
> enough to catch the first step without thinking about addf ordering.
> I'd like to home it, and not worry about losing steps.
>
> hal snippets welcome.
>
> Thanks Peter.
> >
> > Peter Wallace
> > Mesa Electronics
> >
> > (\__/)
> > (='.'=) This is Bunny. Copy and paste bunny into your
> > (")_(") signature to help him gain world domination.
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Q for Peter CW.

2020-09-10 Thread Gene Heskett
On Thursday 10 September 2020 15:07:51 Peter C. Wallace wrote:

> On Thu, 10 Sep 2020, Gene Heskett wrote:
> > Date: Thu, 10 Sep 2020 13:53:24 -0400
> > From: Gene Heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: "Enhanced Machine Controller (EMC)"
> >  Subject: [Emc-users] Q for Peter
> > CW.
> >
> > Greetings Peter;
> >
> > How hard would it be to convert the joint.#.free-tp-enable into
> > move-is-in-progress signal?
>
> I think I would just use the "near" component on the commanded joint
> velocity so when the commanded joint velocity is very "near" 0, the
> current is lowered
>
True but subject to the time granularity of the servo-loop, and not fast 
enough to catch the first step without thinking about addf ordering.  
I'd like to home it, and not worry about losing steps.

hal snippets welcome.

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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


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


Re: [Emc-users] Q for Peter CW.

2020-09-10 Thread Peter C. Wallace

On Thu, 10 Sep 2020, Gene Heskett wrote:


Date: Thu, 10 Sep 2020 13:53:24 -0400
From: Gene Heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Q for Peter CW.

Greetings Peter;

How hard would it be to convert the joint.#.free-tp-enable into
move-is-in-progress signal?



I think I would just use the "near" component on the commanded joint velocity
so when the commanded joint velocity is very "near" 0, the current is lowered


Peter Wallace
Mesa Electronics

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



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


[Emc-users] Q for Peter CW.

2020-09-10 Thread Gene Heskett
Greetings Peter;

How hard would it be to convert the joint.#.free-tp-enable into 
move-is-in-progress signal?

Prowling around with a hal-meter, I found this signal is true for the 
duration of a keyboard jog, but doesn't react during an gcode move from 
the mdi command line, or a keyboard jog after the mdi move.  So its only 
a valid signal from lcnc launch to the first non-keyboard move.  It 
isn't active while the machine is homeing that axis. And is no longer 
active for a keyboard jog after homeing.

What I need is a logic signal from a joint, to use as a full power enable 
in a dumb stepper driver. The Toshiba TB6560AHQ/AFG has a 4 step power 
level adjustable by 2 of a 7 position dip switch, and the response is 
instant, so an "I'm moveing" signal could be used to switch it from 20% 
holding power up to full power for the duration of the move, with an 
instant back to 20% at the end of the jog. Both the enable and reset 
signals muck with the counters and would destroy the lcnc derived "home" 
validity since they both re-enable to known positions according to the 
data sheet.

I have 4 of the TB6560 based drivers, boards are marked "TX14207",and 
could easily remove the dip switch to put those 2 logic inputs under 
external controls, in this case one or more of a box of 92oz/in nema 17 
motors. Unforch, at full power, they get hot enough to destroy any PLA 
plastic in contact with them from cold flow, like these harmonic drives 
are 3d printed from. At 20% the heating is only a few degrees for 
overnight running at lower speeds.

I don't have a machine that uses that signal for anything. So converting 
it to an "I'm moving" signal, a much more usable signal seems desirable 
as it would make a bunch of sub $10 drives a lot more usable.

Can this be done?

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


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