Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread John Dammeyer
Photo yes.  No G Code if that was supposed to be attached.  I find when I run 
the CAM simulation on VisualCAM (AlibreCAM) that the tool moves around the work 
piece rather than the work piece image rotating.  If that's what you meant.
If you attach the G-Code I can try it here on my A axis.
John

> -Original Message-
> From: Sam Sokolik [mailto:samco...@gmail.com]
> Sent: March-30-21 4:05 PM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] Rotary axis preview (in axis interface)
> 
> Has anyone done work on the preview for a 4th axis mounted on the table?
>  I feel like in this situation - the gcode preview should be spinning while
> the tool tip stay stationary...  Uless I have the geometry set wrong - but
> currently I have it set to AXYZ.  I think I have tried all compinations -
> but the tool seems to move around the gcode - instead of the gcode moving
> around the tool...
> 
> http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> 
> sam
> 
> let me know if the attachment comes through...



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread Sam Sokolik
http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png

that is the screenshot - the gcode from andy is here..

https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=0

On Tue, Mar 30, 2021 at 6:38 PM John Dammeyer 
wrote:

> Photo yes.  No G Code if that was supposed to be attached.  I find when I
> run the CAM simulation on VisualCAM (AlibreCAM) that the tool moves around
> the work piece rather than the work piece image rotating.  If that's what
> you meant.
> If you attach the G-Code I can try it here on my A axis.
> John
>
> > -Original Message-
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> > Sent: March-30-21 4:05 PM
> > To: Enhanced Machine Controller (EMC)
> > Subject: [Emc-users] Rotary axis preview (in axis interface)
> >
> > Has anyone done work on the preview for a 4th axis mounted on the table?
> >  I feel like in this situation - the gcode preview should be spinning
> while
> > the tool tip stay stationary...  Uless I have the geometry set wrong -
> but
> > currently I have it set to AXYZ.  I think I have tried all compinations -
> > but the tool seems to move around the gcode - instead of the gcode moving
> > around the tool...
> >
> > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> >
> > sam
> >
> > let me know if the attachment comes through...
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread Sam Sokolik
it makes it so the bounding box doesn;t really make sense,,,

http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-50-41.png

On Tue, Mar 30, 2021 at 6:44 PM Sam Sokolik  wrote:

>
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
>
> that is the screenshot - the gcode from andy is here..
>
>
> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=0
>
> On Tue, Mar 30, 2021 at 6:38 PM John Dammeyer 
> wrote:
>
>> Photo yes.  No G Code if that was supposed to be attached.  I find when I
>> run the CAM simulation on VisualCAM (AlibreCAM) that the tool moves around
>> the work piece rather than the work piece image rotating.  If that's what
>> you meant.
>> If you attach the G-Code I can try it here on my A axis.
>> John
>>
>> > -Original Message-
>> > From: Sam Sokolik [mailto:samco...@gmail.com]
>> > Sent: March-30-21 4:05 PM
>> > To: Enhanced Machine Controller (EMC)
>> > Subject: [Emc-users] Rotary axis preview (in axis interface)
>> >
>> > Has anyone done work on the preview for a 4th axis mounted on the table?
>> >  I feel like in this situation - the gcode preview should be spinning
>> while
>> > the tool tip stay stationary...  Uless I have the geometry set wrong -
>> but
>> > currently I have it set to AXYZ.  I think I have tried all compinations
>> -
>> > but the tool seems to move around the gcode - instead of the gcode
>> moving
>> > around the tool...
>> >
>> > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
>> >
>> > sam
>> >
>> > let me know if the attachment comes through...
>>
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread Sam Sokolik
This might make a bit more sense of what I am talking about..

http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-53-52.png

On Tue, Mar 30, 2021 at 6:51 PM Sam Sokolik  wrote:

> it makes it so the bounding box doesn;t really make sense,,,
>
>
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-50-41.png
>
> On Tue, Mar 30, 2021 at 6:44 PM Sam Sokolik  wrote:
>
>>
>> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
>>
>> that is the screenshot - the gcode from andy is here..
>>
>>
>> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=0
>>
>> On Tue, Mar 30, 2021 at 6:38 PM John Dammeyer 
>> wrote:
>>
>>> Photo yes.  No G Code if that was supposed to be attached.  I find when
>>> I run the CAM simulation on VisualCAM (AlibreCAM) that the tool moves
>>> around the work piece rather than the work piece image rotating.  If that's
>>> what you meant.
>>> If you attach the G-Code I can try it here on my A axis.
>>> John
>>>
>>> > -Original Message-
>>> > From: Sam Sokolik [mailto:samco...@gmail.com]
>>> > Sent: March-30-21 4:05 PM
>>> > To: Enhanced Machine Controller (EMC)
>>> > Subject: [Emc-users] Rotary axis preview (in axis interface)
>>> >
>>> > Has anyone done work on the preview for a 4th axis mounted on the
>>> table?
>>> >  I feel like in this situation - the gcode preview should be spinning
>>> while
>>> > the tool tip stay stationary...  Uless I have the geometry set wrong -
>>> but
>>> > currently I have it set to AXYZ.  I think I have tried all
>>> compinations -
>>> > but the tool seems to move around the gcode - instead of the gcode
>>> moving
>>> > around the tool...
>>> >
>>> > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
>>> >
>>> > sam
>>> >
>>> > let me know if the attachment comes through...
>>>
>>>
>>>
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread John Dammeyer
I downloaded from that link and LinuxCNC complains here:
#<_feed> = 20
With cannot assign read only parameter.

