Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-11 Thread Mark Johnsen
Dave - see comments inline.


> --
>
> Message: 2
> Date: Thu, 10 Dec 2015 15:28:03 -0500
> From: Dave Cole <linuxcncro...@gmail.com>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> Message-ID: <5669e053.9080...@gmail.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Cable shields are typically tied to frame/backplane ground.  One end
> only if you want to avoid ground loops.
> The cable shield from your VFD to motor connection should also be tied
> to frame/backplane ground.
> I don't see a filter on the power feed to that GS2 VFD?Do you have
> one?  The Automation direct single phase one is about $80 and worth
> every cent.
>

Dave - you are correct, I don't have a filter on the power feed to the GS2
VFD.  I vaguely remember a discussion on this forum about the need for one
and I do remember telling myself, "I don't need one, I don't have a noise
problem."  Hahahahahah...  If only I knew...

I can look to get one of the GS2 filters, I have put EMI filters on Servo
Amp's (Emerson-EP) trying to fight noise issues on multiple RS-232 lines
and in that example it didn't do much in that case.

When possible, I tried to separate AC and DC voltages (230, 120, 80vdc,
24vdc, 15, and 5).  I do have separate wire duct for power and lower
voltage logic and then they cross at 90 degrees. I'm probably not perfect
on the power separations, but I did try where possible.  I can try moving
the cables as well.

Thanks,
Mark


> Move your drive to motor cable to the right side of the drive and don't
> put it in that wire duct.   Attach it to the side of the drive if you
> need to attach it anywhere.
> There is no requirement to have the 0V of your 5 or 24 volt supply tied
> to frame/backplane ground.
> I think that Automation Direct VFDs may also be sold as EMI generators.
> They push noise back into the power feed very effectively and I have
> seen that same noise go right through 5V and 24 volt power supplies and
> screw things up.
> I've fought that fight before and won.
>
> In general the panel looks nice.  Not excessively crowded.
>
> Dave
>
>
>
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Mark Johnsen
One question I had when wiring up the system is I connected the west amp
servo cable _shield_ to the backpanel.  Which is also where the VFD is
attached and pretty much everything else would be grounded to that as
well.  I was concerned about noise with that...

Should I have attached that to 0Vdc.  And, then I have 0vdc for the 5vdc,
15vdc, and 24vdc power supplies.  Ugh, this is a mess...

https://goo.gl/photos/SMSGpyjStBL1dKjb6

I have nicely soldered extensions on the shields (Yellow shrink wrap).
Plus, you'll see my ebay Chinese ferrules on the wires into the 7i77 as
well...  Nice...

Thanks,
Mark

On Thu, Dec 10, 2015 at 10:52 AM, Mark Johnsen  wrote:

> I'm sure I have noise in my setup.
>
> Here's a picture of my cabinet, which I actually took time to route wires
> decently.
> https://goo.gl/photos/AogjAzWHpGGysceQA
>
> I did my best to keep things separated, but there was only so much room.
> I think my AutoDirect GS2 3HP vfd is probably too close to the 7i77,  Also,
> the 80Vdc coming from the step down transformer and rectifier would add to
> the noise.  Oh, to power the VFD I brought into an originally 120Vac 'only'
> cabinet 240 single phase plus the noisy 3-phase motor output.
>
> I did go back and look at my notes and 2x I did get errors in 2.6.xx that
> I ignored.  I typed the errors here from a screen shot (forgive my typing
> errors):
> hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0.  you may see this
> error if the FPGA card read thread is not running.  This error message will
> not repeat.
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (13)
> Communication error
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (4) Extra
> character
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (3) Timeout
> END ERRORS-
>
> I only saw those errors 2x and I'm going to guess that it was after I
> upgraded the 7i77 firmware...
> I think I was lulled into thinking the noise was OK.
>
> After that, I must have fiddled w/ the power supplies and haven't seen
> those errors lately.
>
> Anyway, chasing the noise is a frustrating tail chasing exercise (for me
> it seems).  I'd like to pretend it doesn't exist and stick my head in the
> sand...
>
> Mark
>
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Mark Johnsen
I'm sure I have noise in my setup.

Here's a picture of my cabinet, which I actually took time to route wires
decently.
https://goo.gl/photos/AogjAzWHpGGysceQA

I did my best to keep things separated, but there was only so much room.  I
think my AutoDirect GS2 3HP vfd is probably too close to the 7i77,  Also,
the 80Vdc coming from the step down transformer and rectifier would add to
the noise.  Oh, to power the VFD I brought into an originally 120Vac 'only'
cabinet 240 single phase plus the noisy 3-phase motor output.

I did go back and look at my notes and 2x I did get errors in 2.6.xx that I
ignored.  I typed the errors here from a screen shot (forgive my typing
errors):
hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0.  you may see this
error if the FPGA card read thread is not running.  This error message will
not repeat.

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (13)
Communication error

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (4) Extra
character

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (3) Timeout
END ERRORS-

I only saw those errors 2x and I'm going to guess that it was after I
upgraded the 7i77 firmware...
I think I was lulled into thinking the noise was OK.

After that, I must have fiddled w/ the power supplies and haven't seen
those errors lately.

Anyway, chasing the noise is a frustrating tail chasing exercise (for me it
seems).  I'd like to pretend it doesn't exist and stick my head in the
sand...

Mark



>
> On Tue, 8 Dec 2015, Todd  Zuercher wrote:
>
> > Date: Tue, 8 Dec 2015 21:29:34 -0500 (EST)
> > From: Todd  Zuercher <zuerc...@embarqmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > It was a while ago that I upgraded things. So I can't say for sure what
> the
> > order of events were.  But I was running 2.7pre on this machine as soon
> as
> > it came out and I know I did not update the firmwares right away, and ran
> > for a while just ignoring the notice to update them.  I don't think
> during
> > that time I had the problem with the smart serial errors until after I
> > updated the firmwares, also about that same time I changed my config to
> run
> > at a higher rate, moving the hm2 read/rights and velocity loop for the
> > servos to a floating point base thread.  I've been blaming the ss
> > communication problems on the base thread speed being borderline too
> fast.
> > So for me the real question is what is the source of the problem, is it
> that
> > something in 2.7 is more sensitive to errors than before, is something in
> > the new firmware making it more sensitive, something in 2.7 or the
> firmware
> > causing more errors than before, or is it my thread speed. I don't want
> to
> > blame electronic interference because it worked before for years and
> none of
> > that changed.  But in a way that probably is the real source, because it
> is
> > when powering on the machine(F2) after an e-stop when I most often see
> this
> > error (about half the time).  I'll check into these parameters and see
> if I
> > can tame it down to acceptable level.
>
> A extra character error is definately electrical noise related, it may have
> been unreported by 2.6 though
>
> >
> > ----- Original Message -
> > From: "andy pugh" <bodge...@gmail.com>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Sent: Tuesday, December 8, 2015 8:44:11 PM
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com>
> wrote:
> >> How to set dec?  And what was it in prior versions?
> >
> > You set it like any other HAL parameter. Details are there if you look
> > at man sserial
> >
> > setp hm2_5i24.0.sserial.port-N.fault-inc 0
> >
> > Will disable all smart-serial fault reporting.
> >
> > Naturally you will have to use parameters that actually exist in your
> > configuration.
> >
> > The values haven't changed, but something else has, I am not sure what.
> >
> > --
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Dave Cole
So this is all off the same transformer?

This is really not a problem as long as all of your power feeds are 
referenced to building ground.  (wired to code)

I would put a ground terminal/bus in the panel and make sure you tie all 
incoming ground wires to the same ground buss right in the box.

Neutrals should be tied to ground at the transformer or at the incoming 
power junction box/breaker panel for the plant.  Not in the box.

What you describe (assuming it all comes from the same transformer) is 
actually very clean.

I'd put an AC filter in front of the Servo drives.  I've had problems 
with servo drives pumping noise back into the line which can get through 
120 to 24 volt power supplies and screw with
low voltage controls.  Good small filters are under $100.

Dave





On 12/10/2015 12:49 PM, Todd Zuercher wrote:
> I know you could pull single phase from the 3phase, but it is essentially 
> that already, just coming from the panel on the wall instead of splitting at 
> the machine. This machine is fed by 3 beakers on the panel. (I just checked) 
> I was wrong before the 2 spindles are on one 208 3phase beaker, the 4 servo 
> drives are on one 208 single phase, and the PC and other low voltage stuff is 
> a 110 beaker.  All 3 right in a row in the same panel box.  I guess there is 
> the potential of a ground loop problem from these 3 separate feeds (that each 
> have their own ground wire.)  What would be the right way to remedy this?
>
> - Original Message -
> From: "Gene Heskett" <ghesk...@wdtv.com>
> To: emc-users@lists.sourceforge.net
> Sent: Thursday, December 10, 2015 4:06:07 AM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:
>
>> Is there a way to issue a stop/start command to the sserial interface
>> on the 5i25?
>>
>> I am a little bit at a loss where to begin with looking for the source
>> of the possible noise issue.  Peter mentioned earlier some things to
>> check.  The DB25 cable is the one that came with the Mesa plug and go
>> kit, and is not routed near any power cables,  The power source for
>> the servo drives is 220 3 phase and the PC is on 110 single phase,
>> arranging for them to use the same power source may be difficult.
> Todd,  if the power company didn't use a wild leg (and I haven't seen one
> of those since back in the '50's of the last century) for the "220" 3
> phase, but a true 3 phase circuit using a transformer per phase at the
> service pole, which today on this side of the pond is 254 volts per
> phase, measured from phase to phase. The trick is to treat the "220"
> load as a delta load, where the 4th wire neutral is just for equipment
> grounding.  But, measuring that same set of 3 wires from each wire to
> the neutral, looking at it as a "wye" load should show nominally 127
> volts to neutral for all 3 wires.  The critical measurement, to detect
> whether the power company used a wild leg, is to measure from each of
> those 3 hot wires, to a local ground rod. If one wire is way off the 127
> reading, they've used a wild leg, which only needs 2 transformers on the
> service pole.
>
> If you get that 127, then just hook the PC to that and the neutral.  Any
> one of the hot wires will do.
>
> If you get an obviously higher reading on one wire, like above 140 volts,
> don't hook the PC power to that one, but I would also rattle the power
> companies cage asking for a true 3 phase circuit.
>
> Cheers, Gene Heskett

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Gene Heskett
On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:

