Re: [Emc-users] Issues with reloading from Oword

2017-11-02 Thread Terence Delia
It has to do with yield INTERP_EXECUTE_FINISH and code following it in the M6 
function. The remap has been done purely in python, I will attach the code 
tomorrow from my shop. Thanks!



From: andy pugh 
Sent: Thursday, November 2, 2017 9:11 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Issues with reloading from Oword

On 2 November 2017 at 08:03, Terence Delia  wrote:

> Following bizarre behavior related to a remapped M6 (the machine would 
> automatically load the last gcode file without me knowing),

Can we start there. I have not heard of this problem before, and I
would imagine that we would have done.

Can you describe steps to reproduce it?


--
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, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Issues with reloading from Oword

2017-11-02 Thread andy pugh
On 2 November 2017 at 08:03, Terence Delia  wrote:

> Following bizarre behavior related to a remapped M6 (the machine would 
> automatically load the last gcode file without me knowing),

Can we start there. I have not heard of this problem before, and I
would imagine that we would have done.

Can you describe steps to reproduce it?


-- 
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, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread Gene Heskett
On Thursday 02 November 2017 10:32:28 jrmitchellj . wrote:

> The best contact cleaner I have ever used is De-Ox-It from Caig Labs.
> (the red stuff)
> I have restored millions in broadcast and television equipment to
> proper service with it.
>
> It is amazing how much grub it get off connectors, without harming the
> plating at all.
>
>
> Ray
>
> --J. Ray Mitchell Jr.
> jrmitche...@gmail.com
>
I'll 2nd that, great stuff.
>
> The dogmas of the quiet past, are inadequate to the stormy present.
> The occasion is piled high with difficulty, and we must rise with the
> occasion. As our case is new, so we must think anew and act anew. We
> must disenthrall ourselves, and then we shall save our
> country.*Abraham Lincoln
> *, *Annual
> message to Congress, December 1, 1862*
> *16th president of US (1809 - 1865)*
>
> On Thu, Nov 2, 2017 at 5:55 AM, Mark  wrote:
> > On 11/02/2017 03:09 AM, Marcus Bowman wrote:
> >> If there are plug-in cards or gold plated edge connectors anywhere,
> >> unplug, rub with an eraser, dust clean and re-insert. Might help
> >> remove stray capacitance. I've just had trouble with a set of
> >> plug-in cards on a machine here (not control cards, but the same
> >> principle applies).
> >>
> >> Marcus
> >
> > You really don't want to use an eraser on gold plated contacts.  The
> > gold plating is quite thin, and the eraser will wear it away.  Much
> > better to use alcohol and something like a coffee filter or non-clay
> > based paper to clean up the oxidation.  Especially on the female
> > contacts where you will inevitably leave eraser residue.  Once
> > that's accomplished insert and remove the card into the slot several
> > times.
> >
> > Erasers have fine grit mixed in with the rubber and act just like
> > sandpaper.  Not good for gold plating.
> >
> > Mark
> >
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread Mark
I use that stuff a lot too when I'm repairing electronics gear like my 
old Tek and HP scopes.  They still recommend alcohol and the non-clay 
based paper as the means to clean gold contacts though.


Mark

On 11/02/2017 10:32 AM, jrmitchellj . wrote:

The best contact cleaner I have ever used is De-Ox-It from Caig Labs. (the
red stuff)
I have restored millions in broadcast and television equipment to proper
service with it.

It is amazing how much grub it get off connectors, without harming the
plating at all.


Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com



The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Thu, Nov 2, 2017 at 5:55 AM, Mark  wrote:


On 11/02/2017 03:09 AM, Marcus Bowman wrote:


If there are plug-in cards or gold plated edge connectors anywhere,
unplug, rub with an eraser, dust clean and re-insert. Might help remove
stray capacitance. I've just had trouble with a set of plug-in cards on a
machine here (not control cards, but the same principle applies).

Marcus


You really don't want to use an eraser on gold plated contacts.  The gold
plating is quite thin, and the eraser will wear it away.  Much better to
use alcohol and something like a coffee filter or non-clay based paper to
clean up the oxidation.  Especially on the female contacts where you will
inevitably leave eraser residue.  Once that's accomplished insert and
remove the card into the slot several times.

Erasers have fine grit mixed in with the rubber and act just like
sandpaper.  Not good for gold plating.

Mark



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread jrmitchellj .
The best contact cleaner I have ever used is De-Ox-It from Caig Labs. (the
red stuff)
I have restored millions in broadcast and television equipment to proper
service with it.

It is amazing how much grub it get off connectors, without harming the
plating at all.


Ray

--J. Ray Mitchell Jr.
jrmitche...@gmail.com



The dogmas of the quiet past, are inadequate to the stormy present. The
occasion is piled high with difficulty, and we must rise with the occasion.
As our case is new, so we must think anew and act anew. We must disenthrall
ourselves, and then we shall save our country.*Abraham Lincoln
*, *Annual message
to Congress, December 1, 1862*
*16th president of US (1809 - 1865)*

On Thu, Nov 2, 2017 at 5:55 AM, Mark  wrote:

