Re: [Emc-users] Problem upgrading from 2.7.4

2016-10-13 Thread Russell Brown
Quoth andy pugh.
>On 12 October 2016 at 17:00, Russell Brown <russ...@lls.lls.com> wrote:
>> Somethings very broken with 2.7.5+ on lucid :-(
>
>Can you clarify? Originally you said "Debian Wheezy" and now you are
>saying "Lucid"

Bah.  T'was lucid (I typed wheezy because I'm an idiot :-().

But I've bitten the bullet, installed jessie and linuxcnc 2.8 (the
attempted upgrade from lucid to precise didn't go well).

Not seen it move anything yet (I'm doing the install/setup from my desk
rather than in the workshop) but everything seems to be coming alive.

Not really a solution to the problem I was getting but most certainly a
'work around' :-)


-- 
 Regards,
 Russell
 --------
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


Re: [Emc-users] Problem upgrading from 2.7.4

2016-10-12 Thread Russell Brown
Quoth andy pugh.
>> So...  am I stuck on 2.7.4 ?
>
>I am fairly sure not, as I am running 10.04 on my milling machine, and
>that is on 2.8-ja1.
>
>Unfortunately I can't recall how I got there, but probably via the buildbot.

What version of python do you have on that?

I did a google for upgrading python on lucid to 2.7 (needed to build
linuxcnc from git) and found dire warnings about breaking things.

I might just try an upgrade to precise...  can always restore my current
setup from backup if it goes titsup.com

-- 
 Regards,
 Russell
 --------
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


Re: [Emc-users] Problem upgrading from 2.7.4

2016-10-12 Thread Russell Brown
Quoth John Alexander Stewart.
>Russell - is there a "z" axis on your machine?

Yes.  It's a mill.

-- 
 Regards,
 Russell
 --------
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


Re: [Emc-users] Problem upgrading from 2.7.4

2016-10-12 Thread Russell Brown
Quoth andy pugh.
>On 12 October 2016 at 08:49, Russell Brown <russ...@lls.lls.com> wrote:
>> If I click 'OK' linuxcnc loads but the initial X & Y show as 4.23e+289
>> and 2.95e+240 and axis.ngc is not showing in the display.
>
>Is this one of them "Universal" milling machines, for milling entire universes?

The heating's come on today so it's probably expanded a bit but not that
much :-)


>It might be as simple as a position.txt file with bad numbers in it?

Hm.

A) that doesn't explain the weird error message about axis.ngc.
B) the same position.txt works with 2.7.4
C) deleting position.txt doesn't fix either problem.

FWIW, position.txt contains:

211.51237592697140144
-82.01800169944763752
99.75883250664918478
0.0
0.0
0.0
0.0
0.0
0.0