> Is there a way to issue a stop/start command to the sserial interface
> on the 5i25?
>
> I am a little bit at a loss where to begin with looking for the source
> of the possible noise issue.  Peter mentioned earlier some things to
> check.  The DB25 cable is the one that came with the Mesa plug and go
> kit, and is not routed near any power cables,  The power source for
> the servo drives is 220 3 phase and the PC is on 110 single phase,
> arranging for them to use the same power source may be difficult.

Todd,  if the power company didn't use a wild leg (and I haven't seen one 
of those since back in the '50's of the last century) for the "220" 3 
phase, but a true 3 phase circuit using a transformer per phase at the 
service pole, which today on this side of the pond is 254 volts per 
phase, measured from phase to phase. The trick is to treat the "220" 
load as a delta load, where the 4th wire neutral is just for equipment 
grounding.  But, measuring that same set of 3 wires from each wire to 
the neutral, looking at it as a "wye" load should show nominally 127 
volts to neutral for all 3 wires.  The critical measurement, to detect 
whether the power company used a wild leg, is to measure from each of 
those 3 hot wires, to a local ground rod. If one wire is way off the 127 
reading, they've used a wild leg, which only needs 2 transformers on the 
service pole.

If you get that 127, then just hook the PC to that and the neutral.  Any 
one of the hot wires will do.

If you get an obviously higher reading on one wire, like above 140 volts, 
don't hook the PC power to that one, but I would also rattle the power 
companies cage asking for a true 3 phase circuit.

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)
Some mill pix are at:
Genes Web page 

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Dave Cole
Cable shields are typically tied to frame/backplane ground.  One end 
only if you want to avoid ground loops.
The cable shield from your VFD to motor connection should also be tied 
to frame/backplane ground.
I don't see a filter on the power feed to that GS2 VFD?Do you have 
one?  The Automation direct single phase one is about $80 and worth 
every cent.
Move your drive to motor cable to the right side of the drive and don't 
put it in that wire duct.   Attach it to the side of the drive if you 
need to attach it anywhere.
There is no requirement to have the 0V of your 5 or 24 volt supply tied 
to frame/backplane ground.
I think that Automation Direct VFDs may also be sold as EMI generators.  
They push noise back into the power feed very effectively and I have 
seen that same noise go right through 5V and 24 volt power supplies and 
screw things up.
I've fought that fight before and won.

In general the panel looks nice.  Not excessively crowded.

Dave



  On 12/10/2015 2:09 PM, Mark Johnsen wrote:
> One question I had when wiring up the system is I connected the west amp
> servo cable _shield_ to the backpanel.  Which is also where the VFD is
> attached and pretty much everything else would be grounded to that as
> well.  I was concerned about noise with that...
>
> Should I have attached that to 0Vdc.  And, then I have 0vdc for the 5vdc,
> 15vdc, and 24vdc power supplies.  Ugh, this is a mess...
>
> https://goo.gl/photos/SMSGpyjStBL1dKjb6
>
> I have nicely soldered extensions on the shields (Yellow shrink wrap).
> Plus, you'll see my ebay Chinese ferrules on the wires into the 7i77 as
> well...  Nice...
>
> Thanks,
> Mark
>
> On Thu, Dec 10, 2015 at 10:52 AM, Mark Johnsen  wrote:
>
>> I'm sure I have noise in my setup.
>>
>> Here's a picture of my cabinet, which I actually took time to route wires
>> decently.
>> https://goo.gl/photos/AogjAzWHpGGysceQA
>>
>> I did my best to keep things separated, but there was only so much room.
>> I think my AutoDirect GS2 3HP vfd is probably too close to the 7i77,  Also,
>> the 80Vdc coming from the step down transformer and rectifier would add to
>> the noise.  Oh, to power the VFD I brought into an originally 120Vac 'only'
>> cabinet 240 single phase plus the noisy 3-phase motor output.
>>
>> I did go back and look at my notes and 2x I did get errors in 2.6.xx that
>> I ignored.  I typed the errors here from a screen shot (forgive my typing
>> errors):
>> hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0.  you may see this
>> error if the FPGA card read thread is not running.  This error message will
>> not repeat.
>>
>> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (13)
>> Communication error
>>
>> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (4) Extra
>> character
>>
>> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (3) Timeout
>> END ERRORS-
>>
>> I only saw those errors 2x and I'm going to guess that it was after I
>> upgraded the 7i77 firmware...
>> I think I was lulled into thinking the noise was OK.
>>
>> After that, I must have fiddled w/ the power supplies and haven't seen
>> those errors lately.
>>
>> Anyway, chasing the noise is a frustrating tail chasing exercise (for me
>> it seems).  I'd like to pretend it doesn't exist and stick my head in the
>> sand...
>>
>> Mark
>>
> --
> ___
> 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] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Gene Heskett
On Thursday 10 December 2015 12:49:17 Todd Zuercher wrote:

> I know you could pull single phase from the 3phase, but it is
> essentially that already, just coming from the panel on the wall
> instead of splitting at the machine. This machine is fed by 3 beakers
> on the panel. (I just checked) I was wrong before the 2 spindles are
> on one 208 3phase beaker, the 4 servo drives are on one 208 single
> phase, and the PC and other low voltage stuff is a 110 beaker.  All 3
> right in a row in the same panel box.  I guess there is the potential
> of a ground loop problem from these 3 separate feeds (that each have
> their own ground wire.)  What would be the right way to remedy this?

Common at the neutrals should not be a problem, but any connection from 
that neutral to the static ground & ground rods, other than the one 
usually in the meter head, is a no-no.  Basically, no neutral current 
should ever flow on the static ground system. If you can get an amprobe 
clamp around that static wire where it heads for the meter, and you see 
any current, something is miss-wired.  Break into each static by 
removing it from the insulated bus strip, put a short wire to extend it 
back to the strip, and measure each with the amprobe.  When you see a 
reading, start opening duplexes etc and find where its crossed.  Just in 
case the leakage is serious, handle that bare wire with insulated tool 
handles.  Any slight sparking when the wire is becoming disconnected 
would also be a good indicator.  Some might be the end equipments 
entrance noise filters but those will normally be well under .010 amps, 
unless they have failed.  And yes, I have seen them blown. :( The 
available volts in that case where they haven't failed but have lots of 
both sides to static bypassing should be slightly less than 1/2 the line 
voltage.

> - Original Message -
> From: "Gene Heskett" <ghesk...@wdtv.com>
> To: emc-users@lists.sourceforge.net
> Sent: Thursday, December 10, 2015 4:06:07 AM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:
> > Is there a way to issue a stop/start command to the sserial
> > interface on the 5i25?
> >
> > I am a little bit at a loss where to begin with looking for the
> > source of the possible noise issue.  Peter mentioned earlier some
> > things to check.  The DB25 cable is the one that came with the Mesa
> > plug and go kit, and is not routed near any power cables,  The power
> > source for the servo drives is 220 3 phase and the PC is on 110
> > single phase, arranging for them to use the same power source may be
> > difficult.
>
> Todd,  if the power company didn't use a wild leg (and I haven't seen
> one of those since back in the '50's of the last century) for the
> "220" 3 phase, but a true 3 phase circuit using a transformer per
> phase at the service pole, which today on this side of the pond is 254
> volts per phase, measured from phase to phase. The trick is to treat
> the "220" load as a delta load, where the 4th wire neutral is just for
> equipment grounding.  But, measuring that same set of 3 wires from
> each wire to the neutral, looking at it as a "wye" load should show
> nominally 127 volts to neutral for all 3 wires.  The critical
> measurement, to detect whether the power company used a wild leg, is
> to measure from each of those 3 hot wires, to a local ground rod. If
> one wire is way off the 127 reading, they've used a wild leg, which
> only needs 2 transformers on the service pole.
>
> If you get that 127, then just hook the PC to that and the neutral. 
> Any one of the hot wires will do.
>
> If you get an obviously higher reading on one wire, like above 140
> volts, don't hook the PC power to that one, but I would also rattle
> the power companies cage asking for a true 3 phase circuit.
>
> Cheers, Gene Heskett


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)
Some mill pix are at:
Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Belli Button
I've never been fond of the idea of removing the PC from its enclosure.
I've always thought that the steel case (PC cases are always steel I think)
shields the mother board from interference.

The PCi or other plug in cards have no support without an enclosure and I
have seen one that had been broken right off.

Just my 2c...



-Original Message-
From: Mark Johnsen [mailto:m...@ijohnsen.com] 
Sent: 10 December 2015 20:53
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

I'm sure I have noise in my setup.

Here's a picture of my cabinet, which I actually took time to route wires
decently.
https://goo.gl/photos/AogjAzWHpGGysceQA

I did my best to keep things separated, but there was only so much room.  I
think my AutoDirect GS2 3HP vfd is probably too close to the 7i77,  Also,
the 80Vdc coming from the step down transformer and rectifier would add to
the noise.  Oh, to power the VFD I brought into an originally 120Vac 'only'
cabinet 240 single phase plus the noisy 3-phase motor output.

