Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread nkp

jogaxisget.comp:
// sudo halcompile --install jogaxisget.comp
component jogaxisget "determines which axis jogging";

pin in bit Xin0 "axis.0.kb-jog-active";
pin in bit Xin1;

pin in bit Yin0 "axis.1.kb-jog-active";
pin in bit Yin1;

pin in bit Zin0 "axis.2.kb-jog-active";
pin in bit Zin1;

pin out bit Xtrigger  ;
pin out bit Ytrigger  ;
pin out bit Ztrigger  ;

pin out bit activeX ;
pin out bit activeY ;
pin out bit activeZ ;


pin in bit Xverify =FALSE "axisui.Xisactive";
pin in bit Yverify =FALSE "axisui.Yisactive";
pin in bit Zverify =FALSE "axisui.Zisactive";


variable hal_bit_t  prev_Xtrigger = FALSE;
variable hal_bit_t  prev_Ytrigger = FALSE;
variable hal_bit_t  prev_Ztrigger = FALSE;

license "GPL";
function _;
;;
FUNCTION(_) {

if (( Xin0 && !Xin1 ) || ( Xin1 && !Xin0 )) {/* XOR2 axisX */
Xtrigger = 1;
} else {
Xtrigger = 0;
}

if (( Yin0 && !Yin1 ) || ( Yin1 && !Yin0 )) {/* XOR2 axisY */
Ytrigger = 1;
} else {
Ytrigger = 0;
}


if (( Zin0 && !Zin1 ) || ( Zin1 && !Zin0 )) {/* XOR2 axisZ */
Ztrigger = 1;
} else {
Ztrigger = 0;
}


if(!!Xtrigger != !!prev_Xtrigger) /* Xtrigger has changed */
{
activeX = 1;
if(!!Xverify) {prev_Xtrigger = Xtrigger; activeX = 0;}
}


if(!!Ytrigger != !!prev_Ytrigger) /* Ytrigger has changed */
{
activeY = 1;
if(!!Yverify) {prev_Ytrigger = Ytrigger; activeY = 0;}
}


if(!!Ztrigger != !!prev_Ztrigger) /* Ztrigger has changed */
{
activeZ = 1;
if(!!Zverify) {prev_Ztrigger = Ztrigger; activeZ = 0;}
}

}
##




.axisrc


if hal_present == 1 :
ucomp = hal.component("axisui.user")

ucomp.newpin("activeX",hal.HAL_BIT,hal.HAL_IN)
ucomp.newpin("activeY",hal.HAL_BIT,hal.HAL_IN)
ucomp.newpin("activeZ",hal.HAL_BIT,hal.HAL_IN)

ucomp.newpin("Xisactive",hal.HAL_BIT,hal.HAL_IN)
ucomp.newpin("Yisactive",hal.HAL_BIT,hal.HAL_IN)
ucomp.newpin("Zisactive",hal.HAL_BIT,hal.HAL_IN)

ucomp.ready()

def fun(pin,act):
global flag
if pin:
if flag :
flag = 0
try:
act()
except:
print "except flag = ", flag
else:
flag = 1



def activate_axisX():
print "activate_axisX"
activate_axis(0)


def activate_axisY():
print "activate_axisY"
activate_axis(1)


def activate_axisZ():
print "activate_axisZ"
activate_axis(2)


def user_live_update():

if "xyzabcuvw".index(vars.current_axis.get())!=0:
fun(ucomp["activeX"],activate_axisX)
if "xyzabcuvw".index(vars.current_axis.get())!=1:
fun(ucomp["activeY"],activate_axisY)
if "xyzabcuvw".index(vars.current_axis.get())!=2:
fun(ucomp["activeZ"],activate_axisZ)


if "xyzabcuvw".index(vars.current_axis.get())==0:
ucomp["Xisactive"] = 1
ucomp["Yisactive"] = 0
ucomp["Zisactive"] = 0
if "xyzabcuvw".index(vars.current_axis.get())==1:
ucomp["Xisactive"] = 0
ucomp["Yisactive"] = 1
ucomp["Zisactive"] = 0
if "xyzabcuvw".index(vars.current_axis.get())==2:
ucomp["Xisactive"] = 0
ucomp["Yisactive"] = 0
ucomp["Zisactive"] = 1


#
postgui.hal


loadrt jogaxisget
addf jogaxisget.0   servo-thread

netactiveX jogaxisget.0.activeX   axisui.user.activeX
netactiveY jogaxisget.0.activeY   axisui.user.activeY
netactiveZ jogaxisget.0.activeZ   axisui.user.activeZ

netaxis:0:kb   jogaxisget.0.Xin0   axis.0.kb-jog-active
netaxis:1:kb   jogaxisget.0.Yin0   axis.1.kb-jog-active
netaxis:2:kb   jogaxisget.0.Zin0   axis.2.kb-jog-active

netXisactive jogaxisget.0.Xverify  axisui.user.Xisactive
netYisactive jogaxisget.0.Yverify  axisui.user.Yisactive
netZisactive jogaxisget.0.Zverify  axisui.user.Zisactive




axis

flag = 0



17.07.2021 02:59, John Dammeyer пишет:

Yes.  Keyboard and click on radio button both change so the Tool
buttons refer to the correct axis.  But Pendants don't seem to have
that feature. John

If a USB (or in this case a Ps/2) keyboard can do it, then somewhere
in the code for that, there must be a way to get any other device
connected by USB to make the same GUI updates.

Or am I just being naive?

Martin

Mouse and keyboard inputs are handled very differently from those on a
pendant.  The mouse and keyboard are part of the user interface and
get to Linuxcnc through Axis or what ever UI is being used.  Pendant
inputs get to Linuxcnc directly through Hal.  This has the advantage
of being real-time and independent of userspace hangups, but has the
disadvantage of not being easily tied into the UI.

Todd

I had suspected as much, but in this case its (this jogging from a mesa
encoder input dial) is all handled by hal, which IIRC sends it to
motion, never getting anywhere near 

Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread Phill Carter



> On 17 Jul 2021, at 9:59 am, John Dammeyer  wrote:
> 
>>> 
 Yes.  Keyboard and click on radio button both change so the Tool
 buttons refer to the correct axis.  But Pendants don't seem to have
 that feature. John
>>> 
>>> If a USB (or in this case a Ps/2) keyboard can do it, then somewhere
>>> in the code for that, there must be a way to get any other device
>>> connected by USB to make the same GUI updates.
>>> 
>>> Or am I just being naive?
>>> 
>>> Martin
>>> 
>>> Mouse and keyboard inputs are handled very differently from those on a
>>> pendant.  The mouse and keyboard are part of the user interface and
>>> get to Linuxcnc through Axis or what ever UI is being used.  Pendant
>>> inputs get to Linuxcnc directly through Hal.  This has the advantage
>>> of being real-time and independent of userspace hangups, but has the
>>> disadvantage of not being easily tied into the UI.
>>> 
>>> Todd
>> 
>> I had suspected as much, but in this case its (this jogging from a mesa
>> encoder input dial) is all handled by hal, which IIRC sends it to
>> motion, never getting anywhere near axis. So it would be totally
>> dependent on motion telling axis, I think.
>>> 
> 
> Actually not quite since you'll notice the DROs on the screen change so stuff 
> does go back.   Once the signal from the keyboard or display radio button 
> sets the axis there is no need to feed back to the AXIS radio button which is 
> probably why it was never exposed for setting externally.  So yes, the MPG 
> does get near AXIS but not the part we want.
> 
> BTW, the example I showed written in Object Pascal is very simplistic and is 
> fixed at 3 axis.  The AXIS software reads the INI file values to determine 
> what to display.  But even it's kind of broken.
> 
> The [TRAJ].COORDINATES.value set to XYZA assigns the X to joint0, Y to joint1 
> and so on and you see the 'A' radio button on the screen.  Set it to only XYZ 
> and you only see 3 radio buttons.
You may need to change the coordinates in the [KINS] section.


> But swap those around like AXYZ and now the AXIS radio button marked X spins 
> the Y axis.  The Y button  spins the Z, the Z button spins the A axis and the 
> A button spins the X.  And yet, the arrow keys still spin the correct axis.
> 
> The [DISPLAY].GEOMETRY.value set to xyza doesn't seem to affect the radio 
> buttons.  I think it impacts the trajectory display but haven't looked 
> further into that.
> 
> I think AXIS python code counts the number of letters and uses that to put 
> XYZ
> A 
> Radio buttons on the screen but it gets confused with the mapping to the +/- 
> buttons while the keyboard doesn't seem to care.
> 
> 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] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
> >
> > >Yes.  Keyboard and click on radio button both change so the Tool
> > > buttons refer to the correct axis.  But Pendants don't seem to have
> > > that feature. John
> >
> > If a USB (or in this case a Ps/2) keyboard can do it, then somewhere
> > in the code for that, there must be a way to get any other device
> > connected by USB to make the same GUI updates.
> >
> > Or am I just being naive?
> >
> > Martin
> >
> > Mouse and keyboard inputs are handled very differently from those on a
> > pendant.  The mouse and keyboard are part of the user interface and
> > get to Linuxcnc through Axis or what ever UI is being used.  Pendant
> > inputs get to Linuxcnc directly through Hal.  This has the advantage
> > of being real-time and independent of userspace hangups, but has the
> > disadvantage of not being easily tied into the UI.
> >
> > Todd
> 
> I had suspected as much, but in this case its (this jogging from a mesa
> encoder input dial) is all handled by hal, which IIRC sends it to
> motion, never getting anywhere near axis. So it would be totally
> dependent on motion telling axis, I think.
> >

Actually not quite since you'll notice the DROs on the screen change so stuff 
does go back.   Once the signal from the keyboard or display radio button sets 
the axis there is no need to feed back to the AXIS radio button which is 
probably why it was never exposed for setting externally.  So yes, the MPG does 
get near AXIS but not the part we want.