I've just tried sim axis_mm.ini with 2.7.7 and it also generates the
spurious popup about "Bad character 'z' used" in axis.ngc :-(

Created a new user (to avoid config issues), logged in, ran 2.7.7 and
picked sim.axis/axis_mm..  same popup error message about "Bad
character 'z'" near line 12 in /usr/share/axis/images/axis.ngc.

If I try to open "/usr/share/axis/images/axis.ngc" from the File menu I
again get the error message.

If I try to open a previously used simple .ngc file, linuxcnc complains
that the tool (tool 1) isn't found in the tool table  even though
tool 1 *is* plainly there if I edit the tooltable.

If I try to 'cut' axis.ngc, it wants me to home; I do that but X & Y go
from 0 to X -1.26e+58 and Y 3.11e+231.  Click run again and it pauses.
When I click pause to continue, I get the error "can't do that
(EMC_TRAJ_SET_TELEOP_ENABLE) in auto mode with the interpreter idle".

Uninstalled 2.7.7 (apt-get remove --purge linuxcnc), reinstalled 2.7.4
(apt-get install linuxcnc=1:2.7.4) and, still as my new test user, fired
up linuxcnc with sim/axis_mm.ini.

No complaints about bad characters, no silly numbers on homing and the
sim happily 'cut' LinuxCNC as expected.

Just for fun, I tried 2.7.5 and it's borked in the same way as 2.7.7.

Tried building a git pull of linuxcnc-dev but configure fails saying
python is too old (2.7 needed; lucid has 2.6.5).

Somethings very broken with 2.7.5+ on lucid :-(

So...  am I stuck on 2.7.4 ?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


[Emc-users] Problem upgrading from 2.7.4

2016-10-12 Thread Russell Brown

I tried upgrading from 2.7.4 to 2.7.7 (debian wheezy, apt-get) but when
I fire linuxcnc up I get a popup error message:

>G-Code error in axis.ngc
>
>Near line 12 of /usr/share/axis/images/axis.ngc:
>Bad character 'z' used

If I click 'OK' linuxcnc loads but the initial X & Y show as 4.23e+289
and 2.95e+240 and axis.ngc is not showing in the display.

I then tried 2.7.5 and get the same thing.  Downgrade to 2.7.4 and
everything's back to normal.

axis.ngc sums as 16239 (same as my backups) so I don't think it's that.

A possible contributor to the problem is that I tried installing
NativeCAM but ran into problems as I already use gladevcp for a probe
screen (I'll go back to that once 2.7.7 is working).  I ran "setup.py c"
clear NativeCAM for now.

Any ideas?



(my .ini is here http://ruffle.me.uk/Mesa_Mill.ini.expanded)

linuxcnc prints

>russell@cnc:~$ linuxcnc
>/home/russell/linuxcnc/configs/Mesa_Mill/Mesa_Mill.ini
>LINUXCNC - 2.7.7
>Machine configuration directory is
>'/home/russell/linuxcnc/configs/Mesa_Mill'
>Machine configuration file is 'Mesa_Mill.ini.expanded'
>Starting LinuxCNC...
>Found file(REL): ./Mesa_Mill.hal
>Found file(REL): ./custom.hal
>INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL
>closes.
>Found file(lib): /usr/share/linuxcnc/hallib/xhc-hb04.tcl
>xhc-hb04: waiting for XHC-HB04 device
>xhc-hb04: found XHC-HB04 device
>xhc-hb04.tcl: using std_start_pause_button
>APP: xhc-hb04-accels found: 
>APP: monitor-xhc-hb04 found: 

then pops the G-Code error box, click OK and it continues

>Waiting for component 'gladevcp' to become
>ready.../usr/bin/gladevcp:185: GtkWarning: GtkSpinButton: setting an
>adjustment with non-zero page size is deprecated
>  builder.add_from_file(xmlname)
>    probe_screen GETINIINFO  
>   Preference file path:
>   /home/russell/linuxcnc/configs/Mesa_Mill/Mesa_Mill.pref
>   .Xlib.protocol.request.QueryExtension
>   Xlib.protocol.request.QueryExtension
>
>   /usr/bin/gladevcp:295: GtkWarning: gtk_widget_size_allocate():
>   attempt to allocate widget with width -5 and height 19
> gtk.main()

Not sure about those Gtk warnings... they might have been around forever
as I normally fire up LinuxCNC from an icon.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


Re: [Emc-users] Resetting a tilt-able head to plumb?

2015-08-18 Thread Russell Brown
Quoth Gene Heskett.
indicates the head may be tilted a fraction of a degree.

Look for Hoss's G0704 tramming videos on Youtube:

https://www.youtube.com/watch?v=40Q61UAnOTA

He shows how it's done with silver steel^W drill rod and a DTI.  Tram
the spindle to the column first as these rotating head mills do seem to
go out of alignment and the sticky label position indicator isn't worth
the paper it's printed on.

When you get a chance it's also worthwhile fitting some little tramming
aids to your G0704 (see here
http://www.cnccookbook.com/CCMillTramAdj.html).  Not only to they make
the fine adjustment easier, they also hold the whole thing steady while
you tighten up the head bolts (I say 'bolts' as a popular mod is to add
two more than the standard single bolt:  google g0704 three bolt mod).

FWIW, on my WMD30LV (the G0704's bigger brother) I ended up shimming the
bottom of the tilty bit of the head where it meets the Z saddle to get
the spindle in line with the column *and* the base of the column to get
the, now aligned, spindle in tram with the table.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


[Emc-users] Pyvcp display global variab^W parameter?

2015-06-25 Thread Russell Brown

Is it still the case (in 2.7) as claimed on the gladevcp page, that a
Pyvcp panel in axis can't 'see' global variables named or otherwise?

If not and Pyvcp can see them  errr..  any pointers as to how?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Wheezy Networking

2015-04-09 Thread Russell Brown
Quoth John Thornton.
I went to the bios and turned off the Ethernet on the 
motherboard. I still don't have a connection to the LAN from that 
computer. Any clues as to what I need to do?

I know you're sorted but for reference

Wheezy remembers the MAC address for NICs and which eth it's allocated
to.

Look at /etc/udev/rules.d/70-persistent-net.rules and you'll see sommat
like:

# PCI device 0x8086:/sys/devices/pci:00/:00:19.0 (e1000e)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==00:1a:6b:38:38:28, ATTR{dev_id}==0x0, ATTR{type}==1, 
KERNEL==eth*, NAME=eth0

If you plug in a different NIC, the MAC will be different and udev will
allocate it to eth1 *even if eth0 no longer exists* because you've
remove the NIC.

Delete that file, reboot and the first NIC will be allocated to eth0.

HTH

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Where's Gene?

2015-03-22 Thread Russell Brown
Quoth Belli Button.
Haven't heard from him in a while, hope he's oOK.

He seems to be busy on the trinity-kde users mailing list.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] VFD causing limits to trip. Huh?

2015-03-15 Thread Russell Brown

I promised to report back so...

I fitted the filter (Schaffner FN2030 Series 16A 250 V ac 400Hz) on the
VFD mains input and that did make a difference.  My failing case job ran
70% of the way through where without it the job failed 10% in.  Not the
complete solution though.

I then tried a ferrite core (mains clipon stylee) on the input of the
field power supply.  No difference.  A ferrite core (ring with both
wires looped through it a couple of times) on the output of the 12V
field power made no difference either.

A ferrite core (ring as above) on the limit switch wires fitted at the
Mesa end made no difference either.

So...  finally I replaced the limit switch wires with shielded cable
(grounded only at the Mesa end).  That seemed to do the final trick and
the job ran all the way through.

Of course I don't know if this is a 100% fix or just enough to get
through my failing case (other jobs without all the above have run
fine).  I guess time will tell.

Hope that's useful for someone.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] VFD causing limits to trip. Huh?

2015-03-07 Thread Russell Brown

Many thanks for all the input chaps.

The consensus seems to be 

a) Add a mains input filter.
b) Shield the limit switch wires.
c) Stick ferrites in.
d) Mask the problem with a debounce :-)

As I have a pretty solid failing case, I figure it's worth while seeing
if A-C can fix it before masking the problem with a debounce.

So I've ordered a filter; Schaffner FN2030 Series 16A 250 V ac 400Hz on
the basis that Arceurotrade suggest them for their spindles and RS stock
them :)

I'll also replace the limit switch wires with twisted pair shielded and
sprinkle some ferrites on the 7i76 inputs.

I'll report back on the results.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] VFD causing limits to trip. Huh?

2015-03-06 Thread Russell Brown

I've just fitted one of them there 'Chinese' 2.2kW watercooled motors
with a Huanyang VFD as a second spindle on my mill.

Last night doing some pocketing, when the cutter got into the 'meat' of
the cut (6mm carbide 2 flute, 3mm DOC), Linuxcnc (v2.6.7) tripped with
Axis 2 limit switch.

This was unexpected as I was nowhere near the Z-axis limit switches so I
checked the connections and started the job again  and it did
exactly the same thing again in the same place!

Just for fun, I reduced the DOC, tried again and the same thing happened
in the same place (about 20 seconds into the job).  H

The VFD is 1 foot away from the limit switch wiring, and the connection
from the VFD to the motor is shielded and grounded at the VFD end.  I'm
controlling the VFD with hy_vfd over RS485.

The limit switches (normal microswitches bolted to the column) are wired
to a Mesa 7i76 with 12V field power and have not played up before.

