Re: [Emc-users] Esc key

2012-08-16 Thread Brian May
No, I actually use the flood for coolant and the mist for an air blast I
use on plastic parts  I think then an M9 would stop the motor also -
which might get confusing for an operator



On Wed, Aug 15, 2012 at 8:53 PM, Chris Radek  wrote:

> On Wed, Aug 15, 2012 at 08:24:32PM -0600, Brian May wrote:
> > I use the esc key alot to stop programs  or turn off the spindle -
> almost like a reset key.  Is there a pin where i can bring this into
> classic ladder?  I have a live tooling motor that i turn on with a custom
> m-code (m103).  I would like it to turn off when i press the esc key.  I
> currently use another m-code to turn it off.  Which i want to keep - but
> would also like the esc to work.
> >
>
> Do you have either the mist or flood outputs free?  You could use
> those mcodes to run it, and then Esc would turn it off.
>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Esc key

2012-08-15 Thread Brian May
I use the esc key alot to stop programs  or turn off the spindle - almost like 
a reset key.  Is there a pin where i can bring this into classic ladder?  I 
have a live tooling motor that i turn on with a custom m-code (m103).  I would 
like it to turn off when i press the esc key.  I currently use another m-code 
to turn it off.  Which i want to keep - but would also like the esc to work.

Thanks
Brian
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] C Axis in Lathe

2012-07-04 Thread Brian May
I use it and it works good.  It is much easier to generate the g code in cam, 
there are not a lot of lathe specific canned cycles yet.  

I have not done anything too complicate, just machined flats on the od.

Sent from my iPod

On Jul 4, 2012, at 6:49 PM, "k...@gmail.com"  wrote:

> Searched Youtube and Google for any info or examples of
> the use of C axis in Lathe but found nothing.
> 
> Any one using it and how well does it work?
> 
> Thanks!
> dan k
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe Threading

2012-06-12 Thread Brian May
Yes, I am supplying from an external source and have the jumper set so that
the encoder is powered by the external source.  I have to buy another
encoder anyway for my live tooling - so I will get one and see if that
fixes the problem...

On Mon, Jun 11, 2012 at 6:39 PM, Dave  wrote:

> Are you supplying the 7i33 board with a 5v power source?  If so do you
> have the jumper on the power jumper in the right position?
>
> On 6/11/2012 7:26 PM, Brian May wrote:
> > I believe i have it correct.  (actually i hope i do not so i can avoid
> buying an encoder...)
> >I have all the wires going into the correct connection on the mesa
> board.  The A A0, B B0, Z Z0, +5v and ground
> >
> > Sent from my iPod
> >
> > On Jun 11, 2012, at 10:58 AM, John Thornton  wrote:
> >
> >
> >> Do you have it wired up as TTL?
> >>
> >> John
> >>
> >> On 6/11/2012 11:44 AM, Brian May wrote:
> >>
> >>> that is the correct encoder.  I just verified the part number on the
> >>> encoder itself.  It was working for measuring RPM with the jumper in
> the
> >>> TTL position (Where it has been the whole time).  I just moved it to
> the
> >>> Differential position and it still measures rpm fine.  But, the index
> is
> >>> still not working for the threading...  However, I am learning this as
> I go
> >>> and not sure if I need to do something different since it is a
> differential
> >>> line driver type encoder?
> >>>
> >>> Thanks for the help
> >>> Brian
> >>>
> >>> On Sat, Jun 9, 2012 at 8:40 PM, Dave   wrote:
> >>>
> >>>
> >>>> Except that the encoder  is not a TTL output encoder but a
> differential
> >>>> line driver model encoder:
> >>>>
> >>>>
> >>>>
> http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD
> >>>> TRD-N1024-RZVWD<
> http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD%0ATRD-N1024-RZVWD
> >
> >>>>
> >>>> Brian are you sure this is the correct part number for your encoder?
> >>>> Automation Direct sells a very similar encoder but with single ended
> TTL
> >>>> outputs.
> >>>>
> >>>> The jumpers on the Mesa card has to correspond to the encoder type
> >>>> (differential line driver or TTL) otherwise nothing will work right.
> >>>>
> >>>> Dave
> >>>>
> >>>>
> >>>>
> >>>> On 6/9/2012 3:08 PM, Peter C. Wallace wrote:
> >>>>
> >>>>> On Sat, 9 Jun 2012, Brian May wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Date: Sat, 9 Jun 2012 12:21:08 -0600
> >>>>>> From: Brian May
> >>>>>> Reply-To: "Enhanced Machine Controller (EMC)"
> >>>>>>   
> >>>>>> To: "Enhanced Machine Controller (EMC)"<
> emc-users@lists.sourceforge.net
> >>>>>> Subject: Re: [Emc-users] Lathe Threading
> >>>>>>
> >>>>>> Low Level is 220mv
> >>>>>> High Level 3.12 Volts
> >>>>>>
> >>>>>>
> >>>>> Well thats valid TTL so OK (as long as the 7I33 inputs are jumpered
> for
> >>>>>
> >>>> TTL
> >>>>
> >>>>> in)
> >>>>>
> >>>>> So the next step in tracing it is is to see if the GPIO for Z bit is
> >>>>>
> >>>> visible
> >>>>
> >>>>> in halmeter when you do the same test
> >>>>>
> >>>>>
> >>>>> with a 1024 line encoder you will likely miss the index with
> HALScope on
> >>>>>
> >>>> the
> >>>>
> >>>>> GPIO bit above 60 RPM, so a real scope would really help in case you
> are
> >>>>> losing the signal above a certain speed
> >>>>>
> >>>>> Peter Wallace
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> --
> >>>>
> >>>

Re: [Emc-users] Lathe Threading

2012-06-11 Thread Brian May
I believe i have it correct.  (actually i hope i do not so i can avoid buying 
an encoder...)
  I have all the wires going into the correct connection on the mesa board.  
The A A0, B B0, Z Z0, +5v and ground  

Sent from my iPod

On Jun 11, 2012, at 10:58 AM, John Thornton  wrote:

> Do you have it wired up as TTL?
> 
> John
> 
> On 6/11/2012 11:44 AM, Brian May wrote:
>> that is the correct encoder.  I just verified the part number on the
>> encoder itself.  It was working for measuring RPM with the jumper in the
>> TTL position (Where it has been the whole time).  I just moved it to the
>> Differential position and it still measures rpm fine.  But, the index is
>> still not working for the threading...  However, I am learning this as I go
>> and not sure if I need to do something different since it is a differential
>> line driver type encoder?
>> 
>> Thanks for the help
>> Brian
>> 
>> On Sat, Jun 9, 2012 at 8:40 PM, Dave  wrote:
>> 
>>> Except that the encoder  is not a TTL output encoder but a differential
>>> line driver model encoder:
>>> 
>>> 
>>> http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD
>>> TRD-N1024-RZVWD<http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD%0ATRD-N1024-RZVWD>
>>> 
>>> Brian are you sure this is the correct part number for your encoder?
>>> Automation Direct sells a very similar encoder but with single ended TTL
>>> outputs.
>>> 
>>> The jumpers on the Mesa card has to correspond to the encoder type
>>> (differential line driver or TTL) otherwise nothing will work right.
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> On 6/9/2012 3:08 PM, Peter C. Wallace wrote:
>>>> On Sat, 9 Jun 2012, Brian May wrote:
>>>> 
>>>> 
>>>>> Date: Sat, 9 Jun 2012 12:21:08 -0600
>>>>> From: Brian May
>>>>> Reply-To: "Enhanced Machine Controller (EMC)"
>>>>>  
>>>>> To: "Enhanced Machine Controller (EMC)">>>> Subject: Re: [Emc-users] Lathe Threading
>>>>> 
>>>>> Low Level is 220mv
>>>>> High Level 3.12 Volts
>>>>> 
>>>> Well thats valid TTL so OK (as long as the 7I33 inputs are jumpered for
>>> TTL
>>>> in)
>>>> 
>>>> So the next step in tracing it is is to see if the GPIO for Z bit is
>>> visible
>>>> in halmeter when you do the same test
>>>> 
>>>> 
>>>> with a 1024 line encoder you will likely miss the index with HALScope on
>>> the
>>>> GPIO bit above 60 RPM, so a real scope would really help in case you are
>>>> losing the signal above a certain speed
>>>> 
>>>> Peter Wallace
>>>> 
>>>> 
>>>> 
>>> --
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>> will include endpoint security, mobile security and the latest in malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> ___
>>>> Emc-users mailing list
>>>> Emc-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>> 
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's se

Re: [Emc-users] Lathe Threading

2012-06-11 Thread Brian May
that is the correct encoder.  I just verified the part number on the
encoder itself.  It was working for measuring RPM with the jumper in the
TTL position (Where it has been the whole time).  I just moved it to the
Differential position and it still measures rpm fine.  But, the index is
still not working for the threading...  However, I am learning this as I go
and not sure if I need to do something different since it is a differential
line driver type encoder?

Thanks for the help
Brian

On Sat, Jun 9, 2012 at 8:40 PM, Dave  wrote:

> Except that the encoder  is not a TTL output encoder but a differential
> line driver model encoder:
>
>
> http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD
> TRD-N1024-RZVWD<http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Encoders/Medium_Duty_Standard_Shaft_%28TRD-N_Series%29/TRD-N1024-RZVWD%0ATRD-N1024-RZVWD>
>
> Brian are you sure this is the correct part number for your encoder?
> Automation Direct sells a very similar encoder but with single ended TTL
> outputs.
>
> The jumpers on the Mesa card has to correspond to the encoder type
> (differential line driver or TTL) otherwise nothing will work right.
>
> Dave
>
>
>
> On 6/9/2012 3:08 PM, Peter C. Wallace wrote:
> > On Sat, 9 Jun 2012, Brian May wrote:
> >
> >
> >> Date: Sat, 9 Jun 2012 12:21:08 -0600
> >> From: Brian May
> >> Reply-To: "Enhanced Machine Controller (EMC)"
> >>  
> >> To: "Enhanced Machine Controller (EMC)" >
> >> Subject: Re: [Emc-users] Lathe Threading
> >>
> >> Low Level is 220mv
> >> High Level 3.12 Volts
> >>
> >
> > Well thats valid TTL so OK (as long as the 7I33 inputs are jumpered for
> TTL
> > in)
> >
> > So the next step in tracing it is is to see if the GPIO for Z bit is
> visible
> > in halmeter when you do the same test
> >
> >
> > with a 1024 line encoder you will likely miss the index with HALScope on
> the
> > GPIO bit above 60 RPM, so a real scope would really help in case you are
> > losing the signal above a certain speed
> >
> > Peter Wallace
> >
> >
> >
> --
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe Threading

2012-06-09 Thread Brian May
I will try hooking the Z index to the A phase on Monday and see if it will
count.

On Sat, Jun 9, 2012 at 2:35 PM, Peter C. Wallace  wrote:

> On Sat, 9 Jun 2012, gene heskett wrote:
>
> > Date: Sat, 9 Jun 2012 16:15:45 -0400
> > From: gene heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] Lathe Threading
> >
> > On Saturday, June 09, 2012 04:11:29 PM Brian May did opine:
> >
> >> Low Level is 220mv
> >> High Level 3.12 Volts
> >>
> > That will satisfy ttl circuitry IF its clean, no noise allowed.
>  Generally
> > speaking, that will not make a cmos circuity happy as the high level
> isn't
> > high enough to offer very much noise immunity.  I wonder what a 10k
> > resistor from that line up to the 5 volt rail would do?
> >
>
> 7I33 TTL input conditioning is done by a ~200 ns RC followed by a
> 74HCT14 (worst case specs -40 to +85C 4.5 to 5.5V are .5 for low and 2.1
> for
> high) typical thresholds are 0.95V for low threshold and 1.6V for high
> so the signal is fine. I think the real question is whether the signal
> disappears at higher speeds.
>
>
> The encoder component will not count the index reliably at higher speeds
> but
> you can just wire the HostMot2 encoder/7I33 to count on the index and see
> if
> that works reliably at high speed (looks like you already have the hostmot2
> encoder in count up/down mode = counter mode 1)
>
>
>
> >> On Sat, Jun 9, 2012 at 11:54 AM, Peter C. Wallace 
> > wrote:
> >>> On Sat, 9 Jun 2012, Brian May wrote:
> >>>> Date: Sat, 9 Jun 2012 11:00:22 -0600
> >>>> From: Brian May 
> >>>> Reply-To: "Enhanced Machine Controller (EMC)"
> >>>>
> >>>> 
> >>>>
> >>>> To: "Enhanced Machine Controller (EMC)"
> >>>>  >>>>
> >>>> Subject: Re: [Emc-users] Lathe Threading
> >>>>
> >>>> I looked at the configuration CHNC and it looks the same.
> >>>>
> >>>> I followed andy's advice and found that the z-pulse is on pin 4.  So
> >>>> I connected pin 4, (Z Pulse) to an encoder component A phase
> >>>> (encoder.0). Then set the encoder component to counter mode.
> >>>>
> >>>> So now I have the encoder using the hostmot driver and also the Z
> >>>> Pulse being read by the encoder component.  I turned the spindle on
> >>>> at 120RPM
> >>>
> >>> and
> >>>
> >>>> expected to read the counter of the encoder component counting 2
> >>>> counts every second.  It did not, It is not counting reliably.
> >>>> Only at like
> >>>
> >>> 4RPM
> >>>
> >>>> (turning by hand) does it count reliably..
> >>>
> >>> Can you measure the Z signal with a voltmeter and very slowly turn the
> >>> shaft
> >>> so find the index. It sounds like maybe the signal has marginal
> >>> levels. and by
> >>> measuring both High and Low Z levels you can check this (though it is
> >>> tricky
> >>> to find the index)
> >>>
> >>>> Shouldn't the threading start when it finds the Z-pulse, even though
> >>>> it might be inconsistent?  Or does it need it to be consistent?  In
> >>>> other words - could I just connect a button to pretend to be the Z
> >>>> pulse and
> >>>
> >>> when
> >>>
> >>>> I press the button it starts threading? (I tried this and it did not
> >>>> work...)
> >>>>
> >>>> To me it looks like I either have a cable or encoder problem.  But
> >>>> am
> >>>
> >>> still
> >>>
> >>>> confused why it would not work at all since it is getting a signal
> >>>> every once in a while
> >>>>
> >>>> Thanks for the help
> >>>> Brian
> >>>>
> >>>> On Sat, Jun 9, 2012 at 5:11 AM, John Thornton 
> > wrote:
> >>>>> I have my CHNC lathe converted using 5i20 7i33 7i77 and all the
> >>>>> wiring of the cards and my config files are here if you want to
> >>>>> compare notes.
> >>>>>
> >>>>> http://gnipsel.com/shop/hardinge/hardinge.xhtml
> >>>>>
>

Re: [Emc-users] Lathe Threading

2012-06-09 Thread Brian May
I do not have anything connected to classicladder now.

I can see the index (In hal scope) when jogging the axis slowly.  (By
slowly I mean 4RPM).  Any faster, the index is not consistent.

On Sat, Jun 9, 2012 at 1:48 PM, andy pugh  wrote:

> On 9 June 2012 18:00, Brian May  wrote:
>
> > So now I have the encoder using the hostmot driver and also the Z Pulse
> > being read by the encoder component.  I turned the spindle on at 120RPM
> and
> > expected to read the counter of the encoder component counting 2 counts
> > every second.  It did not, It is not counting reliably.  Only at like
> 4RPM
> > (turning by hand) does it count reliably..
>
> Don't worry about that, it is because the GPIO pins only get updated
> once a millisecond by default, so you will miss lots of pulses.
>
> You can add the gpio_read and gpio_write functions to a base-thread,
> but I really don't think it is worth the bother.
>
> The question is, do you see the index change state?
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe Threading

2012-06-09 Thread Brian May
Low Level is 220mv
High Level 3.12 Volts

On Sat, Jun 9, 2012 at 11:54 AM, Peter C. Wallace  wrote:

> On Sat, 9 Jun 2012, Brian May wrote:
>
> > Date: Sat, 9 Jun 2012 11:00:22 -0600
> > From: Brian May 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: "Enhanced Machine Controller (EMC)"  >
> > Subject: Re: [Emc-users] Lathe Threading
> >
> > I looked at the configuration CHNC and it looks the same.
> >
> > I followed andy's advice and found that the z-pulse is on pin 4.  So I
> > connected pin 4, (Z Pulse) to an encoder component A phase (encoder.0).
> > Then set the encoder component to counter mode.
> >
> > So now I have the encoder using the hostmot driver and also the Z Pulse
> > being read by the encoder component.  I turned the spindle on at 120RPM
> and
> > expected to read the counter of the encoder component counting 2 counts
> > every second.  It did not, It is not counting reliably.  Only at like
> 4RPM
> > (turning by hand) does it count reliably..
>
>
> Can you measure the Z signal with a voltmeter and very slowly turn the
> shaft
> so find the index. It sounds like maybe the signal has marginal levels.
> and by
> measuring both High and Low Z levels you can check this (though it is
> tricky
> to find the index)
>
> >
> > Shouldn't the threading start when it finds the Z-pulse, even though it
> > might be inconsistent?  Or does it need it to be consistent?  In other
> > words - could I just connect a button to pretend to be the Z pulse and
> when
> > I press the button it starts threading? (I tried this and it did not
> > work...)
> >
> > To me it looks like I either have a cable or encoder problem.  But am
> still
> > confused why it would not work at all since it is getting a signal every
> > once in a while
> >
> > Thanks for the help
> > Brian
> >
> > On Sat, Jun 9, 2012 at 5:11 AM, John Thornton  wrote:
> >
> >> I have my CHNC lathe converted using 5i20 7i33 7i77 and all the wiring
> >> of the cards and my config files are here if you want to compare notes.
> >>
> >> http://gnipsel.com/shop/hardinge/hardinge.xhtml
> >>
> >> John
> >>
> >> On 6/8/2012 8:39 PM, Brian May wrote:
> >>> I am having trouble setting up threading on my lathe.  At this point I
> am
> >>> thinking my spindle encoder is bad.  I have the following setup in my
> HAL
> >>> File:
> >>>
> >>> net spindle-revs hm2_[HOSTMOT2](BOARD).0.encoder.01.position
> >>> motion.spindle-revs
> >>> net spindle-vel-fb scale.0.in motion.spindle-speed-in
> >>> hm2_[HOSTMOT2](BOARD).0.encoder.01.velocity
> >>> net spindle-index-enable
> hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable
> >>> motion.spindle-index-enable
> >>>
> >>> My Parameters are set as follows:
> >>>
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 1
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.filter 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.scale  1024
> >>>
> >>> For everything else, the spindle has been working fine.  I have been
> >>> running in G96 spindle speed mode, the RPM that the encoder reads is
> >>> perfect.  However, when I try and do a thread, the process never
> starts.
> >>> The machine goes to the start point and just sits there and waits.  I
> am
> >>> assuming it is waiting for an index pulse and never receives it.  From
> >> what
> >>> I have read in the manuals - when the index pulse is found, the
> >>> motion.spindle-revs goes to zero during a threading cycle.  On my
> machine
> >>> this never happens.  It just continues to count.
> >>>
> >>> I ran my G-code in the lathe sim and it seems to work fine.  I am
> using a
> >>> mesa 5i20 and a 7i33 daughter board.  The encoder is connected to the
> >> 7i33
> >>> board.  The encoder is an automation direct TRD-N1024-RZVWD.
> >>>
> >>> Am I missing something simple?
> >>>
> >>
> >>
> >>
> --
> >> Live Security Virtual Conference
> >> Exclus

