Re: [Emc-users] Thoughts on a Python script to calculate estimated run time, for G code and my first hacked sub routine

2014-10-08 Thread Schooner
First Q From Axis File Properties Brings up the properties of the currently loaded gcode including estimated run time Always underestimates as it takes no account of time used in acceleration and deceleration to/from the required Feed speed regards

Re: [Emc-users] 5i25 GPIO mapping

2014-08-11 Thread Schooner
On 10/08/14 22:20, emc-users-requ...@lists.sourceforge.net wrote: Any chance you are using machinekit style logging? Good catch Andy. That is exactly it. I have 3 RIPs on that machine and at the time I tried it, I must have been using the machinekit one. rtapi_msgd had grabbed the output and

[Emc-users] 5i25 GPIO mapping

2014-08-10 Thread Schooner
Hi Dipping my toes in the FPGA pool, there may be more queries after this. Is the 5i25 supposed to have its GPIO pins mapped in dmesg when hostmot2 / hm2_pci are loaded? (as per http://linuxcnc.org/docs/html/drivers/hostmot2.html#_gpio ) The manual page states that the 5i25 is pre-programmed

Re: [Emc-users] Emc-users Digest, Vol 100, Issue 12

2014-08-10 Thread schooner
halcmd show all allhall.txt Well of course I had not run that since I had the card installed on a test machine, with nothing attached so no config= :-D Peculiar, it is a rtai kernel, albeit homebrew, but nothing in dmesg whatsoever Yes thanks Gene that was precisely the object of my

Re: [Emc-users] Emc-users Digest, Vol 96, Issue 51

2014-04-18 Thread schooner
Detailed question. I want to implement these as wizards. I see there is already work done here (http://linuxcnc.org/index.php/english/forum/40-subroutines-and-ngcgui/11414 -metric-lathe-subroutines-g71-g72-etc-etc) so I'll probably borrow from that. Feel free to borrow away ( I wrote them

Re: [Emc-users] SMI Reduction

2014-03-10 Thread Schooner
Didn't we establish that your chipset does not have the SMI problem? If you try to load rtai_smi with a chipset which is not on its list, it will just unload again, so you are wasting your time. The instructions you found are very old and relate to a Run In Place installation

Re: [Emc-users] SMI

2014-03-08 Thread Schooner
Sudo lspci -vv shows my chipset as 82801EB/ER Your attachments were scrubbed SMI only affects the original version of 82801EB (82801EB_0) If your print shows 'rev 1' or higher it should be OK Full list here

Re: [Emc-users] SMI

2014-03-08 Thread schooner
On 09/03/2014 05:13, emc-users-requ...@lists.sourceforge.net wrote: Thanks Schooner I have rev 02 so I guess I'm fine Regards Bill You are OK as far as actual SMI goes, but read the second post on that thread. You can get symptoms very similar to SMI on some boards with that chipset

Re: [Emc-users] Knee mill conversion - Z axis questions

2014-02-20 Thread Schooner
IMHO if you motorise the knee instead of the quill, you lose all the benefits of the knee elevation for adjusting to workpieces and manually touching off the Z tool, in favour of a very slow and potentially troublesome Z axis which requires all movements to be inverted in a somewhat

[Emc-users] Buildbot errors with stepconf file paths

2014-02-11 Thread Schooner
Hi Reported via the forum at this thread http://www.linuxcnc.org/index.php/english/forum/9-installing-linuxcnc/27482-precise-1204?start=20#43730 Users trying out the 3.4.55-rtai kernel on Ubuntu 12.04 and then installing Linuxcnc from the buildbot (master or 2.5.3) as per the wiki, are getting

Re: [Emc-users] Emc-users Digest, Vol 94, Issue 29

2014-02-11 Thread schooner
Hi Marius On 12/02/2014 06:12, emc-users-requ...@lists.sourceforge.net wrote: Hi Chris The reason I would like to think I need it is because I test a lot of different configs and code on the same machine (hardware ) for instance. This means that I have to redo the INI file for every test. I

[Emc-users] User space components not working in 2.6-pre

2013-10-26 Thread Schooner
Hi Sorry can't replicate that Component loads via halcmd and from hal file halcmd: loadusr -W passthrough halcmd: show all Loaded HAL Components: ID Type Name PID State 4 User passthrough4028 ready 2

Re: [Emc-users] Controlling LinuxCNC externally with C++ program

2013-10-21 Thread Schooner
I am trying to figure out the best way to drive LinuxCNC from a C++ program. This program would receive general commands from the user, something like: execute procedure 1 and translate this into telling LinuxCNC to open a specific file and run the G-code therein. If you are using Linuxcnc

Re: [Emc-users] Looping a program

2013-10-16 Thread Schooner
Put it in a sub and call that sub from the main program in an endless loop (while(1) or similar) Hi Can anyone tell me, or point me to somewhere that can, how to loop a program continuosly untill the stop button is pressed? Thanx Aaron

Re: [Emc-users] joint_axes3 - info needed

2013-10-14 Thread Schooner
Looks like trying to run make without being configured properly Try git clean -xdf cd src ./autogen.sh ./configure --with-whatever-switches-apply make regards Trying to compile but $ make ?returns me: ~/linuxcnc-fda6359/src$ make Makefile:55: Makefile.inc: No such file or directory

Re: [Emc-users] Buildbot versus RIP

2013-09-13 Thread Schooner
Further to Andy's correction If you want to make removal easier, but still install to the system rather than a RIP use CheckInstall You run the install process through it and it makes a .deb of the installed files, so that a dpkg -r packagename can be used to remove them all again regards

Re: [Emc-users] Emc-users] subroutines and run from line

2012-10-17 Thread Schooner
All linked to this bug report I think, still not resolved, some of it was supposed to be fixed in the master. sourceforge.net/tracker/?func=detailaid=3440704group_id=6744atid=106744 regards -- Everyone hates slow

Re: [Emc-users] G71 lathe roughing cycle

2012-08-27 Thread Schooner
I've done that by writing a subroutine that traces the path. The subroutine takes a single argument that represents the offset from the path. Then call it in a loop with appropriate values. Another variation on the theme, similar to the above, I published a set of ngcui subroutines to carry

Re: [Emc-users] Serial comms within a userspace component

2012-07-05 Thread Schooner
Hi Gene You did #include stdio.h I assume... Yes and unistd.h etc, as I said it compiles fine in both and runs properly from the command line I'm thinking that because of the type you used for 'fd', that it may well be volatile, and out of that functions 'scope' by the time you actually do the

[Emc-users] Serial comms within a userspace component

2012-07-04 Thread Schooner
Hi I have been playing with a C userspace component to pass values from Linuxcnc to an arduino for display on a pendant LCD. The code works perfectly from a commandline program but when inserted into a component, it compiles and runs but each write(fd, buff, sizeof(buff)) goes to stdout /

[Emc-users] LiveCD Fails to install LinuxCNC

2012-06-14 Thread Schooner
Hi John Can you check your /var/log/installer directory This sounds very similar to this thread I was involved with http://www.linuxcnc.org/index.php/english/component/kunena/?func=viewcatid=9id=20126 The problem was that ubiquity was re-instating the stock kernel part way through the process

Re: [Emc-users] Debian with LinuxCNC

2012-05-15 Thread Schooner
Hi I have built 2.6.26 rtai kernels on Lenny and Squeeze. Still using Lenny on an older machine I used these instructions as a starting point and tailored for debian http://code.google.com/p/neo-technical/wiki/emc2ubuntu My notes suggest that tk/tcl8.4 bwidget and python-tk are not in the

Re: [Emc-users] Setting EPP Mode

2012-05-07 Thread Schooner
Hi Came to this thread late on, I have a copy of the Oxford mode setting utility from when I used one of their cards. Have posted it here http://www.linuxcnc.org/images/fbfiles/files/oxprom.zip Hope this is of help regards

Re: [Emc-users] GladeVCP / File Selector Button

2012-04-25 Thread Schooner
Hi Andy I_think_ that uses a generic button which calls hal_action_open, which in turn opens hal_filechooser.py, which seems to open a G-code file in LinuxCNC. Unfortunately that is not what I want to do. Looks like all you have to do to change the default action in hal_filechooser.py

Re: [Emc-users] Tool change question

2012-03-16 Thread Schooner
Hi I am no python expert, but a couple of things jump out at me. There has been no reference under [EMC] NML_FILE= in the ini file since v2.4 Indeed if it is not commented out , EMC will fail to start with multiple errors. So the call iniFile.find(EMC, NML_FILE)) will fail on v2.4 and