> -Original Message-
> From: Sam Sokolik [mailto:samco...@gmail.com]
> Sent: March-30-21 4:44 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> 
> that is the screenshot - the gcode from andy is here..
> 
> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=0
> 
> On Tue, Mar 30, 2021 at 6:38 PM John Dammeyer 
> wrote:
> 
> > Photo yes.  No G Code if that was supposed to be attached.  I find when I
> > run the CAM simulation on VisualCAM (AlibreCAM) that the tool moves around
> > the work piece rather than the work piece image rotating.  If that's what
> > you meant.
> > If you attach the G-Code I can try it here on my A axis.
> > John
> >
> > > -Original Message-
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > Sent: March-30-21 4:05 PM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: [Emc-users] Rotary axis preview (in axis interface)
> > >
> > > Has anyone done work on the preview for a 4th axis mounted on the table?
> > >  I feel like in this situation - the gcode preview should be spinning
> > while
> > > the tool tip stay stationary...  Uless I have the geometry set wrong -
> > but
> > > currently I have it set to AXYZ.  I think I have tried all compinations -
> > > but the tool seems to move around the gcode - instead of the gcode moving
> > > around the tool...
> > >
> > > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> > >
> > > sam
> > >
> > > let me know if the attachment comes through...
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread John Dammeyer
You mean that the tool is on the inside of the arc?

> -Original Message-
> From: Sam Sokolik [mailto:samco...@gmail.com]
> Sent: March-30-21 4:55 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
> This might make a bit more sense of what I am talking about..
> 
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-53-52.png
> 
> On Tue, Mar 30, 2021 at 6:51 PM Sam Sokolik  wrote:
> 
> > it makes it so the bounding box doesn;t really make sense,,,
> >
> >
> > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-50-41.png
> >
> > On Tue, Mar 30, 2021 at 6:44 PM Sam Sokolik  wrote:
> >
> >>
> >> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> >>
> >> that is the screenshot - the gcode from andy is here..
> >>
> >>
> >> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=0
> >>
> >> On Tue, Mar 30, 2021 at 6:38 PM John Dammeyer 
> >> wrote:
> >>
> >>> Photo yes.  No G Code if that was supposed to be attached.  I find when
> >>> I run the CAM simulation on VisualCAM (AlibreCAM) that the tool moves
> >>> around the work piece rather than the work piece image rotating.  If 
> >>> that's
> >>> what you meant.
> >>> If you attach the G-Code I can try it here on my A axis.
> >>> John
> >>>
> >>> > -Original Message-
> >>> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >>> > Sent: March-30-21 4:05 PM
> >>> > To: Enhanced Machine Controller (EMC)
> >>> > Subject: [Emc-users] Rotary axis preview (in axis interface)
> >>> >
> >>> > Has anyone done work on the preview for a 4th axis mounted on the
> >>> table?
> >>> >  I feel like in this situation - the gcode preview should be spinning
> >>> while
> >>> > the tool tip stay stationary...  Uless I have the geometry set wrong -
> >>> but
> >>> > currently I have it set to AXYZ.  I think I have tried all
> >>> compinations -
> >>> > but the tool seems to move around the gcode - instead of the gcode
> >>> moving
> >>> > around the tool...
> >>> >
> >>> > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> >>> >
> >>> > sam
> >>> >
> >>> > let me know if the attachment comes through...
> >>>
> >>>
> >>>
> >>> ___
> >>> Emc-users mailing list
> >>> Emc-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>
> >>
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-30 Thread Gene Heskett
On Tuesday 30 March 2021 19:35:40 John Dammeyer wrote:

> Photo yes.  No G Code if that was supposed to be attached.  I find
> when I run the CAM simulation on VisualCAM (AlibreCAM) that the tool
> moves around the work piece rather than the work piece image rotating.
>  If that's what you meant. If you attach the G-Code I can try it here
> on my A axis.
> John

Both the link and the photo arrived here ok.  And thats the same as I get 
here, the tool points at the centerline of the X axis and rotates around 
that imaginary point. I've gotten more or less used to it, but its not 
natural to to me either, 

As for the question, I've always treated it independently as I've mounted 
my little 4" table I motorized all 3 ways, On both mills but it has 
always been XYZA in the .ini file as I rarely have made a simultaneos 
move. I just drove it to where I wanted it, like in 90 degree jumps when 
I was making tap hats, drilling and tapping 4 holes for 4 grub screws to 
grab the flats of a tap. I did do a circular engrave once but was not 
impressed with the font and didn't waste any more material. So I can't 
offer any magic incantations, sorry.

> > -Original Message-
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> > Sent: March-30-21 4:05 PM
> > To: Enhanced Machine Controller (EMC)
> > Subject: [Emc-users] Rotary axis preview (in axis interface)
> >
> > Has anyone done work on the preview for a 4th axis mounted on the
> > table? I feel like in this situation - the gcode preview should be
> > spinning while the tool tip stay stationary...  Uless I have the
> > geometry set wrong - but currently I have it set to AXYZ.  I think I
> > have tried all compinations - but the tool seems to move around the
> > gcode - instead of the gcode moving around the tool...
> >
> > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> >
> > sam
> >
> > let me know if the attachment comes through...
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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


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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Sam Sokolik
I guess linuxcnc would need to know in machine coordinates where the center
of rotation is..   Could this be done with kins?  Then (thinking out loud
Don't yell at me)

The Geometry line could have another attribute for each letter...   Now
there is order and sign..  Maybe capital vs small letter

Ie

GEOMETRY = aXYZ  (lower case would designate that the gcode preview would
rotate instead of the tool tip...)

SMOP right?  ;)

