[Emc-users] Fwd: Re: MA860H Stepper Driver

2015-01-19 Thread Kirk Wallace



 Original Message 
Subject: Re: [Emc-users] MA860H Stepper Driver
Date: Mon, 19 Jan 2015 10:20:54 -0800
From: Kirk Wallace 
To: emc-users@lists.sourceforge.net

In case anyone might be interested, I have pictures of the driver board
here:
http://wallacecompany.com/ma860h/


On 01/15/2015 06:40 PM, Kirk Wallace wrote:
> I just received one of these (2.5 weeks from China) as a possible
> replacement for my unipolar driver that keeps blowing out transistors:
> http://www.ebay.com/itm/331393094727
>
> The original drivers run at 45V and 8 amps, with NEMA42 motors with 2.5
> Ohms per coil. The new driver can run at somewhere around 100V and 7.2
> amps and the motor is wired for 5 Ohms bipolar. I did a brief test at
> 50V and a setting of 5 amps (1/4 stepping), with the sample stepper
> config, and so far so good. The original drivers make the motors sing,
> but this one is silent (except for the steps). There are no specs on the
> signal timing, so I'll need to play with this, as well as try the
> maximum amp setting at 7.2, and upping the voltage to 100V. I may need
> to get more to do Y and Z.
>
> If anyone has used these drivers with NEMA42 motors and has any addition
> information or advise, please let me know.
>
> One thing that comes to mind. I looks like there is no overload
> protection, such as a power input fuse or breaker. It would seem prudent
> to add a fuse.
>


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Regression in pyvcp's radiobutton from 2.5 to 2.6.5, nothing selected in the hal layer on startup

2015-01-19 Thread MH

Hello Schooner30,

thanks for your reply. I had a look at it too today and came up with 
with this working code:

 n=0
 for c in choices:
 b=Radiobutton(self,f, text=str(c),variable=self.v, 
value=pow(2,n))
 b.pack()
 c_halpin=halpin+"."+str(c)
 pycomp.newpin(c_halpin, HAL_BIT, HAL_OUT)
 self.halpins.append(c_halpin)
 if n==initval:
 b.select()
 pycomp[self.halpins[-1]]=1
 n+=1

But I like your solution better, because your:
pycomp[self.halpins[initval]]=1
is more readable than my:
pycomp[self.halpins[-1]]=1

So please do submit your patch.

@cradek:
Since Schonner30 has a better/more readable fix I will not persue this 
with my own patch anymore. But thank you for your informations on how to 
submit a patch anyway on the irc channel.

BR
Max.

> Further to below
>
> If you want an immediate fix
>
> /usr/share/pyshared/pyvcp_widgets.py
> line 617
> below
> self.selected = initval
>
> insert
> pycomp[self.halpins[initval]]=1
>
> at same indentation
>
> That will force an update of the initval selected pin or defaults
> setting pin 0 if initval is not set, which is the default radio button
> setting at initialisation
>
> regards
>
>
>
>  >Hi
>
>  >I have tested your code on 2.6.3, 2.7 and 2.8
>  >All of them produce a pyVCP panel with button 3 selected
>
>  >But no, the respective pin is not selected, I think I may know why.
>
>  >When I made a lot of alterations a while back to pyVCP, I changed the
>  >update code, so that it did not keep cycling through updates every
>  >call unless there was a change.
>  >This will have suppressed the first update.
>
>  >I expect no-one has noticed until now, because the initval will
>  >generally reflect the default setting rather than actually set it.
>  >Thereafter all clicks upon radio buttons will work as anticipated
>
>  >I have written a fix,  which seems to work OK.
>  >Will do a bit more testing and submit a patch to correct this
>
>  >regards

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Regression in pyvcp's radiobutton from 2.5 to 2.6.5, nothing selected in the hal layer on startup

2015-01-19 Thread schoone...@btinternet.com
Further to below

If you want an immediate fix

/usr/share/pyshared/pyvcp_widgets.py
line 617
below
self.selected = initval

insert
pycomp[self.halpins[initval]]=1

at same indentation

That will force an update of the initval selected pin or defaults
setting pin 0 if initval is not set, which is the default radio button
setting at initialisation

regards



 >Hi

 >I have tested your code on 2.6.3, 2.7 and 2.8
 >All of them produce a pyVCP panel with button 3 selected

 >But no, the respective pin is not selected, I think I may know why.

 >When I made a lot of alterations a while back to pyVCP, I changed the 
 >update code, so that it did not keep cycling through updates every 
 >call unless there was a change.
 >This will have suppressed the first update.

 >I expect no-one has noticed until now, because the initval will 
 >generally reflect the default setting rather than actually set it.
 >Thereafter all clicks upon radio buttons will work as anticipated

 >I have written a fix,  which seems to work OK.
 >Will do a bit more testing and submit a patch to correct this

 >regards

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Regression in pyvcp's radiobutton from 2.5 to 2.6.5, nothing selected in the hal layer on startup

2015-01-19 Thread schoone...@btinternet.com
Hi

I have tested your code on 2.6.3, 2.7 and 2.8
All of them produce a pyVCP panel with button 3 selected

But no, the respective pin is not selected, I think I may know why.

When I made a lot of alterations a while back to pyVCP, I changed the 
update code, so that it did not keep cycling through updates every call 
unless there was a change.
This will have suppressed the first update.

I expect no-one has noticed until now, because the initval will 
generally reflect the default setting rather than actually set it.
Thereafter all clicks upon radio buttons will work as anticipated