I did go back and look at my notes and 2x I did get errors in 2.6.xx that I
ignored.  I typed the errors here from a screen shot (forgive my typing
errors):
hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0.  you may see this
error if the FPGA card read thread is not running.  This error message will
not repeat.

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (13)
Communication error

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (4) Extra
character

hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (3) Timeout
END ERRORS-

I only saw those errors 2x and I'm going to guess that it was after I
upgraded the 7i77 firmware...
I think I was lulled into thinking the noise was OK.

After that, I must have fiddled w/ the power supplies and haven't seen those
errors lately.

Anyway, chasing the noise is a frustrating tail chasing exercise (for me it
seems).  I'd like to pretend it doesn't exist and stick my head in the
sand...

Mark



>
> On Tue, 8 Dec 2015, Todd  Zuercher wrote:
>
> > Date: Tue, 8 Dec 2015 21:29:34 -0500 (EST)
> > From: Todd  Zuercher <zuerc...@embarqmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" 
> > <emc-users@lists.sourceforge.net
> >
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > It was a while ago that I upgraded things. So I can't say for sure 
> > what
> the
> > order of events were.  But I was running 2.7pre on this machine as 
> > soon
> as
> > it came out and I know I did not update the firmwares right away, 
> > and ran for a while just ignoring the notice to update them.  I 
> > don't think
> during
> > that time I had the problem with the smart serial errors until after 
> > I updated the firmwares, also about that same time I changed my 
> > config to
> run
> > at a higher rate, moving the hm2 read/rights and velocity loop for 
> > the servos to a floating point base thread.  I've been blaming the 
> > ss communication problems on the base thread speed being borderline 
> > too
> fast.
> > So for me the real question is what is the source of the problem, is 
> > it
> that
> > something in 2.7 is more sensitive to errors than before, is 
> > something in the new firmware making it more sensitive, something in 
> > 2.7 or the
> firmware
> > causing more errors than before, or is it my thread speed. I don't 
> > want
> to
> > blame electronic interference because it worked before for years and
> none of
> > that changed.  But in a way that probably is the real source, 
> > because it
> is
> > when powering on the machine(F2) after an e-stop when I most often 
> > see
> this
> > error (about half the time).  I'll check into these parameters and 
> > see
> if I
> > can tame it down to acceptable level.
>
> A extra character error is definately electrical noise related, it may 
> have been unreported by 2.6 though
>
> >
> > - Original Message -
> > From: "andy pugh" <bodge...@gmail.com>
> > To: "Enhanced Machine Controller (EMC)" 
> > <emc-users@lists.sourceforge.net
> >
> > Sent: Tuesday, December 8, 2015 8:44:11 PM
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com>
> wrote:
> >> How to set dec?  And what was it in prior versions?
> >
> > You set it like any other HAL paramete

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Gene Heskett
On Thursday 10 December 2015 13:52:42 Mark Johnsen wrote:

> I'm sure I have noise in my setup.
>
> Here's a picture of my cabinet, which I actually took time to route
> wires decently.
> https://goo.gl/photos/AogjAzWHpGGysceQA
>
That at first glance looks pretty decent, but I lost any resemblance to 
sharp when I tried to blow it up enough to see it.  It was only about 
2x3" on my screen.

> I did my best to keep things separated, but there was only so much
> room.  I think my AutoDirect GS2 3HP vfd is probably too close to the
> 7i77,  Also, the 80Vdc coming from the step down transformer and
> rectifier would add to the noise.  Oh, to power the VFD I brought into
> an originally 120Vac 'only' cabinet 240 single phase plus the noisy
> 3-phase motor output.
>
> I did go back and look at my notes and 2x I did get errors in 2.6.xx
> that I ignored.  I typed the errors here from a screen shot (forgive
> my typing errors):
> hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0.  you may see
> this error if the FPGA card read thread is not running.  This error
> message will not repeat.
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (13)
> Communication error
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (4)
> Extra character
>
> hm/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0o error = (3)
> Timeout END ERRORS-
>
> I only saw those errors 2x and I'm going to guess that it was after I
> upgraded the 7i77 firmware...
> I think I was lulled into thinking the noise was OK.
>
> After that, I must have fiddled w/ the power supplies and haven't seen
> those errors lately.
>
> Anyway, chasing the noise is a frustrating tail chasing exercise (for
> me it seems).  I'd like to pretend it doesn't exist and stick my head
> in the sand...
>
> Mark
>
> > On Tue, 8 Dec 2015, Todd  Zuercher wrote:
> > > Date: Tue, 8 Dec 2015 21:29:34 -0500 (EST)
> > > From: Todd  Zuercher <zuerc...@embarqmail.com>
> > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > <emc-users@lists.sourceforge.net>
> > > To: "Enhanced Machine Controller (EMC)"
> > > <emc-users@lists.sourceforge.net
> > >
> > > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> > >
> > > It was a while ago that I upgraded things. So I can't say for sure
> > > what
> >
> > the
> >
> > > order of events were.  But I was running 2.7pre on this machine as
> > > soon
> >
> > as
> >
> > > it came out and I know I did not update the firmwares right away,
> > > and ran for a while just ignoring the notice to update them.  I
> > > don't think
> >
> > during
> >
> > > that time I had the problem with the smart serial errors until
> > > after I updated the firmwares, also about that same time I changed
> > > my config to
> >
> > run
> >
> > > at a higher rate, moving the hm2 read/rights and velocity loop for
> > > the servos to a floating point base thread.  I've been blaming the
> > > ss communication problems on the base thread speed being
> > > borderline too
> >
> > fast.
> >
> > > So for me the real question is what is the source of the problem,
> > > is it
> >
> > that
> >
> > > something in 2.7 is more sensitive to errors than before, is
> > > something in the new firmware making it more sensitive, something
> > > in 2.7 or the
> >
> > firmware
> >
> > > causing more errors than before, or is it my thread speed. I don't
> > > want
> >
> > to
> >
> > > blame electronic interference because it worked before for years
> > > and
> >
> > none of
> >
> > > that changed.  But in a way that probably is the real source,
> > > because it
> >
> > is
> >
> > > when powering on the machine(F2) after an e-stop when I most often
> > > see
> >
> > this
> >
> > > error (about half the time).  I'll check into these parameters and
> > > see
> >
> > if I
> >
> > > can tame it down to acceptable level.
> >
> > A extra character error is definately electrical noise related, it
> > may have been unreported by 2.6 though
> >
> > > - Original Message -
> > > From: "andy pugh" <bodge...@gmail.com>
> > > To: "Enhanced Mac

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Todd Zuercher
I know you could pull single phase from the 3phase, but it is essentially that 
already, just coming from the panel on the wall instead of splitting at the 
machine. This machine is fed by 3 beakers on the panel. (I just checked) I was 
wrong before the 2 spindles are on one 208 3phase beaker, the 4 servo drives 
are on one 208 single phase, and the PC and other low voltage stuff is a 110 
beaker.  All 3 right in a row in the same panel box.  I guess there is the 
potential of a ground loop problem from these 3 separate feeds (that each have 
their own ground wire.)  What would be the right way to remedy this?   

- Original Message -
From: "Gene Heskett" <ghesk...@wdtv.com>
To: emc-users@lists.sourceforge.net
Sent: Thursday, December 10, 2015 4:06:07 AM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:

> Is there a way to issue a stop/start command to the sserial interface
> on the 5i25?
>
> I am a little bit at a loss where to begin with looking for the source
> of the possible noise issue.  Peter mentioned earlier some things to
> check.  The DB25 cable is the one that came with the Mesa plug and go
> kit, and is not routed near any power cables,  The power source for
> the servo drives is 220 3 phase and the PC is on 110 single phase,
> arranging for them to use the same power source may be difficult.

Todd,  if the power company didn't use a wild leg (and I haven't seen one 
of those since back in the '50's of the last century) for the "220" 3 
phase, but a true 3 phase circuit using a transformer per phase at the 
service pole, which today on this side of the pond is 254 volts per 
phase, measured from phase to phase. The trick is to treat the "220" 
load as a delta load, where the 4th wire neutral is just for equipment 
grounding.  But, measuring that same set of 3 wires from each wire to 
the neutral, looking at it as a "wye" load should show nominally 127 
volts to neutral for all 3 wires.  The critical measurement, to detect 
whether the power company used a wild leg, is to measure from each of 
those 3 hot wires, to a local ground rod. If one wire is way off the 127 
reading, they've used a wild leg, which only needs 2 transformers on the 
service pole.

If you get that 127, then just hook the PC to that and the neutral.  Any 
one of the hot wires will do.

If you get an obviously higher reading on one wire, like above 140 volts, 
don't hook the PC power to that one, but I would also rattle the power 
companies cage asking for a true 3 phase circuit.

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)
Some mill pix are at:
Genes Web page <http://geneslinuxbox.net:6309/gene/GO704-pix>

--
___
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] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Dave Cole
On 12/10/2015 11:06 AM, Gene Heskett wrote:
> On Thursday 10 December 2015 10:16:40 Dave Cole wrote:
>
>> On 12/10/2015 4:06 AM, Gene Heskett wrote:
>>> On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:
 Is there a way to issue a stop/start command to the sserial
 interface on the 5i25?

 I am a little bit at a loss where to begin with looking for the
 source of the possible noise issue.  Peter mentioned earlier some
 things to check.  The DB25 cable is the one that came with the Mesa
 plug and go kit, and is not routed near any power cables,  The
 power source for the servo drives is 220 3 phase and the PC is on
 110 single phase, arranging for them to use the same power source
 may be difficult.
