Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Gene Heskett
On Wednesday 11 November 2015 03:11:17 Dr. Nikolaus Klepp wrote:

> Hi Gene!
>
> > > or place this fragment in .xinitrc (all in one line) or any script
> > > that gets executed when you log into your X session:
> > >
> > > xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> > > 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
> >
> > This had no effect. Puzzling.
>
> I always forget ... TDE does not execute ~/.xinitrc nor ~/.xsessionrc,
> so you need a little workaround:
>
> Create a file ~/.trinity/Autostart/xinitrc.desktop with this content -
> adapt line 3 to your .xinitrc:
>
> [Desktop Entry]
> Comment=
> Exec[$e]='/home/gene/.xinitrc'
> GenericName=
> Icon=exec
> MimeType=
> Name=
> Path[$e]=
> StartupNotify=true
> Terminal=false
> TerminalOptions=
> Type=Application
> X-DCOP-ServiceType=
> X-TDE-SubstituteUID=false
> X-TDE-Username=
>
> Then make sure .xinitrc is executable and works when you execute it
> from konsole. It may be necessary to add a little start delay, so my
> .xinitrc begins with:
>
> #!/bin/bash
> sleep 5
> # DEBUG
> xmessage ".xinitrc :-)"
>
> Now restart trinity and look if the message window comes up ..
>
> Nik

>From in here, over an ssh -Y session , after a chmod 0755, it pops up a 
little bitty window in 5 seconds.  So I put a # sign in the .bashrc. 
After daylight & some caffiene, I'll logout & back in to test it, from 
its own konsole.  Then I have to go see if I can restore a 60 yo 1kw 
Gates BC1 AM transmitter, again.  Something in the feedback loop around 
the modulator is causing a severe unbalance in how hard each of the pair 
of 833's is working, so one is running bright red and the other is 
nearly invisible.  No way in tuncket it could ever pass a Proof of 
Performance.  That, and his < 3/8 wavelength stick is so far out of 
tune.

I have no clue where the J is, but the effective R is at least 70 ohms, 
send out a 1000 watts & the Bird meter says nearly 200 is coming back.

That stick has 2 sets of ICR antennas on it now that weren't there the 
last time the doghouse was tuned up.  He doesn't quite grasp that that 
stuff changes the towers tune.

I've been looking for a GR Bridge, but so few of those were made that 
anything that might work is north of $1k USD. None are less than 50 yo.

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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Dr. Nikolaus Klepp
Am Mittwoch, 11. November 2015 schrieb Dr. Nikolaus Klepp:
> Hi Gene!
> 
> > > or place this fragment in .xinitrc (all in one line) or any script
> > > that gets executed when you log into your X session:
> > >
> > > xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> > > 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
> > >
> > This had no effect. Puzzling.
> 
> I always forget ... TDE does not execute ~/.xinitrc nor ~/.xsessionrc, so you 
> need a little workaround:
> 
> Create a file ~/.trinity/Autostart/xinitrc.desktop with this content - adapt 
> line 3 to your .xinitrc:

Hi Gene!

Sorry, forget the thing with .trinity/Autostart/xinitrc.desktop and the added 
delay. Just make:
$ ln -s .xinitrc .xsessionrc
and it should work.

Nik



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

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


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Gene Heskett
On Wednesday 11 November 2015 03:25:09 Dr. Nikolaus Klepp wrote:

> Am Mittwoch, 11. November 2015 schrieb Dr. Nikolaus Klepp:
> > Hi Gene!
> >
> > > > or place this fragment in .xinitrc (all in one line) or any
> > > > script that gets executed when you log into your X session:
> > > >
> > > > xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > > > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#'
> > > > -e 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
> > >
> > > This had no effect. Puzzling.
> >
> > I always forget ... TDE does not execute ~/.xinitrc nor
> > ~/.xsessionrc, so you need a little workaround:
> >
> > Create a file ~/.trinity/Autostart/xinitrc.desktop with this content
> > - adapt line 3 to your .xinitrc:
>
> Hi Gene!
>
> Sorry, forget the thing with .trinity/Autostart/xinitrc.desktop and
> the added delay. Just make: $ ln -s .xinitrc .xsessionrc
> and it should work.
>
> Nik

Ok, I killed the Autostart file, and the delay & message lines & made the 
link.  Is this the final version? :)

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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Gene Heskett
On Wednesday 11 November 2015 05:36:22 Dr. Nikolaus Klepp wrote:

> Hi Gene!
>
> > Ok, I killed the Autostart file, and the delay & message lines &
> > made the link.  Is this the final version? :)
>
> Almost :-) If you want to be almost absolutely sure that the
> xresources are changed after TDE loads it's theme then you should use
> this fragment:
>
> # LINUXCNC
> (
>   sleep 10
>   xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge ) &
>
In what file? The trail is getting dim here.

> ... and that's definitly the finally the last version :-)
>
> Nik


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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Dr. Nikolaus Klepp
Am Mittwoch, 11. November 2015 schrieb Gene Heskett:
> On Wednesday 11 November 2015 05:36:22 Dr. Nikolaus Klepp wrote:
> 
> > Hi Gene!
> >
> > > Ok, I killed the Autostart file, and the delay & message lines &
> > > made the link.  Is this the final version? :)
> >
> > Almost :-) If you want to be almost absolutely sure that the
> > xresources are changed after TDE loads it's theme then you should use
> > this fragment:
> >
> > # LINUXCNC
> > (
> > sleep 10
> > xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> > 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge ) &
> >
> In what file? The trail is getting dim here.
> 
> > ... and that's definitly the finally the last version :-)
> >
> > Nik
> 
> 
> Cheers, Gene Heskett

Hi Gene!

Put it in .xinitrc . You could also put just the line with "xrdb ..." it in 
your .bashrc. Just make sure that the xresources are set propperly if you start 
linuxcnc.

nik


-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread andy pugh
On 11 November 2015 at 13:13, Rick Lair  wrote:

> The M40 is going to "sets return-tool true", and I was going to use the
> the M39 to "sets return-tool false". Unless there is a better way to
> reset the signal without calling the M39?

Why not net a classic ladder output directly to whatever pins are
connected to the return-tool signal?

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread Rick Lair
I did answer my own question, I added a dwell time, then called the m39 
from the m40, using subroutines.

John,

I am not sure how to use the M6 command to put the currently loaded tool 
away, back into the carousel.

I am just doing this that way if the operator knows he needs to shut 
linuxcnc down, he can put the loaded tool away, and start it back up, 
without a tool in the spindle, and not confuse the hell out of the 
ladder logic and carousel component. I tried starting it up and using 
the M61QXX command, which works, but when you go to change the tool, the 
carousel is still sitting on pocket 1, ( haven't figured out how yet, I 
specify yet, to get the carousel to index to pocket XX that is set with 
the M61 command )  so it will try to put tool XX, into pocket 1, which 
would probably already have a tool in it.

On 11/11/2015 8:25 AM, John Thornton wrote:
> I just have to wonder why your not using iocontrol.0.tool-change and
> iocontrol.0.tool-changed or am I totally off track and not understanding
> the application?
>
> JT
>
> On 11/11/2015 7:13 AM, Rick Lair wrote:
>> Good Morning Gentleman,
>>
>> Is it possible, to call an m-code using a classicladder output?
>>
>> Now that I have my tool changer working, I am trying to work into my
>> ladder logic the ability to call a M40, and it will put the tool that is
>> in the spindle back into the carousel, and then when the logic is
>> finished, have classicladder call an M39.
>>
>> The M40 is going to "sets return-tool true", and I was going to use the
>> the M39 to "sets return-tool false". Unless there is a better way to
>> reset the signal without calling the M39? Really I need the M40 to pulse
>> the "return-tool" signal true for maybe 3-4 tenths of a second to get
>> the ladder rolling, but my original train of thought is just fine.
>>
>>
>
> --
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

-- 

Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread Marius Liebenberg
So far I know you use a MDI_COMMAND  in the .ini file and then you 
connect that through halui.mdi-command-01

-- Original Message --
From: "Rick Lair" 
To: "Emc Users" 
Sent: 2015-11-11 15:13:57
Subject: [Emc-users] Call an M Code from a Classic ladder output

>Good Morning Gentleman,
>
>Is it possible, to call an m-code using a classicladder output?
>
>Now that I have my tool changer working, I am trying to work into my
>ladder logic the ability to call a M40, and it will put the tool that 
>is
>in the spindle back into the carousel, and then when the logic is
>finished, have classicladder call an M39.
>
>The M40 is going to "sets return-tool true", and I was going to use the
>the M39 to "sets return-tool false". Unless there is a better way to
>reset the signal without calling the M39? Really I need the M40 to 
>pulse
>the "return-tool" signal true for maybe 3-4 tenths of a second to get
>the ladder rolling, but my original train of thought is just fine.
>
>
>--
>
>Thanks
>
>
>Rick Lair
>Superior Roll & Turning LLC
>399 East Center Street
>Petersburg MI, 49270
>PH: 734-279-1831
>FAX: 734-279-1166
>www.superiorroll.com
>
>
>--
>___
>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] Would this new item be of any use?