Re: [Emc-users] Tool change question

2012-03-16 Thread Schooner
Hi Have now had a play with this and found how to get it working with 2.5 Comment out the lines #iniFile = emc.ini(os.environ['INI_FILE_NAME']) #emc.nmlfile = s.path.join(os.path.dirname(os.environ['INI_FILE_NAME']), #iniFile.find(EMC, NML_FILE)) Change the lines emcStat = emc.stat(); emcCmd =

Re: [Emc-users] Following error only on jog

2011-12-30 Thread Schooner
Hi See Integrator Manual Chap 4.2.8 In [TRAJ] section of ini file, set DEFAULT_VELOCITY= DEFAULT_ACCELERATION= to figures far lower than your current MAX figures (1/4 at least) and experiment from there Acceleration is the one which causes the problems normally, when moves are activated by

Re: [Emc-users] Live CD

2011-12-28 Thread Schooner
Hi Download the 8.04 cdimage and install that. If you want a newer version of EMC you can install that onto 8.04. A lot of things have changed from version 9.10 of Ubuntu onwards, that do not make it ideal for older hardware. I have 8.04 running happily on 2 P4 desktops in the workshop, with

Re: [Emc-users] Arduino Communication issues

2011-12-04 Thread Schooner
Have you tried loading the module without the -W switch? I seem to remember having problems, when experimenting with serial comms to an Arduino board from emc, if I used the -W(ait_until_ready) switch I loaded it right at the start of the hal file and then didn't link any of its pins until the