>>> Todd,  if the power company didn't use a wild leg (and I haven't
>>> seen one of those since back in the '50's of the last century) for
>>> the "220" 3 phase, but a true 3 phase circuit using a transformer
>>> per phase at the service pole, which today on this side of the pond
>>> is 254 volts per phase, measured from phase to phase. The trick is
>>> to treat the "220" load as a delta load, where the 4th wire neutral
>>> is just for equipment grounding.  But, measuring that same set of 3
>>> wires from each wire to the neutral, looking at it as a "wye" load
>>> should show nominally 127 volts to neutral for all 3 wires.  The
>>> critical measurement, to detect whether the power company used a
>>> wild leg, is to measure from each of those 3 hot wires, to a local
>>> ground rod. If one wire is way off the 127 reading, they've used a
>>> wild leg, which only needs 2 transformers on the service pole.
>>>
>>> If you get that 127, then just hook the PC to that and the neutral.
>>> Any one of the hot wires will do.
>>>
>>> If you get an obviously higher reading on one wire, like above 140
>>> volts, don't hook the PC power to that one, but I would also rattle
>>> the power companies cage asking for a true 3 phase circuit.
>>>
>>> Cheers, Gene Heskett
>> I worked with another company who installed a machine in the sticks of
>> Alabama just two years ago and they had 3 phase power supplied to a
>> plant that way.
>> The installer was outside studying the transformer setup on the pole
>> when he called me and said there were only two transformers and was
>> asking how could that ever work.   He muttered something about the
>> plant saying that they had a "wild leg" and I had to look it up on the
>> internet. I had never heard of it before then.   But it is still
>> around.  The machine had a 30 hp motor on it running a hydraulic power
>> unit and it was shipped wired for 480 3 phase, so the installer had to
>> make a few changes to the machine also.The rural electric power
>> company people came out to explain how it would work to the installer.
>>   The installer was afraid to start up the machine since he was afraid
>> everything would burn up with the "wild leg".  :-)  The term "wild
>> leg" doesn't exactly inspire confidence.
>>
>> Years later and it is still running.
> Till it fails.  The grounds on ANYTHING a human can touch ought to be
> verified in good condition daily.  A tower climber named Walter Dooer
> that I used a couple times up in Iron Mountain had a day job at a
> foundry over in Kingsford, helped us pull the 8 bay ch8 antenna down so
> I could replace some worn thru & leaking feed lines, got it down & went
> back to work at the foundry the next morning, and something in the
> pendent that ran an overhead hoist, all of which ran on 480 volts,
> apparently shorted to that third leg, which was over 600 volts and when
> Walter grabbed it to run the hoist, it punched thru his shoes, or he was
> leaning against the steel guard rails of the walkway, whatever. That was
> the last thing Walter ever grabbed, I went to the services 2 days later
> in Crystal Falls.  Walter was a good man, but left a wife already
> suffering from dementia.
>
> I didn't trust it then, and I damned sure don't trust it now after it
> cost me a good friend. That 480 volt circuits wild leg, by the formula
> given by the wiki, is 832 volts.  Scaled up to todays voltage standards
> where the 120 is replaced by 127, the phase to phase voltage is now 508.
> And the wild leg, if I punched all the buttons right, is 880 volts.
> Theres not many survivors who have ever been in contact with that high a
> voltage.
>
>> https://en.wikipedia.org/wiki/High-leg_delta
>>
>> Dave
>>
>>
>>
>> --
>>  ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Cheers, Gene Heskett

Its not that high, voltage wise.  Or at least it should not be... Still, 
plenty hot enough to kill someone.

http://www.ccontrolsys.com/w/Four_Wire_Delta_Circuits

I've bumped into 277 volts (480 to ground) only once 20+ years ago on 

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Dave Cole
On 12/10/2015 4:06 AM, Gene Heskett wrote:
> On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:
>
>> Is there a way to issue a stop/start command to the sserial interface
>> on the 5i25?
>>
>> I am a little bit at a loss where to begin with looking for the source
>> of the possible noise issue.  Peter mentioned earlier some things to
>> check.  The DB25 cable is the one that came with the Mesa plug and go
>> kit, and is not routed near any power cables,  The power source for
>> the servo drives is 220 3 phase and the PC is on 110 single phase,
>> arranging for them to use the same power source may be difficult.
> Todd,  if the power company didn't use a wild leg (and I haven't seen one
> of those since back in the '50's of the last century) for the "220" 3
> phase, but a true 3 phase circuit using a transformer per phase at the
> service pole, which today on this side of the pond is 254 volts per
> phase, measured from phase to phase. The trick is to treat the "220"
> load as a delta load, where the 4th wire neutral is just for equipment
> grounding.  But, measuring that same set of 3 wires from each wire to
> the neutral, looking at it as a "wye" load should show nominally 127
> volts to neutral for all 3 wires.  The critical measurement, to detect
> whether the power company used a wild leg, is to measure from each of
> those 3 hot wires, to a local ground rod. If one wire is way off the 127
> reading, they've used a wild leg, which only needs 2 transformers on the
> service pole.
>
> If you get that 127, then just hook the PC to that and the neutral.  Any
> one of the hot wires will do.
>
> If you get an obviously higher reading on one wire, like above 140 volts,
> don't hook the PC power to that one, but I would also rattle the power
> companies cage asking for a true 3 phase circuit.
>
> Cheers, Gene Heskett

I worked with another company who installed a machine in the sticks of 
Alabama just two years ago and they had 3 phase power supplied to a 
plant that way.
The installer was outside studying the transformer setup on the pole 
when he called me and said there were only two transformers and was 
asking how could that ever work.   He muttered something about the plant 
saying that they had a "wild leg" and I had to look it up on the internet.
I had never heard of it before then.   But it is still around.  The 
machine had a 30 hp motor on it running a hydraulic power unit and it 
was shipped wired for 480 3 phase, so the installer had to make a few 
changes to the machine also.The rural electric power company people 
came out to explain how it would work to the installer.  The installer 
was afraid to start up the machine since he was afraid everything would 
burn up with the "wild leg".  :-)  The term "wild leg" doesn't exactly 
inspire confidence.

Years later and it is still running.

https://en.wikipedia.org/wiki/High-leg_delta

Dave



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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-10 Thread Gene Heskett
On Thursday 10 December 2015 10:16:40 Dave Cole wrote:

> On 12/10/2015 4:06 AM, Gene Heskett wrote:
> > On Wednesday 09 December 2015 23:30:15 Todd Zuercher wrote:
> >> Is there a way to issue a stop/start command to the sserial
> >> interface on the 5i25?
> >>
> >> I am a little bit at a loss where to begin with looking for the
> >> source of the possible noise issue.  Peter mentioned earlier some
> >> things to check.  The DB25 cable is the one that came with the Mesa
> >> plug and go kit, and is not routed near any power cables,  The
> >> power source for the servo drives is 220 3 phase and the PC is on
> >> 110 single phase, arranging for them to use the same power source
> >> may be difficult.
> >
> > Todd,  if the power company didn't use a wild leg (and I haven't
> > seen one of those since back in the '50's of the last century) for
> > the "220" 3 phase, but a true 3 phase circuit using a transformer
> > per phase at the service pole, which today on this side of the pond
> > is 254 volts per phase, measured from phase to phase. The trick is
> > to treat the "220" load as a delta load, where the 4th wire neutral
> > is just for equipment grounding.  But, measuring that same set of 3
> > wires from each wire to the neutral, looking at it as a "wye" load
> > should show nominally 127 volts to neutral for all 3 wires.  The
> > critical measurement, to detect whether the power company used a
> > wild leg, is to measure from each of those 3 hot wires, to a local
> > ground rod. If one wire is way off the 127 reading, they've used a
> > wild leg, which only needs 2 transformers on the service pole.
> >
> > If you get that 127, then just hook the PC to that and the neutral. 
> > Any one of the hot wires will do.
> >
> > If you get an obviously higher reading on one wire, like above 140
> > volts, don't hook the PC power to that one, but I would also rattle
> > the power companies cage asking for a true 3 phase circuit.
> >
> > Cheers, Gene Heskett
>
> I worked with another company who installed a machine in the sticks of
> Alabama just two years ago and they had 3 phase power supplied to a
> plant that way.
> The installer was outside studying the transformer setup on the pole
> when he called me and said there were only two transformers and was
> asking how could that ever work.   He muttered something about the
> plant saying that they had a "wild leg" and I had to look it up on the
> internet. I had never heard of it before then.   But it is still
> around.  The machine had a 30 hp motor on it running a hydraulic power
> unit and it was shipped wired for 480 3 phase, so the installer had to
> make a few changes to the machine also.The rural electric power
> company people came out to explain how it would work to the installer.
>  The installer was afraid to start up the machine since he was afraid
> everything would burn up with the "wild leg".  :-)  The term "wild
> leg" doesn't exactly inspire confidence.
>
> Years later and it is still running.

Till it fails.  The grounds on ANYTHING a human can touch ought to be 
verified in good condition daily.  A tower climber named Walter Dooer 
that I used a couple times up in Iron Mountain had a day job at a 
foundry over in Kingsford, helped us pull the 8 bay ch8 antenna down so 
I could replace some worn thru & leaking feed lines, got it down & went 
back to work at the foundry the next morning, and something in the 
pendent that ran an overhead hoist, all of which ran on 480 volts, 
apparently shorted to that third leg, which was over 600 volts and when 
Walter grabbed it to run the hoist, it punched thru his shoes, or he was 
leaning against the steel guard rails of the walkway, whatever. That was 
the last thing Walter ever grabbed, I went to the services 2 days later 
in Crystal Falls.  Walter was a good man, but left a wife already 
suffering from dementia.

I didn't trust it then, and I damned sure don't trust it now after it 
cost me a good friend. That 480 volt circuits wild leg, by the formula 
given by the wiki, is 832 volts.  Scaled up to todays voltage standards 
where the 120 is replaced by 127, the phase to phase voltage is now 508.
And the wild leg, if I punched all the buttons right, is 880 volts.  
Theres not many survivors who have ever been in contact with that high a 
voltage.