2015-11-11 Thread Dave Cole
That's basically a crankshaft position sensor.

I got the link from another guy asking if we could use it on a machine.

The gear pitch needed is .160 so at full quad the resolution should be 
.040 or about a mm.  There is a data sheet link on the Allied 
Electronics page.

The price I think was $27 via Allied but they had none in stock as it is 
a new product.  Still, pretty cheap.

Dave



On 11/10/2015 6:58 PM, Bruce Layne wrote:
> The resolution is determined by the number of teeth on the gear that is
> being sensed by the two Hall effect sensors in that integrated Honeywell
> sensor.  For example, if you had a 100 tooth gear, you'd have 400
> quadrature state changes per revolution.  A spindle speed sensor doesn't
> really need much resolution.
>
> As others have stated, there is no index pulse, so you'd need to add
> that for a spindle encoder if you wanted rigid tapping, but if you only
> wanted a spindle speed indicator, this should do the trick.
>
> The sensor looks very durable, mechanically.  Two discrete Hall effect
> sensors that we'd bend around until they were in a quadrature generating
> alignment would be cheaper, but not nearly as durable. It also looks
> like Honeywell put enough electronics in there to provide some much
> better noise immunity than discrete Hall effect sensors would probably have.
>
>
>
> On 11/10/2015 06:40 PM, Gene Heskett wrote:
>> Certainly a decent price, but zero mention of its resolution?
>
> --
> ___
> 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] Tool changer finally working on our mill project

2015-11-11 Thread Dave Cole
In my past life I worked with the CNC guys at Milacron in the early 90's 
before the company fractured into several parts.  For a period of time 
Siemens sold them containers full of Servo motors and drives on a 
regular basis. They were a huge Siemens customer.
Those guys were sharp.   If they could take a second out of some motion, 
they would do it.For a while they had their own in house developed 
CNC control.   Siemens bought out part of Milacron for the CNC control 
and harvested what they could and eventually shut down that 
operation. Milacron split into several different directions in the 
90's.  For a large part of the 20th century they were a very important 
business in and around Cincinnati.   They just couldn't figure out how 
to compete with the low cost machines coming in from overseas.

Dave

On 11/10/2015 10:13 PM, r...@superiorroll.com wrote:
> Proportionally controlled hydraulic motor, with hard stops and limit switches 
> at each stopping point of its travels. It takes about 2.5 seconds to make the 
> 180 degree rotation. That is about as fast as I can get it to go, without 
> having the tool shaking/rocking too badly when it stops to be exchanged or 
> put away.
>
>
> Rick
>
>  Original Message 
> Subject: Re: [Emc-users] Tool changer finally working on our mill project
> From: "John Dammeyer" 
> Date: Tue, November 10, 2015 9:33 pm
> To: "'Enhanced Machine Controller (EMC)'" 
>
> I guess that depends on how fast it rotates and how the tool is gripped.  It
> also depends on whether the rotation is a DC motor with end stop switches or
> a servo with position reporting.  No point in moving and decelerating to a
> stop, telling the unit to extend and then accelerating back up to the
> rotation speed.
> If it is DC motor based a switch half way around would serve as the
> extend/retract begin indication.
> On the way to the spindle the switch triggers the extend.  On the way from
> the spindle the switch triggers the retract.
> Only when ready to store the tool does it extend again as it does now.
> John
>
>
>> -Original Message-
>> From: Dave Cole [mailto:linuxcncro...@gmail.com]
>> Sent: November-10-15 1:55 PM
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] Tool changer finally working on our mill project
>>
>>
>> If you rotate it with it extended it will have a lot more inertia, tend
>> to throw the tool, and be harder on the rotator.
>>
>> If it was rotated with the tool retracted originally, there is likely a
>> good reason why they did that.
>>
>> Dave
>>
>> On 11/10/2015 4:36 PM, r...@superiorroll.com wrote:
>>> When I was writing the ladder logic I followed the original sequence of
>> events, but this does make sense, guess I've got some tweaking to do.
>>> Thanks
>>>
>>> Rick
>>>
>>>  Original Message 
>>> Subject: Re: [Emc-users] Tool changer finally working on our mill
> project
>>> From: "Pete Matos" 
>>> Date: Tue, November 10, 2015 3:39 pm
>>> To: "Enhanced Machine Controller (EMC)" > us...@lists.sourceforge.net>
>>> John  I wondered the same thing but chalked it up to clearing the
> housing
>>> of the carousel...altho it does appear to have room.
>>>
>>> Pete
>>>
>>>
>>> On Tue, Nov 10, 2015 at 3:22 PM, John Dammeyer
>> 
>>> wrote:
>>>
 Hi,
 Any reason why you won't push the tool holder outwards once it clears