I did an 'air-cut' and that ran well past the place it was consistently
failing.

I commented out:

#net both-home-z =  axis.2.home-sw-in
#net both-home-z =  axis.2.neg-lim-sw-in
#net both-home-z =  axis.2.pos-lim-sw-in

in my Mill.hal file and the job ran to the end.  Axis 0 and 1 limits
were left unchanged.

I ran out of time to experiment much further but I'm struggling to see
how the VFD could trip a simple limit switch when it's getting a bit
loaded up (the spindle was only pulling ~1amp according to hy_vfd and
it's rated for 8).

I don't think it was simple vibration as I'd been fly cutting with my
normal spindle shortly before and that didn't trip anything.

Any ideas what might cause this?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Technique question

2014-07-04 Thread Russell Brown
Quoth Marcus Bowman.
See  the photo currently at
www.cncintheworkshop.com/Welcome.html

That's a nice bit of work.  A set of yokes for my Harris are in my queue
of 'jobs to be done at some point' and I'd love to know the cutting and
clamping sequence you went through to end up with the yoke pictured.

I noticed in another picture what looks like that yoke mounted in a 'U'
shaped clamp with bolts coming in from the side...  which peeks my
curiosity too.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Announcing the LinuxCNC 2.6 branch

2014-04-04 Thread Russell Brown
Quoth Sebastian Kuzminsky.
 Who made decision about not including ubc and when?

As release manager, I did.  It was a few days before i made the 2.6
branch announcement.

 Where are the emails that invite developers to irc meeting to vote this?

There were none - as release manager i made the decision.

As a counterbalance to the brickbats flying around, I'd just like to say
thanks for putting your head over the top and making a decision.

Even if it doesn't have everything people want in it (when would it?),
the mere fact that there is a new release is a positive thing for many
people's perception of LinuxCNC.


-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

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


Re: [Emc-users] Multiple INI files

2014-02-13 Thread Russell Brown
Quoth Marius Liebenberg.
Sorry to bug you with this but I am not well versed with the scripting 
stuff.

Aren't all these scripts just reinventing the wheel?

Make(1) has existed for decades so put sommat like the following into a
file called 'makefile':

#
#My Makefile for INI files
#
INIPARTS1=motion.ini display.ini emc.ini wibble.ini
INIPARTS2=steppermotion.ini display.ini emc.ini

machine1.ini: $(INIPARTS1)
   cat $(INIPARTS1)  machine1.ini

machine2.ini: $(INIPARTS2)
   cat $(INIPARTS2)  machine2.ini

Twiddle with your file content, type 'make' to build machine1.ini (the
default in the above) or 'make machine2.ini' to build that.

Just a thought.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle Tacho

2014-02-11 Thread Russell Brown
Quoth andy pugh.
On 10 February 2014 18:18, Russell Brown russ...@lls.lls.com wrote:

 All the spindle speed stuff I've found talks about encoders and the only
 likely candidate in pnc/stepconf is the Digital Input 0-4 but my
 Google-fu is weak and I can't join the dots.

What hardware are you using?

Mesa 5I25/7I76 with 12V field power and the optical switch is an Optek
OPB830L51

http://www.optekinc.com/datasheets/OPB830-840-SERIES.PDF

(on which I have to do some more reading as while I can easily figure
out the series LED resistor required, the phototransistor side is a bit
more obscure for someone who's electronics 'knowledge' is practically
zero and still thinks glowing wires in glass tubes are pretty cool).

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle Tacho

2014-02-11 Thread Russell Brown
Quoth andy pugh.
On 11 February 2014 08:59, Russell Brown russ...@lls.lls.com wrote:

 Mesa 5I25/7I76 with 12V field power and the optical switch is an Optek
 OPB830L51

The 7i76 has encoder connections provided on TB3.
This assumes that you are not already using the encoder for something else.

Well.  yes I was planning on using the encoder for something
else[1] but for now I guess I'll use it for a tacho.

Working on 20mA for the LED and 10mA for the phototransistor

Just for my education; Did you just take one third of the 30mA for the
phototransistor?  or was there some other bit of info saying 10mA that I
missed?

http://imagebin.org/292721

TVVM as ever.


 [1] - The 'something else' is closed loops for my steppers. But I'll
   actually need three encoders for that anyway.
-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle Tacho

2014-02-11 Thread Russell Brown
Quoth Stuart Stevenson.
If you have a functioning internal tach feedback why do you need to add one?

Fair question.  Three answers:

1) It's neat to have the spindle speed on the Axis display :-)

2) I can't easily see the Mill's display when seated at my Linuxcnc box.

3) I'd like to use the 7I76's analogue spindle control so the spindle
   speed is controlled by Linuxcnc instead of twizzling the knob on the mill.
   This might be yet another one of my 'seems easy so why not' learning
   experiences and I, probably incorrectly, figured that Linuxcnc knowing 
   the current speed would be useful for that purpose.

1  2 are non-negotiable.  Please enlighten me if 3 is silly :-)

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Spindle Tacho

2014-02-10 Thread Russell Brown

There are quite a few examples of adding Spindle Tacho displays to Axis
but I can't find much about how one detects the spindle speed in a
useful manner without some fancy encoder.

My mill spindle already has a 'slotted' disk for the inbuilt tacho so I
was thinking of sticking a simple slotted phototransistor thingie on the
same disk..  but what do I do then?

All the spindle speed stuff I've found talks about encoders and the only
likely candidate in pnc/stepconf is the Digital Input 0-4 but my
Google-fu is weak and I can't join the dots.

Any pointers?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Androidtrade; apps run on BlackBerryreg;10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MPG pendant

2014-02-07 Thread Russell Brown
Quoth David Armstrong.
 I started looking around for some cnc pendant.
 I am wondering if anybody has tried to configure one of these:

 http://www.aliexpress.com/item/New-Wireless-USB-MPG-Pendant-Handwheel-Mach3-For-CNC-Mac-Mach-3-4-axis-Controller/1004816998.html

yes the xhc04 has been added to linuxcnc
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_A_XHC-HB04_Wireless_MPG_Pendant

