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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 /
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
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
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
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
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
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 =
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
] 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
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
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
51 matches
Mail list logo