sam


On Tue, Mar 30, 2021 at 9:13 PM Gene Heskett  wrote:

> On Tuesday 30 March 2021 19:35:40 John Dammeyer wrote:
>
> > Photo yes.  No G Code if that was supposed to be attached.  I find
> > when I run the CAM simulation on VisualCAM (AlibreCAM) that the tool
> > moves around the work piece rather than the work piece image rotating.
> >  If that's what you meant. If you attach the G-Code I can try it here
> > on my A axis.
> > John
>
> Both the link and the photo arrived here ok.  And thats the same as I get
> here, the tool points at the centerline of the X axis and rotates around
> that imaginary point. I've gotten more or less used to it, but its not
> natural to to me either,
>
> As for the question, I've always treated it independently as I've mounted
> my little 4" table I motorized all 3 ways, On both mills but it has
> always been XYZA in the .ini file as I rarely have made a simultaneos
> move. I just drove it to where I wanted it, like in 90 degree jumps when
> I was making tap hats, drilling and tapping 4 holes for 4 grub screws to
> grab the flats of a tap. I did do a circular engrave once but was not
> impressed with the font and didn't waste any more material. So I can't
> offer any magic incantations, sorry.
>
> > > -Original Message-
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > Sent: March-30-21 4:05 PM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: [Emc-users] Rotary axis preview (in axis interface)
> > >
> > > Has anyone done work on the preview for a 4th axis mounted on the
> > > table? I feel like in this situation - the gcode preview should be
> > > spinning while the tool tip stay stationary...  Uless I have the
> > > geometry set wrong - but currently I have it set to AXYZ.  I think I
> > > have tried all compinations - but the tool seems to move around the
> > > gcode - instead of the gcode moving around the tool...
> > >
> > > http://electronicsam.com/images/greenmachine/IMG_20210329_220745.jpg
> > >
> > > sam
> > >
> > > let me know if the attachment comes through...
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Thaddeus Waldner
Just to add another point of view:
Okuma controllers do the same thing in C-axis machining on a lathe; the 
backplot is stationary while the tool rotates.

> On Mar 30, 2021, at 6:04 PM, Sam Sokolik  wrote:
> 
>  I think I have tried all compinations -
> but the tool seems to move around the gcode - instead of the gcode moving
> around the tool...


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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer
Let me ask this question again with a bit more information.

I downloaded the G-Code for the scale and Linux fails with "cannot assign read 
only parameter" on the #=20 line.  It made it through the rest first few 
assignments.  I looked at the file with and the lines are only terminated with 
a 0x0A.  No odd characters in the file.  What could be wrong?

Thanks 
John

;Attempt to engrave scale rings
;Engraving is done in the XA plane and in the postive direction from X =0

#<_dia> = 50 ; scale diamter
#<_depth> = 0.2 ; engraving depth
#<_height> = 2 ; character height
#<_scale> = 1 ; unit conversion
#<_inc> = 10 ; angle between marks
#<_feed> = 20

G21

F #<_feed>




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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Sam Sokolik
I think you grabbed the old version - at the top of the post he has a link
to the end of the post...  :)

https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=10#116888

Maybe <_feed> wasn't used the way it is now in 2018  It now seems to be
a read only variable for current feed setting.

On Wed, Mar 31, 2021 at 11:35 AM John Dammeyer 
wrote:

> Let me ask this question again with a bit more information.
>
> I downloaded the G-Code for the scale and Linux fails with "cannot assign
> read only parameter" on the #=20 line.  It made it through the rest
> first few assignments.  I looked at the file with and the lines are only
> terminated with a 0x0A.  No odd characters in the file.  What could be
> wrong?
>
> Thanks
> John
>
> ;Attempt to engrave scale rings
> ;Engraving is done in the XA plane and in the postive direction from X =0
>
> #<_dia> = 50 ; scale diamter
> #<_depth> = 0.2 ; engraving depth
> #<_height> = 2 ; character height
> #<_scale> = 1 ; unit conversion
> #<_inc> = 10 ; angle between marks
> #<_feed> = 20
>
> G21
>
> F #<_feed>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread johnd
I changed it to _feed1 and then the program ran. Info output at 10, 20, 30..  
Looks like it carves the numbers first.   Rotary axis does appear to move 10 
degrees for each info message. Screen output a bit strange. Metric maybe?On 
doggy walk.  Will check further when I get back. ThanksJohnSent from my Samsung 
S10
 Original message From: Sam Sokolik  Date: 
2021-03-31  9:59 a.m.  (GMT-08:00) To: "Enhanced Machine Controller (EMC)" 
 Subject: Re: [Emc-users] Rotary axis preview 
(in axis interface) I think you grabbed the old version - at the top of the 
post he has a linkto the end of the post...  
:)https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-cylinders?start=10#116888Maybe
 <_feed> wasn't used the way it is now in 2018  It now seems to bea read 
only variable for current feed setting.On Wed, Mar 31, 2021 at 11:35 AM John 
Dammeyer wrote:> Let me ask this question again with a 
bit more information.>> I downloaded the G-Code for the scale and Linux fails 
with "cannot assign> read only parameter" on the #=20 line.  It made it 
through the rest> first few assignments.  I looked at the file with and the 
lines are only> terminated with a 0x0A.  No odd characters in the file.  What 
could be> wrong?>> Thanks> John>> ;Attempt to engrave scale rings> ;Engraving 
is done in the XA plane and in the postive direction from X =0>> #<_dia> = 50 ; 
scale diamter> #<_depth> = 0.2 ; engraving depth> #<_height> = 2 ; character 
height> #<_scale> = 1 ; unit conversion> #<_inc> = 10 ; angle between marks> 
#<_feed> = 20>> G21>> F #<_feed>>>>>> 
___> Emc-users mailing list> 
Emc-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/emc-users>___Emc-users
 mailing 