FWIW, I've got one of those and it works for me using the info on the
above page.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Conversion Suggesions?

2014-01-23 Thread Russell Brown
Quoth Jeshua Lacock.

I figured backlash was common to just about all reasonably priced mills, and I 
was wondering what folks did with them to compensate with CNC.  

FWIW, I cnc'd my WMD30LValike reasonably priced mill using the
standard ACME screws thinking that backlash could be compensate for by
software and/or that the backlash wouldn't annoy me.

Neither was true (cutting forces push/pull the tool around the backlash
envelope creating facets on the work) and I'm now in the middle of
retro-fitting ballscrews

...which I should have done in the first place; Gawd knows there's
enough advice on that there Internet saying 'just fit ballscrews'.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off topic.

2014-01-02 Thread Russell Brown
Quoth andy pugh.

http://bodgesoc.blogspot.co.uk/2014/01/rivett-lathe-stand.html

Classy but how did you get it home on the R1?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] USB Camera for edge finder?

2013-11-08 Thread Russell Brown
Quoth Gene Heskett.
 However in camunits/0.0.37 tree there is a convert_crop.c that looks
 like a likely candidate.  Is this the util you are referring to?

PS, a make bails instantly in that camunits/0.0.37 subdir, seems that
are include dependencies not supplied by 10.04.4 or in the tarball.

First one is FreeImage.h, and apt can't find the package that supplies 
that.

apt-get install libcv-dev camunits libfreeimage-dev

allows it to compile (not sure if libcv-dev is actually needed)

But quite what you do with convert_crop.so once it's copied to
/usr/lib/camunits I don't know.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] USB Camera for edge finder?

2013-11-08 Thread Russell Brown

Quoth Russell Brown. (yes it's bad form following up my own post. Sorry)

But quite what you do with convert_crop.so once it's copied to
/usr/lib/camunits I don't know.

Aha!  You stick it in the chain directly after the V4l2 bit and in
camview (the standalone utility) you can move the slider to crop the
image (or edit the ratio in camviewcfg) and everything after that in the
chain seems to operate on the cropped image.  Works for me anyway.

Playing with the cropping looks very hopeful.

Here's a couple of screen-scrapes.  Both with the USB Microscope ~300mm
from the rule, hanging in mid-air from it's cable and very rough
focusing.

The first is with no-cropping and it's just about useless for edge
finding on a mill.

http://ruffle.me.uk/cnc-pics/snapshot1.png

Cropping the image centre down to 110x82 pixels produces this:

http://ruffle.me.uk/cnc-pics/snapshot2.png

Which should get me to within a gnats of 'close enough' :-) and I
thought I was going to have to get all complex with lenses and
arithmetic and science!


Now I just have to make a tweakable mount and try to figure out how I
can persuade camview-emc to include the cropping slider in it's controls
section within Axis so I can twiddle when it's being used for real.

FWIW, the camera used above is a Supereyes TE24S 1-400X 5Mp selected on
the highly selective and technical basis of being a random pre-loved
cheapy on EBay that wasn't too bulky (it's a ~15mm diameter tube).  I
think that I'll have to hot-gloop the focus slider once it's bolted down
and jog Z for fine adjustments.


PS:  For the record, here's my camviewcfg file (using little 640x480
endoscope camera) showing util.crop's position in the chain:


?xml version=1.0 encoding=utf-8 ?
chain
unit id=input.v4l2:0 width=640 height=480
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=640x480 RGB 24bpp
control id=input0/control
control id=standard0/control
control id=brightness111/control
control id=contrast42/control
control id=saturation33/control
control id=hue-1/control
control id=auto-white-balance1/control
control id=gamma220/control
control id=gain3/control
control id=control-99638001/control
control id=control-99638024650/control
control id=control-99638032/control
control id=control-99638040/control
control id=control-100948493/control
control id=control-10094850166/control
/unit
unit id=util.crop width=234 height=175
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=234x175 RGB 24bpp
control id=ratio0.366534/control
/unit
unit id=convert.to_rgb8 width=234 height=175
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=234x175 RGB 24bpp
/unit
unit id=output.opengl width=234 height=175
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=234x175 RGB 24bpp
/unit
unit id=emc.halio width=234 height=175
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=234x175 RGB 24bpp
control id=limit3/control
control id=reload0/control
control id=circlevideo.circle/control
control id=axis-pinshalui.axis.%d.pos-feedback/control
control id=axis-letters012345678/control
control id=axis-format%.3f/control
control id=spacing44/control
control id=color-r1/control
control id=color-g1/control
control id=color-b1/control
control id=gl-xor1/control
/unit
unit id=emc.crosshair width=234 height=175
pixelformat=CAM_PIXEL_FORMAT_RGB format_name=234x175 RGB 24bpp
control id=enable1/control
control id=color-r1/control
control id=color-g1/control
control id=color-b1/control
control id=gl-xor1/control
control id=circle-radius104/control
control id=circle-angle0/control
control id=shape1/control
/unit
/chain



-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] USB Camera for edge finder?

2013-11-07 Thread Russell Brown

I've been playing around with camview and a little 10mm endoscope type
USB camera to see if I could rig such a thing up as an edge finder
permanently mounted my mill's head.

That's OK but you have to get very very close to the workpiece for even
a half decent resolution which doesn't work when there's a collett
holder and tool in the spindle (part of the reason for doing this is to
avoid chucking the edge finder so I don't want a spindle type camera).

I also tried a USB 'microscope' but the depth of field is very small
again you have to get pretty close and twiddle with the focus to get a
useful resolution.

Has anyone found a USB camera with both a high magnification and a
decent depth of field?  (I've a feeling that these are mutually
exclusive) or even one that can focus at a high resolution from a
workable (~200mm?) distance?

TIA
-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] USB Camera for edge finder?

2013-11-07 Thread Russell Brown
Quoth Ralph Stirling.
Are you planning on using crosshairs and eyeballing to determine
your cutter length/diameter,

Ummm...  I was planning on using it by eye, with Camview for Linuxcnc
(http://psha.org.ru/b/camview-emc.html - which generates a tab in Axis
with the camera image + overlays) to edge find (instead of removing
current tool, change collett in holder, insert edge finder, find edges,
remove edge finder, reinstall original collett and tool; not a hugely
onerous task but still a bit of a PITA if a cheapy webcam can do the
job).