I have written a fix,  which seems to work OK.
Will do a bit more testing and submit a patch to correct this

regards

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wheezy and Nvidia

2015-01-19 Thread Gene Heskett
On Monday 19 January 2015 10:20:53 schoone...@btinternet.com did opine
And Gene did reply:
> Hi John
> 
> I have a Nvidia GT630 GPU card working fine on Wheezy 32 & 64 bit
> 
> Works with nouveau and if you download the nvidia-glx package, DKMS
> builds the driver fine (you need headers and a build environment)
> 
> What you then need to do however is add
> /etc/X11/xorg.conf.d/20-nvidia.conf as attached
> 
> Then check that the driver has been installed to
> /lib/modules/{kernel-version}/extra/nvidia.ko
> 
> and /etc/modprobe.d/nvidia-kernel-common.conf is present blacklisting
> nouveau
> 
> The only problem I have had is when doing a load of stuff at the same
> time after building the driver and re-making initrd-img, which somehow
> screwed things up, but
> redoing everything sorted it
> 
> regards
> 
> Mick

Schooner:  Please check your latency-test results with the NVidia drivers 
loaded and working.  I found it very hard to backtrack to the nouveau or 
vesa drivers when my 8 or 9 microsecond latency-test results were replaced 
by several hundred milliseconds of lag. I was limited to about 2 ipm while 
doing sw stepping on an older athlon single core board.  The motors 
sounded very ragged, and were simply were visibly stopping while glxgears 
was running.

In short, 5 years back up the log, using the then current NVidia driver 
kit was IMO, totally incompatible with linuxcnc as it locked out the IRQ's 
needed in order to get the performance it gives to the video.

If that situation has improved, and NVidia drivers now play well with 
LinuxCNC, I'd be happy but unaffected as the real machinery here is being 
driven by D525MW intel boards.

I do have an NVidia based GeForce 8400 GS card in this machine, but have 
studiously stayed away as generally, the nouveau drivers are good enough 
to watch a new site video.

Thank you.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wheezy and Nvidia

2015-01-19 Thread alex chiosso
I John.
I've got same problem as you with an asus graphic card (nviadia gpu) and
Debian wheezy.
No way to install the nvidia drivers properly.
At the end of a long story I re-install the LinuxCNC Wheezy distribution
and leave the video drivers it automatically detect
and it is fine (resolution 1280x1024).
On my side the problem mainly was related to the kernel specific drivers
requested from the nvidia gpu (LCNC Wheezy kernel is not the standard one
because it is patched for the RTAI (PAE)) .
As someome point me out (maybe Sebastian) it is not possible to install the
proprietary drivers on the Wheezy LCNC distro.
Maybe it is not impossible for some "guru" but for me it is.
So I went straight to the easy way. ;-)


Regards

Alex

On Mon, Jan 19, 2015 at 4:20 PM, schoone...@btinternet.com <
schoone...@btinternet.com> wrote:

> Hi John
>
> I have a Nvidia GT630 GPU card working fine on Wheezy 32 & 64 bit
>
> Works with nouveau and if you download the nvidia-glx package, DKMS builds
> the driver fine (you need headers and a build environment)
>
> What you then need to do however is add /etc/X11/xorg.conf.d/20-nvidia.conf
> as attached
>
> Then check that the driver has been installed to
> /lib/modules/{kernel-version}/extra/nvidia.ko
>
> and /etc/modprobe.d/nvidia-kernel-common.conf is present blacklisting
> nouveau
>
> The only problem I have had is when doing a load of stuff at the same time
> after building the driver and re-making initrd-img, which somehow screwed
> things up, but
> redoing everything sorted it
>
> regards
>
> Mick
>
>
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wheezy and Nvidia

2015-01-19 Thread schoone...@btinternet.com

Hi John

I have a Nvidia GT630 GPU card working fine on Wheezy 32 & 64 bit

Works with nouveau and if you download the nvidia-glx package, DKMS 
builds the driver fine (you need headers and a build environment)


What you then need to do however is add 
/etc/X11/xorg.conf.d/20-nvidia.conf as attached


Then check that the driver has been installed to 
/lib/modules/{kernel-version}/extra/nvidia.ko


and /etc/modprobe.d/nvidia-kernel-common.conf is present blacklisting 
nouveau


The only problem I have had is when doing a load of stuff at the same 
time after building the driver and re-making initrd-img, which somehow 
screwed things up, but

redoing everything sorted it

regards

Mick
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
alias char-major-195* nvidia
options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 
NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1

# see #580894
blacklist nouveau
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Wheezy and Nvidia

2015-01-19 Thread John Thornton
I have a desktop computer with built in video. It is a Nvidia GeForce 
6150SE nForce 430.

When I try any driver besides the stock driver using info from the web 
one of two things happen, it reports that the driver is broken and won't 
install it or if it installs and I add an xorg file the computer goes 
just so far during boot up and stops at a blank screen with a blinking 
cursor.

Has anyone used a nvidia video card with wheezy?

Thanks
JT

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Manual Mill Setup Question

2015-01-19 Thread John Alexander Stewart
I have no drill press now - just a couple of CNC'd mills - one with a quill.

What I do is I use my MPG to twiddle handles when moving manually. I can
control the spindle, zero DRO axes, etc all via the MPG.   This mill (with
quill) uses the XHC-HB04 MPG pendant, wired version, and it's great. I'm
thinking of CNCing my last manual mill...

Just my two cents (Canadian);

John.
​
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users