> -----Original Message-----
> From: andy pugh [mailto:[email protected]]
> 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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to