> https://en.wikipedia.org/wiki/High-leg_delta
>
> Dave
>
>
>
> --
> ___
> 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)
Some mill pix are at:
Genes Web page 

--

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-09 Thread andy pugh
On 9 December 2015 at 21:21, Todd  Zuercher
 wrote:
> I looked at that a bit, and messed about with those fault parameters but it 
> didn't seem to make any difference.

You might need to set them in the HAL file rather than "live" when it
is too late.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-09 Thread Todd Zuercher
I looked at that a bit, and messed about with those fault parameters but it 
didn't seem to make any difference.

I had hoped that I could at least use sserial.port-N.run to restart the thing 
without shutting down Linuxcnc, but that didn't work for me either, just gave 
more error messages (see attachment).

Is there a way to reset the 5i25/7i77 without restarting Linuxcnc?

- Original Message -
From: "andy pugh" <bodge...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Tuesday, December 8, 2015 8:44:11 PM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com> wrote:
> How to set dec?  And what was it in prior versions?

You set it like any other HAL parameter. Details are there if you look
at man sserial

setp hm2_5i24.0.sserial.port-N.fault-inc 0

Will disable all smart-serial fault reporting.

Naturally you will have to use parameters that actually exist in your
configuration.

The values haven't changed, but something else has, I am not sure what.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (7) Too many 
errors

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (7) Too many 
errors

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (8) Remote fault

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (7) Too many 
errors

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) 
Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (7) Too many 
errors

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (7) Too many 
errors

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.1 error = (14) No Remote ID

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (15) 
Communication Not Ready

hm2/hm2_5i25

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-09 Thread Peter C. Wallace
On Wed, 9 Dec 2015, Todd  Zuercher wrote:

> Date: Wed, 9 Dec 2015 16:21:22 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> I looked at that a bit, and messed about with those fault parameters but it 
> didn't seem to make any difference.
>
> I had hoped that I could at least use sserial.port-N.run to restart the thing 
> without shutting down Linuxcnc, but that didn't work for me either, just gave 
> more error messages (see attachment).
>
> Is there a way to reset the 5i25/7i77 without restarting Linuxcnc?

Setting sserial run false and then setting it true again should reset all 
state but I dont think it clears any remote faults

That requires issuing a stop command to the sserial interface on the 5I25
and then issuing a start command and it looks like setting run false and true 
again does not do this.


Have you looked at possible electrical noise issues?




>
> - Original Message -
> From: "andy pugh" <bodge...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 8:44:11 PM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com> wrote:
>> How to set dec?  And what was it in prior versions?
>
> You set it like any other HAL parameter. Details are there if you look
> at man sserial
>
> setp hm2_5i24.0.sserial.port-N.fault-inc 0
>
> Will disable all smart-serial fault reporting.
>
> Naturally you will have to use parameters that actually exist in your
> configuration.
>
> The values haven't changed, but something else has, I am not sure what.
>
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
> --
> ___
> 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.


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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-09 Thread Todd Zuercher
Is there a way to issue a stop/start command to the sserial interface on the 
5i25?

I am a little bit at a loss where to begin with looking for the source of the 
possible noise issue.  Peter mentioned earlier some things to check.  The DB25 
cable is the one that came with the Mesa plug and go kit, and is not routed 
near any power cables,  The power source for the servo drives is 220 3 phase 
and the PC is on 110 single phase, arranging for them to use the same power 
source may be difficult. 

- Original Message -
From: "Peter C. Wallace" <p...@mesanet.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Wednesday, December 9, 2015 7:07:33 PM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On Wed, 9 Dec 2015, Todd  Zuercher wrote:

> Date: Wed, 9 Dec 2015 16:21:22 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> I looked at that a bit, and messed about with those fault parameters but it 
> didn't seem to make any difference.
>
> I had hoped that I could at least use sserial.port-N.run to restart the thing 
> without shutting down Linuxcnc, but that didn't work for me either, just gave 
> more error messages (see attachment).
>
> Is there a way to reset the 5i25/7i77 without restarting Linuxcnc?

Setting sserial run false and then setting it true again should reset all 
state but I dont think it clears any remote faults

That requires issuing a stop command to the sserial interface on the 5I25
and then issuing a start command and it looks like setting run false and true 
again does not do this.


Have you looked at possible electrical noise issues?




>
> - Original Message -
> From: "andy pugh" <bodge...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 8:44:11 PM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com> wrote:
>> How to set dec?  And what was it in prior versions?
>
> You set it like any other HAL parameter. Details are there if you look
> at man sserial
>
> setp hm2_5i24.0.sserial.port-N.fault-inc 0
>
> Will disable all smart-serial fault reporting.
>
> Naturally you will have to use parameters that actually exist in your
> configuration.
>
> The values haven't changed, but something else has, I am not sure what.
>
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
> --
> ___
> 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.


--
___
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] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread andy pugh
On 8 December 2015 at 05:46, Mark Johnsen  wrote:
> I have the same issue and haven't been able to find a solution when I
> upgraded from 2.6.8  (?) to 2.7.0.  First I updated the firmware on my 5i25
> & 7i77.  When I would run 2.7.0 I would get the following communication
> error.
> [   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been
> more than 1 errors in 10 thread executions at least 200 times. See other
> error messages for details.
> [   87.831908] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

I am not sure what, if anything, changed between the software
versions. I can try doing some archaeology.
Swapping hard-drives seems crazy.
If you want to risk it, you can simply mask the errors using the
parameters fault-inc, fault-dec and fault-lim for the sserial port.

man sserial for further details.

However, the default values for those parameters mean that you need to
be seeing errors more than 1 time in 10 consistently for the error to
trip.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Todd Zuercher
If it's any consolation, I've also been seeing smart serial errors on a machine 
with a 5i25/7i77 combo after upgrading to 2.7 and updating the firmwares. I was 
chalking my problems up to the fact that I'm reading/writing to the 7i77 at 5x 
the normal speed and maybe some problems with relays.  But they weren't a 
problem before the upgrade and the system was working fine until then (a couple 
of years.)  

Rather than swapping out hard drives, why not just install a run in place 
version of 2.7 on your 2.6 installed disk. Then when you want to do a run with 
2.7 all you'd need to do is start the RIP from the command line.  No messing 
about with the hardware needed.

- Original Message -
From: "Mark Johnsen" <m...@ijohnsen.com>
To: emc-users@lists.sourceforge.net
Sent: Tuesday, December 8, 2015 12:46:11 AM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

Stephen,

I have the same issue and haven't been able to find a solution when I
upgraded from 2.6.8  (?) to 2.7.0.  First I updated the firmware on my 5i25
& 7i77.  When I would run 2.7.0 I would get the following communication
error.
[   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been
more than 1 errors in 10 thread executions at least 200 times. See other
error messages for details.
[   87.831908] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

 I could jog anywhere from 2 seconds to 10 seconds and LinuxCNC would
inform me of the error and shut down the 7i77 card.  Only way to restart
was to restart linuxcnc (that I found).

The suggestion was that the 5vdc power supply powering the 7i77 was the
problem potentially drawing too much current and lowering the voltage
outside the 7i77 10% 5vdc range.  I had been running the 7i77 from the PC
through the 5i25 and over the cable and doing this for months.  So, I first
tried a 3amp 5Vdc wal wart (that I bought at some electronic store for too
much$$$) and that didn't make a difference, then I bought a meanwell 5vdc
power supply from jameco.  I would say that the meanwell holds a steady
5.1Vdc, but that didn't work either.

I did upgrade to 2.7.2 and that seemed to work better.  At least I could
jog longer or even run a program, but in the end, I still got the
communication errors.  When I did run the program, I had a 24vdc Ice cube
relay (omron, idec type) for the lube pump and I had pulled it and didn't
use it (too much lube).  I wonder if that was an issue because I had
forgotten I had it out, put it in the relay socket 2/3rds through a
program, and at the END of my cnc program, I got the errors for the
communication.  In the mesa 7i77 manual, it does say that the 24vdc outputs
do NOT need diodes, which I would normally use for a relay like this.  Not
sure I need it.  Didn't add one, but I didn't think that would be the
problem.

Anyway, I have 2 harddrives that I swap between now and have the latest
2.6.11 (or is 10, I forget) on one harddrive and I can run that all day
long.  The 2nd harddrive has 2.7.2 and I don't run it at the moment because
I don't feel comfortable that it will work.  I had been meaning to
troubleshoot more and re-install the 2.7.2 harddrive (and upgrade to
2.7.3), but haven't gotten round tuit it...

One thing that I don't understand is that in the 2.7 upgrade instructions,
there's a line item:
2.1.2. Hostmot2 dpll
The Hostmot2 dpll’s default time constant has been changed from 40960 to
2000. The original value could occasionally lead to following errors when
software like ntpd and ntpdate adjusted the rate of the linux
CLOCK_MONOTONIC time source by up to 1000ppm in a single step. The new
value allows the dpll to adjust to the change in the base period frequency
without error.

I don't know enough to know how that affects me, nor if that would be a
problem (probably not), but it's a statement and I didn't do anything for
it in the upgrade (like removing pet_watchdog).

Anyway, I hope we can find a solution, I'm a bit perplexed by it...  I
can't look at it too much this week, but maybe next I can work on it more.

Oh - one more thing is that I did have in my possession for about 1 week
(thank you Peter & Katherine!) a brand new 5i25/7i77 combo and got the same
errors.  So, we're apparently doing something here, just not sure what it
is.

Regards,
Mark


--
>
> Message: 3
> Date: Mon, 7 Dec 2015 21:29:54 -0500
> From: Stephen Dubovsky <smdubov...@gmail.com>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> Message-ID:
> <
> caopja+aqe_4hdozokhsnwggkwiy7vseftjzgzwmgqdfzdrq...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Ok, updated the 7i77 per your instructions.  That seemed to work.  It got
> rid of the messages when 2.7.3 starts up.  So far so good,
>
> When I now F2 enable the machine 

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Peter C. Wallace
On Tue, 8 Dec 2015, Todd  Zuercher wrote:

> Date: Tue, 8 Dec 2015 10:42:24 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> If it's any consolation, I've also been seeing smart serial errors on a 
> machine with a 5i25/7i77 combo after upgrading to 2.7 and updating the 
> firmwares. I was chalking my problems up to the fact that I'm 
> reading/writing to the 7i77 at 5x the normal speed and maybe some problems 
> with relays.  But they weren't a problem before the upgrade and the system 
> was working fine until then (a couple of years.)



Can you post a dmesg log of the sserial errors?

AFAIK the only change is that 2.7 has more complete error reporting


(the firmware changes on the 5I25 and 7I77 are just bug fixes)


Peter Wallace
Mesa Electronics



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Todd Zuercher
If someone would give me some quick instructions how best to get the dmesq log 
of the sserial errors, I'll gladly do it.  (I'm not the most fluent Linux 
user.)  

Thanks for the attention, Peter I know you guys have been terribly busy lately.

- Original Message -
From: "Peter C. Wallace" <p...@mesanet.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Tuesday, December 8, 2015 11:44:06 AM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On Tue, 8 Dec 2015, Todd  Zuercher wrote:

> Date: Tue, 8 Dec 2015 10:42:24 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> If it's any consolation, I've also been seeing smart serial errors on a 
> machine with a 5i25/7i77 combo after upgrading to 2.7 and updating the 
> firmwares. I was chalking my problems up to the fact that I'm 
> reading/writing to the 7i77 at 5x the normal speed and maybe some problems 
> with relays.  But they weren't a problem before the upgrade and the system 
> was working fine until then (a couple of years.)



Can you post a dmesg log of the sserial errors?

AFAIK the only change is that 2.7 has more complete error reporting


(the firmware changes on the 5I25 and 7I77 are just bug fixes)


Peter Wallace
Mesa Electronics



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Peter C. Wallace
On Tue, 8 Dec 2015, Todd  Zuercher wrote:

> Date: Tue, 8 Dec 2015 15:14:06 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> If someone would give me some quick instructions how best to get the dmesq 
> log of the sserial errors, I'll gladly do it.  (I'm not the most fluent Linux 
> user.)
>
> Thanks for the attention, Peter I know you guys have been terribly busy 
> lately.