BTW, the example I showed written in Object Pascal is very simplistic and is 
fixed at 3 axis.  The AXIS software reads the INI file values to determine what 
to display.  But even it's kind of broken.

The [TRAJ].COORDINATES.value set to XYZA assigns the X to joint0, Y to joint1 
and so on and you see the 'A' radio button on the screen.  Set it to only XYZ 
and you only see 3 radio buttons.

But swap those around like AXYZ and now the AXIS radio button marked X spins 
the Y axis.  The Y button  spins the Z, the Z button spins the A axis and the A 
button spins the X.  And yet, the arrow keys still spin the correct axis.

The [DISPLAY].GEOMETRY.value set to xyza doesn't seem to affect the radio 
buttons.  I think it impacts the trajectory display but haven't looked further 
into that.

I think AXIS python code counts the number of letters and uses that to put 
XYZ
A 
Radio buttons on the screen but it gets confused with the mapping to the +/- 
buttons while the keyboard doesn't seem to care.

John






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


Re: [Emc-users] Meanwell SE600-48 Power Supply

2021-07-16 Thread Milosz K.
The SE600 does not have fan speed control, the fan is always on and quite
loud. If it's not running you have something to troubleshoot.

On Fri, Jul 16, 2021, 6:23 PM Chris Albertson 
wrote:

> I think maybe the fan does not turn on until it needs to be on.  There
> could be a temperature sensor.  If the unit is not warmth it
> makes sense that the fan is off
>
> Is the fan 2, 3, or 4 wires?  If 3 or 4 then this means one wire is a
> tachometer used for speed feedback, and they would not have that if the fan
> speed was not controlled
>
> Finally, check the voltage on thefan motor,  If this is a 12 volt fan and
> there is 12 volts and the fan is not moving then the fan is broken.But
> if there is something like 3 volts then the fan controller has decided no
> cooling is needed.
>
> On Fri, Jul 16, 2021 at 12:35 PM Alan Condit 
> wrote:
>
> >
> > Chris,
> >
> > The unit doesn’t seem to be warm.
> > I adjusted the voltage down to 42 volts, to provide some headroom. I am
> > using KL5056 stepper drivers and they say max 50 volts. There is
> definitely
> > power to the fan because if I try to turn it it snaps back to the fixed
> > position. The voltage is rock steady at 42 volts.
> >
> > I wonder if it is just the fan or fan controller that is bad.
> >
> > I bought the power supply a year or so ago but this is the first time I
> > have applied power to it. Maybe I will have to open it up and see if I
> > could replace the fan.
> >
> > Alan
> >
> >
> > > From: Chris Albertson 
> > > Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> > > Date: July 15, 2021 at 12:21:10 PM CDT
> > > To: "Enhanced Machine Controller (EMC)" <
> emc-users@lists.sourceforge.net
> > >
> > >
> > >
> > > If you place your hand on the power supply and feel no heat, then I'd
> > > expect the fan to be off.
> > >
> > > I some a good size power resistors mounted to a heat sink with a fan
> > that I
> > > used for testing power supplies.  Testing with no dummy load is not
> very
> > > meaningful.   The load is set up so it can be quickly rewired with
> > > resistors in series or parallel in different ways using a terminal
> block.
> > >
> > > On Thu, Jul 15, 2021 at 9:19 AM Alan Condit 
> > wrote:
> > >
> > >> I am building a new controller cabinet. I installed a Meanwell
> SE600-48
> > >> power supply. When I turn on the power supply the fan doesn’t turn on.
> > If I
> > >> leave the power supply on for a little while I hear an intermittent
> > >> clicking (like a relay) but no fan. Does it have some kind of
> > temperature
> > >> control on the fan? Is it not turning on because I currently have
> > virtually
> > >> no load on the power supply?
> > >>
> > >> Thanks,
> > >> Alan
> > >>
> > >> ___
> > >> Emc-users mailing list
> > >> Emc-users@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/emc-users
> > >>
> > >
> > >
> > > --
> > >
> > > Chris Albertson
> > > Redondo Beach, California
> > >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> ___
> 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] AXIS UI Jog Button

2021-07-16 Thread Gene Heskett
On Friday 16 July 2021 14:52:33 Todd Zuercher wrote:

> -Original Message-
> From: Martin Dobbins 
> Sent: Friday, July 16, 2021 1:49 PM
> To: Enhanced Machine Controller (EMC)
>  Subject: Re: [Emc-users] AXIS UI Jog
> Button
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> >Yes.  Keyboard and click on radio button both change so the Tool
> > buttons refer to the correct axis.  But Pendants don't seem to have
> > that feature. John
>
> If a USB (or in this case a Ps/2) keyboard can do it, then somewhere
> in the code for that, there must be a way to get any other device
> connected by USB to make the same GUI updates.
>
> Or am I just being naive?
>
> Martin
>
> Mouse and keyboard inputs are handled very differently from those on a
> pendant.  The mouse and keyboard are part of the user interface and
> get to Linuxcnc through Axis or what ever UI is being used.  Pendant
> inputs get to Linuxcnc directly through Hal.  This has the advantage
> of being real-time and independent of userspace hangups, but has the
> disadvantage of not being easily tied into the UI.
>
> Todd

I had suspected as much, but in this case its (this jogging from a mesa 
encoder input dial) is all handled by hal, which IIRC sends it to 
motion, never getting anywhere near axis. So it would be totally 
dependent on motion telling axis, I think.
>
>
> ___
> 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 


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


Re: [Emc-users] Meanwell SE600-48 Power Supply

2021-07-16 Thread Chris Albertson
I think maybe the fan does not turn on until it needs to be on.  There
could be a temperature sensor.  If the unit is not warmth it
makes sense that the fan is off

Is the fan 2, 3, or 4 wires?  If 3 or 4 then this means one wire is a
tachometer used for speed feedback, and they would not have that if the fan
speed was not controlled

Finally, check the voltage on thefan motor,  If this is a 12 volt fan and
there is 12 volts and the fan is not moving then the fan is broken.But
if there is something like 3 volts then the fan controller has decided no
cooling is needed.

On Fri, Jul 16, 2021 at 12:35 PM Alan Condit  wrote:

>
> Chris,
>
> The unit doesn’t seem to be warm.
> I adjusted the voltage down to 42 volts, to provide some headroom. I am
> using KL5056 stepper drivers and they say max 50 volts. There is definitely
> power to the fan because if I try to turn it it snaps back to the fixed
> position. The voltage is rock steady at 42 volts.
>
> I wonder if it is just the fan or fan controller that is bad.
>
> I bought the power supply a year or so ago but this is the first time I
> have applied power to it. Maybe I will have to open it up and see if I
> could replace the fan.
>
> Alan
>
>
> > From: Chris Albertson 
> > Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> > Date: July 15, 2021 at 12:21:10 PM CDT
> > To: "Enhanced Machine Controller (EMC)"  >
> >
> >
> > If you place your hand on the power supply and feel no heat, then I'd
> > expect the fan to be off.
> >
> > I some a good size power resistors mounted to a heat sink with a fan
> that I
> > used for testing power supplies.  Testing with no dummy load is not very
> > meaningful.   The load is set up so it can be quickly rewired with
> > resistors in series or parallel in different ways using a terminal block.
> >
> > On Thu, Jul 15, 2021 at 9:19 AM Alan Condit 
> wrote:
> >
> >> I am building a new controller cabinet. I installed a Meanwell SE600-48
> >> power supply. When I turn on the power supply the fan doesn’t turn on.
> If I
> >> leave the power supply on for a little while I hear an intermittent
> >> clicking (like a relay) but no fan. Does it have some kind of
> temperature
> >> control on the fan? Is it not turning on because I currently have
> virtually
> >> no load on the power supply?
> >>
> >> Thanks,
> >> Alan
> >>
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >
> > --
> >
> > Chris Albertson
> > Redondo Beach, California
> >
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread Todd Zuercher


-Original Message-
From: Martin Dobbins  
Sent: Friday, July 16, 2021 1:49 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] AXIS UI Jog Button

[EXTERNAL EMAIL] Be sure links are safe.

>Yes.  Keyboard and click on radio button both change so the Tool buttons refer 
>to the correct axis.  But Pendants don't seem to have that feature.
>John

If a USB (or in this case a Ps/2) keyboard can do it, then somewhere in the 
code for that, there must be a way to get any other device connected by USB to 
make the same GUI updates.

Or am I just being naive?

Martin

Mouse and keyboard inputs are handled very differently from those on a pendant. 
 The mouse and keyboard are part of the user interface and get to Linuxcnc 
through Axis or what ever UI is being used.  Pendant inputs get to Linuxcnc 
directly through Hal.  This has the advantage of being real-time and 
independent of userspace hangups, but has the disadvantage of not being easily 
tied into the UI.

Todd


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


Re: [Emc-users] Carousel. ordinary encoder as sensor

2021-07-16 Thread Nicklas SB Karlsson
> On Mon, 14 Jun 2021 at 14:24, Nicklas SB Karlsson  wrote:
> 
> > It would probably work if position is scaled down to correct number of
> > pockets first adding an offset to get angle of the pockets correct.
> 
> I had rather assumed that the encoder index would be aligned to the
> base pocket.
> 
> 
> > Think it is good either to add support for angle sensor
> > in current carousel component or simply forking of a different variant
> 
> Can you raise it as an issue on GitHub and assign it to me? Just to
> make it harder to forget?

Raised it as an issue but aren not able to assign it to you.

I solved it for my carousel, that is among other things it have taken a few 
days before I raised by implementing a modular arithmetic component and g-code 
but it does not detect failure to rotate. I also guess ordinary angle sensor 
quadrature or absolute is very common so it would really make sense there is 
carousel component more or less ready to use with such an angle sensor.