Camview already overlays cross hairs and circles or lines so if the head
mounted camera can produce a usable image of the workpiece when I've got
a tool in the spindle.  'all' I then have to tackle is mounting it
in line with Z on the head.


-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Perceived issues with LinuxCNC.

2013-10-10 Thread Russell Brown
Quoth Charles Steinkuehler.
On 10/8/2013 12:35 PM, Bruce Layne wrote:
 For all of these little stepper based routers and other small systems
 (most of the installations), what could be easier than installing
 Linux (with lots of other goodies) and LinuxCNC from an ISO 

That's why I'm trying _really_ hard to get LinuxCNC working well on the
BeagleBone.  The maker crowd with desktop CNC mills and 3D printers is
far less scared of Linux than the average man.  

That's probably a very good strategy.  It could turn out to be an
popular off-the-shelf solution to a lot of CNC projects  if it's
wrapped up nicely with a pretty bow around it :-)

A lot of folk are actually scared of configurability (sp?).  As others
have noted, they want an appliance not something that's a project in
it's own right.



 --- Going a little Off Topic 

FWIW, I was intrigued and bought a BBB to play with.

I didn't end up using it for my Mill CNC project as I couldn't find any
concise documentation on how you actually connected the BBB to motors
and switches (I'm a programmer of business systems by trade and know
naff all about CNC or electronics).

Did I need a cape?  Could I just connect to conventional drivers like a
parallel port?  Do I need to solder wires on or is there a screw type
connector that fits the sockets?  It wasn't obvious.

I guess this info probably does exist but I couldn't find it via Google
at the time.

Perhaps a blow by blow blog/project might help others who are looking.



-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth Chris Morley.

  On 2 October 2013 18:26, Russell Brown russ...@lls.lls.com wrote:
 
   loadrt abs names=
   loadrt lowpass names=

Ok I think it's really fix this time. seems asking for a gladeVCP sample panel
but without a spindle speed display set it off.

Please test if you can and report bugs (this fix is in master)

I can confirm that when using the Mesa_Mill.pncconf file (that generated
the problem in previous versions), the current version in master (pulled
this AM) does not generate the above problem.

That's the good news.

The bad news is that the config generated fails to run (in 2.5.3) with:

Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist

:-(

If it's any help, I've stuck the offending .pncconf file here:

http://ruffle.me.uk/cnc/Mesa_Mill.pncconf



PS - Might I suggest that the displayed version of PnCConf be
incremented by a tad?  a modest Beta 1.1 on the title bar or somesuch
would make sense.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth Chris Morley.

 From: russ...@lls.lls.com
 ...  I just changed the INI file as I had with the
 vanilla parallel port setup and as the docs suggest was normal practise
 after generating the initial config.

Where in the docs did you see this? It is normal but we should mention
the problem you have encountered (needing to adjust both)

Sixth para of:

http://linuxcnc.org/docs/html/config/pncconf.html

which I admit doesn't say just change the INI file :-)

I'm sure I've seen the use {step,pnc}conf to get you going then tinker
with the generated files concept in several other places during my
brief journey with Linuxcnc.  

For me as a neophyte, having mucked about with a standard Parallel port
setup by changing the INI file, it didn't occur to me to examine the HAL
file for velocity type tweakery when I installed the Mesa card.

Mea Culpa but I'm sure I won't be the only one (although this faux pas
has been avoided in the next release anyway).



PS - Chris:  I'm not complaining about PnCConf in any way.  It's a
terrific tool to get one off the ground in what is a sometimes steep
learning curve.  Many thanks for your efforts.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth David Armstrong.
On 04/10/13 11:19, Russell Brown wrote:

 The bad news is that the config generated fails to run (in 2.5.3) with:
 Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist

i believe it's just a typo or a change of name etc
i think that particular line should be  net spindle-vel-cmd-rps =  
motion.spindle-speed-out-rps

can you post your hal file , that will have more information

http://ruffle.me.uk/cnc/Mesa_Mill.pncconf

...used to generate:

http://ruffle.me.uk/cnc/Mesa_Mill.hal
http://ruffle.me.uk/cnc/Mesa_Mill.ini

using pncconf from master pulled this AM.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth David Armstrong.
On 04/10/13 12:16, Russell Brown wrote:
 Quoth David Armstrong.
 On 04/10/13 11:19, Russell Brown wrote:
 The bad news is that the config generated fails to run (in 2.5.3) with:
 Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist
 i believe it's just a typo or a change of name etc
 i think that particular line should be  net spindle-vel-cmd-rps =
 motion.spindle-speed-out-rps

your not use the abs component in your spindle so just comment out

Sorry there's a misunderstanding here.

The .pncconf is just one that I was playing around with that originally
generated a HAL file with loadrt ab names= that caused a problem.

As Chris requested, I tried his updated PnCConf from master to check
that the above had been fixed (it had).

However the self same .pncconf and PnCConf from master generated the
above new issue.

Yes I can comment out the offending line but I thought I'd report it so
that Chris can fix the problem.

BTW - the .pncconf file in question isn't 'real' (it was generated by
uninformed clickery in the release PncConf!).  It's just the one I knew
triggered the original issue in the release PnCConf.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-04 Thread Russell Brown
Quoth andy pugh.
On 4 October 2013 11:19, Russell Brown russ...@lls.lls.com wrote:

 Mesa_Mill.hal:124: Pin 'motion.spindle-speed-out-rps-abs' does not exist

The pin was added in this commit:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=71f6326a9e2585122856a77619dfeae193a61d5d

Which isn't in 2.5.3.
I think the problem is a miss-match between the pncconf version and
the LinuxCNC version. I am not sure if they should be tied quite so
closely to each other.

Ah.  OK as you were.  Yes the generated config doesn't produce an error
when run with 2.6.0~pre.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-03 Thread Russell Brown
Quoth Chris Morley.

 From: Andy Pugh
 On 2 October 2013 18:26, Russell Brown russ...@lls.lls.com wrote:
 
  loadrt abs names=
  loadrt lowpass names=
 
 This is a stepfconf bug. I can't recall what prompts it. I thought it
 was fixed. (it tries to load a bunch of components with blank names,
 and then their pin names collide)