in a terminal:

sudo dmesg -C  (this clears the log)

(start linuxcnc, wait for sserial error)

dmesg > log.txt

and then include log.txt in a email or post it somewhere



>
> - Original Message -
> From: "Peter C. Wallace" <p...@mesanet.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 11:44:06 AM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On Tue, 8 Dec 2015, Todd  Zuercher wrote:
>
>> Date: Tue, 8 Dec 2015 10:42:24 -0500 (EST)
>> From: Todd  Zuercher <zuerc...@embarqmail.com>
>> Reply-To: "Enhanced Machine Controller (EMC)"
>> <emc-users@lists.sourceforge.net>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>>
>> If it's any consolation, I've also been seeing smart serial errors on a
>> machine with a 5i25/7i77 combo after upgrading to 2.7 and updating the
>> firmwares. I was chalking my problems up to the fact that I'm
>> reading/writing to the 7i77 at 5x the normal speed and maybe some problems
>> with relays.  But they weren't a problem before the upgrade and the system
>> was working fine until then (a couple of years.)
>
>
>
> Can you post a dmesg log of the sserial errors?
>
> AFAIK the only change is that 2.7 has more complete error reporting
>
>
> (the firmware changes on the 5I25 and 7I77 are just bug fixes)
>
>
> Peter Wallace
> Mesa Electronics
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> 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.


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Todd Zuercher
Here it is.

- Original Message -
From: "Peter C. Wallace" <p...@mesanet.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Tuesday, December 8, 2015 3:19:10 PM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On Tue, 8 Dec 2015, Todd  Zuercher wrote:

> Date: Tue, 8 Dec 2015 15:14:06 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> If someone would give me some quick instructions how best to get the dmesq 
> log of the sserial errors, I'll gladly do it.  (I'm not the most fluent Linux 
> user.)
>
> Thanks for the attention, Peter I know you guys have been terribly busy 
> lately.

in a terminal:

sudo dmesg -C  (this clears the log)

(start linuxcnc, wait for sserial error)

dmesg > log.txt

and then include log.txt in a email or post it somewhere



>
> - Original Message -
> From: "Peter C. Wallace" <p...@mesanet.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 11:44:06 AM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On Tue, 8 Dec 2015, Todd  Zuercher wrote:
>
>> Date: Tue, 8 Dec 2015 10:42:24 -0500 (EST)
>> From: Todd  Zuercher <zuerc...@embarqmail.com>
>> Reply-To: "Enhanced Machine Controller (EMC)"
>> <emc-users@lists.sourceforge.net>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>>
>> If it's any consolation, I've also been seeing smart serial errors on a
>> machine with a 5i25/7i77 combo after upgrading to 2.7 and updating the
>> firmwares. I was chalking my problems up to the fact that I'm
>> reading/writing to the 7i77 at 5x the normal speed and maybe some problems
>> with relays.  But they weren't a problem before the upgrade and the system
>> was working fine until then (a couple of years.)
>
>
>
> Can you post a dmesg log of the sserial errors?
>
> AFAIK the only change is that 2.7 has more complete error reporting
>
>
> (the firmware changes on the 5I25 and 7I77 are just bug fixes)
>
>
> Peter Wallace
> Mesa Electronics
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> 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.


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
[1928362.261666] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = 
(13) Communication error
[1928362.261673] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = 
(4) Extra character
[1928362.261857] hm2/hm2_

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Peter C. Wallace

OK those are all incoming extra character errors, most likely from noise 
induced in the DB25 cable (possibly from a ground loop or possibly from 
magnetic coupling to nearby noisy power lines)

It must be that they are ignored in 2.6.x (they are not harmful and I dont see 
any timeouts or CRC errors that indicate worse transmission errors)

That is, a corrupted outgoing message would cause a CRC error at the 7I77 end 
and that would cause the 7I77 to not respond, in turn causing a timeout 
error on the host end, since these are not seen, it looks to be only host 
(FPGA) side RX UART noise sensing

Possible software fixes are having the driver ignore this error (as apparently 
2.6 does) or changing the FPGA firmware to make it less succeptable to noise 
spikes generating extra characters

Electrical fixes could be shortening / re-routing the DB25 cable or if the 
problem is a ground loop, making sure the PC's AC power comes from the same 
source as the servo drives. Another possibility is adding common mode chokes 
(a large ferrite bead with the 2 wire fed through) to all the analog output 
pairs (AGND,AOUT) going to the drives.



Peter Wallace

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread andy pugh
On 8 December 2015 at 23:25, Peter C. Wallace  wrote:
> Possible software fixes are having the driver ignore this error (as apparently
> 2.6 does)

There are parameters for smartserial that allow you to mask errors.
Set dec > inc and the threshold for error reporting will never be hit.

Every servo thread the error count is decremented by dec, and is
incrmented by inc if there is an error. If the threshold is hit, then
an error is reported and the smart-serial port stops.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Stephen Dubovsky
How to set dec?  And what was it in prior versions?

On Tue, Dec 8, 2015 at 7:49 PM, andy pugh  wrote:

> On 8 December 2015 at 23:25, Peter C. Wallace  wrote:
> > Possible software fixes are having the driver ignore this error (as
> apparently
> > 2.6 does)
>
> There are parameters for smartserial that allow you to mask errors.
> Set dec > inc and the threshold for error reporting will never be hit.
>
> Every servo thread the error count is decremented by dec, and is
> incrmented by inc if there is an error. If the threshold is hit, then
> an error is reported and the smart-serial port stops.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> ___
> 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] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Todd Zuercher
It was a while ago that I upgraded things. So I can't say for sure what the 
order of events were.  But I was running 2.7pre on this machine as soon as it 
came out and I know I did not update the firmwares right away, and ran for a 
while just ignoring the notice to update them.  I don't think during that time 
I had the problem with the smart serial errors until after I updated the 
firmwares, also about that same time I changed my config to run at a higher 
rate, moving the hm2 read/rights and velocity loop for the servos to a floating 
point base thread.  I've been blaming the ss communication problems on the base 
thread speed being borderline too fast.  So for me the real question is what is 
the source of the problem, is it that something in 2.7 is more sensitive to 
errors than before, is something in the new firmware making it more sensitive, 
something in 2.7 or the firmware causing more errors than before, or is it my 
thread speed. I don't want to blame electronic interference becaus
 e it worked before for years and none of that changed.  But in a way that 
probably is the real source, because it is when powering on the machine(F2) 
after an e-stop when I most often see this error (about half the time).  I'll 
check into these parameters and see if I can tame it down to acceptable level.

- Original Message -
From: "andy pugh" <bodge...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Tuesday, December 8, 2015 8:44:11 PM
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com> wrote:
> How to set dec?  And what was it in prior versions?

You set it like any other HAL parameter. Details are there if you look
at man sserial

setp hm2_5i24.0.sserial.port-N.fault-inc 0

Will disable all smart-serial fault reporting.

Naturally you will have to use parameters that actually exist in your
configuration.

The values haven't changed, but something else has, I am not sure what.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
___
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] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread andy pugh
On 9 December 2015 at 01:21, Stephen Dubovsky  wrote:
> How to set dec?  And what was it in prior versions?

You set it like any other HAL parameter. Details are there if you look
at man sserial

setp hm2_5i24.0.sserial.port-N.fault-inc 0

Will disable all smart-serial fault reporting.

Naturally you will have to use parameters that actually exist in your
configuration.