It should be rather simple to implement or reimplementand it is possible I do 
it myself but orientation of spindle come first. While orient spindle work 
there are some backlash in gear box and tend to be overshoot because integrator 
windup before position is reached, the combination backlash + overshoot is not 
good so have to think a little bit how to make it work fast and reliable. 
Failure to align spindle is no good, bent a tool holder today but carousel is 
running as supposed to.


Nicklas Karlsson


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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Ralph Stirling
Good to know, Phil.  I don't have any burning questions at
the moment, but they could crop up at any moment.

The NVX is mapps IV.

-- Ralph

From: Feral Engineer [theferalengin...@gmail.com]
Sent: Friday, July 16, 2021 12:53 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] OT Fanuc!

CAUTION: This email originated from outside the Walla Walla University email 
system.


I'm in New Jersey but I can help with anything applications related you may
have questions with. Is it a mapps 4 or 5 machine?

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fc%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7C65ddce958317421f082908d9489381dd%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620620638787107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=W81fNThGE3KhNeny3z2h%2Fc9k3DKQC59eAX226Vv4TcY%3Dreserved=0

Help support my channel efforts and coffee addiction:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.patreon.com%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7C65ddce958317421f082908d9489381dd%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620620638787107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=yVawLltfijQM9irSWA5u4itOsojduY3L%2BeCcaT5BfjU%3Dreserved=0

On Fri, Jul 16, 2021, 3:49 PM Ralph Stirling 
wrote:

> No mapps on the Dura.  The NVX has mapps.  Are you in
> Davis?  Our NVX was serial number 1, donated from Davis.
> They bought our Haas TM-1 as a trade-in and shipped us
> the NVX.  Only tech support I can get on it is from engineers
> at Mori Mfg in Davis, since the 800 tech support line has no
> information about this unit.
>
> -- Ralph
> 
> From: Feral Engineer [theferalengin...@gmail.com]
> Sent: Friday, July 16, 2021 12:22 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT Fanuc!
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> Yeah we only made those for a few years. Not a big seller. Good machine but
> limited in options and the NL/NLX is just a better seller. You have the
> straight fanuc or mapps overlay?
>
> You'll never guess who I work for 
>
> Phil T.
> The Feral Engineer
>
> On Fri, Jul 16, 2021, 3:10 PM Ralph Stirling <
> ralph.stirl...@wallawalla.edu>
> wrote:
>
> > This Dura is a 2007 model.  I haven't tried G20 since
> > we first got it going, so don't recall exactly what the
> > issues were, but remember being very startled when
> > all the offsets were suddenly wrong when G20 was called.
> > Solution was instant and total metrification for cnc
> > machining in my lab :-).  Since few of my students have
> > any significant prior experience machining, they don't
> > generally grumble about giving up "thou's".
> >
> > The other Fanuc quirk that catches them is forgetting
> > decimal points on whole numbers.  X10 is 10microns
> > not 10mm, while X10.0 is 10mm.  It's turned a few
> > parts into big spiral chips on the finishing pass.
> >
> > -- Ralph
> > 
> > From: Feral Engineer [theferalengin...@gmail.com]
> > Sent: Friday, July 16, 2021 11:55 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] OT Fanuc!
> >
> > CAUTION: This email originated from outside the Walla Walla University
> > email system.
> >
> >
> > On the dura, is the issue that it just moves the decimal instead of
> > converting the values? That's just a parameter change.
> >
> > I don't recall the dura using tc controls, i thought those started with
> td?
> > I may be wrong, it's been a while since i saw one of those in the wild.
> >
> > Phil T.
> > The Feral Engineer
> >
> > Check out my LinuxCNC tutorials, machine builds and other antics at
> >
> >
> > Help support my channel efforts and coffee addiction:
> >
> >
> > On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling <
> > ralph.stirl...@wallawalla.edu>
> > wrote:
> >
> > > I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It
> > has
> > > a Fanuc 0i-TC.  I figure 21st century engineering students should
> develop
> > > some feel for metric measurements anyway.  Just to be safe I also
> require
> > > G21 on our Mori NVX mill even though it uses a Mits control that
> handles
> > it
> > > better.
> > >
> > > -- Ralph
> > >
> > > On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> > > CAUTION: This email originated from outside the Walla Walla University
> > > email system.
> > >
> > >
> > > I need to voice some frustration.  So pardon the OT post
> > >
> > > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > > within the last 20 years could handle switching between G20 and G21
> > modes!
> > > It's a flippin command 

Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Feral Engineer
I'm in New Jersey but I can help with anything applications related you may
have questions with. Is it a mapps 4 or 5 machine?

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 3:49 PM Ralph Stirling 
wrote:

> No mapps on the Dura.  The NVX has mapps.  Are you in
> Davis?  Our NVX was serial number 1, donated from Davis.
> They bought our Haas TM-1 as a trade-in and shipped us
> the NVX.  Only tech support I can get on it is from engineers
> at Mori Mfg in Davis, since the 800 tech support line has no
> information about this unit.
>
> -- Ralph
> 
> From: Feral Engineer [theferalengin...@gmail.com]
> Sent: Friday, July 16, 2021 12:22 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT Fanuc!
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> Yeah we only made those for a few years. Not a big seller. Good machine but
> limited in options and the NL/NLX is just a better seller. You have the
> straight fanuc or mapps overlay?
>
> You'll never guess who I work for 
>
> Phil T.
> The Feral Engineer
>
> On Fri, Jul 16, 2021, 3:10 PM Ralph Stirling <
> ralph.stirl...@wallawalla.edu>
> wrote:
>
> > This Dura is a 2007 model.  I haven't tried G20 since
> > we first got it going, so don't recall exactly what the
> > issues were, but remember being very startled when
> > all the offsets were suddenly wrong when G20 was called.
> > Solution was instant and total metrification for cnc
> > machining in my lab :-).  Since few of my students have
> > any significant prior experience machining, they don't
> > generally grumble about giving up "thou's".
> >
> > The other Fanuc quirk that catches them is forgetting
> > decimal points on whole numbers.  X10 is 10microns
> > not 10mm, while X10.0 is 10mm.  It's turned a few
> > parts into big spiral chips on the finishing pass.
> >
> > -- Ralph
> > 
> > From: Feral Engineer [theferalengin...@gmail.com]
> > Sent: Friday, July 16, 2021 11:55 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] OT Fanuc!
> >
> > CAUTION: This email originated from outside the Walla Walla University
> > email system.
> >
> >
> > On the dura, is the issue that it just moves the decimal instead of
> > converting the values? That's just a parameter change.
> >
> > I don't recall the dura using tc controls, i thought those started with
> td?
> > I may be wrong, it's been a while since i saw one of those in the wild.
> >
> > Phil T.
> > The Feral Engineer
> >
> > Check out my LinuxCNC tutorials, machine builds and other antics at
> >
> >
> > Help support my channel efforts and coffee addiction:
> >
> >
> > On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling <
> > ralph.stirl...@wallawalla.edu>
> > wrote:
> >
> > > I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It
> > has
> > > a Fanuc 0i-TC.  I figure 21st century engineering students should
> develop
> > > some feel for metric measurements anyway.  Just to be safe I also
> require
> > > G21 on our Mori NVX mill even though it uses a Mits control that
> handles
> > it
> > > better.
> > >
> > > -- Ralph
> > >
> > > On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> > > CAUTION: This email originated from outside the Walla Walla University
> > > email system.
> > >
> > >
> > > I need to voice some frustration.  So pardon the OT post
> > >
> > > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > > within the last 20 years could handle switching between G20 and G21
> > modes!
> > > It's a flippin command line code that can be issued in a file for
> > goodness
> > > sakes!
> > >
> > > We bought a used machine that was being used in G21 mode.  And I've
> been
> > > banging my head on this thing for a week.  Can't figure out why all of
> > the
> > > work coordinates are so screwed up, reset them and then they are messed
> > up
> > > again, G91G28 commands won't work and keep over traveling (but G90G53
> > does)
> > > and the home positions keep moving around.  Turns out its all because a
> > > stupid Fanuc 180iM control built in 2003 can't handle switching between
> > G21
> > > and G20 modes without 3 power cycles, a couple of parameter changes and
> > > completely resetting all the work coordinate systems settings.  FOR
> > > REAL!!  Even Mach3 can do this right! If this is the case
> why
> > > even have G20/G21 available as a G-code! It should only be a parameter
> > > setting that can't be changed from a file.  This is even more annoying
> > than
> > > G92 or jogging a paused program, at least a power cycle can fix those
> > screw
> > > ups.
> > >
> > > Todd Zuercher
> > > P. Graham Dunn Inc.<
> > >
> > > >
> > > 630 Henry Street
> > > Dalton, Ohio 

Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Ralph Stirling
No mapps on the Dura.  The NVX has mapps.  Are you in
Davis?  Our NVX was serial number 1, donated from Davis.
They bought our Haas TM-1 as a trade-in and shipped us
the NVX.  Only tech support I can get on it is from engineers
at Mori Mfg in Davis, since the 800 tech support line has no
information about this unit.

-- Ralph

From: Feral Engineer [theferalengin...@gmail.com]
Sent: Friday, July 16, 2021 12:22 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] OT Fanuc!

CAUTION: This email originated from outside the Walla Walla University email 
system.


Yeah we only made those for a few years. Not a big seller. Good machine but
limited in options and the NL/NLX is just a better seller. You have the
straight fanuc or mapps overlay?

You'll never guess who I work for 

Phil T.
The Feral Engineer

On Fri, Jul 16, 2021, 3:10 PM Ralph Stirling 
wrote:

> This Dura is a 2007 model.  I haven't tried G20 since
> we first got it going, so don't recall exactly what the
> issues were, but remember being very startled when
> all the offsets were suddenly wrong when G20 was called.
> Solution was instant and total metrification for cnc
> machining in my lab :-).  Since few of my students have
> any significant prior experience machining, they don't
> generally grumble about giving up "thou's".
>
> The other Fanuc quirk that catches them is forgetting
> decimal points on whole numbers.  X10 is 10microns
> not 10mm, while X10.0 is 10mm.  It's turned a few
> parts into big spiral chips on the finishing pass.
>
> -- Ralph
> 
> From: Feral Engineer [theferalengin...@gmail.com]
> Sent: Friday, July 16, 2021 11:55 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT Fanuc!
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> On the dura, is the issue that it just moves the decimal instead of
> converting the values? That's just a parameter change.
>
> I don't recall the dura using tc controls, i thought those started with td?
> I may be wrong, it's been a while since i saw one of those in the wild.
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
>
>
> Help support my channel efforts and coffee addiction:
>
>
> On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling <
> ralph.stirl...@wallawalla.edu>
> wrote:
>
> > I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It
> has
> > a Fanuc 0i-TC.  I figure 21st century engineering students should develop
> > some feel for metric measurements anyway.  Just to be safe I also require
> > G21 on our Mori NVX mill even though it uses a Mits control that handles
> it
> > better.
> >
> > -- Ralph
> >
> > On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> > CAUTION: This email originated from outside the Walla Walla University
> > email system.
> >
> >
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > within the last 20 years could handle switching between G20 and G21
> modes!
> > It's a flippin command line code that can be issued in a file for
> goodness
> > sakes!
> >
> > We bought a used machine that was being used in G21 mode.  And I've been
> > banging my head on this thing for a week.  Can't figure out why all of
> the
> > work coordinates are so screwed up, reset them and then they are messed
> up
> > again, G91G28 commands won't work and keep over traveling (but G90G53
> does)
> > and the home positions keep moving around.  Turns out its all because a
> > stupid Fanuc 180iM control built in 2003 can't handle switching between
> G21
> > and G20 modes without 3 power cycles, a couple of parameter changes and
> > completely resetting all the work coordinate systems settings.  FOR
> > REAL!!  Even Mach3 can do this right! If this is the case why
> > even have G20/G21 available as a G-code! It should only be a parameter
> > setting that can't be changed from a file.  This is even more annoying
> than
> > G92 or jogging a paused program, at least a power cycle can fix those
> screw
> > ups.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.<
> >
> > >
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___

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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Feral Engineer
That's the thing i hate about fanuc. Everything is proprietary. The io
modules we use on our machines give standard sinking and sourcing io but
unless you can find a circuit in the ladder can activate, you need ladder 3
software to make your own.

On the flip side, their control has goto in their logic, which i miss in
lcnc 

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 1:22 PM Andrew  wrote:

> пт, 16 лип. 2021 о 19:14 Todd Zuercher  пише:
>
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.
> >
>
> I also had a kind of disappointment with Fanuc recently.
> I was asked to help install an automated clamping fixture to a new machine
> with a Fanuc controller. The fixture has a controlled actuator to adjust
> for the part depth, and also has an analog pressure sensor. So it's
> necessary to pass the part size to the fixture from the CNC program. I was
> thinking of a PLC with Modbus output for the stepper actuator and analog
> input. But it's kind of impossible to connect any PLC to a Fanuc
> controller! They have a proprietary I/O link interface only. OK, we
> contacted Fanuc for advice. And their advice was pretty short: contact our
> certified services only. So if you ever bought a CNC machine with a Fanuc
> controller - you're in slavery. Of course there are solutions but they cost
> a lot. And the service costs a lot too.
>
> Another story.
> I know an owner of a pretty complicated CNC machine with a Siemens
> controller, 20+ years old. The controller was not functional. The guy could
> not repair it for a very long time. No service wanted to deal with it! So
> he contacted the machine manufacturer. They said no problem, we can supply
> a brand new controller cabinet for the machine. Priced at $ 200K... oops!
> So he spent a lot of time and money until he found some guy who was able to
> repair the controller.
>
> So... beware those brand CNC controllers and interfaces.
>
> Just my 2 cents, anyways.
>
> ___
> 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] Meanwell SE600-48 Power Supply

2021-07-16 Thread Alan Condit

Chris,

The unit doesn’t seem to be warm. 
I adjusted the voltage down to 42 volts, to provide some headroom. I am using 
KL5056 stepper drivers and they say max 50 volts. There is definitely power to 
the fan because if I try to turn it it snaps back to the fixed position. The 
voltage is rock steady at 42 volts.

I wonder if it is just the fan or fan controller that is bad. 

I bought the power supply a year or so ago but this is the first time I have 
applied power to it. Maybe I will have to open it up and see if I could replace 
the fan.

Alan


> From: Chris Albertson 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 15, 2021 at 12:21:10 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> If you place your hand on the power supply and feel no heat, then I'd
> expect the fan to be off.
> 
> I some a good size power resistors mounted to a heat sink with a fan that I
> used for testing power supplies.  Testing with no dummy load is not very
> meaningful.   The load is set up so it can be quickly rewired with
> resistors in series or parallel in different ways using a terminal block.
> 
> On Thu, Jul 15, 2021 at 9:19 AM Alan Condit  wrote:
> 
>> I am building a new controller cabinet. I installed a Meanwell SE600-48
>> power supply. When I turn on the power supply the fan doesn’t turn on. If I
>> leave the power supply on for a little while I hear an intermittent
>> clicking (like a relay) but no fan. Does it have some kind of temperature
>> control on the fan? Is it not turning on because I currently have virtually
>> no load on the power supply?
>> 
>> Thanks,
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California
> 


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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Rob C
I know zero about fanuc conversion, but don't these boards from Pico
Systems sort the ability to reuse the servos

https://pico-systems.com/fanuc_pins.html

http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=33


On Fri, 16 Jul 2021, 20:20 Todd Zuercher,  wrote:

> That decimal point issue can usually be turned on/off with parameter
> 3401.0.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Ralph Stirling 
> Sent: Friday, July 16, 2021 3:07 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] OT Fanuc!
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> This Dura is a 2007 model.  I haven't tried G20 since we first got it
> going, so don't recall exactly what the issues were, but remember being
> very startled when all the offsets were suddenly wrong when G20 was called.
> Solution was instant and total metrification for cnc machining in my lab
> :-).  Since few of my students have any significant prior experience
> machining, they don't generally grumble about giving up "thou's".
>
> The other Fanuc quirk that catches them is forgetting decimal points on
> whole numbers.  X10 is 10microns not 10mm, while X10.0 is 10mm.  It's
> turned a few parts into big spiral chips on the finishing pass.
>
> -- Ralph
> 
> From: Feral Engineer [theferalengin...@gmail.com]
> Sent: Friday, July 16, 2021 11:55 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT Fanuc!
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> On the dura, is the issue that it just moves the decimal instead of
> converting the values? That's just a parameter change.
>
> I don't recall the dura using tc controls, i thought those started with td?
> I may be wrong, it's been a while since i saw one of those in the wild.
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
>
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fc%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hi3Npyz8PDJOx5pMdcjpSmFxPqukb6BewMMBEFJTGRo%3Dreserved=0
>
> Help support my channel efforts and coffee addiction:
>
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.patreon.com%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2FpEs5khf51sB%2Bo3s2qOcL6ri5AKPL%2BbHHMNQOWG9F98%3Dreserved=0
>
> On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling <
> ralph.stirl...@wallawalla.edu>
> wrote:
>
> > I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It
> > has a Fanuc 0i-TC.  I figure 21st century engineering students should
> > develop some feel for metric measurements anyway.  Just to be safe I
> > also require
> > G21 on our Mori NVX mill even though it uses a Mits control that
> > handles it better.
> >
> > -- Ralph
> >
> > On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> > CAUTION: This email originated from outside the Walla Walla University
> > email system.
> >
> >
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > within the last 20 years could handle switching between G20 and G21
> modes!
> > It's a flippin command line code that can be issued in a file for
> > goodness sakes!
> >
> > We bought a used machine that was being used in G21 mode.  And I've
> > been banging my head on this thing for a week.  Can't figure out why
> > all of the work coordinates are so screwed up, reset them and then
> > they are messed up again, G91G28 commands won't work and keep over
> > traveling (but G90G53 does) and the home positions keep moving around.
> > Turns out its all because a stupid Fanuc 180iM control built in 2003
> > can't handle switching between G21 and G20 modes without 3 power
> > cycles, a couple of parameter changes and completely resetting all the
> > work coordinate systems settings.  FOR REAL!!  Even Mach3
> > can do this right! If this is the case why even have G20/G21 available
> > as a G-code! It should only be a parameter setting that can't be
> > changed from a file.  This is even more annoying than
> > G92 or jogging a paused program, at least a power cycle can fix those
> > screw ups.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.<
> > https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.p
> > grahamdunn.com%2Findex.phpdata=04%7C01%7Cralph.stirling%40wallawa
> > 

Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Feral Engineer
Yeah we only made those for a few years. Not a big seller. Good machine but
limited in options and the NL/NLX is just a better seller. You have the
straight fanuc or mapps overlay?

You'll never guess who I work for 

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 3:10 PM Ralph Stirling 
wrote:

> This Dura is a 2007 model.  I haven't tried G20 since
> we first got it going, so don't recall exactly what the
> issues were, but remember being very startled when
> all the offsets were suddenly wrong when G20 was called.
> Solution was instant and total metrification for cnc
> machining in my lab :-).  Since few of my students have
> any significant prior experience machining, they don't
> generally grumble about giving up "thou's".
>
> The other Fanuc quirk that catches them is forgetting
> decimal points on whole numbers.  X10 is 10microns
> not 10mm, while X10.0 is 10mm.  It's turned a few
> parts into big spiral chips on the finishing pass.
>
> -- Ralph
> 
> From: Feral Engineer [theferalengin...@gmail.com]
> Sent: Friday, July 16, 2021 11:55 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] OT Fanuc!
>
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> On the dura, is the issue that it just moves the decimal instead of
> converting the values? That's just a parameter change.
>
> I don't recall the dura using tc controls, i thought those started with td?
> I may be wrong, it's been a while since i saw one of those in the wild.
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
>
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fc%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hi3Npyz8PDJOx5pMdcjpSmFxPqukb6BewMMBEFJTGRo%3Dreserved=0
>
> Help support my channel efforts and coffee addiction:
>
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.patreon.com%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2FpEs5khf51sB%2Bo3s2qOcL6ri5AKPL%2BbHHMNQOWG9F98%3Dreserved=0
>
> On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling <
> ralph.stirl...@wallawalla.edu>
> wrote:
>
> > I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It
> has
> > a Fanuc 0i-TC.  I figure 21st century engineering students should develop
> > some feel for metric measurements anyway.  Just to be safe I also require
> > G21 on our Mori NVX mill even though it uses a Mits control that handles
> it
> > better.
> >
> > -- Ralph
> >
> > On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> > CAUTION: This email originated from outside the Walla Walla University
> > email system.
> >
> >
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > within the last 20 years could handle switching between G20 and G21
> modes!
> > It's a flippin command line code that can be issued in a file for
> goodness
> > sakes!
> >
> > We bought a used machine that was being used in G21 mode.  And I've been
> > banging my head on this thing for a week.  Can't figure out why all of
> the
> > work coordinates are so screwed up, reset them and then they are messed
> up
> > again, G91G28 commands won't work and keep over traveling (but G90G53
> does)
> > and the home positions keep moving around.  Turns out its all because a
> > stupid Fanuc 180iM control built in 2003 can't handle switching between
> G21
> > and G20 modes without 3 power cycles, a couple of parameter changes and
> > completely resetting all the work coordinate systems settings.  FOR
> > REAL!!  Even Mach3 can do this right! If this is the case why
> > even have G20/G21 available as a G-code! It should only be a parameter
> > setting that can't be changed from a file.  This is even more annoying
> than
> > G92 or jogging a paused program, at least a power cycle can fix those
> screw
> > ups.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.<
> >
> 

Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Todd Zuercher
That decimal point issue can usually be turned on/off with parameter 3401.0.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Ralph Stirling  
Sent: Friday, July 16, 2021 3:07 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT Fanuc!

[EXTERNAL EMAIL] Be sure links are safe.

This Dura is a 2007 model.  I haven't tried G20 since we first got it going, so 
don't recall exactly what the issues were, but remember being very startled 
when all the offsets were suddenly wrong when G20 was called.
Solution was instant and total metrification for cnc machining in my lab :-).  
Since few of my students have any significant prior experience machining, they 
don't generally grumble about giving up "thou's".

The other Fanuc quirk that catches them is forgetting decimal points on whole 
numbers.  X10 is 10microns not 10mm, while X10.0 is 10mm.  It's turned a few 
parts into big spiral chips on the finishing pass.

-- Ralph

From: Feral Engineer [theferalengin...@gmail.com]
Sent: Friday, July 16, 2021 11:55 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] OT Fanuc!

CAUTION: This email originated from outside the Walla Walla University email 
system.


On the dura, is the issue that it just moves the decimal instead of converting 
the values? That's just a parameter change.

I don't recall the dura using tc controls, i thought those started with td?
I may be wrong, it's been a while since i saw one of those in the wild.

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fc%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hi3Npyz8PDJOx5pMdcjpSmFxPqukb6BewMMBEFJTGRo%3Dreserved=0

Help support my channel efforts and coffee addiction:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.patreon.com%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2FpEs5khf51sB%2Bo3s2qOcL6ri5AKPL%2BbHHMNQOWG9F98%3Dreserved=0

On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling 
wrote:

> I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It 
> has a Fanuc 0i-TC.  I figure 21st century engineering students should 
> develop some feel for metric measurements anyway.  Just to be safe I 
> also require
> G21 on our Mori NVX mill even though it uses a Mits control that 
> handles it better.
>
> -- Ralph
>
> On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> CAUTION: This email originated from outside the Walla Walla University 
> email system.
>
>
> I need to voice some frustration.  So pardon the OT post
>
> Fanuc is making me pull my hair out.  You'd think a cnc control built 
> within the last 20 years could handle switching between G20 and G21 modes!
> It's a flippin command line code that can be issued in a file for 
> goodness sakes!
>
> We bought a used machine that was being used in G21 mode.  And I've 
> been banging my head on this thing for a week.  Can't figure out why 
> all of the work coordinates are so screwed up, reset them and then 
> they are messed up again, G91G28 commands won't work and keep over 
> traveling (but G90G53 does) and the home positions keep moving around.  
> Turns out its all because a stupid Fanuc 180iM control built in 2003 
> can't handle switching between G21 and G20 modes without 3 power 
> cycles, a couple of parameter changes and completely resetting all the 
> work coordinate systems settings.  FOR REAL!!  Even Mach3 
> can do this right! If this is the case why even have G20/G21 available 
> as a G-code! It should only be a parameter setting that can't be 
> changed from a file.  This is even more annoying than
> G92 or jogging a paused program, at least a power cycle can fix those 
> screw ups.
>
> Todd Zuercher
> P. Graham Dunn Inc.<
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.p
> grahamdunn.com%2Findex.phpdata=04%7C01%7Cralph.stirling%40wallawa
> lla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb7
> 5e7aa64%7C0%7C0%7C637620585800394159%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM
> C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000s
> data=VDdiVni%2FePJD71WvCSxNoqQ1CUzEUwC%2FjrcTIU0syA8%3Dreserved=0
> >
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> 

Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread Martin Dobbins

This is a work in progress…  Long way to go yet.
John


 Nevertheless a promising start,  keep us updated 

There, maybe that'll stop it becoming 42 


Martin

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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Ralph Stirling
This Dura is a 2007 model.  I haven't tried G20 since
we first got it going, so don't recall exactly what the
issues were, but remember being very startled when
all the offsets were suddenly wrong when G20 was called.
Solution was instant and total metrification for cnc
machining in my lab :-).  Since few of my students have 
any significant prior experience machining, they don't
generally grumble about giving up "thou's".

The other Fanuc quirk that catches them is forgetting
decimal points on whole numbers.  X10 is 10microns
not 10mm, while X10.0 is 10mm.  It's turned a few
parts into big spiral chips on the finishing pass.

-- Ralph

From: Feral Engineer [theferalengin...@gmail.com]
Sent: Friday, July 16, 2021 11:55 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] OT Fanuc!

CAUTION: This email originated from outside the Walla Walla University email 
system.


On the dura, is the issue that it just moves the decimal instead of
converting the values? That's just a parameter change.

I don't recall the dura using tc controls, i thought those started with td?
I may be wrong, it's been a while since i saw one of those in the wild.

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fc%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=hi3Npyz8PDJOx5pMdcjpSmFxPqukb6BewMMBEFJTGRo%3Dreserved=0

Help support my channel efforts and coffee addiction:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.patreon.com%2Ftheferalengineerdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800384160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2FpEs5khf51sB%2Bo3s2qOcL6ri5AKPL%2BbHHMNQOWG9F98%3Dreserved=0

On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling 
wrote:

> I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It has
> a Fanuc 0i-TC.  I figure 21st century engineering students should develop
> some feel for metric measurements anyway.  Just to be safe I also require
> G21 on our Mori NVX mill even though it uses a Mits control that handles it
> better.
>
> -- Ralph
>
> On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> I need to voice some frustration.  So pardon the OT post
>
> Fanuc is making me pull my hair out.  You'd think a cnc control built
> within the last 20 years could handle switching between G20 and G21 modes!
> It's a flippin command line code that can be issued in a file for goodness
> sakes!
>
> We bought a used machine that was being used in G21 mode.  And I've been
> banging my head on this thing for a week.  Can't figure out why all of the
> work coordinates are so screwed up, reset them and then they are messed up
> again, G91G28 commands won't work and keep over traveling (but G90G53 does)
> and the home positions keep moving around.  Turns out its all because a
> stupid Fanuc 180iM control built in 2003 can't handle switching between G21
> and G20 modes without 3 power cycles, a couple of parameter changes and
> completely resetting all the work coordinate systems settings.  FOR
> REAL!!  Even Mach3 can do this right! If this is the case why
> even have G20/G21 available as a G-code! It should only be a parameter
> setting that can't be changed from a file.  This is even more annoying than
> G92 or jogging a paused program, at least a power cycle can fix those screw
> ups.
>
> Todd Zuercher
> P. Graham Dunn Inc.<
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.phpdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800394159%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=VDdiVni%2FePJD71WvCSxNoqQ1CUzEUwC%2FjrcTIU0syA8%3Dreserved=0
> >
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cc0601cb995c746d1254208d9488b64bb%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637620585800394159%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=wlsGbzJal%2F%2FtOjAXNBA3toa5jzmEAZUkyjSNUkp%2F4DQ%3Dreserved=0
>
> 

Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
Here's a screen shot of a piece of the Lazarus code.  I added a temporary 
button onto the main form to show how easy it is to work with this.  Click the 
button and the Axis: radio button changes to the next one and then loops back 
to the first.
 
So then I put that temporary button onto the form and set the button caption to 
'Cycle Axis'.  Didn't bother renaming the button although normally I'd do that 
too to make it more readable for coding.
 