Re: [Emc-users] Next distribution after Ubuntu 10.04 LTS is, no longer supported?

2011-11-25 Thread Schooner
Hi The real problem it seems to me, is one of philosophy rather than what is practically possible. The use of Ubuntu as a carrier vehicle has enabled a lot of people with minimal Linux knowledge to use EMC. As Kirk said, if a better technical solution were used at the expense of usability,

Re: [Emc-users] I feel dumb

2011-11-15 Thread Schooner
Hi You need to say exactly what it is you have, but a lot of the Chinese mini and larger mills sold in the UK and probably elsewhere use a KBLC speed control board to run a 100 - 200v DC motor. The board is actually American and there is good documentation on the net for it. This can be

Re: [Emc-users] upgrade issue with 10.04 live CD

2011-09-30 Thread Schooner
Hi If you have upgraded from 2.3.x to 2.4.6, your error could be simply that you have not commented out the reference to the emc.nml file in your .ini file ie #NML_FILE = emc.nml This throws loads of 'waiting for s.axes' faults in 2.4.x and refuses to load. regards

Re: [Emc-users] Parallel port card that just works?

2011-09-14 Thread Schooner
Hi This was a vexed question for me after I made a pendant and need more IO to work it. None of the Parport IO cards I tried would not work at all, the problem was getting them to work in EPP with pins 2-9 as inputs. I found previous entries from Jon, Kirk and others on this subject. By

Re: [Emc-users] Trouble with gantry setup

2011-08-22 Thread Schooner
Hi in [TRAJ] I have DEFAULT_VELOCITY = 1.0 MAX_VELOCITY = 8 DEFAULT_ACCELERATION = 55.0 MAX_ACCELERATION = 55.0 In each axes.. for example [AXIS_0] I have MAX_VELOCITY = 8.5 MAX_ACCELERATION = 60 STEPGEN_MAXACCEL = 65 That looks pretty good, but those

Re: [Emc-users] Old ssh -Y problem is back

2011-07-24 Thread Schooner
I believe that axis cannot run over ssh -Y due to needing access to the host's video hardware (OpenGL). I would love to be proven wrong. Before 2.4.6 came out with the Ubuntu 10.4 build I was unable to put the old CD distro on my house PC because it is quad-core. I used an old Pentium 3

Re: [Emc-users] [emc-users] Changing Axis display to cater for lathes, with slant-bed or rear toolpost

2011-07-12 Thread Schooner
Hi Andy Not wanting to confuse the situation, but I think that this might need to be set by a parameter in the tool table. It is not inconceivable that a given lathe might have both front and back tool posts, like this arrangement here: Yes, I didn't explain myself very well. There are of

[Emc-users] [emc-users] Changing Axis display to cater for lathes with slant-bed or rear toolpost