>> the
 carousel so that when it arrives under the spindle it's already fully
 extended?  Would save time on tool changes.
 Very nice though.
 John

> -Original Message-
> From: Pete Matos [mailto:petefro...@gmail.com]
> Sent: November-10-15 10:00 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Tool changer finally working on our mill
> project
>
> Very nice Rickcolor me jealous!!
>
> Pete
>
> On Tue, Nov 10, 2015 at 12:37 PM, Rick Lair 
 wrote:
>> Here it is, after putting all the pieces together, and working the
> bugs
>> out, I finally got the tool change working using Andy Pugh's carousel
>> component to control the tool carousel, and a pretty healthy chunk of
>> ladder logic to control everything else. All using Linuxcnc 2.7.
>>
>> Thanks for the help guys,,,
>>
>> https://youtu.be/HwXmZDTMeCA
>>
>> More video's to come
>>
>>
>> --
>>
>> Thanks
>>
>>
>> Rick Lair
>> Superior Roll & Turning LLC
>> 399 East Center Street
>> Petersburg MI, 49270
>> PH: 734-279-1831
>> FAX: 734-279-1166
>> www.superiorroll.com
>>
>>
>>
>>
> 
 --
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> 

Re: [Emc-users] Tool changer finally working on our mill project

2015-11-11 Thread John Dammeyer
In that case a switch signalling clear or midpoint would be the best option.
If you even wanted to do speed things up a tad.
John

> -Original Message-
> From: r...@superiorroll.com [mailto:r...@superiorroll.com]
> Sent: November-10-15 7:13 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Tool changer finally working on our mill project
> 
> 
> Proportionally controlled hydraulic motor, with hard stops and limit
> switches at each stopping point of its travels. It takes about 2.5 seconds
to
> make the 180 degree rotation. That is about as fast as I can get it to go,
> without having the tool shaking/rocking too badly when it stops to be
> exchanged or put away.
> 
> 
> Rick
> 
>  Original Message 
> Subject: Re: [Emc-users] Tool changer finally working on our mill project
> From: "John Dammeyer" 
> Date: Tue, November 10, 2015 9:33 pm
> To: "'Enhanced Machine Controller (EMC)'"  us...@lists.sourceforge.net>
> 
> I guess that depends on how fast it rotates and how the tool is gripped.
It
> also depends on whether the rotation is a DC motor with end stop switches
> or
> a servo with position reporting.  No point in moving and decelerating to a
> stop, telling the unit to extend and then accelerating back up to the
> rotation speed.
> If it is DC motor based a switch half way around would serve as the
> extend/retract begin indication.
> On the way to the spindle the switch triggers the extend.  On the way from
> the spindle the switch triggers the retract.
> Only when ready to store the tool does it extend again as it does now.
> John
> 
> 
> > -Original Message-
> > From: Dave Cole [mailto:linuxcncro...@gmail.com]
> > Sent: November-10-15 1:55 PM
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] Tool changer finally working on our mill
project
> >
> >
> > If you rotate it with it extended it will have a lot more inertia, tend
> > to throw the tool, and be harder on the rotator.
> >
> > If it was rotated with the tool retracted originally, there is likely a
> > good reason why they did that.
> >
> > Dave
> >
> > On 11/10/2015 4:36 PM, r...@superiorroll.com wrote:
> > > When I was writing the ladder logic I followed the original sequence
of
> > events, but this does make sense, guess I've got some tweaking to do.
> > >
> > > Thanks
> > >
> > > Rick
> > >
> > >  Original Message 
> > > Subject: Re: [Emc-users] Tool changer finally working on our mill
> project
> > > From: "Pete Matos" 
> > > Date: Tue, November 10, 2015 3:39 pm
> > > To: "Enhanced Machine Controller (EMC)"  > us...@lists.sourceforge.net>
> > >
> > > John  I wondered the same thing but chalked it up to clearing the
> housing
> > > of the carousel...altho it does appear to have room.
> > >
> > > Pete
> > >
> > >
> > > On Tue, Nov 10, 2015 at 3:22 PM, John Dammeyer
> > 
> > > wrote:
> > >
> > >> Hi,
> > >> Any reason why you won't push the tool holder outwards once it clears
> > the
> > >> carousel so that when it arrives under the spindle it's already fully
> > >> extended?  Would save time on tool changes.
> > >> Very nice though.
> > >> John
> > >>
> > >>> -Original Message-
> > >>> From: Pete Matos [mailto:petefro...@gmail.com]
> > >>> Sent: November-10-15 10:00 AM
> > >>> To: Enhanced Machine Controller (EMC)
> > >>> Subject: Re: [Emc-users] Tool changer finally working on our mill
> project
> > >>>
> > >>>
> > >>> Very nice Rickcolor me jealous!!
> > >>>
> > >>> Pete
> > >>>
> > >>> On Tue, Nov 10, 2015 at 12:37 PM, Rick Lair 
> > >> wrote:
> >  Here it is, after putting all the pieces together, and working the
> bugs
> >  out, I finally got the tool change working using Andy Pugh's
carousel
> >  component to control the tool carousel, and a pretty healthy chunk
of
> >  ladder logic to control everything else. All using Linuxcnc 2.7.
> > 
> >  Thanks for the help guys,,,
> > 
> >  https://youtu.be/HwXmZDTMeCA
> > 
> >  More video's to come
> > 
> > 
> >  --
> > 
> >  Thanks
> > 
> > 
> >  Rick Lair
> >  Superior Roll & Turning LLC
> >  399 East Center Street
> >  Petersburg MI, 49270
> >  PH: 734-279-1831
> >  FAX: 734-279-1166
> >  www.superiorroll.com
> > 
> > 
> > 
> > 
> > >>
>