Double clicked on it and it took me to the program with the cursor right after 
the 'begin'.
I added the variable 'i' and the code between begin end.  Type F9 to compile 
and run and there you are.  Click on the button and the highlighted radio 
button changes.
 
The automatic range checking built into pascal and enabled in this case means I 
have to use a temporary variable because incrementing the ItemIndex directly 
causes a range check error once it's greater than 2.
 
procedure TForm1.Button4Click(Sender: TObject);
var i : integer;
begin
  i := AxisRadioGroup.ItemIndex + 1;
  if (i > 2) then i := 0;
  AxisRadioGroup.ItemIndex := i;
end;
 
Now any other part of the program can read what button is set like if you 
clicked on 'Touch Off' button it would throw up the dialog code with the 
ItemIndex parameter so it knows which axis to touch off.
 
If the MPG on the pendant has selected a different axis the code that deals 
with the pendant can set the ItemIndex to a new value.  Perhaps even highlight 
it on the pendant LCD display if possible with that pendant.
 
Once I figure out how to control the LCNC stuff from here I could use the +/- 
buttons and Spindle buttons to control the spindle for example.  Then copy the 
source code over to the Pi4, compile it with the Pi4 Lazarus or set up my 
Lazarus on the PC to cross compile for the Pi4 and just copy the binary.  And 
bingo updated Axis.  Then copy it over to the PC and also the BeagleBone with 
MachineKit and do the same.  
 
This is a work in progress…  Long way to go yet.
John
 

 
 
> -Original Message-
> From: John Dammeyer [mailto:jo...@autoartisans.com]
> Sent: July-16-21 11:14 AM
> To: 'Enhanced Machine Controller (EMC)'
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> Nope.   Not na�ve.
> 
> Since we can read the status of the indicators as an 'out' something just 
> needs to be changed to be able to set/reset that indicator.
> The 'out' value is likely read by the button press to know which axis to 
> touch off.
> 
> In Delphi or Lazarus Object Pascal the code to do this sort of things is a no 
> brainer.  But tcl and python together with who knows
> what else is to me at the moment unreadable.  I started redoing the AXIS user 
> interface in Lazarus but other projects got in the way.
> I think I stopped when I had to first create all the little picto icons along 
> the top bar.  I did get far enough along to interpret the G-
> Code and fill in the window with the setable G-Code values.
> 
> However, to clone AXIS one actually has to understand how it works for the 
> connection to LCNC and I'm not there yet.  Project #42
> ;-)
> 
> John
> 
> 
> > -Original Message-
> > From: Martin Dobbins [  mailto:tu...@hotmail.com]
> > Sent: July-16-21 10:49 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] AXIS UI Jog Button
> >
> >
> >
> > >Yes.  Keyboard and click on radio button both change so the Tool buttons 
> > >refer to the correct axis.  But Pendants don't seem to
> > have that feature.
> > >John
> >
> > If a USB (or in this case a Ps/2) keyboard can do it, then somewhere in the 
> > code for that, there must be a way to get any other
> device
> > connected by USB to make the same GUI updates.
> >
> > Or am I just being naive?
> >
> > Martin
> >
> >
> > ___
> > 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] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
I have no idea how it put the umlaut over the word naïve.  I think I hit a 
button on the keyboard somehow and now it won't stop. Show up automatically 
when I type that word.

I'm running from WIN-10 ZBook through Remote Desktop to the WIN-7 system which 
has Outlook for email.  

Very strainge.  Notice misspelled word with ai does not add it.
John


> -Original Message-
> From: Martin Dobbins [mailto:tu...@hotmail.com]
> Sent: July-16-21 11:44 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> Cool that you've got the correct keyboard to put the umlaut on the word naive 
> ??
> 
> I've been struggling to remember where I found this all day:
> 
> https://www.billooms.com/cornlathe/build10controls.html
> 
> He mentions the work that helped him out, which leads us to this:
> 
> http://www.franksworkshop.com.au/wordpress/
> 
> Which is fascinating stuff but I don't have the time to go all through either 
> link right now, but is there anything in there that might
> help?
> 
> Best,
> 
> Martin
> 
> 
> 
> Nope.   Not na�ve.
> 
> Since we can read the status of the indicators as an 'out' something just 
> needs to be changed to be able to set/reset that indicator.
> The 'out' value is likely read by the button press to know which axis to 
> touch off.
> 
> In Delphi or Lazarus Object Pascal the code to do this sort of things is a no 
> brainer.  But tcl and python together with who knows
> what else is to me at the moment unreadable.  I started redoing the AXIS user 
> interface in Lazarus but other projects got in the way.
> I think I stopped when I had to first create all the little picto icons along 
> the top bar.  I did get far enough along to interpret the G-
> Code and fill in the window with the setable G-Code values.
> 
> However, to clone AXIS one actually has to understand how it works for the 
> connection to LCNC and I'm not there yet.  Project #42
> ;-)
> 
> 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] OT Fanuc!

2021-07-16 Thread Feral Engineer
On the dura, is the issue that it just moves the decimal instead of
converting the values? That's just a parameter change.

I don't recall the dura using tc controls, i thought those started with td?
I may be wrong, it's been a while since i saw one of those in the wild.

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 2:21 PM Ralph Stirling 
wrote:

> I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It has
> a Fanuc 0i-TC.  I figure 21st century engineering students should develop
> some feel for metric measurements anyway.  Just to be safe I also require
> G21 on our Mori NVX mill even though it uses a Mits control that handles it
> better.
>
> -- Ralph
>
> On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
> CAUTION: This email originated from outside the Walla Walla University
> email system.
>
>
> I need to voice some frustration.  So pardon the OT post
>
> Fanuc is making me pull my hair out.  You'd think a cnc control built
> within the last 20 years could handle switching between G20 and G21 modes!
> It's a flippin command line code that can be issued in a file for goodness
> sakes!
>
> We bought a used machine that was being used in G21 mode.  And I've been
> banging my head on this thing for a week.  Can't figure out why all of the
> work coordinates are so screwed up, reset them and then they are messed up
> again, G91G28 commands won't work and keep over traveling (but G90G53 does)
> and the home positions keep moving around.  Turns out its all because a
> stupid Fanuc 180iM control built in 2003 can't handle switching between G21
> and G20 modes without 3 power cycles, a couple of parameter changes and
> completely resetting all the work coordinate systems settings.  FOR
> REAL!!  Even Mach3 can do this right! If this is the case why
> even have G20/G21 available as a G-code! It should only be a parameter
> setting that can't be changed from a file.  This is even more annoying than
> G92 or jogging a paused program, at least a power cycle can fix those screw
> ups.
>
> Todd Zuercher
> P. Graham Dunn Inc.<
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pgrahamdunn.com%2Findex.phpdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cfbcd3391855548c9fb0808d948744cc8%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637620486609683146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=6aFWrgW7S5RrjTYlDRZtghl1oQRnLHYJnxE4K1tFpkc%3Dreserved=0
> >
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cfbcd3391855548c9fb0808d948744cc8%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637620486609683146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=aMuCUwk%2FQ3zgr2I6DnJCpqL3DusQeoX9D%2FI2aJPvAwI%3Dreserved=0
>
> ___
> 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] AXIS UI Jog Button

2021-07-16 Thread Martin Dobbins
Cool that you've got the correct keyboard to put the umlaut on the word naive 

I've been struggling to remember where I found this all day:

https://www.billooms.com/cornlathe/build10controls.html

He mentions the work that helped him out, which leads us to this:

http://www.franksworkshop.com.au/wordpress/

Which is fascinating stuff but I don't have the time to go all through either 
link right now, but is there anything in there that might help?

Best,

Martin



Nope.   Not naïve.

Since we can read the status of the indicators as an 'out' something just needs 
to be changed to be able to set/reset that indicator.  The 'out' value is 
likely read by the button press to know which axis to touch off.

In Delphi or Lazarus Object Pascal the code to do this sort of things is a no 
brainer.  But tcl and python together with who knows what else is to me at the 
moment unreadable.  I started redoing the AXIS user interface in Lazarus but 
other projects got in the way.  I think I stopped when I had to first create 
all the little picto icons along the top bar.  I did get far enough along to 
interpret the G-Code and fill in the window with the setable G-Code values.

However, to clone AXIS one actually has to understand how it works for the 
connection to LCNC and I'm not there yet.  Project #42  ;-)

John




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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Ralph Stirling
I forbid G20 on the Mori Duraturn in my lab for that exact reason.  It has a 
Fanuc 0i-TC.  I figure 21st century engineering students should develop some 
feel for metric measurements anyway.  Just to be safe I also require G21 on our 
Mori NVX mill even though it uses a Mits control that handles it better.

-- Ralph

On Jul 16, 2021 9:11 AM, Todd Zuercher  wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


I need to voice some frustration.  So pardon the OT post

Fanuc is making me pull my hair out.  You'd think a cnc control built within 
the last 20 years could handle switching between G20 and G21 modes!  It's a 
flippin command line code that can be issued in a file for goodness sakes!

We bought a used machine that was being used in G21 mode.  And I've been 
banging my head on this thing for a week.  Can't figure out why all of the work 
coordinates are so screwed up, reset them and then they are messed up again, 
G91G28 commands won't work and keep over traveling (but G90G53 does) and the 
home positions keep moving around.  Turns out its all because a stupid Fanuc 
180iM control built in 2003 can't handle switching between G21 and G20 modes 
without 3 power cycles, a couple of parameter changes and completely resetting 
all the work coordinate systems settings.  FOR REAL!!  Even Mach3 
can do this right! If this is the case why even have G20/G21 available as a 
G-code! It should only be a parameter setting that can't be changed from a 
file.  This is even more annoying than G92 or jogging a paused program, at 
least a power cycle can fix those screw ups.