Re: [Emc-users] Lathe Threading

2012-06-09 Thread Brian May
I can try that, I have a C-Axis that I can engage and turn it very slowly
and use the halscope to find it.

On Sat, Jun 9, 2012 at 11:54 AM, Peter C. Wallace  wrote:

> On Sat, 9 Jun 2012, Brian May wrote:
>
> > Date: Sat, 9 Jun 2012 11:00:22 -0600
> > From: Brian May 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: "Enhanced Machine Controller (EMC)"  >
> > Subject: Re: [Emc-users] Lathe Threading
> >
> > I looked at the configuration CHNC and it looks the same.
> >
> > I followed andy's advice and found that the z-pulse is on pin 4.  So I
> > connected pin 4, (Z Pulse) to an encoder component A phase (encoder.0).
> > Then set the encoder component to counter mode.
> >
> > So now I have the encoder using the hostmot driver and also the Z Pulse
> > being read by the encoder component.  I turned the spindle on at 120RPM
> and
> > expected to read the counter of the encoder component counting 2 counts
> > every second.  It did not, It is not counting reliably.  Only at like
> 4RPM
> > (turning by hand) does it count reliably..
>
>
> Can you measure the Z signal with a voltmeter and very slowly turn the
> shaft
> so find the index. It sounds like maybe the signal has marginal levels.
> and by
> measuring both High and Low Z levels you can check this (though it is
> tricky
> to find the index)
>
> >
> > Shouldn't the threading start when it finds the Z-pulse, even though it
> > might be inconsistent?  Or does it need it to be consistent?  In other
> > words - could I just connect a button to pretend to be the Z pulse and
> when
> > I press the button it starts threading? (I tried this and it did not
> > work...)
> >
> > To me it looks like I either have a cable or encoder problem.  But am
> still
> > confused why it would not work at all since it is getting a signal every
> > once in a while
> >
> > Thanks for the help
> > Brian
> >
> > On Sat, Jun 9, 2012 at 5:11 AM, John Thornton  wrote:
> >
> >> I have my CHNC lathe converted using 5i20 7i33 7i77 and all the wiring
> >> of the cards and my config files are here if you want to compare notes.
> >>
> >> http://gnipsel.com/shop/hardinge/hardinge.xhtml
> >>
> >> John
> >>
> >> On 6/8/2012 8:39 PM, Brian May wrote:
> >>> I am having trouble setting up threading on my lathe.  At this point I
> am
> >>> thinking my spindle encoder is bad.  I have the following setup in my
> HAL
> >>> File:
> >>>
> >>> net spindle-revs hm2_[HOSTMOT2](BOARD).0.encoder.01.position
> >>> motion.spindle-revs
> >>> net spindle-vel-fb scale.0.in motion.spindle-speed-in
> >>> hm2_[HOSTMOT2](BOARD).0.encoder.01.velocity
> >>> net spindle-index-enable
> hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable
> >>> motion.spindle-index-enable
> >>>
> >>> My Parameters are set as follows:
> >>>
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 1
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.filter 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0
> >>> setphm2_[HOSTMOT2](BOARD).0.encoder.01.scale  1024
> >>>
> >>> For everything else, the spindle has been working fine.  I have been
> >>> running in G96 spindle speed mode, the RPM that the encoder reads is
> >>> perfect.  However, when I try and do a thread, the process never
> starts.
> >>> The machine goes to the start point and just sits there and waits.  I
> am
> >>> assuming it is waiting for an index pulse and never receives it.  From
> >> what
> >>> I have read in the manuals - when the index pulse is found, the
> >>> motion.spindle-revs goes to zero during a threading cycle.  On my
> machine
> >>> this never happens.  It just continues to count.
> >>>
> >>> I ran my G-code in the lathe sim and it seems to work fine.  I am
> using a
> >>> mesa 5i20 and a 7i33 daughter board.  The encoder is connected to the
> >> 7i33
> >>> board.  The encoder is an automation direct TRD-N1024-RZVWD.
> >>>
> >>> Am I missing something simple?
> >>>
> >>
> >>
> >>
> -

Re: [Emc-users] Lathe Threading

2012-06-09 Thread Brian May
I looked at the configuration CHNC and it looks the same.

I followed andy's advice and found that the z-pulse is on pin 4.  So I
connected pin 4, (Z Pulse) to an encoder component A phase (encoder.0).
Then set the encoder component to counter mode.

So now I have the encoder using the hostmot driver and also the Z Pulse
being read by the encoder component.  I turned the spindle on at 120RPM and
expected to read the counter of the encoder component counting 2 counts
every second.  It did not, It is not counting reliably.  Only at like 4RPM
(turning by hand) does it count reliably..

Shouldn't the threading start when it finds the Z-pulse, even though it
might be inconsistent?  Or does it need it to be consistent?  In other
words - could I just connect a button to pretend to be the Z pulse and when
I press the button it starts threading? (I tried this and it did not
work...)

To me it looks like I either have a cable or encoder problem.  But am still
confused why it would not work at all since it is getting a signal every
once in a while

Thanks for the help
Brian

On Sat, Jun 9, 2012 at 5:11 AM, John Thornton  wrote:

> I have my CHNC lathe converted using 5i20 7i33 7i77 and all the wiring
> of the cards and my config files are here if you want to compare notes.
>
> http://gnipsel.com/shop/hardinge/hardinge.xhtml
>
> John
>
> On 6/8/2012 8:39 PM, Brian May wrote:
> > I am having trouble setting up threading on my lathe.  At this point I am
> > thinking my spindle encoder is bad.  I have the following setup in my HAL
> > File:
> >
> > net spindle-revs hm2_[HOSTMOT2](BOARD).0.encoder.01.position
> > motion.spindle-revs
> > net spindle-vel-fb scale.0.in motion.spindle-speed-in
> > hm2_[HOSTMOT2](BOARD).0.encoder.01.velocity
> > net spindle-index-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable
> > motion.spindle-index-enable
> >
> > My Parameters are set as follows:
> >
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 1
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.filter 0
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0
> > setphm2_[HOSTMOT2](BOARD).0.encoder.01.scale  1024
> >
> > For everything else, the spindle has been working fine.  I have been
> > running in G96 spindle speed mode, the RPM that the encoder reads is
> > perfect.  However, when I try and do a thread, the process never starts.
> > The machine goes to the start point and just sits there and waits.  I am
> > assuming it is waiting for an index pulse and never receives it.  From
> what
> > I have read in the manuals - when the index pulse is found, the
> > motion.spindle-revs goes to zero during a threading cycle.  On my machine
> > this never happens.  It just continues to count.
> >
> > I ran my G-code in the lathe sim and it seems to work fine.  I am using a
> > mesa 5i20 and a 7i33 daughter board.  The encoder is connected to the
> 7i33
> > board.  The encoder is an automation direct TRD-N1024-RZVWD.
> >
> > Am I missing something simple?
> >
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe Threading

2012-06-08 Thread Brian May
Ok i will try that tomorrow...

Sent from my iPod

On Jun 8, 2012, at 8:58 PM, andy pugh  wrote:

> On 9 June 2012 03:23, Brian May  wrote:
> 
>> I do not see in hal a index pin for the 5i20 component.
> 
> You won't see it as a named pin, but all the function pins are also
> available as gpio.
> So, in dmesg after booting into the config you will see a list of all
> the function pins, and their corresponding gpio numbers, and you can
> halscope the index as a gpio input.
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe Threading