> > >> --
> >  ___
> >  Emc-users mailing list
> >  Emc-users@lists.sourceforge.net
> >  https://lists.sourceforge.net/lists/listinfo/emc-users
> > 
> > >>>
> > >>>
> > >>> --
> > >>> Pete Matos
> > >>> A and N Precision and Fabrication
> > >>> Maryville, Tennessee
> > >>> 865-236-8996
> > >>>
> > >>
>

> > >> --
> > >>> 

Re: [Emc-users] Would this new item be of any use?

2015-11-11 Thread andy pugh
On 11 November 2015 at 16:32, Dave Cole  wrote:
> That's basically a crankshaft position sensor.

Some CPSes use a magnetic track (I have a few in a drawer).
They typically use a missing tooth (normally just a shorter tooth,
when it is a tooth) for index.
It would be nice to add missing-tooth index to the linuxcnc encoder.

> The gear pitch needed is .160 so at full quad the resolution should be
> .040 or about a mm.  There is a data sheet link on the Allied
> Electronics page.

You will get a distorted but usable quadrature for quite a range
around that, however.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] Tool changer finally working on our mill project

2015-11-11 Thread andy pugh
On 11 November 2015 at 17:10, John Dammeyer  wrote:
> In that case a switch signalling clear or midpoint would be the best option.
> If you even wanted to do speed things up a tad.

Outside of Brother demos on Youtube the tool-change time is normally a
tiny proportion of the total machining time.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread John Thornton
I just have to wonder why your not using iocontrol.0.tool-change and 
iocontrol.0.tool-changed or am I totally off track and not understanding 
the application?

JT

On 11/11/2015 7:13 AM, Rick Lair wrote:
> Good Morning Gentleman,
>
> Is it possible, to call an m-code using a classicladder output?
>
> Now that I have my tool changer working, I am trying to work into my
> ladder logic the ability to call a M40, and it will put the tool that is
> in the spindle back into the carousel, and then when the logic is
> finished, have classicladder call an M39.
>
> The M40 is going to "sets return-tool true", and I was going to use the
> the M39 to "sets return-tool false". Unless there is a better way to
> reset the signal without calling the M39? Really I need the M40 to pulse
> the "return-tool" signal true for maybe 3-4 tenths of a second to get
> the ladder rolling, but my original train of thought is just fine.
>
>


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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread Rick Lair
How will your carousel component handle that "0"?



On 11/11/2015 8:42 AM, andy pugh wrote:
> On 11 November 2015 at 13:38, Rick Lair  wrote:
>> I am not sure how to use the M6 command to put the currently loaded tool
>> away, back into the carousel.
>
> M6 T0
>