Todd Zuercher
P. Graham Dunn 
Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cfbcd3391855548c9fb0808d948744cc8%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637620486609683146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=aMuCUwk%2FQ3zgr2I6DnJCpqL3DusQeoX9D%2FI2aJPvAwI%3Dreserved=0

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


Re: [Emc-users] OT Fanuc!

2021-07-16 Thread Feral Engineer
You'd have to get around the proprietary crap in the Fanuc servo amps and
whatnot, methinks

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 12:31 PM Rob C  wrote:

> rip it out an put linuxcnc in?
>
> is it possible to build a plugin replacement controller?
>
> On Fri, 16 Jul 2021, 17:20 Feral Engineer, 
> wrote:
>
> > The 180i is an earlier windows version of a Fanuc, so I'm sure it's got
> > some quirks 
> >
> > Phil T.
> > The Feral Engineer
> >
> > Check out my LinuxCNC tutorials, machine builds and other antics at
> > www.youtube.com/c/theferalengineer
> >
> > Help support my channel efforts and coffee addiction:
> > www.patreon.com/theferalengineer
> >
> > On Fri, Jul 16, 2021, 12:14 PM Todd Zuercher 
> > wrote:
> >
> > > I need to voice some frustration.  So pardon the OT post
> > >
> > > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > > within the last 20 years could handle switching between G20 and G21
> > modes!
> > > It's a flippin command line code that can be issued in a file for
> > goodness
> > > sakes!
> > >
> > > We bought a used machine that was being used in G21 mode.  And I've
> been
> > > banging my head on this thing for a week.  Can't figure out why all of
> > the
> > > work coordinates are so screwed up, reset them and then they are messed
> > up
> > > again, G91G28 commands won't work and keep over traveling (but G90G53
> > does)
> > > and the home positions keep moving around.  Turns out its all because a
> > > stupid Fanuc 180iM control built in 2003 can't handle switching between
> > G21
> > > and G20 modes without 3 power cycles, a couple of parameter changes and
> > > completely resetting all the work coordinate systems settings.  FOR
> > > REAL!!  Even Mach3 can do this right! If this is the case
> why
> > > even have G20/G21 available as a G-code! It should only be a parameter
> > > setting that can't be changed from a file.  This is even more annoying
> > than
> > > G92 or jogging a paused program, at least a power cycle can fix those
> > screw
> > > ups.
> > >
> > > Todd Zuercher
> > > P. Graham Dunn Inc.
> > > 630 Henry Street
> > > Dalton, Ohio 44618
> > > Phone:  (330)828-2105ext. 2031
> > >
> > >
> > > ___
> > > 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] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
Nope.   Not naïve.  

Since we can read the status of the indicators as an 'out' something just needs 
to be changed to be able to set/reset that indicator.  The 'out' value is 
likely read by the button press to know which axis to touch off.  

In Delphi or Lazarus Object Pascal the code to do this sort of things is a no 
brainer.  But tcl and python together with who knows what else is to me at the 
moment unreadable.  I started redoing the AXIS user interface in Lazarus but 
other projects got in the way.  I think I stopped when I had to first create 
all the little picto icons along the top bar.  I did get far enough along to 
interpret the G-Code and fill in the window with the setable G-Code values.

However, to clone AXIS one actually has to understand how it works for the 
connection to LCNC and I'm not there yet.  Project #42  ;-)

John


> -Original Message-
> From: Martin Dobbins [mailto:tu...@hotmail.com]
> Sent: July-16-21 10:49 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> 
> 
> >Yes.  Keyboard and click on radio button both change so the Tool buttons 
> >refer to the correct axis.  But Pendants don't seem to
> have that feature.
> >John
> 
> If a USB (or in this case a Ps/2) keyboard can do it, then somewhere in the 
> code for that, there must be a way to get any other device
> connected by USB to make the same GUI updates.
> 
> Or am I just being naive?
> 
> Martin
> 
> 
> ___
> 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] AXIS UI Jog Button

2021-07-16 Thread Martin Dobbins



>Yes.  Keyboard and click on radio button both change so the Tool buttons refer 
>to the correct axis.  But Pendants don't seem to have that feature.
>John

If a USB (or in this case a Ps/2) keyboard can do it, then somewhere in the 
code for that, there must be a way to get any other device connected by USB to 
make the same GUI updates.

Or am I just being naive?

Martin


___
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] OT Fanuc!

2021-07-16 Thread Andrew
пт, 16 лип. 2021 о 19:14 Todd Zuercher  пише:

> I need to voice some frustration.  So pardon the OT post
>
> Fanuc is making me pull my hair out.
>

I also had a kind of disappointment with Fanuc recently.
I was asked to help install an automated clamping fixture to a new machine
with a Fanuc controller. The fixture has a controlled actuator to adjust
for the part depth, and also has an analog pressure sensor. So it's
necessary to pass the part size to the fixture from the CNC program. I was
thinking of a PLC with Modbus output for the stepper actuator and analog
input. But it's kind of impossible to connect any PLC to a Fanuc
controller! They have a proprietary I/O link interface only. OK, we
contacted Fanuc for advice. And their advice was pretty short: contact our
certified services only. So if you ever bought a CNC machine with a Fanuc
controller - you're in slavery. Of course there are solutions but they cost
a lot. And the service costs a lot too.

Another story.
I know an owner of a pretty complicated CNC machine with a Siemens
controller, 20+ years old. The controller was not functional. The guy could
not repair it for a very long time. No service wanted to deal with it! So
he contacted the machine manufacturer. They said no problem, we can supply
a brand new controller cabinet for the machine. Priced at $ 200K... oops!
So he spent a lot of time and money until he found some guy who was able to
repair the controller.

So... beware those brand CNC controllers and interfaces.

Just my 2 cents, anyways.

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


Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread Gene Heskett
On Friday 16 July 2021 12:13:36 Martin Dobbins wrote:

> 
>
> >But I don't think that there is anything to tell axis that you have
> >just jogged a different axis.
> >
> >It is possible that the halui pins might set state that propagates
> > through.
>
> Just confirmed on a simple keyboard jog (lathe only) that axis does
> know which axis has just been jogged
>
> Martin
>
It does on my Sheldon lathe too, _if_ the jog is from the keyboard.

But... I have a pair of 100 ppr dials mounted on the apron that if a 
button is pushed to enable them, one for x and one for z, each with a 
dial selectable jog per click scale on a 1,2,5 sequence so I can jog 
from .02mm to 20mm per click. Changed from the dial by holding down the 
enable button while turning the dial.

And jogs from that src do NOT update the radio buttons to indicate which 
axis is being jogged. This has led to some very frustrating mistakes and 
blue air as I still don't really have myself trained to pick up the 
mouse and update the active axis display BEFORE I do a touch off, 
destroying the touch off I just did to a different axis. We need a way 
for hal to talk back to axis and do whatever it takes to update those 
buttons, 100% automatically.

This is partially my own fault as I haven't actually asked the question 
before. Now I am. Is it fixable? And if so, how?

Thanks all.

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


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


Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
To be clear, the tutorial I was following for setting the tool offsets clearly 
stated "Make sure the indicator for the Z axis is lit".  I had moved with X to 
get to a smooth part of the 123 block for setting the distance and then the 
pendant Z motion with the MPG for Z.  The indicator was still on the X axis so 
the current X axis value was written into the tool table for X.

Now load T1 and do a G0 X0 and then load T1 and G0 X0 you get a different 
position all because the X offsets in the tool table are different.

This makes sense and it was operator error.  I just don't think it should 
happen.
John


> -Original Message-
> From: Todd Zuercher [mailto:to...@pgrahamdunn.com]
> Sent: July-16-21 9:45 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> But pendant and MPG wheel jogging is very different from keyboard jogging.  
> Pretty sure none of the UIs are aware what goes on
> there.
> 
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
> 
> -Original Message-
> From: Martin Dobbins 
> Sent: Friday, July 16, 2021 12:14 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> [EXTERNAL EMAIL] Be sure links are safe.
> 
> 
> 
> >But I don't think that there is anything to tell axis that you have
> >just jogged a different axis.
> 
> >It is possible that the halui pins might set state that propagates through.
> 
> Just confirmed on a simple keyboard jog (lathe only) that axis does know 
> which axis has just been jogged
> 
> Martin
> 
> 
> ___
> 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] OT Fanuc!

2021-07-16 Thread Todd Zuercher
I really don't want to go there.  Retrofitting a Fanuc machine is much more 
involved because of how their servos work.  Besides Fanuc's motion control is a 
bit better.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Rob C  
Sent: Friday, July 16, 2021 12:28 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] OT Fanuc!

[EXTERNAL EMAIL] Be sure links are safe.

rip it out an put linuxcnc in?

is it possible to build a plugin replacement controller?

On Fri, 16 Jul 2021, 17:20 Feral Engineer, 
wrote:

> The 180i is an earlier windows version of a Fanuc, so I'm sure it's 
> got some quirks 
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at 
> www.youtube.com/c/theferalengineer
>
> Help support my channel efforts and coffee addiction:
> www.patreon.com/theferalengineer
>
> On Fri, Jul 16, 2021, 12:14 PM Todd Zuercher 
> wrote:
>
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.  You'd think a cnc control 
> > built within the last 20 years could handle switching between G20 
> > and G21
> modes!
> > It's a flippin command line code that can be issued in a file for
> goodness
> > sakes!
> >
> > We bought a used machine that was being used in G21 mode.  And I've 
> > been banging my head on this thing for a week.  Can't figure out why 
> > all of
> the
> > work coordinates are so screwed up, reset them and then they are 
> > messed
> up
> > again, G91G28 commands won't work and keep over traveling (but 
> > G90G53
> does)
> > and the home positions keep moving around.  Turns out its all 
> > because a stupid Fanuc 180iM control built in 2003 can't handle 
> > switching between
> G21
> > and G20 modes without 3 power cycles, a couple of parameter changes 
> > and completely resetting all the work coordinate systems settings.  
> > FOR REAL!!  Even Mach3 can do this right! If this is the 
> > case why even have G20/G21 available as a G-code! It should only be 
> > a parameter setting that can't be changed from a file.  This is even 
> > more annoying
> than
> > G92 or jogging a paused program, at least a power cycle can fix 
> > those
> screw
> > ups.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > 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] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
Yes.  Keyboard and click on radio button both change so the Tool buttons refer 
to the correct axis.  But Pendants don't seem to have that feature.
John