2011-07-11 Thread Schooner
Hi This subject has come up before but to no obvious conclusion. The current display can be adapted to by the programmer for linear turning, but it is when turning arcs that the orientation of the display becomes a problem and renders the display near useless. Looking at OpenGL, it appears

Re: [Emc-users] Jog keys for axis A in AXIS

2011-07-06 Thread Schooner
How do I assign keyboard keys to manually jog axis A? The standard assignment seems to be [ and ] however on my non-us keyboard neither the keys generating [ ] nor the keys at the place where an us keyboard has [ ] gives the desired result. Ref the original query, the below jogs my A

[Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Schooner
If I have a program that gets executed via a user-defined M100 command, can that program get the INI file data somehow? Hi The info you need is in the main axis executable. Axis starts with a commandline argument specifying the path of the .ini file by default. Looks like you are

[Emc-users] How can I create my own functions table for named, subroutines

2011-06-24 Thread Schooner
So is it possible to create such a table? I tried to initialise table using code above but got an error message Parameter number out of Range I suspect the answer is no you can't - see later caveat. You can of course do this sort of thing, because it is based upon numbers and that is all a

Re: [Emc-users] M101 - M199 problem

2010-10-05 Thread Schooner
that EMC reads M101 P3 and then passes 3.00 instead of just 3, to my M101 script! As an example the below M101 script uses calls to halcmd to adjust the scale and stepgen associated with my spindle, to account for pulley changes. regards Schooner /#!/bin/bash ## sets scale gain to make output

Re: [Emc-users] AXIS to close open Tool Change popup

2010-09-14 Thread Schooner
there first, happy hacking Schooner -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu

[Emc-users] EMC2 v2.4.3 G76 change?

2010-08-12 Thread Schooner
to compensate. regards Schooner -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev

Re: [Emc-users] Lathe ATC integration

2010-08-02 Thread Schooner
Hi Again, Just an update to the thread with the solution adopted. I hate searching threads and never finding how it ended up being done. I wrote a G Code sub routine called m6 which takes 2 parameters, current_tool and required_tool. This is no problem, as when you do a tool change you will

Re: [Emc-users] Lathe ATC integration

2010-07-29 Thread Schooner
Hi again I have spent a few days reading all the manuals etc and studying the various links you all passed on. I decided that Kirks solution of a component written in C was most viable for me. In the interim I have written a G Code sub routine called m6 which does the tool change and I just

Re: [Emc-users] Lathe ATC integration

2010-07-26 Thread Schooner
Hi again Thanks for the various links and info, I will have to sit down and try to get my head around them and work out the best strategy John and Steve are correct about the way it operates. It is a Boxford 240F and really it does not matter whether the motor loses steps when locking back.

[Emc-users] Lathe ATC integration

2010-07-25 Thread Schooner
Hi Guys, I have been searching the lists for info on setting up an ATC under EMC2. I have found some references but nothing concrete as to how it is achieved. This must be quite a common requirement, but can see nothing in the wikis etc about doing it. I have an 8 station revolving tool

[Emc-users] SIIG PCI 1P parport card

2010-05-07 Thread Schooner
Hi again, Just want to see if anyone has any ideas I have not tried, to get this card working with pins 2-9 as inputs under EMC2. It works perfectly with Mach and was connected to my MPG pendant with pins 2-8 plus 1315 in use. I bought it because other users recommended it as a proper IO card

[Emc-users] Re Single Pulse Threading

2010-04-24 Thread Schooner
] Single index pulse threading To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Message-ID: v2q62cd38031004231000s2d9c8de0i471c0dc2c379e...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On 23 April 2010 17:12, Schooner schoone...@tiscali.co.uk wrote

Re: [Emc-users] Single Index Pulse Threading

2010-04-24 Thread Schooner
Hi again Managed to get an hour in the workshop unexpectedly, linked encoder.0.Phase-Z to the index pulse as well and eureka it works properly, let threading tests commence! May yet fit the encoder, will see what you think of the one I have. Thanks for your help Mick

[Emc-users] Single index pulse threading

2010-04-23 Thread Schooner
Hi My first time here, hope you can assist. I have a working stepper driven lathe under Mach, but am not happy with Mach on many levels and use Linux for everything else, so am migrating to EMC2. I have all the basic stuff working, but I cannot do any threading. I have a single pulse from