-- 

Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


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


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Dr. Nikolaus Klepp
Hi Gene!

> Ok, I killed the Autostart file, and the delay & message lines & made the 
> link.  Is this the final version? :)

Almost :-) If you want to be almost absolutely sure that the xresources are 
changed after TDE loads it's theme then you should use this fragment:

# LINUXCNC
(
sleep 10
xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e 
's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e 
's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
) &

... and that's definitly the finally the last version :-)

Nik


-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

   

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


[Emc-users] Turning digital outputs on G-code move without slowing down

2015-11-11 Thread Marius Alksnys
I want to control two digital outputs while in motion without slow-down.
Now I use G1 with A axis. Neither Arc Blend TP settings in ini nor M62, 
63, 64, 65 seems to help - I get a slowdown at the switching point.


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


Re: [Emc-users] Turning digital outputs on G-code move without slowing down

2015-11-11 Thread Robert Ellenberg
Hi Marius,

The problem is not the digital IO, but the A axis. Currently the TP does
not support arc blends between rotary axis moves, so it falls back to
parabolic blends (which can be slower for short segments).

Rob

On Wed, Nov 11, 2015, 7:31 AM Marius Alksnys 
wrote:

> I want to control two digital outputs while in motion without slow-down.
> Now I use G1 with A axis. Neither Arc Blend TP settings in ini nor M62,
> 63, 64, 65 seems to help - I get a slowdown at the switching point.
>
>
>
> --
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Peter Blodow
Gene,
telling from my rusty experience from waybackwhen (and the RCA 
transmitting tube manual of 1962) I suspect that the one glowing tube 
has too much positive DC grid voltage, maybe resulting from a faulty 
driver (suspect: capacitors). The ouput power you are measuring comes 
from the other 833 alone which is possible if the circuit is designed 
for class C operation.

A 833A can carry 1650 W without forced air cooling at 4 kV on the anode 
so this heating power is probably not all high frequency, but DC anode 
current, I guess. At less than1 kW it's not yet supposed to glow. The 
manual says: "At a plate votlage of 4000 V, a fixed bias of at least -90 
V should be applied". If the fault occurred suddenly, it won't be a HF 
balance problem, these more likely tend to sneak in.

(I have built an audio band amp with two 807s P-P once upon a time in 
the early ages of rock'n roll music and dealt a lot with those 
transmitting tubes.)

Peter



Am 11.11.2015 11:15, schrieb Gene Heskett:
> Then I have to go see if I can restore a 60 yo 1kw Gates BC1 AM 
> transmitter, again. Something in the feedback loop around the 
> modulator is causing a severe unbalance in how hard each of the pair 
> of 833's is working, so one is running bright red and the other is 
> nearly invisible. No way in tuncket it could ever pass a Proof of 
> Performance. That, and his < 3/8 wavelength stick is so far out of 
> tune. I have no clue where the J is, but the effective R is at least 
> 70 ohms, send out a 1000 watts & the Bird meter says nearly 200 is 
> coming back. That stick has 2 sets of ICR antennas on it now that 
> weren't there the last time the doghouse was tuned up. He doesn't 
> quite grasp that that stuff changes the towers tune. I've been looking 
> for a GR Bridge, but so few of those were made that anything that 
> might work is north of $1k USD. None are less than 50 yo. Cheers, Gene 
> Heskett 


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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


[Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread Rick Lair
Good Morning Gentleman,

Is it possible, to call an m-code using a classicladder output?

Now that I have my tool changer working, I am trying to work into my 
ladder logic the ability to call a M40, and it will put the tool that is 
in the spindle back into the carousel, and then when the logic is 
finished, have classicladder call an M39.

The M40 is going to "sets return-tool true", and I was going to use the 
the M39 to "sets return-tool false". Unless there is a better way to 
reset the signal without calling the M39? Really I need the M40 to pulse 
the "return-tool" signal true for maybe 3-4 tenths of a second to get 
the ladder rolling, but my original train of thought is just fine.


-- 

Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread andy pugh
On 11 November 2015 at 13:38, Rick Lair  wrote:
> I am not sure how to use the M6 command to put the currently loaded tool
> away, back into the carousel.


M6 T0

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] Turning digital outputs on G-code move without slowing down

2015-11-11 Thread Marius Alksnys
Actually this is simple single axis move. Ok, so, the receipt is to 
change it to Y (possible this time) and use digital out M6... commands?

Are there any plans for TP to support 6 or all 9 axes?