> -Original Message-
> From: Martin Dobbins [mailto:tu...@hotmail.com]
> Sent: July-16-21 9:14 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> 
> 
> 
> 
> >But I don't think that there is anything to tell axis that you have
> >just jogged a different axis.
> 
> >It is possible that the halui pins might set state that propagates through.
> 
> Just confirmed on a simple keyboard jog (lathe only) that axis does know 
> which axis has just been jogged
> 
> Martin
> 
> 
> ___
> 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] AXIS UI Jog Button

2021-07-16 Thread Todd Zuercher
But pendant and MPG wheel jogging is very different from keyboard jogging.  
Pretty sure none of the UIs are aware what goes on there.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Martin Dobbins  
Sent: Friday, July 16, 2021 12:14 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] AXIS UI Jog Button

[EXTERNAL EMAIL] Be sure links are safe.



>But I don't think that there is anything to tell axis that you have 
>just jogged a different axis.

>It is possible that the halui pins might set state that propagates through.

Just confirmed on a simple keyboard jog (lathe only) that axis does know which 
axis has just been jogged

Martin


___
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] AXIS UI Jog Button

2021-07-16 Thread John Dammeyer
HI Andy,
Yes.  I found the appropriate output pins.  I couldn't find anything that was 
an input.  It doesn't really matter until the jog feature of a pendent is used 
for final Z for tool positioning after X or Y was jogged by keyboard or AXIS 
button. When button on the user interface screen is pressed it does not apply 
to the Z axis motion.

So far the HB04 and the Shuttle Express have that problem on 2.7 and up.  
Curious if any other pendants show the same issue and if not what do they do.   

In the case of the HB04 the '=' button sets the selected axis to 0.  However 
that's done with a G code.
From the include cfg file.  
# synthesized per-axis buttons for zero button:
zero-x  = halui.mdi-command-12
zero-y  = halui.mdi-command-13
zero-z  = halui.mdi-command-14
zero-a  = halui.mdi-command-15

and then under the [halui] section
#12 Set current physical X position to be 0
MDI_COMMAND= G10 L20 P0 X0
#13 Set current physical Y position to be 0
MDI_COMMAND= G10 L20 P0 Y0
#14 Set current physical Z position to be 0
MDI_COMMAND= G10 L20 P0 Z0
#15 Set current physical A position to be 0
MDI_COMMAND= G10 L20 P0 A0

But that doesn't change the AXIS radio button display either although it's 
equivalent to the Touch Off.  I suppose the link shows that a pendant button 
could also be programmed to do the subroutine here:
https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g10-l10

But what I'd like to see is a prevention of an operator error which happens 
when keyboard/button click operations are mixed with pendant operations.  Guess 
I have to dig into the AXIS source code.  

Shudder!

John


> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: July-16-21 6:49 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] AXIS UI Jog Button
> 
> On Thu, 15 Jul 2021 at 18:34, John Dammeyer  wrote:
> 
> > How do I tell the axisui the specific button has been pressed?
> 
> Axis has _output_ pins to control which axis is jogged:
> http://linuxcnc.org/docs/2.8/html/gui/axis.html#_axisui_pins
> 
> But I don't think that there is anything to tell axis that you have
> just jogged a different axis.
> 
> It is possible that the halui pins might set state that propagates through.
> 
> --
> 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



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


Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread Martin Dobbins





>But I don't think that there is anything to tell axis that you have
>just jogged a different axis.

>It is possible that the halui pins might set state that propagates through.

Just confirmed on a simple keyboard jog (lathe only) that axis does know which 
axis has just been jogged

Martin


___
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] OT Fanuc!

2021-07-16 Thread Rob C
rip it out an put linuxcnc in?

is it possible to build a plugin replacement controller?

On Fri, 16 Jul 2021, 17:20 Feral Engineer, 
wrote:

> The 180i is an earlier windows version of a Fanuc, so I'm sure it's got
> some quirks 
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
> www.youtube.com/c/theferalengineer
>
> Help support my channel efforts and coffee addiction:
> www.patreon.com/theferalengineer
>
> On Fri, Jul 16, 2021, 12:14 PM Todd Zuercher 
> wrote:
>
> > I need to voice some frustration.  So pardon the OT post
> >
> > Fanuc is making me pull my hair out.  You'd think a cnc control built
> > within the last 20 years could handle switching between G20 and G21
> modes!
> > It's a flippin command line code that can be issued in a file for
> goodness
> > sakes!
> >
> > We bought a used machine that was being used in G21 mode.  And I've been
> > banging my head on this thing for a week.  Can't figure out why all of
> the
> > work coordinates are so screwed up, reset them and then they are messed
> up
> > again, G91G28 commands won't work and keep over traveling (but G90G53
> does)
> > and the home positions keep moving around.  Turns out its all because a
> > stupid Fanuc 180iM control built in 2003 can't handle switching between
> G21
> > and G20 modes without 3 power cycles, a couple of parameter changes and
> > completely resetting all the work coordinate systems settings.  FOR
> > REAL!!  Even Mach3 can do this right! If this is the case why
> > even have G20/G21 available as a G-code! It should only be a parameter
> > setting that can't be changed from a file.  This is even more annoying
> than
> > G92 or jogging a paused program, at least a power cycle can fix those
> screw
> > ups.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > 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] OT Fanuc!

2021-07-16 Thread Feral Engineer
The 180i is an earlier windows version of a Fanuc, so I'm sure it's got
some quirks 

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

Help support my channel efforts and coffee addiction:
www.patreon.com/theferalengineer

On Fri, Jul 16, 2021, 12:14 PM Todd Zuercher  wrote:

> I need to voice some frustration.  So pardon the OT post
>
> Fanuc is making me pull my hair out.  You'd think a cnc control built
> within the last 20 years could handle switching between G20 and G21 modes!
> It's a flippin command line code that can be issued in a file for goodness
> sakes!
>
> We bought a used machine that was being used in G21 mode.  And I've been
> banging my head on this thing for a week.  Can't figure out why all of the
> work coordinates are so screwed up, reset them and then they are messed up
> again, G91G28 commands won't work and keep over traveling (but G90G53 does)
> and the home positions keep moving around.  Turns out its all because a
> stupid Fanuc 180iM control built in 2003 can't handle switching between G21
> and G20 modes without 3 power cycles, a couple of parameter changes and
> completely resetting all the work coordinate systems settings.  FOR
> REAL!!  Even Mach3 can do this right! If this is the case why
> even have G20/G21 available as a G-code! It should only be a parameter
> setting that can't be changed from a file.  This is even more annoying than
> G92 or jogging a paused program, at least a power cycle can fix those screw
> ups.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> 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] OT Fanuc!

2021-07-16 Thread Todd Zuercher
I need to voice some frustration.  So pardon the OT post

Fanuc is making me pull my hair out.  You'd think a cnc control built within 
the last 20 years could handle switching between G20 and G21 modes!  It's a 
flippin command line code that can be issued in a file for goodness sakes!

We bought a used machine that was being used in G21 mode.  And I've been 
banging my head on this thing for a week.  Can't figure out why all of the work 
coordinates are so screwed up, reset them and then they are messed up again, 
G91G28 commands won't work and keep over traveling (but G90G53 does) and the 
home positions keep moving around.  Turns out its all because a stupid Fanuc 
180iM control built in 2003 can't handle switching between G21 and G20 modes 
without 3 power cycles, a couple of parameter changes and completely resetting 
all the work coordinate systems settings.  FOR REAL!!  Even Mach3 
can do this right! If this is the case why even have G20/G21 available as a 
G-code! It should only be a parameter setting that can't be changed from a 
file.  This is even more annoying than G92 or jogging a paused program, at 
least a power cycle can fix those screw ups.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


Re: [Emc-users] AXIS UI Jog Button

2021-07-16 Thread andy pugh
On Thu, 15 Jul 2021 at 18:34, John Dammeyer  wrote:

> How do I tell the axisui the specific button has been pressed?

Axis has _output_ pins to control which axis is jogged:
http://linuxcnc.org/docs/2.8/html/gui/axis.html#_axisui_pins

But I don't think that there is anything to tell axis that you have
just jogged a different axis.

It is possible that the halui pins might set state that propagates through.

-- 
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] TLO: value modified

2021-07-16 Thread andy pugh
On Thu, 15 Jul 2021 at 01:27, John Dammeyer  wrote:
>
> Somehow I've put an offset into the X axis for Tool #1.

> How do I fix it?

Too late now, but MDI.

G10 L1 P1 X0

http://linuxcnc.org/docs/2.8/html/gcode/g-code.html#gcode:g10-l1

-- 
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] Meanwell SE600-48 Power Supply

2021-07-16 Thread Nicklas SB Karlsson
> I am building a new controller cabinet. I installed a Meanwell SE600-48 power 
> supply. When I turn on the power supply the fan doesn’t turn on. If I leave 
> the power supply on for a little while I hear an intermittent clicking (like 
> a relay) but no fan. Does it have some kind of temperature control on the 
> fan? Is it not turning on because I currently have virtually no load on the 
> power supply?

Short circuit? Or overloaded?

Some power supplys enter som kind of "power down" mode if overloaded.


Nicklas Karlsson


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