listEmc-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/emc-users
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer


> From: Sam Sokolik [mailto:samco...@gmail.com]
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> 
Alright, I'm confused.
I've got the G-Code turning the 4th axis A.  The X moves back and forth for 
carving the lines as does A when letters are carved.  At 90 degrees the conical 
tool image on the AXIS screen has rotated 90 degrees but the location of A is 
still zero on the screen as well as I don't get that circular image that Sam 
has.
http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png

So physically the Axis is turning.  But it doesn't seem to be represented on 
the screen.  What could be missing?  Something in the HAL or INI file?

Thanks
John



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Sam Sokolik
You need in the display section of the INI file

GEOMETRY = AXYZ

On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:

>
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> >
> Alright, I'm confused.
> I've got the G-Code turning the 4th axis A.  The X moves back and forth
> for carving the lines as does A when letters are carved.  At 90 degrees the
> conical tool image on the AXIS screen has rotated 90 degrees but the
> location of A is still zero on the screen as well as I don't get that
> circular image that Sam has.
> http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
>
> So physically the Axis is turning.  But it doesn't seem to be represented
> on the screen.  What could be missing?  Something in the HAL or INI file?
>
> Thanks
> John
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer
Forgot to mention I had tried that.  I have it set to AXYZ.  The tool images 
starts with the flat of the tool cone facing away from me.  I can now also see 
the A change briefly to say 20 and then back to zero, probably due to the G92.

But it's still drawing the image as if it's in one spot.  Which in effect it is 
since the rotary axis, in line with the X axis is turning so the XYZ remain the 
same other than Z moving into the work to cut and out to retract.  X moves 
along the graduations and AX move to draw the letters.

So something else in the INI or HAL file is still confusing the system.

John
> From: Sam Sokolik [mailto:samco...@gmail.com]
> 
> You need in the display section of the INI file
> 
> GEOMETRY = AXYZ
> 
> On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:
> 
> >
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > >
> > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > >
> > Alright, I'm confused.
> > I've got the G-Code turning the 4th axis A.  The X moves back and forth
> > for carving the lines as does A when letters are carved.  At 90 degrees the
> > conical tool image on the AXIS screen has rotated 90 degrees but the
> > location of A is still zero on the screen as well as I don't get that
> > circular image that Sam has.
> > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> >
> > So physically the Axis is turning.  But it doesn't seem to be represented
> > on the screen.  What could be missing?  Something in the HAL or INI file?
> >
> > Thanks
> > John
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Scott Harwell via Emc-users
 John,
I have it almost working. The tool still tilts, but it will display the ring, 
and you can see what is happening.
From my INI

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.00
MAX_SPINDLE_OVERRIDE = 1.50
MIN_SPINDLE_OVERRIDE = 0.50
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/sh/linuxcnc/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 0.25
MAX_LINEAR_VELOCITY = 1.00
MIN_LINEAR_VELOCITY = 0.016670
DEFAULT_ANGULAR_VELOCITY = 12.00
MAX_ANGULAR_VELOCITY = 180.00
MIN_ANGULAR_VELOCITY = 1.67
EDITOR = gedit
GEOMETRY = aXYZ
CYCLE_TIME = 100
Excuse the speeds this is from my prototype system, no machine.
Scott


On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer 
 wrote:  
 
 Forgot to mention I had tried that.  I have it set to AXYZ.  The tool images 
starts with the flat of the tool cone facing away from me.  I can now also see 
the A change briefly to say 20 and then back to zero, probably due to the G92.

But it's still drawing the image as if it's in one spot.  Which in effect it is 
since the rotary axis, in line with the X axis is turning so the XYZ remain the 
same other than Z moving into the work to cut and out to retract.  X moves 
along the graduations and AX move to draw the letters.

So something else in the INI or HAL file is still confusing the system.

John
> From: Sam Sokolik [mailto:samco...@gmail.com]
> 
> You need in the display section of the INI file
> 
> GEOMETRY = AXYZ
> 
> On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:
> 
> >
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > >
> > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > >
> > Alright, I'm confused.
> > I've got the G-Code turning the 4th axis A.  The X moves back and forth
> > for carving the lines as does A when letters are carved.  At 90 degrees the
> > conical tool image on the AXIS screen has rotated 90 degrees but the
> > location of A is still zero on the screen as well as I don't get that
> > circular image that Sam has.
> > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> >
> > So physically the Axis is turning.  But it doesn't seem to be represented
> > on the screen.  What could be missing?  Something in the HAL or INI file?
> >
> > Thanks
> > John
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Scott Harwell via Emc-users
G-code to engrave numbers on cylinders

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
G-code to engrave numbers on cylinders