11/11/2015 02:51 PM, Robert Ellenberg rašė:
> Hi Marius,
>
> The problem is not the digital IO, but the A axis. Currently the TP does
> not support arc blends between rotary axis moves, so it falls back to
> parabolic blends (which can be slower for short segments).
>
> Rob
>
> On Wed, Nov 11, 2015, 7:31 AM Marius Alksnys 
> wrote:
>
>> I want to control two digital outputs while in motion without slow-down.
>> Now I use G1 with A axis. Neither Arc Blend TP settings in ini nor M62,
>> 63, 64, 65 seems to help - I get a slowdown at the switching point.
>>


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


Re: [Emc-users] Call an M Code from a Classic ladder output

2015-11-11 Thread andy pugh
On 11 November 2015 at 13:54, Rick Lair  wrote:
> How will your carousel component handle that "0"?

I don't actually know...
This is the problem with writing components that you don't actually need.

Looking at the code, it will enter state 1 then not move. Which is
probably about right.

enable going false really ought to exit state 1 though. I need to
remember to fix that.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] Would this new item be of any use?

2015-11-11 Thread Dave Cole
On 11/11/2015 12:23 PM, andy pugh wrote:
> On 11 November 2015 at 16:32, Dave Cole  wrote:
>> That's basically a crankshaft position sensor.
> Some CPSes use a magnetic track (I have a few in a drawer).
> They typically use a missing tooth (normally just a shorter tooth,
> when it is a tooth) for index.
> It would be nice to add missing-tooth index to the linuxcnc encoder.
>
>> The gear pitch needed is .160 so at full quad the resolution should be
>> .040 or about a mm.  There is a data sheet link on the Allied
>> Electronics page.
> You will get a distorted but usable quadrature for quite a range
> around that, however.

> >>Some CPSes use a magnetic track (I have a few in a drawer).

That does not surprise me at all.   I was wondering if Honeywell hadn't 
already sent you a few samples of that part.  :-)

Dave

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


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Gene Heskett
On Wednesday 11 November 2015 07:57:03 Dr. Nikolaus Klepp wrote:

> Am Mittwoch, 11. November 2015 schrieb Gene Heskett:
> > On Wednesday 11 November 2015 05:36:22 Dr. Nikolaus Klepp wrote:
> > > Hi Gene!
> > >
> > > > Ok, I killed the Autostart file, and the delay & message lines &
> > > > made the link.  Is this the final version? :)
> > >
> > > Almost :-) If you want to be almost absolutely sure that the
> > > xresources are changed after TDE loads it's theme then you should
> > > use this fragment:
> > >
> > > # LINUXCNC
> > > (
> > >   sleep 10
> > >   xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> > > 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge ) &
> >
> > In what file? The trail is getting dim here.
> >
> > > ... and that's definitly the finally the last version :-)
> > >
> > > Nik
> >
> > Cheers, Gene Heskett
>
> Hi Gene!
>
> Put it in .xinitrc . You could also put just the line with "xrdb ..."
> it in your .bashrc. Just make sure that the xresources are set
> propperly if you start linuxcnc.
>
> nik

I think thats what I did, at any rate with the delay, it works, so I 
believe I'll quit putzing with it. Having it work was the main point.

Thank you very much, Nik.  Now I need to finish the machining I'll use 
that jig for, and build a vise like jig to do the rest of the breadboard 
machining.  And locate some 4" washer head screws, preferably not over 
#10's  But not as big a washer head as a kreg screw has.

The transmitter?  I may have found it.  In cleaning up 40 years of solder 
splatters, I noted a jumper on the audio input transformer that wasn't 
on the schematic.  Grabbing the middle of it, I picked up an 1.125" 
length of solder that was a gauge bigger than anything I've had in my 
kit for 40 years.  Just laying there since?  Anyway, lifted out out, 
clipped my meter across the cathodes of the input stages 807's and 
adjusted that for something resembling dc balance with the supplied pot 
to do that, replaced the well cooked 833 in the back socket with a good 
used 833C, fired it up into the dummy and let it heat the room for half 
an hour at about 1100 watts.  Unloaded it a bit, put it into the antenna 
and when I left both tubes were running at the same color, and most of 
the ear insulting distortion was gone.  Loaded it back up to 1 kw on the 
Birdmeter, and afaik, its still percolating along. VSWR sucks though, 
got 90 watts coming back.  9 would be a whole lot better.

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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Gene Heskett
On Wednesday 11 November 2015 07:59:32 Peter Blodow wrote:

> Gene,
> telling from my rusty experience from waybackwhen (and the RCA
> transmitting tube manual of 1962) I suspect that the one glowing tube
> has too much positive DC grid voltage, maybe resulting from a faulty
> driver (suspect: capacitors). The ouput power you are measuring comes
> from the other 833 alone which is possible if the circuit is designed
> for class C operation.
>
> A 833A can carry 1650 W without forced air cooling at 4 kV on the
> anode so this heating power is probably not all high frequency, but DC
> anode current, I guess. At less than1 kW it's not yet supposed to
> glow. The manual says: "At a plate votlage of 4000 V, a fixed bias of
> at least -90 V should be applied". If the fault occurred suddenly, it
> won't be a HF balance problem, these more likely tend to sneak in.
>
An 833C (they use 4, at about 2800 volts, 2 in parallel for rf, 2 in a 
complex, almost dc coupled feedback as push-pull to modulate) will show 
some dim color in the rf pair, and a couple hundred F warmer for the 
modulators, when its singing on key.  RF plate current for the pair is a 
hair under half an amp, and the modulators combined idle at 80 ma each, 
peak at about half an amp at 100% on the trap pattern.

The C version, (these are all Chinese tubes now) means molded 
carbon/graphite plates, capable of 2 kw dissipation if the glass is 
cooled, but these aren't, but they'll light the room up pretty good 
doing it.  If they don't run any hotter than I left them running, they 
should last at least a year.

> (I have built an audio band amp with two 807s P-P once upon a time in
> the early ages of rock'n roll music and dealt a lot with those
> transmitting tubes.)

Small fry.  I once had to rescue a 2500 watt tube amp.  Had about 3 feet 
of 6550's in it.  Should'a been 3 feet of KT88's in a Williamson 
circuit, would have sounded a lot less like an overdriven PA system. For 
the night club, it was overkill by at least 25db. I had shooting muffs 
on, good for -30 db, and the drums still hurt my ears. I did not 
solicite any more of that sort of work, my ears have been abused 
enough...   I have "carhart" notches 120 db deep at 4 kilohertz in both 
ears, way too much lead thrown downrange without any muffs back in 
the '60-70's.  My P.O. Ackley-06 is on its 4th barrel now.  Slow 
learner?  Probably. :(

> Peter
>
> Am 11.11.2015 11:15, schrieb Gene Heskett:
> > Then I have to go see if I can restore a 60 yo 1kw Gates BC1 AM
> > transmitter, again. Something in the feedback loop around the
> > modulator is causing a severe unbalance in how hard each of the pair
> > of 833's is working, so one is running bright red and the other is
> > nearly invisible. No way in tuncket it could ever pass a Proof of
> > Performance. That, and his < 3/8 wavelength stick is so far out of
> > tune. I have no clue where the J is, but the effective R is at least
> > 70 ohms, send out a 1000 watts & the Bird meter says nearly 200 is
> > coming back. That stick has 2 sets of ICR antennas on it now that
> > weren't there the last time the doghouse was tuned up. He doesn't
> > quite grasp that that stuff changes the towers tune. I've been
> > looking for a GR Bridge, but so few of those were made that anything
> > that might work is north of $1k USD. None are less than 50 yo.
> > Cheers, Gene Heskett
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
>
> --
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

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


Re: [Emc-users] Need a better wm/Gui for my machines

2015-11-11 Thread Dr. Nikolaus Klepp
Hi Gene!

> > or place this fragment in .xinitrc (all in one line) or any script
> > that gets executed when you log into your X session:
> >
> > xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' -e
> > 's#[A-Z_]*FOREGROUND# Black#'  -e 's#[A-Z_]*HIGHLIGHT# White#' -e
> > 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
> >
> This had no effect. Puzzling.

I always forget ... TDE does not execute ~/.xinitrc nor ~/.xsessionrc, so you 
need a little workaround:

Create a file ~/.trinity/Autostart/xinitrc.desktop with this content - adapt 
line 3 to your .xinitrc:

[Desktop Entry]
Comment=
Exec[$e]='/home/gene/.xinitrc'
GenericName=
Icon=exec
MimeType=
Name=
Path[$e]=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-TDE-SubstituteUID=false
X-TDE-Username=

Then make sure .xinitrc is executable and works when you execute it from 
konsole. It may be necessary to add a little start delay, so my .xinitrc begins 
with:

#!/bin/bash
sleep 5
# DEBUG
xmessage ".xinitrc :-)"

Now restart trinity and look if the message window comes up ..

Nik

-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

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