Pncconf bug -but is probably fixed. what version was this made with?

It's PNCconf Beta 1 (linuxcnc 2.5.3, lucid)

(the system was built from the ISO on the linuxcnc website)

FWIW, I just did a:

git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev

config,make,source scripts/rip-environment and then ran bin/pncconf.

That also identifies itself as Beta 1 Version although the linuxcnc it
built is 2.6.0~pre

  http://ruffle.me.uk/cnc/Mesa_Mill.ini
  http://ruffle.me.uk/cnc/Mesa_Mill.hal
 
 The INI file Z axis max velocity in the INI is a lot higher than the
 stepgen max velocity in the HAL file.

I'm sure that was hand edited.

Yes the velocities in the INI file have been hand edited while I was
mucking around (the comments in the file show the various
values/problems).  I must admit that I didn't notice the absolute values
in the HAL file...  I just changed the INI file as I had with the
vanilla parallel port setup and as the docs suggest was normal practise
after generating the initial config.

 Also, the HAL file is not actually looking in the INI file for the
 stepgen maxaccel, so ini file settings are not having any effect.

FWIW, they do effect the AXIS UI by limiting the max jog speeds.

 (Which version of PNCconf is this? It is making a lot of mistakes). If
 you look in the HAL file both stepgen accel and velocity are absolute
 values rather than being sucked out of the INI file.

That is the way it was meant to be.
PNCconf has no stepgen_max entries.
If they are there - they are hand edited.

U  maybe I misunderstood what you just said but PNCconf does
generate MAX_VELOCITY and MAX_ACCELERATION in the INI file for each
axis.

PNCconf also, as Andy rightly observed, puts
hm2_5i25.0.stepgen.XX.maxaccel and hm2_5i25.0.stepgen.XX.maxvel in the
HAL file as absolute values (albeit different to the values in the INI
file; see below).

(I just did fresh test configuration run with PNCconf to confirm the
above).

This is what lead to my confusion as I was changing the values in the
INI file but, I guess, the values in the HAL file were causing the
following errors (the numbers stack up anyway as the HAL file had a
Z-maxvel of 17.7 and X-maxvel of 39.8; these pretty much match up with
the tripping point of the following errors for each axis).

So I tried changing my 'real' HAL file like so:

setp   hm2_5i25.0.stepgen.00.maxaccel[AXIS_0]MAX_ACCELERATION
setp   hm2_5i25.0.stepgen.00.maxvel  [AXIS_0]MAX_VELOCITY

for each axis.  Bzzzt Nope that wasn't good and made things
worse (X would only go to  586 mm/min without following errors).

So I then changed the absolute values in the HAL and INI to match (used
round numbers) and tried jogging.  That generated following errors when
I stopped the jog (took my finger off the mouse button in continuous
mode).

H  back to my test config, I reran PNCconf and set max speed to
4000 mm/min and the three axis to:

X   800 Stepper Scale, 3000 mm/min Velocity, 350 mm/sec2 Acceleration
Y   800 Stepper Scale, 3100 mm/min Velocity, 400 mm/sec2 Acceleration
Z   400 Stepper Scale, 3200 mm/min Velocity, 450 mm/sec2 Acceleration

This puts the following in the INI file:

X MAX_VELOCITY = 50.0MAX_ACCELERATION = 350.0
Y MAX_VELOCITY = 51.67   MAX_ACCELERATION = 400.0
Z MAX_VELOCITY = 53.33   MAX_ACCELERATION = 450.0

and in the HAL file:

setp   hm2_5i25.0.stepgen.00.maxaccel 437.5
setp   hm2_5i25.0.stepgen.00.maxvel   62.5

setp   hm2_5i25.0.stepgen.01.maxaccel 500.0
setp   hm2_5i25.0.stepgen.01.maxvel   64.6

setp   hm2_5i25.0.stepgen.02.maxaccel 562.5
setp   hm2_5i25.0.stepgen.02.maxvel   66.7

...and I can jog at full speed on each axis without following errors.

So.  Why are the absolute values in the INI different to the ones in the
HAL file?  There's obviously some magic going on here :-)

...and how is one meant to tweak velocities/acceleration in 
a configuration generated by PNCconf?  (perhaps a comment in the PNCconf
generated INI file would stop someone else falling into the same hole).

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance

Re: [Emc-users] Following Error with Steppers [SOLVED]

2013-10-03 Thread Russell Brown
Quoth andy pugh.
On 3 October 2013 13:22, Russell Brown russ...@lls.lls.com wrote:
 So.  Why are the absolute values in the INI different to the ones in the
 HAL file?  There's obviously some magic going on here :-)

However, if the axis limits are exactly the same as the stepgen limits
then the stepgen has no overhead to work with, and trouble ensues.
So the stepgen limits on velocity and accel need to be a shade higher
than the axis limits.

That's the kiddy.  Have a cigar Mr Pugh.

I misinterpreted Peter Wallace's earlier comment in this thread when he
said:

One thing that is required is that the per axis stepgen maxaccel
parameter be set to about 20% greater than the machine maxaccel for
that axis.

My befuddled brayne though he was talking about the INI STEPGEN_MAXACCEL
setting.  Too many settings with the same name!  However even that's not
the full solution.

it used to be that the stepgen limits could be set to zero and the
stepgen would simply do as it was told. I don't recall what changed
there, or why it changed.

In http://www.linuxcnc.org/docs/devel/html/drivers/hostmot2.html (13.2
Parameters maxaccel) is still says you can set it to 0.

It is perfectly OK to add things to the INI file and reference them in
your HAL file if you want to. It would be nicer if pncconf did this
for you for those parameters, though.

Can the code that expands the references in the INI file do
multiplication then?  It would need to be able to do this to maintain a
working reference so you end up with:

setp   hm2_5i25.0.stepgen.00.maxaccel[AXIS_0]MAX_ACCELERATION * 1.2
setp   hm2_5i25.0.stepgen.00.maxvel  [AXIS_0]MAX_VELOCITY * 1.2

Because taking on board both your and Peter's comments, setting *both*
the hm2_5i25.0.stepgen.XX.maxaccel and hm2_5i25.0.stepgen.XX.maxvel to
the values in the INI file +20% makes everything work.

Just changing maxaccel or just maxvel doesn't fix the 'Following errors'
problem.

Ta to everyone for their comments.  I'll post sommat on the Forum for
future reference.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Following Error with Steppers

2013-10-02 Thread Russell Brown

I'm getting joint following errors on my Z-Axis when I increase the
jog speed above ~1015 mm/min.

I also see it on X (and presumably Y) when I increase its max speed to
over 2336 mm/min; not quite linear given Z has twice (4mm/rev) the pitch
of X (2mm/rev) with the same microstepping (800/rev).

BTW:  I don't use 2336 mm/min in real life (ACME lead screws :-(); I'm
just playing with the jog button in Axis with the drivers powered down
but the Z axis will certainly do a bit more than 1015 mm/min and I'd
like to use that or at least understand why I can't.

It's a stepper based system using a Mesa 5I25 and the standard
BASE_PERIOD of 50us which should allow 20,000 steps per second
(according to TFM).  The SERVO_PERIOD is 100 (standard).

1015 mm/min is 17 mm/s and my Z STEP_SCALE is set at 200 (4mm pitch, 800
microsteps per rev) so that's 17*200 = 3,400 steps per second which is
well within the 20,000.

I've tried increasing FERROR to silly levels (10), deleting MIN_FERROR
and that doesn't seem to make much difference.

The thing that did make a difference was decreasing the MAX_ACCELERATION
to something really slow like 5mm/s/s, it's normally set at 350, but
playing in pncconf I can get over 40 mm/s with an acceleration of 350
mm/s/s so I don't understand what's going wrong.

I'm obviously being a muppet (what's new?) and misunderstanding
something here.  Could one of you gurus help shine some light on this?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Crowbars

2013-10-02 Thread Russell Brown
Quoth John Kasunich.

$13 gets the same ohms and watts, but can run continuously if needed:
http://www.ebay.com/itm/131001379245

That's brilliant...  stick a kettle on top and Andy automatically gets a
nice cuppa when he's finished making chips :-)

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following Error with Steppers

2013-10-02 Thread Russell Brown
Quoth Peter C. Wallace.
On Wed, 2 Oct 2013, Russell Brown wrote:

 It's a stepper based system using a Mesa 5I25 and the standard
 BASE_PERIOD of 50us which should allow 20,000 steps per second
 (according to TFM).

There should be no base thread at all with hardware stepgens
(it will make things worse and may even be the cause of the following error)

The original config from pncconf didn't have the BASE_PERIOD in the .ini
file.  I did put one in during my flailing around but I've just taken it
out and there's no difference.

However, it looks like my .hal file (pncconf generated) doesn't use it
anyway:-

Mesa_Mill.hal:loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD 
num_joints=[TRAJ]AXES

and talking of the .hal file, the only thing that's changed from the
pncconf generated version is AFAIR that I had to comment out the
following two lines:

loadrt abs names=
loadrt lowpass names=

as linuxcnc won't start with them in the file.


One thing that is required is that the per axis stepgen maxaccel parameter be 
set to about 20% greater than the machine maxaccel for that axis.

I did have it set to double (700).  Just tried 420 (350 * 1.2).  No
difference :-(


FWIW, I've stuck my .ini and .hal files here:

http://ruffle.me.uk/cnc/Mesa_Mill.ini
http://ruffle.me.uk/cnc/Mesa_Mill.hal

if anyone's kind enough to have a quick gander and tell me what stupid
mistake I've made I'd be very grateful.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] It's the software. Re: Very weird thing with my stepper motors. They don't like to be moved while running.

2013-09-23 Thread Russell Brown
Quoth Gregg Eshelman.

At least now I know this hardware is capable of smooth operation. Further 
fiddling with it can wait until I get around to mounting the motors.

FWIW, it sounds like I have the same kit (DQ860MA, 85BYGH450D-008 Nema
34 motors and the generic Wantai BOB).

I did wire in the DQ860MA's enable line  dunno why really but it
seemed a good idea and that worked fine.

I used steptime  stepspace of 2600, dirhold  dirsetup of 800 and 1,000
microsteps on the drivers (use 5.0 in stepconf's Driver Microstepping
field).

This worked for me.  but I then splashed out on a 5I25 :-)

HtH

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] HAL: two pins for same function without or2 ?

2013-09-10 Thread Russell Brown
Quoth John Thornton.
The manuals are quite large, well not as large as they used to be so I 
assume you missed this important section on HAL. In particular look at 
the diagram in the net section 1.4.

http://linuxcnc.org/docs/html/hal/basic_hal.html

You mean:

An OUT pin can be connected only if there are no other OUT or IO pins 
on
the signal

I most certainly read it  understood is obviously another matter :-(
halui.jog.0.minus is an OUT pin then (I kind of thought it was an IN).

Anyway, that'll be a No.  One has to use or2.

Ta.
-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] HAL: two pins for same function without or2 ?

2013-09-10 Thread Russell Brown

Silly little HAL question if I may (I have RTFM and Googled but not
found an obvious answer).

Can you 'connect' two pins to the same signal without using or2 ?

I managed to configure two buttons on my pendant to do an estop but had
to use an or2  which is a bit clunky.

I was just playing with the pyvcp examples and added the jog buttons but
linuxcnc errors out with:

Starting LinuxCNC...
custom_postgui.hal:35: Signal 'jog-minus-x' can not add OUT pin 
'pyvcp.x-minus', it already has OUT pin 'xhc-hb04.jog.minus-x'
Shutting down and cleaning up LinuxCNC...

It's not a huge problem to use or2 but I thought I'd ask to see if I'm
missing a trick.

TIA.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] HAL: two pins for same function without or2 ?