[edit 30/8/18: I added tick marks, see 
https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-c...
 |

 |

 |


John,

The file at the bottom of page 2 works in 2.9.0. No error for "F".
Scott



On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer 
 wrote:  
 
 Forgot to mention I had tried that.  I have it set to AXYZ.  The tool images 
starts with the flat of the tool cone facing away from me.  I can now also see 
the A change briefly to say 20 and then back to zero, probably due to the G92.

But it's still drawing the image as if it's in one spot.  Which in effect it is 
since the rotary axis, in line with the X axis is turning so the XYZ remain the 
same other than Z moving into the work to cut and out to retract.  X moves 
along the graduations and AX move to draw the letters.

So something else in the INI or HAL file is still confusing the system.

John
> From: Sam Sokolik [mailto:samco...@gmail.com]
> 
> You need in the display section of the INI file
> 
> GEOMETRY = AXYZ
> 
> On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:
> 
> >
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > >
> > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > >
> > Alright, I'm confused.
> > I've got the G-Code turning the 4th axis A.  The X moves back and forth
> > for carving the lines as does A when letters are carved.  At 90 degrees the
> > conical tool image on the AXIS screen has rotated 90 degrees but the
> > location of A is still zero on the screen as well as I don't get that
> > circular image that Sam has.
> > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> >
> > So physically the Axis is turning.  But it doesn't seem to be represented
> > on the screen.  What could be missing?  Something in the HAL or INI file?
> >
> > Thanks
> > John
> >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Sam Sokolik
John - what ui are you using?

On Wed, Mar 31, 2021 at 9:08 PM Scott Harwell via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> G-code to engrave numbers on cylinders
>
> |
> |
> |
> |  |  |
>
>  |
>
>  |
> |
> |  |
> G-code to engrave numbers on cylinders
>
> [edit 30/8/18: I added tick marks, see
> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-c.
> ..
>  |
>
>  |
>
>  |
>
>
> John,
>
> The file at the bottom of page 2 works in 2.9.0. No error for "F".
> Scott
>
>
>
> On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer <
> jo...@autoartisans.com> wrote:
>
>  Forgot to mention I had tried that.  I have it set to AXYZ.  The tool
> images starts with the flat of the tool cone facing away from me.  I can
> now also see the A change briefly to say 20 and then back to zero, probably
> due to the G92.
>
> But it's still drawing the image as if it's in one spot.  Which in effect
> it is since the rotary axis, in line with the X axis is turning so the XYZ
> remain the same other than Z moving into the work to cut and out to
> retract.  X moves along the graduations and AX move to draw the letters.
>
> So something else in the INI or HAL file is still confusing the system.
>
> John
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >
> > You need in the display section of the INI file
> >
> > GEOMETRY = AXYZ
> >
> > On Wed, Mar 31, 2021, 5:00 PM John Dammeyer 
> wrote:
> >
> > >
> > > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > >
> > >
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > > >
> > > Alright, I'm confused.
> > > I've got the G-Code turning the 4th axis A.  The X moves back and forth
> > > for carving the lines as does A when letters are carved.  At 90
> degrees the
> > > conical tool image on the AXIS screen has rotated 90 degrees but the
> > > location of A is still zero on the screen as well as I don't get that
> > > circular image that Sam has.
> > > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> > >
> > > So physically the Axis is turning.  But it doesn't seem to be
> represented
> > > on the screen.  What could be missing?  Something in the HAL or INI
> file?
> > >
> > > Thanks
> > > John
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread Scott Harwell via Emc-users
 Sam,
Yahoo mail with Firefox on Debian 10.
Yes I noticed it really trashed the formatting, It didn't look like this when 
sent.

Your project is looking good. 

Scott

On Wednesday, March 31, 2021, 9:25:00 PM CDT, Sam Sokolik 
 wrote:  
 
 John - what ui are you using?

On Wed, Mar 31, 2021 at 9:08 PM Scott Harwell via Emc-users <
emc-users@lists.sourceforge.net> wrote:

> G-code to engrave numbers on cylinders
>
> |
> |
> |
> |  |  |
>
>  |
>
>  |
> |
> |  |
> G-code to engrave numbers on cylinders
>
> [edit 30/8/18: I added tick marks, see
> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-c.
> ..
>  |
>
>  |
>
>  |
>
>
> John,
>
> The file at the bottom of page 2 works in 2.9.0. No error for "F".
> Scott
>
>
>
>    On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer <
> jo...@autoartisans.com> wrote:
>
>  Forgot to mention I had tried that.  I have it set to AXYZ.  The tool
> images starts with the flat of the tool cone facing away from me.  I can
> now also see the A change briefly to say 20 and then back to zero, probably
> due to the G92.
>
> But it's still drawing the image as if it's in one spot.  Which in effect
> it is since the rotary axis, in line with the X axis is turning so the XYZ
> remain the same other than Z moving into the work to cut and out to
> retract.  X moves along the graduations and AX move to draw the letters.
>
> So something else in the INI or HAL file is still confusing the system.
>
> John
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >
> > You need in the display section of the INI file
> >
> > GEOMETRY = AXYZ
> >
> > On Wed, Mar 31, 2021, 5:00 PM John Dammeyer 
> wrote:
> >
> > >
> > > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > >
> > >
> http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > > >
> > > Alright, I'm confused.
> > > I've got the G-Code turning the 4th axis A.  The X moves back and forth
> > > for carving the lines as does A when letters are carved.  At 90
> degrees the
> > > conical tool image on the AXIS screen has rotated 90 degrees but the
> > > location of A is still zero on the screen as well as I don't get that
> > > circular image that Sam has.
> > > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> > >
> > > So physically the Axis is turning.  But it doesn't seem to be
> represented
> > > on the screen.  What could be missing?  Something in the HAL or INI
> file?
> > >
> > > Thanks
> > > John
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer
Thanks Scott.  Yes.  The code was changed to

#<_f> = 80
 from 
#<_feed> = 20

I tried _feed1 which also worked.

John

> -Original Message-
> From: Scott Harwell via Emc-users [mailto:emc-users@lists.sourceforge.net]
> Sent: March-31-21 7:06 PM
> To: Enhanced Machine Controller (EMC)
> Cc: Scott Harwell
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
> G-code to engrave numbers on cylinders
> 
> |
> |
> |
> |  |  |
> 
>  |
> 
>  |
> |
> |  |
> G-code to engrave numbers on cylinders
> 
> [edit 30/8/18: I added tick marks, see 
> https://forum.linuxcnc.org/20-g-code/27169-g-code-to-engrave-numbers-on-c...
>  |
> 
>  |
> 
>  |
> 
> 
> John,
> 
> The file at the bottom of page 2 works in 2.9.0. No error for "F".
> Scott
> 
> 
> 
> On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer 
>  wrote:
> 
>  Forgot to mention I had tried that.� I have it set to AXYZ.� The tool images 
> starts with the flat of the tool cone facing away from me.�
> I can now also see the A change briefly to say 20 and then back to zero, 
> probably due to the G92.
> 
> But it's still drawing the image as if it's in one spot.� Which in effect it 
> is since the rotary axis, in line with the X axis is turning so the
> XYZ remain the same other than Z moving into the work to cut and out to 
> retract.� X moves along the graduations and AX move to
> draw the letters.
> 
> So something else in the INI or HAL file is still confusing the system.
> 
> John
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >
> > You need in the display section of the INI file
> >
> > GEOMETRY = AXYZ
> >
> > On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:
> >
> > >
> > > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > >
> > > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > > >
> > > Alright, I'm confused.
> > > I've got the G-Code turning the 4th axis A.� The X moves back and forth
> > > for carving the lines as does A when letters are carved.� At 90 degrees 
> > > the
> > > conical tool image on the AXIS screen has rotated 90 degrees but the
> > > location of A is still zero on the screen as well as I don't get that
> > > circular image that Sam has.
> > > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> > >
> > > So physically the Axis is turning.� But it doesn't seem to be represented
> > > on the screen.� What could be missing?� Something in the HAL or INI file?
> > >
> > > Thanks
> > > John
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer
Scott,
There are only a couple of differences.
I have 
ARCDIVISION=64 
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
I've also added a panel but that's outside the display screen.
PYVCP = pyvcp-panel.xml

and I'm missing 
CYCLE_TIME = 100

Here's mine.
[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.50
MAX_SPINDLE_OVERRIDE = 1.00
MIN_SPINDLE_OVERRIDE = 0.50
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/john/linuxcnc/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 1.00
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 3.0
DEFAULT_ANGULAR_VELOCITY = 90.00
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 180.00
EDITOR = mousepad
GEOMETRY = AXYZ
PYVCP = pyvcp-panel.xml

> -Original Message-
> From: Scott Harwell via Emc-users [mailto:emc-users@lists.sourceforge.net]
> Sent: March-31-21 6:24 PM
> To: Enhanced Machine Controller (EMC)
> Cc: Scott Harwell
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
>  John,
> I have it almost working. The tool still tilts, but it will display the ring, 
> and you can see what is happening.
> From my INI
> 
> [DISPLAY]
> DISPLAY = axis
> POSITION_OFFSET = RELATIVE
> POSITION_FEEDBACK = ACTUAL
> MAX_FEED_OVERRIDE = 2.00
> MAX_SPINDLE_OVERRIDE = 1.50
> MIN_SPINDLE_OVERRIDE = 0.50
> INTRO_GRAPHIC = linuxcnc.gif
> INTRO_TIME = 5
> PROGRAM_PREFIX = /home/sh/linuxcnc/nc_files
> INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
> POSITION_FEEDBACK = ACTUAL
> DEFAULT_LINEAR_VELOCITY = 0.25
> MAX_LINEAR_VELOCITY = 1.00
> MIN_LINEAR_VELOCITY = 0.016670
> DEFAULT_ANGULAR_VELOCITY = 12.00
> MAX_ANGULAR_VELOCITY = 180.00
> MIN_ANGULAR_VELOCITY = 1.67
> EDITOR = gedit
> GEOMETRY = aXYZ
> CYCLE_TIME = 100
> Excuse the speeds this is from my prototype system, no machine.
> Scott
> 
> 
> On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer 
>  wrote:
> 
>  Forgot to mention I had tried that.� I have it set to AXYZ.� The tool images 
> starts with the flat of the tool cone facing away from me.�
> I can now also see the A change briefly to say 20 and then back to zero, 
> probably due to the G92.
> 
> But it's still drawing the image as if it's in one spot.� Which in effect it 
> is since the rotary axis, in line with the X axis is turning so the
> XYZ remain the same other than Z moving into the work to cut and out to 
> retract.� X moves along the graduations and AX move to
> draw the letters.
> 
> So something else in the INI or HAL file is still confusing the system.
> 
> John
> > From: Sam Sokolik [mailto:samco...@gmail.com]
> >
> > You need in the display section of the INI file
> >
> > GEOMETRY = AXYZ
> >
> > On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  wrote:
> >
> > >
> > > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > >
> > > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > > >
> > > Alright, I'm confused.
> > > I've got the G-Code turning the 4th axis A.� The X moves back and forth
> > > for carving the lines as does A when letters are carved.� At 90 degrees 
> > > the
> > > conical tool image on the AXIS screen has rotated 90 degrees but the
> > > location of A is still zero on the screen as well as I don't get that
> > > circular image that Sam has.
> > > http://www.autoartisans.com/mill/Screenshot_2021-03-31_14-22-48.png
> > >
> > > So physically the Axis is turning.� But it doesn't seem to be represented
> > > on the screen.� What could be missing?� Something in the HAL or INI file?
> > >
> > > Thanks
> > > John
> > >
> > >
> > >
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-03-31 Thread John Dammeyer
My appologies.  Was editing the incorrect ini file.  The clue was when I went 
back to edit again and it appeared that AXYZ had reverted back to xyza.

And sure enough, once I fixed the 'correct' ini file I also get the rotary axis 
preview.  

John

> -Original Message-
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: March-31-21 7:37 PM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
> Scott,
> There are only a couple of differences.
> I have
> ARCDIVISION=64
> GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
> I've also added a panel but that's outside the display screen.
> PYVCP = pyvcp-panel.xml
> 
> and I'm missing
> CYCLE_TIME = 100
> 
> Here's mine.
> [DISPLAY]
> DISPLAY = axis
> POSITION_OFFSET = RELATIVE
> POSITION_FEEDBACK = ACTUAL
> MAX_FEED_OVERRIDE = 1.50
> MAX_SPINDLE_OVERRIDE = 1.00
> MIN_SPINDLE_OVERRIDE = 0.50
> INTRO_GRAPHIC = linuxcnc.gif
> INTRO_TIME = 5
> PROGRAM_PREFIX = /home/john/linuxcnc/nc_files
> INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
> ARCDIVISION = 64
> GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
> POSITION_FEEDBACK = ACTUAL
> DEFAULT_LINEAR_VELOCITY = 1.00
> MIN_LINEAR_VELOCITY = 0
> MAX_LINEAR_VELOCITY = 3.0
> DEFAULT_ANGULAR_VELOCITY = 90.00
> MIN_ANGULAR_VELOCITY = 0
> MAX_ANGULAR_VELOCITY = 180.00
> EDITOR = mousepad
> GEOMETRY = AXYZ
> PYVCP = pyvcp-panel.xml
> 
> > -Original Message-
> > From: Scott Harwell via Emc-users [mailto:emc-users@lists.sourceforge.net]
> > Sent: March-31-21 6:24 PM
> > To: Enhanced Machine Controller (EMC)
> > Cc: Scott Harwell
> > Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> >
> >  John,
> > I have it almost working. The tool still tilts, but it will display the 
> > ring, and you can see what is happening.
> > From my INI
> >
> > [DISPLAY]
> > DISPLAY = axis
> > POSITION_OFFSET = RELATIVE
> > POSITION_FEEDBACK = ACTUAL
> > MAX_FEED_OVERRIDE = 2.00
> > MAX_SPINDLE_OVERRIDE = 1.50
> > MIN_SPINDLE_OVERRIDE = 0.50
> > INTRO_GRAPHIC = linuxcnc.gif
> > INTRO_TIME = 5
> > PROGRAM_PREFIX = /home/sh/linuxcnc/nc_files
> > INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
> > POSITION_FEEDBACK = ACTUAL
> > DEFAULT_LINEAR_VELOCITY = 0.25
> > MAX_LINEAR_VELOCITY = 1.00
> > MIN_LINEAR_VELOCITY = 0.016670
> > DEFAULT_ANGULAR_VELOCITY = 12.00
> > MAX_ANGULAR_VELOCITY = 180.00
> > MIN_ANGULAR_VELOCITY = 1.67
> > EDITOR = gedit
> > GEOMETRY = aXYZ
> > CYCLE_TIME = 100
> > Excuse the speeds this is from my prototype system, no machine.
> > Scott
> >
> >
> > On Wednesday, March 31, 2021, 5:19:05 PM CDT, John Dammeyer 
> >  wrote:
> >
> >  Forgot to mention I had tried that.? I have it set to AXYZ.? The tool 
> > images starts with the flat of the tool cone facing away from
> me.?
> > I can now also see the A change briefly to say 20 and then back to zero, 
> > probably due to the G92.
> >
> > But it's still drawing the image as if it's in one spot.? Which in effect 
> > it is since the rotary axis, in line with the X axis is turning so the
> > XYZ remain the same other than Z moving into the work to cut and out to 
> > retract.? X moves along the graduations and AX move to
> > draw the letters.
> >
> > So something else in the INI or HAL file is still confusing the system.
> >
> > John
> > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > >
> > > You need in the display section of the INI file
> > >
> > > GEOMETRY = AXYZ
> > >
> > > On Wed, Mar 31, 2021, 5:00 PM John Dammeyer  
> > > wrote:
> > >
> > > >
> > > > > From: Sam Sokolik [mailto:samco...@gmail.com]
> > > > >
> > > > http://electronicsam.com/images/greenmachine/Screenshot_2021-03-30_18-00-14.png
> > > > >
> > > > Alright, I'm confused.
> > > > I've got the G-Code turning the 4th axis A.? The X moves back and forth
> > > > for carving the lines as does A when letters are carved.? At 90 degrees 
> > > > the
> > > > conical tool image on the AXIS screen has rotated 90 degrees but the
> > > > location of A is still zero on the screen as well as I don't get that
> > > > circular image that Sam has.
> > > > http://www.autoartisans.com/mill/Screenshot_

Re: [Emc-users] Rotary axis preview (in axis interface)

2021-04-01 Thread John Dammeyer
I'm puzzled by what exactly the Axis interface is showing here.  

I did a home all.  Then G0 X0 Y0 Z0 which moves to the G54 0,0,0 position which 
is roughly in the middle of my work envelope as shown by red boundaries.  The 
LinuxCNC logo is set up in the middle.

http://www.autoartisans.com/mill/Screenshot_2021-04-01_19-00-35.png


I then jogged the A axis 90 degrees one way and the roughly 270 in the other 
direction.  The A Axis center of rotation is in the direction with the X axis 
as expected but appears to be around the upper  Why is the JOG arc so large?  
The tool image is totally outside the work envelope.

I see from the AXIS docs that AXYZ determines the order of how the drawing is 
recreated.  However I don't understand the thinking behind the rotation image.

John




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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-04-02 Thread andy pugh
On Fri, 2 Apr 2021 at 04:32, John Dammeyer  wrote:

I then jogged the A axis 90 degrees one way and the roughly 270 in the
> other direction.  The A Axis center of rotation is in the direction with
> the X axis as expected but appears to be around the upper  Why is the JOG
> arc so large?  The tool image is totally outside the work envelope.
>

With no other, better, choice, the rotations in the preview are around the
machine origin.

The axis preview just plots the axis motions in machine coordinate space.
And it really has no idea where your rotary axis origin is.

You could probably set up your joint limits in the INI to accurately place
the rotary axis axis on the axis to get a more accurate preview in Axis. :-)

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

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-04-02 Thread Scott Harwell via Emc-users
 John,
I don't know why tool orientation is reversed.
Scott




On Thursday, April 1, 2021, 10:32:32 PM CDT, John Dammeyer 
 wrote:  
 
 I'm puzzled by what exactly the Axis interface is showing here.  

I did a home all.  Then G0 X0 Y0 Z0 which moves to the G54 0,0,0 position which 
is roughly in the middle of my work envelope as shown by red boundaries.  The 
LinuxCNC logo is set up in the middle.

http://www.autoartisans.com/mill/Screenshot_2021-04-01_19-00-35.png


I then jogged the A axis 90 degrees one way and the roughly 270 in the other 
direction.  The A Axis center of rotation is in the direction with the X axis 
as expected but appears to be around the upper  Why is the JOG arc so large?  
The tool image is totally outside the work envelope.

I see from the AXIS docs that AXYZ determines the order of how the drawing is 
recreated.  However I don't understand the thinking behind the rotation image.

John




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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-04-02 Thread andy pugh
On Fri, 2 Apr 2021 at 11:40, andy pugh  wrote:

>
> With no other, better, choice, the rotations in the preview are around the
> machine origin.
>

An update in Master has been brought to my attention:
http://linuxcnc.org/docs/devel/html/config/ini-config.html#_display_section
The GEOMETRY string can now include a "!"

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

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


Re: [Emc-users] Rotary axis preview (in axis interface)

2021-04-02 Thread John Dammeyer



> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: April-02-21 7:55 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Rotary axis preview (in axis interface)
> 
> On Fri, 2 Apr 2021 at 11:40, andy pugh  wrote:
> 
> >
> > With no other, better, choice, the rotations in the preview are around the
> > machine origin.
> >
> 
> An update in Master has been brought to my attention:
> http://linuxcnc.org/docs/devel/html/config/ini-config.html#_display_section
> The GEOMETRY string can now include a "!"
> 
> --

Ah.  That appears to make a difference and now shows I have one other issue 
with the display compared to real life.  Because my knee moves up and down and 
my home position is at the lowest point of knee travel after homing the tool 
cone is shown at the top of the work envelope.  The little blue icon (I think 
represents machine home position) is also at the top and with the !AXYZ shows 
rotation around this point.  

I have reset all G54, G92, etc. to be 0.

A negative Z motion from Z=0 still moves closer to the tool.  A positive moves 
away from the tool.

The write-up 
http://linuxcnc.org/docs/devel/html/config/ini-homing.html#cha:homing-configuration
 is a bit confusing because it expects the home and limit switch at the other 
end of what I have.  Which isn't safe since homing towards the spindle that 
might still hold a tool is somewhat dangerous.

So I've made changes to that page which I scanned and put here:
http://www.autoartisans.com/mill/HomeSwitchInfo.pdf
net max-home-z => axis.2.home-sw-in
net max-x-y-min-z => axis.2.neg-lim-sw-in
net max-home-z => axis.2.pos-lim-sw-in

Now this all works.  Motion from Home is negative towards the spindle as the 
knee moves up.  Soft limits work without hitting the switches and loading a G 
code file outside the working envelope raises an error.  So all is good.

Except...  If the HOME_OFFSET is 0.2 and the + LIMIT switch was used to 
determine HOME why does the machine home icon show up at the top left of the 
work envelope on the AXIS display as in 
http://www.autoartisans.com/mill/Screenshot_2021-04-01_19-00-35.png

Moving the knee towards the spindle show correct motion in the downwards 
direction (more negative).   

And Z G54 axis is pointed up for more positive.If I move all axis to 
roughly to the center of the work envelope and touch of all three axis then the 
XYZ arrows move down to that position.  Reload the GCode and it's positioned 
relative to that 0,0,0 point.  The A axis still rotates around the machine home 
position.  

I must be missing something obvious.  Any other variations of MIN or MAX LIMITs 
can move Machine Home to the bottom left hand corner but then soft limits no 
longer work or I've run the knee into the end of travel during the move to 
HOME_OFFSET.

Maybe I'm puzzled about something that isn't important.It all started me 
worrying when the A Axis rotated around machine home that appeared to be on the 
wrong end of the work envelope.

John





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