The values haven't changed, but something else has, I am not sure what.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Peter C. Wallace
On Tue, 8 Dec 2015, Todd  Zuercher wrote:

> Date: Tue, 8 Dec 2015 21:29:34 -0500 (EST)
> From: Todd  Zuercher <zuerc...@embarqmail.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> 
> It was a while ago that I upgraded things. So I can't say for sure what the 
> order of events were.  But I was running 2.7pre on this machine as soon as 
> it came out and I know I did not update the firmwares right away, and ran 
> for a while just ignoring the notice to update them.  I don't think during 
> that time I had the problem with the smart serial errors until after I 
> updated the firmwares, also about that same time I changed my config to run 
> at a higher rate, moving the hm2 read/rights and velocity loop for the 
> servos to a floating point base thread.  I've been blaming the ss 
> communication problems on the base thread speed being borderline too fast. 
> So for me the real question is what is the source of the problem, is it that 
> something in 2.7 is more sensitive to errors than before, is something in 
> the new firmware making it more sensitive, something in 2.7 or the firmware 
> causing more errors than before, or is it my thread speed. I don't want to 
> blame electronic interference because it worked before for years and none of 
> that changed.  But in a way that probably is the real source, because it is 
> when powering on the machine(F2) after an e-stop when I most often see this 
> error (about half the time).  I'll check into these parameters and see if I 
> can tame it down to acceptable level.

A extra character error is definately electrical noise related, it may have 
been unreported by 2.6 though

>
> - Original Message -
> From: "andy pugh" <bodge...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 8:44:11 PM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On 9 December 2015 at 01:21, Stephen Dubovsky <smdubov...@gmail.com> wrote:
>> How to set dec?  And what was it in prior versions?
>
> You set it like any other HAL parameter. Details are there if you look
> at man sserial
>
> setp hm2_5i24.0.sserial.port-N.fault-inc 0
>
> Will disable all smart-serial fault reporting.
>
> Naturally you will have to use parameters that actually exist in your
> configuration.
>
> The values haven't changed, but something else has, I am not sure what.
>
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
> --
> ___
> 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
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


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


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-08 Thread Stephen Dubovsky
I can generate mine tonight but it looks exactly the same.

On Tue, Dec 8, 2015 at 3:26 PM, Todd Zuercher <zuerc...@embarqmail.com>
wrote:

> Here it is.
>
> - Original Message -
> From: "Peter C. Wallace" <p...@mesanet.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Tuesday, December 8, 2015 3:19:10 PM
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
>
> On Tue, 8 Dec 2015, Todd  Zuercher wrote:
>
> > Date: Tue, 8 Dec 2015 15:14:06 -0500 (EST)
> > From: Todd  Zuercher <zuerc...@embarqmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > If someone would give me some quick instructions how best to get the
> dmesq log of the sserial errors, I'll gladly do it.  (I'm not the most
> fluent Linux user.)
> >
> > Thanks for the attention, Peter I know you guys have been terribly busy
> lately.
>
> in a terminal:
>
> sudo dmesg -C  (this clears the log)
>
> (start linuxcnc, wait for sserial error)
>
> dmesg > log.txt
>
> and then include log.txt in a email or post it somewhere
>
>
>
> >
> > ----- Original Message -----
> > From: "Peter C. Wallace" <p...@mesanet.com>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Sent: Tuesday, December 8, 2015 11:44:06 AM
> > Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >
> > On Tue, 8 Dec 2015, Todd  Zuercher wrote:
> >
> >> Date: Tue, 8 Dec 2015 10:42:24 -0500 (EST)
> >> From: Todd  Zuercher <zuerc...@embarqmail.com>
> >> Reply-To: "Enhanced Machine Controller (EMC)"
> >> <emc-users@lists.sourceforge.net>
> >> To: "Enhanced Machine Controller (EMC)" <
> emc-users@lists.sourceforge.net>
> >> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> >>
> >> If it's any consolation, I've also been seeing smart serial errors on a
> >> machine with a 5i25/7i77 combo after upgrading to 2.7 and updating the
> >> firmwares. I was chalking my problems up to the fact that I'm
> >> reading/writing to the 7i77 at 5x the normal speed and maybe some
> problems
> >> with relays.  But they weren't a problem before the upgrade and the
> system
> >> was working fine until then (a couple of years.)
> >
> >
> >
> > Can you post a dmesg log of the sserial errors?
> >
> > AFAIK the only change is that 2.7 has more complete error reporting
> >
> >
> > (the firmware changes on the 5I25 and 7I77 are just bug fixes)
> >
> >
> > Peter Wallace
> > Mesa Electronics
> >
> >
> >
> >
> --
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> --
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> > ___
> > 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.
>
>
>
> --
> Go from Idea to Many

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-07 Thread Peter C. Wallace

On Mon, 7 Dec 2015, Mark Johnsen wrote:


Date: Mon, 7 Dec 2015 21:46:11 -0800
From: Mark Johnsen <m...@ijohnsen.com>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

Stephen,


Can you post a link to the entire dmesg list after you get a sserial error?

(clearing the log before you start linuxcnc )

that is from a terminal window:

sudo dmesg -C  (clear the existing messages)

(run linuxcnc until you get the sserial error)

dmesg > log.txt

and post log.txt