2013-09-10 Thread Russell Brown
Quoth andy pugh.
On 10 September 2013 18:27, Russell Brown russ...@lls.lls.com wrote:

 I most certainly read it  understood is obviously another matter :-(
 halui.jog.0.minus is an OUT pin then (I kind of thought it was an IN).

No, that's definitely an in.
halcmd show pin *jog*

Ah...  so I can't connect pyvcp.x-minus and xhc-hb04.jog.minus-x to
halui.jog.0.minus, without an or2, because of:

An OUT pin can be connected only if there are no other OUT or IO pins on
the signal 

Which one could paraphrase as being An IN can only have one OUT
connected to it.

Isn't English wonderful :-)

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Creating Screw Compensation

2013-09-06 Thread Russell Brown

Well that was interesting.

I created a, modest, screw compensation file and I'm most impressed by
the effect.

I added a limit switch for X home in the middle of the table (to get
some repeatability of the axis screw position) and did:

HOME reset DRO X-Axis
G0 X100  take reading from DRO
X0   take reading from DRO

Here's the results without any backlack or screw compensation in the
.ini file.

99.905   0.155
99.905   0.155
99.910   0.165
99.900   0.150
99.910   0.155

Kind of what I expected as the table's being driven in the positive
direction to get to X0 after tripping the home switch so there's no
initial backlash for the positive move to X100.  The return trip in the
negative direction shows my typical backlash.

Adding a screw compensation table (type 0 with entries for every 10mm
over a 150mm run) and repeating the above I got:

99.995   0.010
99.995   0.005
99.995   0.010
99.995   0.010
   100.000   0.010

That's a lot better and pushed the error down an order of magnitude into
the limits of my DRO's accuracy :-)

Remembering the negating effect of the homing sequence on the positive
backlash I thought I'd be sneaky and drive the table in the negative
direction before the test to maximise the backlash effect.

HOME
G0 X10
X0 reset DRO X-Axis to zero
X100   take reading from DRO
X0 take reading from DRO

Here's what happened:

100.005   0.000
100.000   0.000
100.010   0.000
100.010   0.000
100.010   0.000

I don't quite understand how Linuxcnc managed that but I'm not going to
examine the gift horse's gnashers too closely!  I'll just conclude that
the time to produce a screw compensation table is time well spent.

I'm planning on doing a bit of nut tweakery to minimise the backlash and
then doing a proper high-as-I-can-resolution compensation table run
across the whole of the X  Y axis.

When I'm done I'll update the wiki page with my experience for other
newbies.

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Creating Screw Compensation Table

2013-09-05 Thread Russell Brown

I've RTFM and Googled but I can't find an idiot's guide to creating a
lead screw compensation table for Linuxcnc.  Is my googlefu weak or is
there no such thing?

...or do I actually need one at all?


As background (Hello!  and Warning Newbie Alert!) I have a metric
WMD30LV (big brother to the G0704) mill using the standard lead screws
being driven by 7Nm NEMA 34 steppers (oldham couplers), DQ860MA drivers
and a cheapy BOB connected to a parallel port with Linuxcnc 2.5.3 in
control.  The mill has glass scale DRO's on all axis (fitted when I
thought I could resist going CNC...  Pah!  :-)

However, I think I might have a problem with the accuracy of my lead
screws or perception of accuracy and/or something else...  which is why
I'm thinking that a lead screw compensation file might be better than a
crude backlash setting (yes I have backlash and no, I'm not surprised
but I'd like to make chips before embarking on a ballscrew conversion).

If I do:

G90
G0 X0
X50
reset DRO to zero in the X axis
X100

and take a reading from my DRO I get slightly under 50mm shown.

I've tried various microsteppings with the following results on X  Y:

   Micro
   Steps  X-Axis  Y-Axis
   40049.960  49.950
   80049.960  49.930
  100049.970  49.970
  200049.965  49.970
  400049.955  49.970

Max variation:  0.015mm (0.59 thou) in X and 0.04mm (1.57 thou) in Y.

Does that look like lost steps?  or as much accuracy as I'm likely to
see?  (one can get hung up on accuracy reading the various cnc
lists'n'forums and watching the DRO for that +-5 flicker in the third
decimal place :-)

Is this the sort of thing that a screw compensation table is meant to
deal with?  If so, how do I actually measure the numbers for the table?

Are the measurements absolute or relative to the previous move?  How do
I get the reverse or reverse trim numbers?  Sorry for being a thickie.

If I do use a compensation table, ISTR that there's a limit of 256
entries and the table on my mill moves +-300mm.  Is a table entry for
every 2.34mm what I need to generate?

Thanks in advance.


PS - If I do need a compensation table and work out how to generate one
I'll put something on the wiki for future newbies.
-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Creating Screw Compensation Table

2013-09-05 Thread Russell Brown
Quoth bodge...@gmail.com.

On 5 September 2013 16:33, Russell Brown russ...@lls.lls.com wrote:

 Is this the sort of thing that a screw compensation table is meant to
 deal with?  If so, how do I actually measure the numbers for the table?

Then just run up the table, G0 X10, note the reading and make a comp
file entry of 10,9.92, and so on to the end of travel, then come back the 
other way, filling in the third column.

OK.  If I do that, given my X backlash of 0.165mm and an assumed feed of
9.92mm for every 10mm commanded, then I end up with a table like:

  00.00 00.00 0.165   (10.085-9.92)
  10.00 09.92 10.085  (20.005-9.92)
  20.00 19.84 20.005  (29.76-9.92+my_backlash)
  30.00 29.76 

Does that look right?

Given 600mm travel on the X-axis, what table intervals make sense?

Or have I misunderstood the question?

Well.  You missed bits...  but it was multi-part :-) 

Were the 'errors' I showed (~.015mm over a 50mm move) in the right ball
park for a non-ball-screw benchtop mill driven by steppers?

Should I expect a commanded 50mm move to travel 0.040mm less than 50mm ?

Does the variation in actual distance moved indicate missed steps?  (the
actual move varied with different microsteppings)

Am I trying to fix something that's 'normal' ?

-- 
 Regards,
 Russell
 
| Russell Brown  | MAIL: russ...@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems | WWW Work: http://www.lls.com  |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk |
 

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users