2012-06-08 Thread Brian May
It is wired up.  I don't really know how to see if it is working..  I tried 
connectimg it to a io port and create a latching circuit in classicladder to 
see if it was sending a signal.  I turned the encoder by hand and it would 
latch the circuit every few turns.  I may have had a timing issue...  So i know 
that there is a signal...

I do not see in hal a index pin for the 5i20 component.

Sent from my iPod

On Jun 8, 2012, at 8:04 PM, andy pugh  wrote:

> On 9 June 2012 02:39, Brian May  wrote:
> 
>> Am I missing something simple?
> 
> Is the encoder index channel wired up and working?
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Lathe Threading

2012-06-08 Thread Brian May
I am having trouble setting up threading on my lathe.  At this point I am
thinking my spindle encoder is bad.  I have the following setup in my HAL
File:

net spindle-revs hm2_[HOSTMOT2](BOARD).0.encoder.01.position
motion.spindle-revs
net spindle-vel-fb scale.0.in motion.spindle-speed-in
hm2_[HOSTMOT2](BOARD).0.encoder.01.velocity
net spindle-index-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable
motion.spindle-index-enable

My Parameters are set as follows:

setphm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 1
setphm2_[HOSTMOT2](BOARD).0.encoder.01.filter 0
setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0
setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0
setphm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0
setphm2_[HOSTMOT2](BOARD).0.encoder.01.scale  1024

For everything else, the spindle has been working fine.  I have been
running in G96 spindle speed mode, the RPM that the encoder reads is
perfect.  However, when I try and do a thread, the process never starts.
The machine goes to the start point and just sits there and waits.  I am
assuming it is waiting for an index pulse and never receives it.  From what
I have read in the manuals - when the index pulse is found, the
motion.spindle-revs goes to zero during a threading cycle.  On my machine
this never happens.  It just continues to count.

I ran my G-code in the lathe sim and it seems to work fine.  I am using a
mesa 5i20 and a 7i33 daughter board.  The encoder is connected to the 7i33
board.  The encoder is an automation direct TRD-N1024-RZVWD.

Am I missing something simple?

-- 
Brian May <506.8862.9162>
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Work Coordinates

2012-06-07 Thread Brian May
Would it be possible to write my own hal component that read the values from 
the file?

Sent from my iPod

On Jun 7, 2012, at 3:35 AM, andy pugh  wrote:

> On 6 June 2012 19:29, andy pugh  wrote:
> 
>> O100 IF [#5220 EQ 1]
>> M66 E0 Q#5221
>> M66 E1 Q#5222
>> …
>> O100 ENDIF
>> O101 IF [#5220 EQ 2]
>> M66 E0 Q#5241
> 
> 
> Actually, I think that you can skip the IF statements because numbered
> parameters can be indirected
> 
> M66 E0 Q#[5211 + 10 * #5220] ; 5211 because #5220 is always at least 1
> M66 E1 Q#[5212 + 10 * #5220]
> M66 E2 Q#[5213 + 10 * #5220]
> M66 E3 Q#[5214 + 10 * #5220]
> 
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Work Coordinates

2012-06-06 Thread Brian May
That seems like a good idea and something i can handle. 

Thanks 


Sent from my iPod

On Jun 6, 2012, at 12:29 PM, andy pugh  wrote:

> On 6 June 2012 18:45, Brian May  wrote:
>> I think it is probably beyond my capabilities to get the parameters...
> 
> I can think of one way to do it, if they are available as parameters.
> 
> It is possible to run G-code when a GladeVCP button is pressed
> http://www.linuxcnc.org/docs/2.5/html/gui/gladevcp.html#_the_action_mdi_toggle_and_action_mdi_widgets
> (You can also do this with PyVCP using MDI_COMMAND in the INI)
> 
> G-code can set the values of HAL pins. M68 sets the values of the
> motion.analog-out-NN pins.
> 
> So, a GladeVCP button can call an O-word sub which reads the #5520
> value and sets the analog-out pins accordingly.
> 
> O100 IF [#5220 EQ 1]
> M66 E0 Q#5221
> M66 E1 Q#5222
> …
> O100 ENDIF
> O101 IF [#5220 EQ 2]
> M66 E0 Q#5241
> M66 E1 Q#5242
> …
> O1010 ENDIF
> …
> 
> Then, by net-ing those motion.analog-out-NN pins to the GladeVCP
> displays, you can have a button that updates the display.
> 
> Alternatively. If you prefer not to press a button to trigger the
> update, you could (for example) use MDI_COMMAND and link that pin to,
> for example, an edge detector on halui.joint.N.is-selected or2-ed
> together for all axes. Then it would update whenever you changed the
> selected axis (for example every time the jogged axis changed)
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Work Coordinates

2012-06-06 Thread Brian May
I think it is probably beyond my capabilities to get the parameters...

I was just thinking about if I could make a more intuitive panel for doing
offsets.  With the information provided - I will work with that.

Thanks for the help.

On Wed, Jun 6, 2012 at 11:09 AM, andy pugh  wrote:

> On 6 June 2012 17:18, Sebastian Kuzminsky  wrote:
>
> > But that doesn't help you much, because parameters are not accessible in
> HAL….
>
> Though Michael has experimentally demonstrated that it is possible to
> get/set numbered and named parameters from GladeVCP.
> It would take a certain amount of knowledge of git to use that, though.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Work Coordinates

2012-06-05 Thread Brian May
How can I see, what the numbers for the work offsets are and which work
offset I am using?

For example, I can see the the tool offset values in HAL with
motion.tooloffset.x, I would like to display on a Glade side panel - which
work offset is being used and what the values are.

Is this possible?

-- 
Brian May
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] gladevcp tabs

2012-06-04 Thread Brian May
I might be missing something obvious, but how do I add a second gladevcp
tab in the axis window.

I have in my ini file:
GLADEVCP=-u hitcounter.py right_panel.ui
EMBED_TAB_NAME=offsets
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcpoffsets gladevcp -c
gladevcpoffsets -u hitcounter.py -x {XID} offsets.ui

This works fine and gives me the panel on the right and a tab named
offsets, just as expected.

However, i also want to add another tab named "tool changer".  If I add
another EMBED_TAB_NAME=tool changer it gives me an error.  In the manual it
states that several independent GladeVCP panels may be run in different
tabs...  But, I have not been able to find an example of this...


Thanks
-- 
Brian
www.do-precision.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Custom M-code using mesa 5i20

2012-02-25 Thread Brian May
I have had this problem before.  My issue was that the file was not
executable.  By default it is not, you have to change it.

On Sat, Feb 25, 2012 at 10:24 AM, Viesturs Lācis
wrote:

> 2012/2/25 Lee Osborne :
> > Hi
> >
> >   Can anyone help with making a user m code for a digital output on a
> > mesa 5i20, 7i33 and 7i37 set up.  I have managed to get all the servos
> > working and coolant but I have extra digital outputs connected to
> > solenoids for a toolchanger.  I have tried making an M101 file but I
> > cant get it to do anything.  There are no error messages either so I can
> > only assume it is reading it but it is not changing the state of the
> > pin.  The contents of the M101 file is below which came straight from
> > the manual but I have changed it from a parallel port pin to a mesa I/o
> > Pin.  Any ideas would be great as I have tried several things and am
> > stuck on this one.
> >
> > #!/bin/sh
> > halcmd setp hm2_5i20.0.gpio.0042.out True
> > exit 0
> >
>
> Firstly, is it hm2_5i20.0.gpio.0042.out or  hm2_5i20.0.gpio.042.out?
> AFAIK the pin number is 3-digit.
>
> Secondly, what do You have in HAL file?
> You need to specify, that gpio.042  is output pin like this:
> setp hm2_5i20.0.gpio.042.is_output True
>
> Thirdly, is there any particular reason not to use M commands that are
> dedicated for output controls from g-code?
> http://linuxcnc.org/docs/html/gcode_main.html#sec:M62-to-M65
>
> Simply link the hm2_5i20.0.gpio.042.out to motion.digital-out-00 (or
> 01, 02 etc, if You need more outputs for M62-65 commands).
> http://linuxcnc.org/docs/html/config_emc2hal.html#r1_1_2
>
> Viesturs
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3 phase power

2011-11-11 Thread Brian May
Yes, you are probably right,  I will look for a local professional guy to
come and get things going.  At least I have an idea of what is
happening...

Thanks for the advice

On Fri, Nov 11, 2011 at 10:54 AM, gene heskett  wrote:

> On Friday, November 11, 2011 11:28:02 AM Peter Blodow did opine:
>
> > Brian,
> > looking at your questions I get the feeling that you are a bloody
> > beginner as far as power electricity is concerned. I get the scares
> > imagining what you could possibly do to yourself and others,
> > experimenting with your mains supply. It would be much safer for you and
> > would calm my  nerves (and apoparently other's, too) if you'd call a
> > local electrician to wire the basic supply of your machinery or what you
> > have. It's worth your life's value. Please get yourself some sound
> > advice! This is not electronics where a fault only results in a burned
> > up transistor or so.
>
> I've been following this thread, debating if I should jump in, but now that
> Peter has said it, I concur heartily with his advice.
>
> Its easy enough to be crispy critter'd around mains power, I've damned near
> done it to myself at least 3 times in my work around tv stations where we
> may be the local power companies largest customer. 2nd degree burns on both
> arms & the at the instant bare chest, will take ALL the starch out of you
> for a few days, and likely lay you up with the shingles for a month or
> more.  Been there, done that, it will totally redefine your personal pain
> threshold, upwards.  No one needs that but somehow I kicked loose and
> survived.
>
> Simply put Brian, if you need to ask these questions, then get a licensed
> pro who is intimately familiar with the local codes and let him do it.  We
> aren't there and in some cases in this thread are trying to be helpful with
> inadequate information and almost zero knowledge of local codes.
>
> Old buildings with grandfathered in electrical supplies can be legal, and
> lethal.
>
> > To make it clear: grounding is the up and down of electrical power
> > application. Imagine only a little high resistance insulation fault in
> > the primary of your local high voltage transfomer - if the secondary
> > would not be grounded in some way, in this case you could easily
> > experience 10 or 20 kV on your home outlet  In case the secondary is
> > ground referenced by connecting the center tap of the secondary windings
> > to ground, this fault might not even be noticed! Floating potentials are
> > a highly dangerous thing, never leave any circuit unreferenced to
> > ground!
> >
> > Peter Blodow
> >
> > Brian May schrieb:
> > > Sent from my iPod
> > >
> > > On Nov 10, 2011, at 10:30 PM, Dave  wrote:
> > >> Usually bigger 3 phase machines being fed with 480 volts or so will
> > >> only have the 3 phases run to the machine without a neutral wire.
> > >>
> > >> The reason being that Line to Neutral on a 480 volt system is 277
> > >> volts and that is not very useful for anything other than lighting.
> > >>
> > >> To get 120 VAC, two of the phases will be tapped (480 volts) and that
> > >> will be run to a step down transformer.
> > >> One the secondary side of the transformer,  one leg of the
> > >> transformer will be declared the hot line, and the other leg will be
> > >> declared the neutral.
> > >> The neutral will be bonded to the ground close to the transformer.
> > >> The hot line is fused.That will establish a proper 120 VAC
> > >> circuit off the 3 phase input power.
> > >
> > > What is meant by "bonded to the ground"?  Does that mean connecting
> > > the nuetral leg of the transformer to the ground? If so,  why use the
> > > transformer at all when i can just go from a leg to ground?
> > >
> > >> You could run a separate single phase feed into the existing 3 phase
> > >> power panel, but then you would have power being fed into one panel
> > >> from two different sources and that gets tricky from a safety
> > >> standpoint. I try and avoid doing that whenever possible.
> > >> Generally when you pull the disconnect switch on a machine panel you
> > >> want to kill all power in the panel for safety.
> > >>
> > >> A lot of machine builders are now avoiding 120 volt power system in
> > >> their machines entirely.   They do that by using DC power supplies
> > >> that can accept high voltage input power directly.
> > &g

Re: [Emc-users] 3 phase power

2011-11-11 Thread Brian May
On Fri, Nov 11, 2011 at 10:01 AM, Peter Blodow  wrote:

> Brian,
> looking at your questions I get the feeling that you are a bloody
> beginner as far as power electricity is concerned. I get the scares
> imagining what you could possibly do to yourself and others,
> experimenting with your mains supply. It would be much safer for you and
> would calm my  nerves (and apoparently other's, too) if you'd call a
> local electrician to wire the basic supply of your machinery or what you
> have. It's worth your life's value. Please get yourself some sound
> advice! This is not electronics where a fault only results in a burned
> up transistor or so.
>
> I am asking questions to get sound advice.

Yes I am a beginner at power electronics.  That is why I am asking the
question.  I am reading what I can and asking different people before I do
anything.  I am in no hurry and not planning to wire anything until I
understand what I am doing.  Currently I just have the 3 phase power to the
VFD and the rest from an extension cord in the wall.  It works, but I would
like to improve the design.

I have to learn somehow and will probably ask beginner questions

So far people have given me further links to read and different things to
search on google to understand better.




> To make it clear: grounding is the up and down of electrical power
> application. Imagine only a little high resistance insulation fault in
> the primary of your local high voltage transfomer - if the secondary
> would not be grounded in some way, in this case you could easily
> experience 10 or 20 kV on your home outlet  In case the secondary is
> ground referenced by connecting the center tap of the secondary windings
> to ground, this fault might not even be noticed! Floating potentials are
> a highly dangerous thing, never leave any circuit unreferenced to ground!
>
> Peter Blodow
>
>
>
>
>
> Brian May schrieb:
> > Sent from my iPod
> >
> > On Nov 10, 2011, at 10:30 PM, Dave  wrote:
> >
> >
> >> Usually bigger 3 phase machines being fed with 480 volts or so will only
> >> have the 3 phases run to the machine without a neutral wire.
> >>
> >> The reason being that Line to Neutral on a 480 volt system is 277 volts
> >> and that is not very useful for anything other than lighting.
> >>
> >> To get 120 VAC, two of the phases will be tapped (480 volts) and that
> >> will be run to a step down transformer.
> >> One the secondary side of the transformer,  one leg of the transformer
> >> will be declared the hot line, and the other leg will be declared the
> >> neutral.
> >> The neutral will be bonded to the ground close to the transformer.
> >> The hot line is fused.That will establish a proper 120 VAC circuit
> >> off the 3 phase input power.
> >>
> >
> > What is meant by "bonded to the ground"?  Does that mean connecting the
> nuetral leg of the transformer to the ground? If so,  why use the
> transformer at all when i can just go from a leg to ground?
> >
> >
> >
> >> You could run a separate single phase feed into the existing 3 phase
> >> power panel, but then you would have power being fed into one panel from
> >> two different sources and that gets tricky from a safety standpoint.
> >> I try and avoid doing that whenever possible.
> >> Generally when you pull the disconnect switch on a machine panel you
> >> want to kill all power in the panel for safety.
> >>
> >> A lot of machine builders are now avoiding 120 volt power system in
> >> their machines entirely.   They do that by using DC power supplies that
> >> can accept high voltage input power directly.
> >>
> >> You can buy 3 phase input power supplies that will accept up to 600 VAC
> >> and produce 24 VDC.  Most of the big power supply makers sell them.
> >>
> >> Dave
> >>
> >>
> >>
> >> On 11/10/2011 10:27 PM, Brian May wrote:
> >>
> >>> Ok that makes sense.
> >>>
> >>> Just out of curiosity, How do other machines do it. Our other cnc
> machines only have the 3 lines and earth ground running into them...
> >>>
> >>> Sent from my iPod
> >>>
> >>> On Nov 10, 2011, at 9:01 PM, Brian Mihulka
>  wrote:
> >>>
> >>>
> >>>
> >>>> On 11/10/2011 08:50 PM, Brian May wrote:
> >>>>
> >>>>
> >>>>> This is probably an easy question for alot af the people on the list.
> >>>>>
> >>&

Re: [Emc-users] 3 phase power

2011-11-11 Thread Brian May


Sent from my iPod

On Nov 10, 2011, at 10:30 PM, Dave  wrote:

> Usually bigger 3 phase machines being fed with 480 volts or so will only 
> have the 3 phases run to the machine without a neutral wire.
> 
> The reason being that Line to Neutral on a 480 volt system is 277 volts 
> and that is not very useful for anything other than lighting.
> 
> To get 120 VAC, two of the phases will be tapped (480 volts) and that 
> will be run to a step down transformer.
> One the secondary side of the transformer,  one leg of the transformer 
> will be declared the hot line, and the other leg will be declared the 
> neutral.
> The neutral will be bonded to the ground close to the transformer.
> The hot line is fused.That will establish a proper 120 VAC circuit 
> off the 3 phase input power.

What is meant by "bonded to the ground"?  Does that mean connecting the nuetral 
leg of the transformer to the ground? If so,  why use the transformer at all 
when i can just go from a leg to ground?


> 
> You could run a separate single phase feed into the existing 3 phase 
> power panel, but then you would have power being fed into one panel from 
> two different sources and that gets tricky from a safety standpoint.
> I try and avoid doing that whenever possible.
> Generally when you pull the disconnect switch on a machine panel you 
> want to kill all power in the panel for safety.
> 
> A lot of machine builders are now avoiding 120 volt power system in 
> their machines entirely.   They do that by using DC power supplies that 
> can accept high voltage input power directly.
> 
> You can buy 3 phase input power supplies that will accept up to 600 VAC 
> and produce 24 VDC.  Most of the big power supply makers sell them.
> 
> Dave
> 
> 
> 
> On 11/10/2011 10:27 PM, Brian May wrote:
>> Ok that makes sense.
>> 
>> Just out of curiosity, How do other machines do it. Our other cnc machines 
>> only have the 3 lines and earth ground running into them...
>> 
>> Sent from my iPod
>> 
>> On Nov 10, 2011, at 9:01 PM, Brian Mihulka  wrote:
>> 
>> 
>>> On 11/10/2011 08:50 PM, Brian May wrote:
>>> 
>>>> This is probably an easy question for alot af the people on the list.
>>>> 
>>>> I have 3 phase power going to my vfd on my machine.  I want to the use 
>>>> that same power to power all the 120 single phase components. (the dc 
>>>> power supply for the steppers and varios other motors. ).  This way i only 
>>>> need 1 plug
>>>> 
>>>> I have been reading and people say i can go from 1 leg to a nuetral or leg 
>>>> to leg. I do not have a nuetral line so my question is will it be ok to go 
>>>> from leg to leg for the 120 single phase?  Or is there some other 
>>>> component i need?
>>>> 
>>>> Thanks
>>>> Brian
>>>> 
>>>> Sent from my iPod
>>>> --
>>>> RSA(R) Conference 2012
>>>> Save $700 by Nov 18
>>>> Register now
>>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>>> ___
>>>> Emc-users mailing list
>>>> Emc-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>> 
>>> If its 3 phase 208, one leg to any other leg will give you 208.  You
>>> have to have the neutral to get 120 from any leg.  You should get 120
>>> from any leg to ground but it wouldn't be up to code.
>>> 
>>> Brian
>>> 
>>> --
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>> 
>> --
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
>> 
> 
> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3 phase power

2011-11-10 Thread Brian May
Ok that makes sense. 

Just out of curiosity, How do other machines do it. Our other cnc machines only 
have the 3 lines and earth ground running into them...

Sent from my iPod

On Nov 10, 2011, at 9:01 PM, Brian Mihulka  wrote:

> On 11/10/2011 08:50 PM, Brian May wrote:
>> This is probably an easy question for alot af the people on the list.
>> 
>> I have 3 phase power going to my vfd on my machine.  I want to the use that 
>> same power to power all the 120 single phase components. (the dc power 
>> supply for the steppers and varios other motors. ).  This way i only need 1 
>> plug
>> 
>> I have been reading and people say i can go from 1 leg to a nuetral or leg 
>> to leg. I do not have a nuetral line so my question is will it be ok to go 
>> from leg to leg for the 120 single phase?  Or is there some other component 
>> i need?
>> 
>> Thanks
>> Brian
>> 
>> Sent from my iPod
>> --
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> If its 3 phase 208, one leg to any other leg will give you 208.  You 
> have to have the neutral to get 120 from any leg.  You should get 120 
> from any leg to ground but it wouldn't be up to code.
> 
> Brian
> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3 phase power

2011-11-10 Thread Brian May
Yes everything at our shop is wired off 3 phase. But our box has a nuetral. So 
it goes from leg to nuetral. However my machine only has 4 lines - the 3 legs 
of power and an earth ground. So i guess my question is do i need the nuetral?

Sent from my iPod

On Nov 10, 2011, at 8:59 PM, Eric Keller  wrote:

> the lights and most outlets here at work are single phase wired off of 3
> phase.
> 
> On Thu, Nov 10, 2011 at 9:50 PM, Brian May  wrote:
> 
>> This is probably an easy question for alot af the people on the list.
>> 
>> I have 3 phase power going to my vfd on my machine.  I want to the use
>> that same power to power all the 120 single phase components. (the dc power
>> supply for the steppers and varios other motors. ).  This way i only need 1
>> plug
>> 
>> I have been reading and people say i can go from 1 leg to a nuetral or leg
>> to leg. I do not have a nuetral line so my question is will it be ok to go
>> from leg to leg for the 120 single phase?  Or is there some other component
>> i need?
>> 
>> Thanks
>> Brian
>> 
>> Sent from my iPod
>> 
>> --
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 3 phase power

2011-11-10 Thread Brian May
This is probably an easy question for alot af the people on the list. 

I have 3 phase power going to my vfd on my machine.  I want to the use that 
same power to power all the 120 single phase components. (the dc power supply 
for the steppers and varios other motors. ).  This way i only need 1 plug

I have been reading and people say i can go from 1 leg to a nuetral or leg to 
leg. I do not have a nuetral line so my question is will it be ok to go from 
leg to leg for the 120 single phase?  Or is there some other component i need?

Thanks
Brian

Sent from my iPod
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Simple homing question

2011-11-03 Thread Brian May
This is kind of off the subject but may be useful in future releases. 

On haas machines they have a parameter called grid offset for each axis. 
Basically it is a parameter that will "offset" the index pulse. This way you 
can control where your machine zeros without having to fool with the encoders. 

When you set it, the control tells you how far you moved from the switch to the 
index pulse. Haas has a value that all machines need to be. Like 0.1 inches 
from switch to encoder index. In the grid offset parameter you enter the number 
of pulses to "shift" the index pulse to get the 0.1

On high pitch ball screws the location of the index pulse could move your zero 
a lot. They did not want people messing with the encoders and causing other 
problems so they have the parameter.  Anyways That is my 2 cents

Sent from my iPod

On Nov 3, 2011, at 7:26 PM, Tom Easterday  wrote:

> 
> On Nov 3, 2011, at 8:21 PM, Dave wrote:
>> Did you throw in the towel on the hard stop homing with the drives??
> 
> No, and n fact I think what we are going to do is to try to manually align 
> the index pulses on both encoders and let the Granites do hard stop, then 
> find index, then move to specific position (they can do all this themselves), 
> then bring EMC online and just tell it "you're homed".
> 
> -Tom
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repeating a program

2011-11-03 Thread Brian May
I think that will work perfect. Maybe even better as i can limit it based on 
the length of the bar

Thanks

Sent from my iPod

On Nov 3, 2011, at 12:58 PM, andy pugh  wrote:

> On 3 November 2011 18:19, Brian May  wrote:
>> How do I repeat a program.
> 
> You can call it a number of times from another program, or wrap a
> REPEAT loop round it.
> Do either of those suit you?
> 
> http://www.linuxcnc.org/docview/html/gcode_main.html#r3_4
> 
> -- 
> atp
> The idea that there is no such thing as objective truth is, quite simply, 
> wrong.
> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Repeating a program

2011-11-03 Thread Brian May
How do I repeat a program.

On the CNC machines we have now I use an M99 - but this does not seem to
work in EMC

On my lathe I have a bar puller so I want the program to run over and over.

Thanks

-- 
Brian May
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CAM program

2011-10-20 Thread Brian May
Hi chris

Have you tried draftsight from the same company that makes solidworks. It is 
supposed to be similiar to autocad it is free and has a linux version. I tried 
it for a short amount of time and it seemed nice

Sent from my iPod

On Oct 20, 2011, at 11:44 AM, Chris Reynolds  wrote:

> I've been looking at making a complete switch to linux and I wanted to get 
> some input from the group. I've been using EMC to run my milling machine for 
> a couple of years now and I'd like to also start doing all of my cad design 
> as well as generating my machine code. Currently on my windows machine I use 
> Rhino3d for my 3d design work and AutoCAD and Rhino3d for my 2d, then for 2d 
> code creation and manipulation I've been using NCPlot, for 3d code creation 
> I'm using MeshCAM. I'm curious what packages would be recommended for these 
> different applications. I've downloaded and installed QCad and FreeCAD to try 
> out for the design side of things, but it's a program for creating the 
> machine code that I'm needing. Could really use some suggestions from other 
> users.
> 
> Chris
> --
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn 
> about Cisco certifications, training, and career opportunities. 
> http://p.sf.net/sfu/cisco-dev2dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] G43 and G54 Lathe

2011-10-19 Thread Brian May
I am confused on G43 and G54 for a lathe.

I am confused on how G43 works with G54 for a lathe.  I set all my tools on
the Z axis to the spindle nose (G54 Z is set at machine 0 or variable 5223
is 0)  Then I take tool 1 and place it at the end of the part and touch off
the Z axis G54 at 0.  This sets my variable 5223 to lets say 1.  From what I
though, That 1 would then be added to all my tool offsets to give me that
actual zero.  So far everything is working and I make a part.

Then I add another tool and touch of the end of the tool to the spindle nose
and my Z for that tool is incorrect?  It is located very similiar to the
other tools in location of Z, however the number in the tool offset is very
different and it does not go to the correct location

If there is something for G54 in the Z axis, does this effect the tool
offset G43 when setting it?  Am I wrong in thinking that G43 should be from
machine 0?

The sequence I take when setting the tool is:
in MDI I type
T7 M6
G43
Then set the tool

Should I not do the G43 when setting the tool to the end of the spindle
nose?

Thanks
Brian
--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] C-Axis on lathe

2011-10-17 Thread Brian May
That was the problem.

Still not perfect, but I am pretty sure the problems are now in the
machine

On Mon, Oct 17, 2011 at 4:09 PM, Brian May  wrote:

> I think that is it,
>
> Let me try and play with that a little.  I was having a hard time
> visualizing it, but that spreadsheet helps.
>
>
> On Mon, Oct 17, 2011 at 4:00 PM, andy pugh  wrote:
>
>> On 17 October 2011 22:42, Brian May  wrote:
>> > Go to:
>> > http://www.do-precision.com/pics/IMG_1441.JPG
>> >
>> > And there is a picture of it.
>>
>> OK.
>>
>> http://imagebin.org/179538
>>
>> Seems to indicate that flats are not straight lines in X-C space. Is
>> that the problem?
>> (that spreadsheet is what I used for my hexagonal boring experiment on
>> my lathe, which is a very similar problem)
>>
>>
>> --
>> atp
>> "Torque wrenches are for the obedience of fools and the guidance of wise
>> men"
>>
>>
>> --
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2d-oct
>> ___________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
>
> --
> Brian May
> 506.8862.9162 (Cell)
> 506.2293.6375 (Office)
>
>


-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] C-Axis on lathe

2011-10-17 Thread Brian May
I think that is it,

Let me try and play with that a little.  I was having a hard time
visualizing it, but that spreadsheet helps.

On Mon, Oct 17, 2011 at 4:00 PM, andy pugh  wrote:

> On 17 October 2011 22:42, Brian May  wrote:
> > Go to:
> > http://www.do-precision.com/pics/IMG_1441.JPG
> >
> > And there is a picture of it.
>
> OK.
>
> http://imagebin.org/179538
>
> Seems to indicate that flats are not straight lines in X-C space. Is
> that the problem?
> (that spreadsheet is what I used for my hexagonal boring experiment on
> my lathe, which is a very similar problem)
>
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] C-Axis on lathe

2011-10-17 Thread Brian May
Go to:
http://www.do-precision.com/pics/IMG_1441.JPG

And there is a picture of it.

On Mon, Oct 17, 2011 at 3:32 PM, andy pugh  wrote:

> On 17 October 2011 22:23, Brian May  wrote:
>
> > I am trying to test my C-Axis on my lathe by just cutting a simple flat.
>
> Live tooling? Mounted how?
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] C-Axis on lathe

2011-10-17 Thread Brian May
Hi All,

This may not be the correct place to post this, but if anyone has experience
with this maybe they can help me out.

I am trying to test my C-Axis on my lathe by just cutting a simple flat.  I
am cutting a 1in diameter bar of aluminum and trying to cut a flat that is
0.325 from center to the flat.  I am programing it by hand as I do not know
how to do it in CAM.  I have never programmed using XC, I always used to do
it with G112  But it looks as though that feature is not in the EMC
software.

I am using a .375 endmill, The center of the tool is the center of the part.

Anyhow, I am not getting anything that looks like a flat - the problem is, I
do not know if it is problems in my machine, configuration, or problems in
my program  I would like to eliminate the program as the problem.


Here is the basic move codes that I am using.
%
g54
t6 m6
g43
m154
g20 g8
g94

g0 x1.
g0 c-110.
g0 z.1
g0 x1.
g0 z-.1
g1 x.783 c-130.853 f1.
g1 x.5125 c-180.
g1 x.803 c-230.347
g0 z.5
g0 x2.5
g0 z1.
M30
%



-- 
Brian
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do we need G43?

2011-10-12 Thread Brian May
yes I think you are right but why not just
M6 T1 H68
instead of
M6 T1 g43 H68

To me, the H implies a height offset because I do not think I use H any
where else to get it confused with another G code?  But whatever, in the end
it is no big deal and maybe the standard is to have G43

On Wed, Oct 12, 2011 at 4:22 PM, Daniel Rogge  wrote:

>
> > On the mill (HAAS) you use the G43 Hxx for whatever tool you need.  Not
> sure
> > why you need the G43, it seems redudant since I cannot think of another
> > instance where I use H  Maybe just tradition.
>
>
> I always thought that this stemmed from shops with extensive tool libraries
> that do off-line tool measurement.  My old HAAS mini mill had a 10 pocket
> ATC, and required M6 T1 - T10 commands to retrieve the tools from the
> carousel.  If I have 100 tools in my crib (which are measured offline) and I
> put tool 68 in ATC position 1, I'd want to use an M6 T1 G43 H68 command to
> apply the correct offset.  Pro E's CAM dealt with this sort of thing nicely.
>
> Rogge
>
>
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do we need G43?

2011-10-12 Thread Brian May
On the HAAS lathe you do it like this
T0101 which is tool 1 with offset 1
or
T0115  which is tool 1 with offset 15

The G43 is implied and you never have to use it.

On the mill (HAAS) you use the G43 Hxx for whatever tool you need.  Not sure
why you need the G43, it seems redudant since I cannot think of another
instance where I use H  Maybe just tradition.

On Wed, Oct 12, 2011 at 1:29 PM, Chris Radek  wrote:

> On Wed, Oct 12, 2011 at 08:15:42PM +0100, andy pugh wrote:
> > On 12 October 2011 20:08, Chris Radek  wrote:
> >
> > > Are you just forgetting to invoke G43?
> >
> > Out of curiosity, would you ever not want to invoke G43? (or, to put
> > it another way, why is it not automatic?
>
> One neat thing about the G43 system is that you can apply whichever
> offset you want.  For instance, when I have two tools ganged on one
> turret position on my lathe, I use T1M6 but might use G43H1 or G43H9.
>
> Even on a mill, I can imagine having (say) a slitting saw with
> different offsets for the top edge and the bottom edge; you could pick
> the offset based on which side of the cut was the important one.
>
> I don't know whether that's an answer to your question (I agree with
> you in thinking you almost always want a tool offset applied), but
> it's nice if you can explicitly pick an offset not equal to the T
> number.
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe tool offsets

2011-10-12 Thread Brian May
I think that is the problem so simple

On the HAAS Lathe I do not have to set the G43 - it is automatic.  I am
going to give that a try.

Thanks

On Wed, Oct 12, 2011 at 1:08 PM, Chris Radek  wrote:

> On Wed, Oct 12, 2011 at 12:34:14PM -0600, Brian May wrote:
> > If I set T1 and T2, then in MDI type T1 M6 - I am
> > thinking that the position should change... from the T2 position.
>
> Are you just forgetting to invoke G43?
>
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Lathe tool offsets

2011-10-12 Thread Brian May
I am having a hard time understanding how the tool offsets work on a lathe

With our HAAS machines, For the Z I set each tool to a fixed point on the
machine.  Then I set the diameters by machining a bit and measuring the
diameter.

Then I set the G54 Z to the face of the part and leave the G54 X at machine
home.

I am trying to follow this same procedure for EMC and cannot seem to get it
to work.

I set my G54 X to machine home.  My G54 Z to the end of the part.
Then I set my tool 2 (cut off tool) Z to the spindle nose, (fixed point)
(which is where all the tool offset Z are set) and X using the cut a
diameter a measure method.  (basically the same method I use on the HAAS)

However, my relative position on the EMC screen never seems to change
reflecting the tool.  If I set T1 and T2, then in MDI type T1 M6 - I am
thinking that the position should change... from the T2 position.  Every
time I try and run a program I get an error that I am exceeding the limits?

I have been reading the manual but cannot seem to see what I am doing
wrong?  The lathe is a gang style table.

Thanks

-- 
Brian May
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle controller with GS2 Driver

2011-09-07 Thread Brian May
HI Andy,

I found the problem.  I must have reviewed it a 1000 times, but I had a typo
in the name  All is working fine now.  Thanks for the help

Brian

On Wed, Sep 7, 2011 at 3:19 PM, andy pugh  wrote:

> On 7 September 2011 21:56, Brian May  wrote:
> > Maybe im using the wrong command because i tried it in the postgui
> >
> > I am using setp spindle-vfd.nameplate-RPM 1760
>
> That's a funny looking pin/signal name. Can you pastebin the HAL files?
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle controller with GS2 Driver

2011-09-07 Thread Brian May
Maybe im using the wrong command because i tried it in the postgui

I am using setp spindle-vfd.nameplate-RPM 1760



Sent from my iPod

On Sep 7, 2011, at 2:15 PM, andy pugh  wrote:

> On 7 September 2011 21:03, Brian May  wrote:
> 
>> I am using the GS2 driver to communicate to a automation direct GS3 motor
>> controller.  It seems to be working fine.  However, I need to set the
>> parameter spindle-vfd.nameplate-RPM in a hal configuration file and I keep
>> getting errors that says the parameter does not exist.  Once I load EMC I
>> can go into the hal configuration and set it there - but for some reason I
>> cannot set in the HAL file.  Any ideas what I am doing wrong?
> 
> It is likely that the component that creates the pin in question is
> loaded after the place where you are trying to connect it, either in a
> HAL file that loads later in the sequence, or in a GUI element.
> 
> If you put the net command in the postgui.hal file in your config it
> will work for either situation.
> 
> -- 
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise men"
> 
> --
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage 
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Spindle controller with GS2 Driver

2011-09-07 Thread Brian May
Hi All,

I am using the GS2 driver to communicate to a automation direct GS3 motor
controller.  It seems to be working fine.  However, I need to set the
parameter spindle-vfd.nameplate-RPM in a hal configuration file and I keep
getting errors that says the parameter does not exist.  Once I load EMC I
can go into the hal configuration and set it there - but for some reason I
cannot set in the HAL file.  Any ideas what I am doing wrong?

Thanks
-- 
Brian May
--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Engaging C-Axis on Lathe

2011-09-02 Thread Brian May
Hi All,

I am still working on engaging my C-Axis on my lathe.  Everything is
basically working except one small issue.  Because the way my design is -
the best way to engage the C-Axis is if it is turning slowly.  This will
ensure that the everything meshes together.  This is where I am having
problems.

My first idea was to just make a simulated encoder and when a M154 was
enacted to jog the C-axis using the simulated encoder as a jog wheel.
However, this is not working because it will not allow me to jog an axis
while in MDI or run mode (which makes sense...)

Then I though that I can just zero the axis which actually works better.  I
command a M154 - the air solenoid opens and the C-Axis slowly moves into
position.  Through Classic ladder I change the state of the
halui.joint.5.home bit, (which initiates a zero routing).  While the C-Axis
moves into position the C-Axis motor is turning slowly looking for zero.  I
use the index pulse on the spindle motor encoder as my zero pulse on the
C-Axis.  As the C-Axis engages - it starts turning the spindle and then
finds the pulse and zeros.  This really is ideal because now every time my
C-Axis engages it is in the exact same position allowing me to avoid keeping
track of the spindle...  However, I get the following errors:

In run mode
Can't do that while in (EMC_AXIS_HOME) in auto mode with the interpretor
idle.

Then in MDI mode
Can't do that (EMC_AXIS_HOME) in MDI mode.

Any ideas of a work around or better idea?

Thanks

-- 
Brian May

506.2293.6375 (Office)
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Alarms

2011-08-30 Thread Brian May
I currently do inhibit it from happening.  I use a custom M154 to engage the
C-Axis.  In classicladder I have it set up that if the spindle is turning
(regardless if it is on or not), then you cannot engage the C-Axis, likewise
I have it set, if the C-Axis is engage then you cannot turn on the spindle.
My concern is, that someone will have the C-Axis engaged - not realize it
and try and turn the spindle motor on and not understand why it will not
start - and then try and "fix" it and cause damage.  I guess I could set up
some LEDs on a panel - which I should do anyways.

I guess my more broader question is if you could set up custom alarms
We have some HAAS machines and you can setup macros and they have a variable
that you can use that allows you to set custom alarms.

I will play around a bit and see what I can find.  I will try that component
that les sent also.

On Tue, Aug 30, 2011 at 7:27 AM, andy pugh  wrote:

> On 30 August 2011 14:08, Brian May  wrote:
>
> > For example I have a C-Axis motor and a regular spindle motor on a Lathe.
>  I
> > would like if the user commands the C-Axis motor to engage while the
> regular
> > motor is turning to E-Stop and give an alarm.
>
> It might be easier to inhibit the C-motor engagement.
> You could set up HAL logic to do either, using for example
> motion.spindle.is-on and one of the axis.5 pins into an and2 hal
> function to feed an or2 function which also takes user e-stop.
>
> If you can design the behaviour in basic logic, then HAL can do it.
> There are a number of other functions that might be useful too.
> http://linuxcnc.org/docs/html/hal_components.html
>
> A guide to HAL is here:
> http://linuxcnc.org/docs/html/hal_basic_hal.html
>
> Popping up a warning message in HAL is not all that easy, as far as I
> know. It is relatively easy to light an LED on a PyVCP panel, (or, in
> newer versions, a GladeVCP panel). I don't know if we have any
> hal-linked annunciators, but they might exist.
>
> If you are familiar with PLCs then you could code the behaviour in
> Classic Ladder. I don't know what that has by way of pop-ups, if
> anything.
>
> How is the C-axis engaged? If it is a custom M-code then you ought to
> be able to code the logic in the M-code script itself.
>
> I think it would be better either to inhibit C-engagement if the
> spindle is turning, or better perhaps to stop the spindle and wait for
> zero speed before engaging C.
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Alarms

2011-08-30 Thread Brian May
Does anyone know if it is possible to make custom alarms?

For example I have a C-Axis motor and a regular spindle motor on a Lathe.  I
would like if the user commands the C-Axis motor to engage while the regular
motor is turning to E-Stop and give an alarm.  I can tie it into the e-stop
circuit easy using classic ladder - but what I would like is to also display
a message telling the user why it went into e-stop mode.  I would also like
to do this for low air pressure

Thanks

-- 
Brian May
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe questions

2011-08-29 Thread Brian May
HI Andy,

That worked perfect.  At least for the stepper motor... Down the road I will
try with the spindle motor.

Thanks for the help.
Brian

On Sun, Aug 28, 2011 at 2:36 PM, andy pugh  wrote:

> On 28 August 2011 20:28, Brian May  wrote:
> >  but in the process of
> > changing to the serial port and using the GS2 driver - which looks like
> it
> > will work for the GS3.  (I guess I would have to stick to PWM if I wanted
> to
> > try and control it like a servo?)
>
> You might well be able to control it with serial. But PWM definitely works.
>
> > Right now I have Axis0, Axis1, and Axis2.  Axis0 is the X Axis 1 is the
> "y"
> > axis which does not exist and Axis 3 is the Z.  I am required to zero "y"
> > axis in the Axis gui, (even though it really does not exist).  Which from
> > what I see just zeros itself and that is all.  So would I just create an
> > Axis 3 as a rotary axis - if so that is simple enough?
>
> It's easiest if Axis 5 is the C axis.
> I have had a fiddle in a simulator.
> In the [TRAJ] Section of the INI you need
> AXES = 6
> COORDINATES = X Z C.
>
> You then need to set up an [AXIS_5] Section with the parameters for
> your C axis.
> Set HOME_SEARCH_VELOCITY to zero, unless you want to set up homing to
> the encoder index (there isn't much point generally)
>
> In the HAL file clone one of the other axes (assuming that they are
> stepper) and connect to the axis.5.x pins instead of 0 or 2.
>
> That _should_ do it.
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe questions

2011-08-28 Thread Brian May
Hi Andy,

I am using an automation direct GS3 drive with one of their 3HP Micromax
motors.  Down the road I think I am going to try your suggestion.  I am
currently running the motor with a PWM signal - but in the process of
changing to the serial port and using the GS2 driver - which looks like it
will work for the GS3.  (I guess I would have to stick to PWM if I wanted to
try and control it like a servo?)

Anyway - I would like to get the stepper working for now - I already built
the parts and installed it so  want to see it work

Either way I do it, I am still confused on how to do it, I have to set up
the c-axis in the ini file and the hal files.

Right now I have Axis0, Axis1, and Axis2.  Axis0 is the X Axis 1 is the "y"
axis which does not exist and Axis 3 is the Z.  I am required to zero "y"
axis in the Axis gui, (even though it really does not exist).  Which from
what I see just zeros itself and that is all.  So would I just create an
Axis 3 as a rotary axis - if so that is simple enough?  How can I name it
"C" because I think it would default to "A" which, I believe, on a lathe is
the turret? - which maybe does not matter

Thanks for the help

On Sun, Aug 28, 2011 at 9:44 AM, andy pugh  wrote:

> On 28 August 2011 16:00, Brian May  wrote:
> > I would like to add a C-Axis.  (I already
> > have it built and attached).  Basically, when wanting to do live tooling
> > work, the C-Axis stepper motor engages on the spindle driving the spindle
> > instead of the spindle motor.  When the lathe is turning parts the C-Axis
> > motor disengages.  There is an encoder attached to the spindle so I can
> keep
> > track of its location.
>
> With a good enough spindle drive you might not actually need the stepper.
> I did an experiment with a very old VFD and a conventional 3-phase
> motor and it nearly worked.
>
> I think with a modern flux-vector drive it might work properly.
> What is the minimum spindle speed your drive supports? (what type of
> drive is it?)
>
> If your drive is capable of zero-speed torque then it just becomes a
> case of unhooking the spindle speed command from motion.spindle-speed
> and re-connecting it to the output of a C-axis PID control. This is
> all reasonably easy in HAL. (you probably need an M-code to switch
> modes)
>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Brian May
506.8862.9162 (Cell)
506.2293.6375 (Office)
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Lathe questions

2011-08-28 Thread Brian May
Hi,

I am new to the mailing list, but have been using EMC for a while now.  I
just completed a small lathe and have it pretty well working with EMC2
version 2.4.6 on ubuntu 10.04.  I would like to add a C-Axis.  (I already
have it built and attached).  Basically, when wanting to do live tooling
work, the C-Axis stepper motor engages on the spindle driving the spindle
instead of the spindle motor.  When the lathe is turning parts the C-Axis
motor disengages.  There is an encoder attached to the spindle so I can keep
track of its location.

My ultimate goal would to be able to do C-X-Z moves to create flats, milled
grooves and so forth on the parts.  However, right now I have a need to just
index the spindle 30 degrees and drill a hole - (which is a pure X move).

i have not been able to find much information on this.  Does anyone have any
ideas or at least a direction I can start moving in?

Thanks

-- 
Brian
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users