I have the same issue and haven't been able to find a solution when I
upgraded from 2.6.8  (?) to 2.7.0.  First I updated the firmware on my 5i25
& 7i77.  When I would run 2.7.0 I would get the following communication
error.
[   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been
more than 1 errors in 10 thread executions at least 200 times. See other
error messages for details.
[   87.831908] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

 I could jog anywhere from 2 seconds to 10 seconds and LinuxCNC would
inform me of the error and shut down the 7i77 card.  Only way to restart
was to restart linuxcnc (that I found).

The suggestion was that the 5vdc power supply powering the 7i77 was the
problem potentially drawing too much current and lowering the voltage
outside the 7i77 10% 5vdc range.  I had been running the 7i77 from the PC
through the 5i25 and over the cable and doing this for months.  So, I first
tried a 3amp 5Vdc wal wart (that I bought at some electronic store for too
much$$$) and that didn't make a difference, then I bought a meanwell 5vdc
power supply from jameco.  I would say that the meanwell holds a steady
5.1Vdc, but that didn't work either.

I did upgrade to 2.7.2 and that seemed to work better.  At least I could
jog longer or even run a program, but in the end, I still got the
communication errors.  When I did run the program, I had a 24vdc Ice cube
relay (omron, idec type) for the lube pump and I had pulled it and didn't
use it (too much lube).  I wonder if that was an issue because I had
forgotten I had it out, put it in the relay socket 2/3rds through a
program, and at the END of my cnc program, I got the errors for the
communication.  In the mesa 7i77 manual, it does say that the 24vdc outputs
do NOT need diodes, which I would normally use for a relay like this.  Not
sure I need it.  Didn't add one, but I didn't think that would be the
problem.

Anyway, I have 2 harddrives that I swap between now and have the latest
2.6.11 (or is 10, I forget) on one harddrive and I can run that all day
long.  The 2nd harddrive has 2.7.2 and I don't run it at the moment because
I don't feel comfortable that it will work.  I had been meaning to
troubleshoot more and re-install the 2.7.2 harddrive (and upgrade to
2.7.3), but haven't gotten round tuit it...

One thing that I don't understand is that in the 2.7 upgrade instructions,
there's a line item:
2.1.2. Hostmot2 dpll
The Hostmot2 dpll??s default time constant has been changed from 40960 to
2000. The original value could occasionally lead to following errors when
software like ntpd and ntpdate adjusted the rate of the linux
CLOCK_MONOTONIC time source by up to 1000ppm in a single step. The new
value allows the dpll to adjust to the change in the base period frequency
without error.

I don't know enough to know how that affects me, nor if that would be a
problem (probably not), but it's a statement and I didn't do anything for
it in the upgrade (like removing pet_watchdog).

Anyway, I hope we can find a solution, I'm a bit perplexed by it...  I
can't look at it too much this week, but maybe next I can work on it more.

Oh - one more thing is that I did have in my possession for about 1 week
(thank you Peter & Katherine!) a brand new 5i25/7i77 combo and got the same
errors.  So, we're apparently doing something here, just not sure what it
is.

Regards,
Mark




--


Message: 3
Date: Mon, 7 Dec 2015 21:29:54 -0500
From: Stephen Dubovsky <smdubov...@gmail.com>
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
Message-ID:
<
caopja+aqe_4hdozokhsnwggkwiy7vseftjzgzwmgqdfzdrq...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Ok, updated the 7i77 per your instructions.  That seemed to work.  It got
rid of the messages when 2.7.3 starts up.  So far so good,

When I now F2 enable the machine I get a slew of "hm2/hm2_5i25.0: Smart
serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character" each with a
..."error = (13) Communication error"

Looks like something is still mismatched?

FWIW, it looks like the 5i25 is ver 1.43.  Newer than it was, though not
sure if that is the latest.

Thank you,
Stephen

On Mon, Dec 7, 2015 a

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-07 Thread Mark Johnsen
Stephen,

I have the same issue and haven't been able to find a solution when I
upgraded from 2.6.8  (?) to 2.7.0.  First I updated the firmware on my 5i25
& 7i77.  When I would run 2.7.0 I would get the following communication
error.
[   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been
more than 1 errors in 10 thread executions at least 200 times. See other
error messages for details.
[   87.831908] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

 I could jog anywhere from 2 seconds to 10 seconds and LinuxCNC would
inform me of the error and shut down the 7i77 card.  Only way to restart
was to restart linuxcnc (that I found).

The suggestion was that the 5vdc power supply powering the 7i77 was the
problem potentially drawing too much current and lowering the voltage
outside the 7i77 10% 5vdc range.  I had been running the 7i77 from the PC
through the 5i25 and over the cable and doing this for months.  So, I first
tried a 3amp 5Vdc wal wart (that I bought at some electronic store for too
much$$$) and that didn't make a difference, then I bought a meanwell 5vdc
power supply from jameco.  I would say that the meanwell holds a steady
5.1Vdc, but that didn't work either.

I did upgrade to 2.7.2 and that seemed to work better.  At least I could
jog longer or even run a program, but in the end, I still got the
communication errors.  When I did run the program, I had a 24vdc Ice cube
relay (omron, idec type) for the lube pump and I had pulled it and didn't
use it (too much lube).  I wonder if that was an issue because I had
forgotten I had it out, put it in the relay socket 2/3rds through a
program, and at the END of my cnc program, I got the errors for the
communication.  In the mesa 7i77 manual, it does say that the 24vdc outputs
do NOT need diodes, which I would normally use for a relay like this.  Not
sure I need it.  Didn't add one, but I didn't think that would be the
problem.

Anyway, I have 2 harddrives that I swap between now and have the latest
2.6.11 (or is 10, I forget) on one harddrive and I can run that all day
long.  The 2nd harddrive has 2.7.2 and I don't run it at the moment because
I don't feel comfortable that it will work.  I had been meaning to
troubleshoot more and re-install the 2.7.2 harddrive (and upgrade to
2.7.3), but haven't gotten round tuit it...

One thing that I don't understand is that in the 2.7 upgrade instructions,
there's a line item:
2.1.2. Hostmot2 dpll
The Hostmot2 dpll’s default time constant has been changed from 40960 to
2000. The original value could occasionally lead to following errors when
software like ntpd and ntpdate adjusted the rate of the linux
CLOCK_MONOTONIC time source by up to 1000ppm in a single step. The new
value allows the dpll to adjust to the change in the base period frequency
without error.

I don't know enough to know how that affects me, nor if that would be a
problem (probably not), but it's a statement and I didn't do anything for
it in the upgrade (like removing pet_watchdog).

Anyway, I hope we can find a solution, I'm a bit perplexed by it...  I
can't look at it too much this week, but maybe next I can work on it more.

Oh - one more thing is that I did have in my possession for about 1 week
(thank you Peter & Katherine!) a brand new 5i25/7i77 combo and got the same
errors.  So, we're apparently doing something here, just not sure what it
is.

Regards,
Mark


--
>
> Message: 3
> Date: Mon, 7 Dec 2015 21:29:54 -0500
> From: Stephen Dubovsky <smdubov...@gmail.com>
> Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
> To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> Message-ID:
> <
> caopja+aqe_4hdozokhsnwggkwiy7vseftjzgzwmgqdfzdrq...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Ok, updated the 7i77 per your instructions.  That seemed to work.  It got
> rid of the messages when 2.7.3 starts up.  So far so good,
>
> When I now F2 enable the machine I get a slew of "hm2/hm2_5i25.0: Smart
> serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character" each with a
> ..."error = (13) Communication error"
>
> Looks like something is still mismatched?
>
> FWIW, it looks like the 5i25 is ver 1.43.  Newer than it was, though not
> sure if that is the latest.
>
> Thank you,
> Stephen
>
> On Mon, Dec 7, 2015 at 12:06 AM, Stephen Dubovsky <smdubov...@gmail.com>
> wrote:
>
> > Thank you! Will try it tomorrow evening.
> > On Dec 6, 2015 11:33 PM, "Marius Alksnys" <marius.alks...@gmail.com>
> > wrote:
> >
> >> Stephen,
> >>
> >> you should download "Version 14 serial remote I/O card firmware" from
> >> www.mesanet.com, under ANYTHING I/O DAUGHTER CARDS, unzip it, and
> follow
> >>

Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-07 Thread Stephen Dubovsky
Ok, updated the 7i77 per your instructions.  That seemed to work.  It got
rid of the messages when 2.7.3 starts up.  So far so good,

When I now F2 enable the machine I get a slew of "hm2/hm2_5i25.0: Smart
serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character" each with a
..."error = (13) Communication error"

Looks like something is still mismatched?

FWIW, it looks like the 5i25 is ver 1.43.  Newer than it was, though not
sure if that is the latest.

Thank you,
Stephen

On Mon, Dec 7, 2015 at 12:06 AM, Stephen Dubovsky 
wrote:

> Thank you! Will try it tomorrow evening.
> On Dec 6, 2015 11:33 PM, "Marius Alksnys" 
> wrote:
>
>> Stephen,
>>
>> you should download "Version 14 serial remote I/O card firmware" from
>> www.mesanet.com, under ANYTHING I/O DAUGHTER CARDS, unzip it, and follow
>> the README file in sserial/utils/linuxcnc.
>>
>> So, you will need ssinstall script and a special script, called update7i77
>>
>> 12/07/2015 06:03 AM, Stephen Dubovsky rašė:
>> > Hello all,
>> > Upgraded the Ubuntu mill (2.5?) to 2.7.3.  Using a 5i25 & 7i77.  It
>> > complained that the 7i77 needed updating.  I found some docs on the
>> forum
>> > and updated the 5i25.  But it still complains "hm2/hm2_5i25.0: Warning:
>> > sserial remote device 7i77 channel 0 has old firmware that should be
>> > updated" (I also get a warning for ch 1.)  How do I update the 7i77
>> > firmware?  I moved the jumpers W4 & W12 (?) on the 7i77 like the
>> > instructions said to when I updated the 5i25.  Is there something else I
>> > have to run besides mesaflash?
>> >
>> > I had to rerun pncconf to regenerate the hal/ini fles. 2.7.3 crashed on
>> the
>> > old ones but the new seem fine.  I just opened the old .pncconf files
>> and
>> > right-clicked all the way to the last menu and re-saved them.
>> >
>> > Thank you,
>> > Stephen
>> >
>> --
>> > Go from Idea to Many App Stores Faster with Intel(R) XDK
>> > Give your users amazing mobile app experiences with Intel(R) XDK.
>> > Use one codebase in this all-in-one HTML5 development environment.
>> > Design, debug & build mobile apps & 2D/3D high-impact games for
>> multiple OSs.
>> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>> >
>>
>>
>>
>> --
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
>> OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-06 Thread Marius Alksnys
Stephen,

you should download "Version 14 serial remote I/O card firmware" from 
www.mesanet.com, under ANYTHING I/O DAUGHTER CARDS, unzip it, and follow 
the README file in sserial/utils/linuxcnc.

So, you will need ssinstall script and a special script, called update7i77

12/07/2015 06:03 AM, Stephen Dubovsky rašė:
> Hello all,
> Upgraded the Ubuntu mill (2.5?) to 2.7.3.  Using a 5i25 & 7i77.  It
> complained that the 7i77 needed updating.  I found some docs on the forum
> and updated the 5i25.  But it still complains "hm2/hm2_5i25.0: Warning:
> sserial remote device 7i77 channel 0 has old firmware that should be
> updated" (I also get a warning for ch 1.)  How do I update the 7i77
> firmware?  I moved the jumpers W4 & W12 (?) on the 7i77 like the
> instructions said to when I updated the 5i25.  Is there something else I
> have to run besides mesaflash?
>
> I had to rerun pncconf to regenerate the hal/ini fles. 2.7.3 crashed on the
> old ones but the new seem fine.  I just opened the old .pncconf files and
> right-clicked all the way to the last menu and re-saved them.
>
> Thank you,
> Stephen
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-06 Thread Stephen Dubovsky
Thank you! Will try it tomorrow evening.
On Dec 6, 2015 11:33 PM, "Marius Alksnys"  wrote:

> Stephen,
>
> you should download "Version 14 serial remote I/O card firmware" from
> www.mesanet.com, under ANYTHING I/O DAUGHTER CARDS, unzip it, and follow
> the README file in sserial/utils/linuxcnc.
>
> So, you will need ssinstall script and a special script, called update7i77
>
> 12/07/2015 06:03 AM, Stephen Dubovsky rašė:
> > Hello all,
> > Upgraded the Ubuntu mill (2.5?) to 2.7.3.  Using a 5i25 & 7i77.  It
> > complained that the 7i77 needed updating.  I found some docs on the forum
> > and updated the 5i25.  But it still complains "hm2/hm2_5i25.0: Warning:
> > sserial remote device 7i77 channel 0 has old firmware that should be
> > updated" (I also get a warning for ch 1.)  How do I update the 7i77
> > firmware?  I moved the jumpers W4 & W12 (?) on the 7i77 like the
> > instructions said to when I updated the 5i25.  Is there something else I
> > have to run besides mesaflash?
> >
> > I had to rerun pncconf to regenerate the hal/ini fles. 2.7.3 crashed on
> the
> > old ones but the new seem fine.  I just opened the old .pncconf files and
> > right-clicked all the way to the last menu and re-saved them.
> >
> > Thank you,
> > Stephen
> >
> --
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> >
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

2015-12-06 Thread Stephen Dubovsky
Hello all,
Upgraded the Ubuntu mill (2.5?) to 2.7.3.  Using a 5i25 & 7i77.  It
complained that the 7i77 needed updating.  I found some docs on the forum
and updated the 5i25.  But it still complains "hm2/hm2_5i25.0: Warning:
sserial remote device 7i77 channel 0 has old firmware that should be
updated" (I also get a warning for ch 1.)  How do I update the 7i77
firmware?  I moved the jumpers W4 & W12 (?) on the 7i77 like the
instructions said to when I updated the 5i25.  Is there something else I
have to run besides mesaflash?

I had to rerun pncconf to regenerate the hal/ini fles. 2.7.3 crashed on the
old ones but the new seem fine.  I just opened the old .pncconf files and
right-clicked all the way to the last menu and re-saved them.

Thank you,
Stephen
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users