> On 11/02/2017 03:09 AM, Marcus Bowman wrote:
>
>> If there are plug-in cards or gold plated edge connectors anywhere,
>> unplug, rub with an eraser, dust clean and re-insert. Might help remove
>> stray capacitance. I've just had trouble with a set of plug-in cards on a
>> machine here (not control cards, but the same principle applies).
>>
>> Marcus
>>
>
> You really don't want to use an eraser on gold plated contacts.  The gold
> plating is quite thin, and the eraser will wear it away.  Much better to
> use alcohol and something like a coffee filter or non-clay based paper to
> clean up the oxidation.  Especially on the female contacts where you will
> inevitably leave eraser residue.  Once that's accomplished insert and
> remove the card into the slot several times.
>
> Erasers have fine grit mixed in with the rubber and act just like
> sandpaper.  Not good for gold plating.
>
> Mark
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread Mark

On 11/02/2017 03:09 AM, Marcus Bowman wrote:

If there are plug-in cards or gold plated edge connectors anywhere, unplug, rub 
with an eraser, dust clean and re-insert. Might help remove stray capacitance. 
I've just had trouble with a set of plug-in cards on a machine here (not 
control cards, but the same principle applies).

Marcus


You really don't want to use an eraser on gold plated contacts.  The 
gold plating is quite thin, and the eraser will wear it away.  Much 
better to use alcohol and something like a coffee filter or non-clay 
based paper to clean up the oxidation.  Especially on the female 
contacts where you will inevitably leave eraser residue.  Once that's 
accomplished insert and remove the card into the slot several times.


Erasers have fine grit mixed in with the rubber and act just like 
sandpaper.  Not good for gold plating.


Mark

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread Eric H. Johnson
Peter, et al,

I will check that too at the next opportunity. Thanks everyone for all of
the suggestions.

Regards,
Eric


I would check that you get decent differential voltages across the 7I33
inputs in both states of the inputs (no less than +-2.5 across the A,/A B,/B
or Z,/Z pairs in any state)




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Issues with reloading from Oword

2017-11-02 Thread Terence Delia
Hello Sirs/Ladies,


I was wondering if any has encountered/worked around this issue:


Following bizarre behavior related to a remapped M6 (the machine would 
automatically load the last gcode file without me knowing), I came in need to 
have the machine automatically reload the gcode file following an abort/manual 
stop of a program run. I have included the attached oword module, and 
 is set to be called from ini file.

All is fine with no errors, except that the reload takes more than 30 seconds 
to finish. Even manually calling the function from MDI takes that long. On the 
other hand, clicking the reload button on AXIS gui takes less than a second to 
perform the reload. Also, manually issuing the "axis-remote --reload" from 
terminal takes just a second or so. Am I missing something here?


...Of course, a better solution would be to keep the machine from changing 
gcode file on its own accord

Thank you and kind regards,

terans
from interpreter import *
import os

def on_abort(self, *words):
print("aborting")
self.execute("M65 P00")
self.execute("M65 P01")
self.execute("T0")
os.system("axis-remote --reload ")

def reload(self, *words):
os.system("axis-remote --reload ")
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Odd encoder problem

2017-11-02 Thread Marcus Bowman
If there are plug-in cards or gold plated edge connectors anywhere, unplug, rub 
with an eraser, dust clean and re-insert. Might help remove stray capacitance. 
I've just had trouble with a set of plug-in cards on a machine here (not 
control cards, but the same principle applies).

Marcus


On 2 Nov 2017, at 02:18, Peter C. Wallace wrote:

> On Wed, 1 Nov 2017, Eric H. Johnson wrote:
> 
>> Date: Wed, 1 Nov 2017 19:25:36 -0400
>> From: Eric H. Johnson 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: "'Enhanced Machine Controller (EMC)'" 
>> Subject: [Emc-users] Odd encoder problem
>> All,
>> 
>> 
>> 
>> A machine (table) that has been running for about three months has developed
>> an odd problem in the last couple weeks. Not sure if it has been getting
>> worse or if just the nature of the patterns being run has made the problem
>> more pronounced. The machine is an XYYA configuration with a pneumatic Z,
>> and using mainly Mesa boards. The problem is in the A axis. It seems to be
>> losing encoder counts at very low speed, but not otherwise. It took a bit to
>> track down because when I initially had it moving multiple rotations I could
>> not get any errors running A by itself. Running with a feed rate in excess
>> of 2 (Degs per min), resulted in no errors. Slowing down to 1
>> started to show a very small amount of error, and from 5000 on down the
>> error was very pronounced.
>> 
>> 
>> 
>> The hardware is a Mesa 7i43 FPGA, 7i33 quad analog servo card and YEnc line
>> drivers. The table is 15' x 30', thus requiring line drivers on X and A, but
>> for uniformity, were put  on all four axes. The encoders are wired
>> differentially. The error is always in the same direction regardless of the
>> velocities used for the cw and ccw directions, thus would seem to be
>> dropping counts.
>> 
> 
> I would check that you get decent differential voltages across the 7I33 
> inputs in both states of the inputs (no less than +-2.5 across the A,/A B,/B 
> or Z,/Z pairs in any state)
> 
> 
>> 
>> 
>> I did not have a scope with me to check the encoder signals. While a low
>> probablility, I do have spare YEnc modules, but ran out of time before
>> trying to swap it out. I don't really see how this type of problem
>> (electrical) can develop over time, but do not see how it can be anything
>> else.
>> 
>> 
>> 
>> Anyone seen anything like this when using that hardware?
>> 
>> 
>> 
>> Thanks,
>> 
>> Eric
>> 
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> Peter Wallace
> Mesa Electronics
> 
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users