Re: [Emc-users] Charge pump frequency

2009-05-24 Thread Jeff Epler
On Sun, May 24, 2009 at 11:26:47PM +0100, Leslie Newell wrote: Hi, Does anyone know what frequency the charge pump HAL module outputs? It depends on the period of the thread which the charge pump is attached to--when enabled, the charge pump makes one transition every period. For example, if

Re: [Emc-users] Charge pump frequency

2009-05-24 Thread Jeff Epler
On Mon, May 25, 2009 at 12:32:44AM +0100, Leslie Newell wrote: How do you specify which thread it is on? this is specified on the halcmd 'addf' line for the function and shown by halcmd 'show thread'. Is HAL event driven or a state machine? For instance if I change a pin that is connected to

[Emc-users] Thanks, Stuart

2009-05-26 Thread Jeff Epler
On Tue, May 26, 2009 at 07:22:34PM -0700, John Lichter wrote:    I just wan to send out a big THANKS to Stuart for hosting the EMC fest at him place and the same to all the EMC guys that were there. Terry and I made it back Monday evening in good shape and he is ready to try out what he

Re: [Emc-users] Binding key on control in pyvcp

2009-05-27 Thread Jeff Epler
On Wed, May 27, 2009 at 02:13:03PM +0200, Sasa Vilic wrote: Is it possible to bind key (for example F12, F11) on some control like checkbox or button in pyvcp? No, there isn't presently a way to do this. pyvcp doesn't have any way of specifying keyboard bindings. Jeff

Re: [Emc-users] Help with Gcode problem

2009-05-27 Thread Jeff Epler
On Wed, May 27, 2009 at 11:50:12PM +0100, alan battersby wrote: #_current_depth = [#_loop_count + 1] * [#_max_cut] Instead, write #_current_depth = [[#_loop_count + 1] * #_max_cut] that is, put [] around the entire expression. Jeff

Re: [Emc-users] Binding key on control in pyvcp

2009-05-27 Thread Jeff Epler
On Wed, May 27, 2009 at 09:12:26PM +0200, Sasa Vilic wrote: Do you have plan to support it in the future? Personally, no. However, I'd sure look at a contribution that added it. Jeff -- Register Now for Creativity and

Re: [Emc-users] [Fwd: Re: [mach1mach2cnc] Open Sourcing the 5/6-axis CNC-Toolkit]

2009-05-30 Thread Jeff Epler
There are two main classes of license you should consider when you can set the licenseing for a piece of software: GPL[1] or BSD[2]. (the debian-legal list frequently suggests zlib and mit licenses as other alternatives for permissive licenses if you don't like BSD for some reason) GPL vs BSD is

Re: [Emc-users] ld: no input files

2009-06-02 Thread Jeff Epler
I could cause the exact error you showed by corrupting the file src/objects/hal/components/abs.mak, but never in normal circumstances. What is in your file src/objects/hal/components/abs.mak, which is created by the build process? Jeff

Re: [Emc-users] Controlling state of input parameters of some hal components through CNC code

2009-06-02 Thread Jeff Epler
You can control several HAL 'bit' outputs with gcodes. Probably you want M62/M63 http://linuxcnc.org/docs/html/gcode_main.html#sec:M62-to-M65: Jeff -- OpenSolaris 2009.06 is a cutting edge operating system for

Re: [Emc-users] Writing HAL Components

2009-06-03 Thread Jeff Epler
No, not really. This is a sort of gap between combining simple components and using classicladder or custom components, and we don't have a good plan for filling that gap. Jeff -- OpenSolaris 2009.06 is a cutting edge

Re: [Emc-users] 5i20 hm2-servo configure problem

2009-06-03 Thread Jeff Epler
If the input to your motor amplifiers is step + direction, then you should be using a stepper configuration, even if the motors are actually servomotors. I recommend that you upgrade to emc 2.3.1 to run step+direction with hostmot2. There are many bugfixes compared to 2.2.8. The upcoming emc

Re: [Emc-users] Writing HAL Components

2009-06-03 Thread Jeff Epler
I agree that what you're asking for would be very convenient. But implementing it in emc2 is probably very difficult, even if using it is conceptually simple. Jeff -- OpenSolaris 2009.06 is a cutting edge operating

Re: [Emc-users] Different structures PD IPD... Robust control

2009-06-04 Thread Jeff Epler
On Thu, Jun 04, 2009 at 01:15:01PM +0200, Jasiel Nájera wrote: Hello to everybody. My questions are: 1- Is it posible to implement other types of controllers instead of PID? If so, have some of you already done something regarding this? I'm thinking on designing a compesator with QFT

Re: [Emc-users] dcmotor with encoder use as servo

2009-06-11 Thread Jeff Epler
On Thu, Jun 11, 2009 at 10:32:57AM +, lesw...@gmail.com wrote: 1. What board is easiest to configure fort this. I am leaning toward a Pluto or a mesa 7i 33 I recommend Mesa over Pluto without hesitation (and I say this as the guy who wrote the FPGA firmware and HAL driver that run the

Re: [Emc-users] dcmotor with encoder use as servo

2009-06-11 Thread Jeff Epler
On Thu, Jun 11, 2009 at 08:18:33AM -0500, Jeff Epler wrote: You could use an additional output pin on a second I/O connector for direction; in HAL you would use 'abs' and 'comp' to split the PID output into an always-positive magnitude and a direction. SWP points out on irc that 'abs' also has

Re: [Emc-users] EMC2 G-code Math

2009-06-11 Thread Jeff Epler
Expressions are described in the documentation: http://linuxcnc.org/docs/html/gcode_overview.html#sub:Expressions they ultimately call underlying functions in the standard C math library. There are no built-in constants such as 'pi' or 'e'. However, pi is often not needed because the builtin

Re: [Emc-users] EMC2 Drip Feed

2009-06-13 Thread Jeff Epler
On Fri, Jun 12, 2009 at 08:07:50PM -0700, Kirk Wallace wrote: Knowing what AXIS/EMC2 input options there are, would help me to know how close to this goal, I might be able to get. Right now, I have to block copy/paste, and file copy across three or four applications to get a similar outcome.

Re: [Emc-users] Large program??

2009-06-16 Thread Jeff Epler
There is no strict limit on program length. However, in practice you might find that the AXIS preview is intolerably slow or takes too long to load. In that case, just insert a line that reads exactly (AXIS,stop) somewhere in the gcode; the preview will end at that point. Jeff

Re: [Emc-users] Large program??

2009-06-16 Thread Jeff Epler
On Tue, Jun 16, 2009 at 07:36:02PM -0500, K.J. Kirwan wrote: Oops, what about those long N numbers? This program is accepted just fine by emc: n999 g0x0y0z0 m2 as are ones with even bigger sequences of 9s. I don't think there's

Re: [Emc-users] Large program??

2009-06-17 Thread Jeff Epler
On Tue, Jun 16, 2009 at 09:52:10PM -0500, K.J. Kirwan wrote: Excellent, does EMC2 take N numbers with decimals? No, those are rejected. Jeff -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new

[Emc-users] emc2 development switching to git on 6/20/2009

2009-06-17 Thread Jeff Epler
As I announced last month[1], we are switching to the git source control management system for emc2. The date for the transition has now been set for 6/20/2009, sometime after 12:00 GMT. Here's how it will work: * The CVS repository will be made read-only * A fresh import of the CVS history

Re: [Emc-users] [Emc-developers] emc2 development switching to git on 6/20/2009

2009-06-19 Thread Jeff Epler
On Wed, Jun 17, 2009 at 12:50:34PM -0500, Jeff Epler wrote: As I announced last month[1], we are switching to the git source control management system for emc2. The date for the transition has now been set for 6/20/2009, sometime after 12:00 GMT. Join us on #emc-devel on irc.freenode.net

Re: [Emc-users] emc2 development switching to git on 6/20/2009

2009-06-20 Thread Jeff Epler
The switch is done. There's still wiki and other documentation to clean up to refer to the new git system. Join us on freenode.net #emc-devel if you have questions about using git, or if you just like to complain about change. Jeff

[Emc-users] Old linuxcnc.org cvs server shutdown August 1

2009-06-24 Thread Jeff Epler
The old linuxcnc.org cvs server will be turned off August 1. If this poses a problem for you, please get in touch with me. -- ___ Emc-users mailing list

Re: [Emc-users] Show a message from a hal pin

2009-06-25 Thread Jeff Epler
On Thu, Jun 25, 2009 at 10:18:51PM +0100, Leslie Newell wrote: On my lathe I have a number of inputs that monitor things such as lube oil level, hydraulic pressure etc. If one of these inputs triggers it will estop the machine. I would like a warning to show in Axis when this happens. So...

Re: [Emc-users] Trouble with Python

2009-06-29 Thread Jeff Epler
You need to set emc.nmlfile to the right path to emc.nml before creating the stat and command objects. This is how it's done in axis: emc.nmlfile = os.path.join(os.path.dirname(sys.argv[2]), inifile.find(EMC, NML_FILE)) hal_manualtoolchange doesn't need to do this because it doesn't use nml

Re: [Emc-users] Why I cannot open hal meter and hal scope in emc2.3.1?

2009-06-30 Thread Jeff Epler
On Mon, Jun 29, 2009 at 09:45:56PM +0800, Howard Chan wrote: I cannot open hal meter and hal scope in sim and hm2-servo configuration? Can you start emc from a terminal instead of the icon, and paste any message that are shown in the terminal? Do all the configurations you have tried behave in

Re: [Emc-users] Show Hidden Files and Directories????

2009-06-30 Thread Jeff Epler
On Mon, Jun 29, 2009 at 11:02:40PM -0600, a...@conceptmachinery.com wrote: Hi when i try to click on Show Hidden Files and Directories to check box my computer freezes and i need cut power to restart. why it happened? this is a real bug, and will be fixed in the next version of emc2. I

Re: [Emc-users] Hostory of EMC / supported G-codes

2009-07-01 Thread Jeff Epler
No, there's not a comprehensive list. The wiki would be a good place to put it, and the changelog of the emc2 package is a good source for what was added in what version. However, the changelog won't have have information about what was changed since old emc (not emc2) from bdi. Jeff

Re: [Emc-users] power off at the end of program

2009-07-02 Thread Jeff Epler
On Thu, Jul 02, 2009 at 08:41:23AM +0200, Denis Stremplewski wrote: Hi, Does exist a way for automatically shutting off the power of the motors at the end of a program (something like Mxx), in order to avoid a self heating of the motors ? You don't want to do this. In a stepper system,

Re: [Emc-users] EMC2 with AXIS as pure simulator on Ubuntu 9.04

2009-07-02 Thread Jeff Epler
On Thu, Jul 02, 2009 at 10:39:25PM +0200, c...@martinschoeneck.de wrote: Hi, If I got it right, I can use the emc2-sim without the rtai-modules installed, right? I want to use the simulator with axis for previewing on a normal computer. Yes, but emc2.3.1 has some incompatabilities with

Re: [Emc-users] Help with probing on a surface with rotational symmetry - Comment on Wiki documentation

2009-07-02 Thread Jeff Epler
Works as documented here. (PROBEOPEN filename.txt) immediately created filename.txt in the same directory as my inifile. Jeff -- ___ Emc-users mailing list

[Emc-users] RELEASED: emc 2.3.2

2009-07-05 Thread Jeff Epler
I'm pleased to announce a new bugfix release in the emc 2.3 series, emc 2.3.2. A number of problems in the 2.3.1 release were fixed. See below for a list. The new packages are now available for Ubuntu 8.04 Hardy Heron in the package repositories. If you already installed emc 2.3.0 or 2.3.1,

Re: [Emc-users] RELEASED: emc 2.3.2

2009-07-07 Thread Jeff Epler
On Sun, Jul 05, 2009 at 04:13:10PM -0500, Jeff Epler wrote: * configure: check that tk and Tkinter this should have read something like |* configure: check that tk and Tkinter versions match and is related to a compile issue on ubuntu 9.04 systems. Jeff

Re: [Emc-users] emc 2.3.2 extra files

2009-07-07 Thread Jeff Epler
Open the package manager and remove each firmware package you don't need. Also remove the emc2-firmware package. After that, they'll no longer be shown as updates. Jeff -- Enter the BlackBerry Developer Challenge

Re: [Emc-users] could not merge

2009-07-11 Thread Jeff Epler
If you 'pull' and another developer has made a change to the same file you have, you might get a message like this: $ git merge origin/master ;# can happen with 'git pull', 'git rebase' too Auto-merged src/Makefile CONFLICT (content): Merge conflict in src/Makefile Removed

Re: [Emc-users] Synchronised cam turning

2009-07-20 Thread Jeff Epler
On Mon, Jul 20, 2009 at 11:23:55AM +0100, Leslie Newell wrote: Has anyone tried turning a cam on a lathe using EMC? I tried using lots of G33 moves but they seem to get out of sync. My machine has pretty high acceleration and top speed but even at very low spindle speeds (14rpm) it doesn't

Re: [Emc-users] X axis Homing in wrong direction

2009-07-20 Thread Jeff Epler
If the DRO is counting in the wrong direction, then negate the X Step signal on the Parallel Port Setup page. If the DRO is counting in the right direction but the homing move is going in the wrong direction, then negate the value of Home Search Velocity on the X Axis Configuration page.

Re: [Emc-users] EMC2 with AXIS as pure simulator on Ubuntu 9.04

2009-07-20 Thread Jeff Epler
Thanks for the great step by step. I've put a link from the wiki to this post in the mailing list archive. Jeff -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a

Re: [Emc-users] Modbus driver for Toshiba VF-S11 VFD available

2009-07-20 Thread Jeff Epler
On Tue, Jul 14, 2009 at 07:09:08PM +0200, Haberler Michael wrote: I've finished a first release of a HAL userspace component to drive a Toshiba VF-S11 VFD via Modbus, vfs11_vfd. It's adapted from gs2_vfd.c and works fine for me so far. A description how to connect the VFD and set initial

Re: [Emc-users] Synchronised cam turning

2009-07-20 Thread Jeff Epler
emc and gcode don't, but of course hal does. You could create a component which offsets the commanded X according to the spindle angle and the shape of the cam. The component would include the mathematical description of the cam shape, r=f(theta)+r0. On Mon, Jul 20, 2009 at

Re: [Emc-users] Synchronised cam turning

2009-07-20 Thread Jeff Epler
On Mon, Jul 20, 2009 at 10:25:58PM +0100, Leslie Newell wrote: Thanks Jeff I'll look into it. Do you know off-hand if there are any current components that do this? No, I don't think there are any. I proposed something similar (but it doesn't have the adding/removing offsets problem) to

Re: [Emc-users] Synchronised cam turning

2009-07-21 Thread Jeff Epler
On Tue, Jul 21, 2009 at 08:42:24AM +0100, Leslie Newell wrote: Hi Jeff, Sorry, I meant do you know of any components that use shared memory to communicate between a user space part and a real time part. Oh, yes. There are several: Userspace Realtime halscopescope_rt

Re: [Emc-users] Synchronised cam turning

2009-07-21 Thread Jeff Epler
On Tue, Jul 21, 2009 at 01:20:48PM +0100, Leslie Newell wrote: Thanks Jeff, you have been very helpful. One last question for the moment ;-). What is the best way to compile C components? With .comp components you use comp with it's various switches. What is the correct command line for a

Re: [Emc-users] how to debuild a changed .deb package

2009-07-22 Thread Jeff Epler
The key chosen for signing is the name listed in the most recent debian/changelog entry. You should write a changelog entry using the 'dch' command, which when properly configured will set that name to your name. This is a good idea, since you should also describe the changes you've made, and

Re: [Emc-users] Axis Question

2009-07-22 Thread Jeff Epler
On Wed, Jul 22, 2009 at 09:28:14PM -0300, Christopher Purcell wrote: You're right - I was taking the tool path to be a representation of the part. So with that image in mind, when I want to do some additional work on the part, for example, with MDI commands, I would like to see the part

Re: [Emc-users] EMC2 Developer Manual - broken pdf

2009-07-23 Thread Jeff Epler
On Thu, Jul 23, 2009 at 07:40:26AM +0200, Haberler Michael wrote: it seems the PDF linked from the Wiki http://www.linuxcnc.org/docs/devel/EMC2_Developer_Manual.pdf ist broken This should now be fixed. Thanks for your report. Jeff

[Emc-users] RELEASED: emc 2.3.3

2009-07-26 Thread Jeff Epler
I'm plesed to announce the next bugfix release in the emc 2.3 series, emc 2.3.3. A number of problems with the last release have been fixed. The new packages are now available for Ubuntu 8.04 Hardy Heron and Ubuntu 6.06 Dapper Drake in the package repositories. If you already installed emc

Re: [Emc-users] stepconfig wizard error

2009-07-26 Thread Jeff Epler
On Sun, Jul 26, 2009 at 12:53:19PM +0100, robert wrote: NameError: global name 'machinename' is not defined This is a bug I introduced in emc 2.3.2 and fixed in emc 2.3.3 which has just been released. An upgrade should solve your problem. If you don't want to immediately upgrade, then you can

Re: [Emc-users] Yet another joystick component - hidcomp 1.0

2009-08-02 Thread Jeff Epler
This looks excellent. If you haven't already, consider linking this from our wiki page on user contributed components, http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ContributedComponents Jeff -- Let Crystal Reports

Re: [Emc-users] EMC with Isel controller

2009-08-10 Thread Jeff Epler
If it's not a step direction parallel port device, and it's not one of the smart I/O devices listed in our documentation, then it is not likely to have an existing hardware driver in emc2. http://linuxcnc.org/docs/html/#Hardware%20Drivers Jeff

Re: [Emc-users] EMC with Isel controller

2009-08-11 Thread Jeff Epler
On Mon, Aug 10, 2009 at 01:42:04PM +, Markus wrote: thank you for the answer. no, the controller is not that kind of controller but the protocoll is realy simple. the communication works over the com-port and ther are only a few commands to control the machine. there is only one command

Re: [Emc-users] Motenc-Lite and EMC

2009-08-15 Thread Jeff Epler
emc runs the PID algorithm in realtime on the PC. Each SERVO_PERIOD (configurable; typically 1ms) emc requests the position from the motenc board, uses that position and the new desired position as inputs to the PID algorithm, and then writes a new DAC command to the motenc. Jeff

Re: [Emc-users] bug: Axis trunk MDI history

2009-08-19 Thread Jeff Epler
On Sun, Jul 12, 2009 at 09:19:40PM +0100, Leslie Newell wrote: The MDI history in Axis trunk appears to be broken. micges just tracked down the cause of this and fixed it. Jeff -- Let Crystal Reports handle the

Re: [Emc-users] Internationalization

2009-08-27 Thread Jeff Epler
One common problem is setting LANG but not LANGUAGE. axis obeys LANGUAGE, but pickconfig does not. from gettext(3): If the LANGUAGE environment variable is set to a nonempty value, and the locale is not the C locale, the value of LANGUAGE is assumed to contain a colon separated list

Re: [Emc-users] reading hal pin from python script

2009-08-27 Thread Jeff Epler
Python doesn't have a direct interface to halcmd. Use commands.getoutput to execute halcmd and retrieve the output. import commands float(commands.getoutput(halcmd getp motion.spindle-speed-out)) 1000.0 Jeff -- Let

Re: [Emc-users] EMC2_NCFILES_DIR

2009-09-17 Thread Jeff Epler
The only real use of EMC2_NCFILES_DIR is to give a value to $emc::NCFILES_DIR, used in pickconfig.tcl to set the inifile variable [DISPLAY]PROGRAM_PREFIX when copying configurations. As documented at http://linuxcnc.org/docs/html/config_ini_config.html#sub:[DISPLAY]-section it is the inifile

Re: [Emc-users] EMC2_NCFILES_DIR

2009-09-17 Thread Jeff Epler
Евгений Александрович, Fix your e-mail server or stop requesting courtesy copies in Reply-To. Your mail server rejects mail from me, saying falsely 550 We do not accept mail from dynamic IPs (206.222.212.217). Please contact supp...@corp.mail.ru (in reply to RCPT TO command) Jeff

Re: [Emc-users] Spindle soft start

2009-09-26 Thread Jeff Epler
On Sat, Sep 26, 2009 at 08:36:13AM +0100, Andy I wrote: Hi Everyone, Is this mail getting through?? Yes. I have an X2 mill with a spindle controller which converts pulses to voltage output. I'm planning to use pwmgen in PDM mode to generate the pulses. Is there a way to ramp up the

[Emc-users] [PATCH] fix non-ascii widget paths

2009-10-09 Thread Jeff Epler
such paths are used by non-english pyvcp files. --- On Fri, Oct 09, 2009 at 06:44:30PM +0400, Евгений Александрович wrote: but if I use Russian characters instead tab1 or tab2 system crushes in Axis UI. ... giving an error similar to the following: UnicodeEncodeError: 'ascii' codec can't encode

Re: [Emc-users] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Jeff Epler
On Fri, Oct 09, 2009 at 10:56:05AM -0500, Chris Radek wrote: On Fri, Oct 09, 2009 at 08:34:23AM -0700, Alan Condit wrote: The Max_Velocity slider should allow me to set the 120ipm but it won't. I think you need to set [TRAJ]MAX_LINEAR_VELOCITY to whatever you want the top of the max

Re: [Emc-users] GEOMETRY = ZXY in Axis

2009-10-15 Thread Jeff Epler
On Thu, Oct 15, 2009 at 05:55:10PM +0200, vh5...@libero.it wrote: Hi, I can't rotate the backplot preview in Axis as requested in my application. I put in the .INI file, under [DISPLAY] section, the identifier GEOMETRY = ZXY but I can't see any difference in my preview. When all the axis

Re: [Emc-users] Hostmot2 homing index

2009-10-19 Thread Jeff Epler
You probably need to connect the index-enable signal between the motion controller and the encoder counter: net Xindex-enable axis.0.index-enable = hm2_5i20.0.encoder.00.index-enable (this is equivalent to the old-style newsig Xindex-enable linksp Xindex-enable axis.0.index-enable

Re: [Emc-users] A general Net command question

2009-10-19 Thread Jeff Epler
On Mon, Oct 19, 2009 at 09:17:30AM -0400, Dave wrote: Are the direction arrows actually used by the Net command? IE = = = etc? I thought that I had read that they do not matter but are simply for human clarification.. That's correct. You can remove the arrows from a net or linkXX

[Emc-users] RELEASED: emc 2.3.4

2009-10-25 Thread Jeff Epler
I'm pleased to announce the next bugfix release in the emc 2.3 series, emc 2.3.4. A number of problems with the last release have been fixed. The new packages are now available for Ubuntu 8.04 Hardy Heron in the package repositories. Packages for Ubuntu 6.06 Dapper Drake should follow within

Re: [Emc-users] Has 2.3.4-1 been built for 606 LTS yet?

2009-11-01 Thread Jeff Epler
On Sun, Nov 01, 2009 at 08:24:55AM -0400, Gene Heskett wrote: See subject, thanks. They'll be up later today, I hope. Jeff -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer

Re: [Emc-users] Has 2.3.4-1 been built for 606 LTS yet?

2009-11-01 Thread Jeff Epler
The packages are now available. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile

Re: [Emc-users] Has 2.3.4-1 been built for 606 LTS yet?

2009-11-02 Thread Jeff Epler
On Mon, Nov 02, 2009 at 09:05:03PM -0400, Gene Heskett wrote: Updated, and its signing on as 2.3.4. Is this correct? I was under the impression it should be 2.3.4-1? When you run emc it will identify as 2.3.4. When querying the package version (e.g., in synaptic or with dpkg -l emc2) it

Re: [Emc-users] Cycling of Increments when jogging?

2009-11-02 Thread Jeff Epler
This is a deliberate change, mentioned in the change notes for 2.3.0~beta1: * AXIS: the jog increment now does not wrap with repeated 'i' keypress; using 'i' and 'I' prevents disaster when you press one too many times. This was conceived as a safety measure. If you organize your jog

Re: [Emc-users] Some HAL file questions...

2009-11-03 Thread Jeff Epler
Pins, parameters, and functions are created by loading components. Generally, the documentation for each component gives a list of them. For example, the manpage for pid (viewable with the command 'man 9 pid' in the terminal) lists do-pid-calcs in its FUNCTIONS section. The notations [SECTION]VAR

Re: [Emc-users] Has the probe code changed?

2009-11-07 Thread Jeff Epler
On Sat, Nov 07, 2009 at 02:50:59PM +1100, Frank Tkalcevic wrote: Thanks. I got it working again. How do I use the new version? I have a 5i20. For probing, it's probably better to stick with 2.3 or use master before 799409d259e2a3f12cf809d7aa1dd6c6b7f1f1a7, because I've come to the conclusion

Re: [Emc-users] Timing Belt Config

2009-11-10 Thread Jeff Epler
If stepconf's questions to calculate SCALE don't fit your situation, then perform the calculation yourself to get steps/mm or steps/in. Enter this value in motor steps per revolution, and enter 1 for microstepping, pulley, and leadscrew pitch. This will let you use the number you calculated

Re: [Emc-users] Deadband, FF1 and FF2

2009-11-23 Thread Jeff Epler
Basically, at no load, a servo amplifier has a characteristic relationship between the voltage in and the velocity. If the relationship is (close to) linear, then FF1 will give an approximately correct speed even before specifying P, I, D. On an inch machine, if you set the OUTPUT_SCALE so that

Re: [Emc-users] Halscope interpretation

2009-11-24 Thread Jeff Epler
The coarse-position-command is the motor position before applying screw compensation or backlash compensation, so it differs from the motor-pos-cmd on machines that have these compensations enabled. Additionally, the ferror is computed from the *prior* commanded position and the *current* motor

Re: [Emc-users] Hostmot2 disabling download of FPGA configuration

2009-11-25 Thread Jeff Epler
On Wed, Nov 25, 2009 at 10:51:40AM -0500, Eric H. Johnson wrote: One thing I would like to try is to simply not load the FPGA configuration on initialization. I recall there was a switch for this in the old 5i20 driver. Does that exit for the hostmot drivers, and what is it? I so far have not

Re: [Emc-users] Touchy Interface

2009-11-30 Thread Jeff Epler
On Tue, Dec 01, 2009 at 11:43:21AM +1000, AKSYS Tech Pty Ltd wrote: Hi I have a terribly noob question here...How do I go about downloading and installing TOUCHY? I have heard some good comments about it, but I have no idea how to get my hands on it. touchy is part of the development

Re: [Emc-users] How to Correct Angular Axes Misaligment in Software?

2009-12-01 Thread Jeff Epler
An emc user has contributed a kinematics module to correct for XY skew. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ContributedComponents#millkins_trivial_kinematics_extended_by_XY_skew_correction I have not personally used this kinematics module. I think emc's main limitation when using

Re: [Emc-users] home switch active before start of latch move

2009-12-02 Thread Jeff Epler
Using halscope, determine whether the problem could be contact bounce. Display the home switch signal, trigger on rising or falling edge, and then activate the switch (either by poking it manually or by running the homing procedure) If it is contact bounce, then consider using hal's debounce

Re: [Emc-users] Is This Bad - comp --install

2009-12-12 Thread Jeff Epler
Warnings like these WARNING: hal_ready [/tmp/tmpVVrhst/turret.ko] undefined! when compiling hal components can be safely ignored; it's when loading the component that undefined symbol messages (in dmesg) are important. Jeff

Re: [Emc-users] Time taken in the servo loop

2009-12-12 Thread Jeff Epler
On Sun, Dec 13, 2009 at 12:06:10PM +1100, Frank Tkalcevic wrote: Is there any way to monitor the time spent processing in the servo loop? If I have a servo thread running every 1ms, is there a way to monitor how long it takes to do its work? I can see a few different time pins and parameters

Re: [Emc-users] How to invert pin connected to signal?

2009-12-22 Thread Jeff Epler
I would expect what you described (setp ...-invert) to work. It's true that you can't setp a pin that is connected to a signal, but -invert is not connected to any signal. When emc is running, open a terminal, run 'halcmd', then 'show param m5i20.0.out-03-invert'. This will show whether the pin

Re: [Emc-users] How to invert pin connected to signal?

2009-12-23 Thread Jeff Epler
On Wed, Dec 23, 2009 at 02:54:34PM +1030, Steve Corboy wrote: Excellent Jeff, that's it, thanks. Great. You're welcome. Jeff -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of

Re: [Emc-users] axis problem after failed update

2009-12-27 Thread Jeff Epler
Based on that message, you're likely to see that all opengl programs fail in the same way. Another opengl program that is probably installed on your system is 'glxgears'. Once you've shown that all opengl programs have the same problem, the next step is to figure out what went wrong with the

Re: [Emc-users] axis problem after failed update

2009-12-28 Thread Jeff Epler
On Mon, Dec 28, 2009 at 09:47:58AM +, Steve Blackmore wrote: Do you know if you can reinstall off the cd without loosing your user directories? If you accepted the default disk partitioning proposed by Ubuntu (which places all files, including the OS and home directories, on a single

Re: [Emc-users] config.h.in missing from git source'd configure script on 9.10

2009-12-28 Thread Jeff Epler
On Mon, Dec 28, 2009 at 09:20:44AM -0800, Colin MacKenzie wrote: Oh nevermind! :) I found another build help and it mentioned the ./autogen.sh script that created the missing file! Can you tell me what page has the outdated advice? In emc2.3 and earlier the autogen step wasn't needed, but it

Re: [Emc-users] Manual command on pause

2009-12-29 Thread Jeff Epler
On Tue, Dec 29, 2009 at 01:12:59PM +0300, Евгений Александрович wrote: Does exist any way to run some command on GCODE program pause? No. Jeff -- This SF.Net email is sponsored by the Verizon Developer Community Take

Re: [Emc-users] error - radius to small to reach endpt

2009-12-30 Thread Jeff Epler
After an irc chat we think we may have found the cause of the problem. If we're right the difference is not sim vs real, but that you had a tool loaded and tool length offset active on the real machine but not on sim. (the sign of any active tool length offset could also have turned out to be

Re: [Emc-users] Building and using emcsh

2009-12-30 Thread Jeff Epler
emcsh is no longer built. The emc-specific extensions to tcl are now in the loadable library emc.so. Instead, use regular tclsh or wish, and near the top # Load the emc.tcl file, which defines variables for various useful paths source [file join [file dirname [info script]] emc.tcl]

Re: [Emc-users] Building and using emcsh

2009-12-30 Thread Jeff Epler
On Wed, Dec 30, 2009 at 04:22:10PM -0800, Flying Electron wrote: Thanks! That totally worked on my 2.4.0 pre system. Tested it by getting estop to turn on and off from an interactive tclsh. I'm planning on piping the input and output of the tclsh through a serial port connected to a

Re: [Emc-users] Finding Michael G's branch in the repository

2010-01-06 Thread Jeff Epler
On Wed, Jan 06, 2010 at 10:58:14PM +1100, Erik Christiansen wrote: My problem is that after the clone, the git branch shows _no_ branches, just master. i.e. the trunk. What I'm grubbing about in search of is those sneaky branches. Rather than attempting to document all of git on our website

Re: [Emc-users] Finding Michael G's branch in the repository

2010-01-07 Thread Jeff Epler
On Thu, Jan 07, 2010 at 05:12:26PM +1100, Erik Christiansen wrote: Grateful thanks, Jeff. It certainly answers it much better than the wiki, whose misleading information led to my question: Why does git branch _not_ show all the branches, despite the claim to the contrary in the wiki? The

Re: [Emc-users] Finding Michael G's branch in the repository

2010-01-07 Thread Jeff Epler
On the tlo_all_axes branch there are several commits to ioControl.cc which are the relevant ones for reading/writing the new files. I used 'gitk origin/tlo_all_axes ^origin/master' to see commits that are on the tlo_all_axes branch but not on master. Then I just scanned the commit messages shown

Re: [Emc-users] emc2 hardware step generators

2010-01-10 Thread Jeff Epler
Let's take the case of a 5i20 board running hostmot2. hostmot2 uses a DDS algorithm and tracks the low 16 bits of the step count. Every servo cycle emc reads the step count from the board then sends a new frequency command to the board. hostmot2 uses a DDS algorithm based on a 33MHz clock.

Re: [Emc-users] M101-199 pause problem

2010-01-12 Thread Jeff Epler
On Tue, Jan 12, 2010 at 01:10:17PM +0300, Евгений Александрович wrote: Any way to use M101 without pause No. M101 is not realtime so we have to drain the realtime motion queue, invoke M101, wait for it to exit, and then start movement again. Spindle control can in principle operate without

Re: [Emc-users] Servo Drives

2010-01-12 Thread Jeff Epler
On Tue, Jan 12, 2010 at 08:47:28AM +0200, Roland Jollivet wrote: What's the resolution etc. of your encoder, and what did it cost? They seem reluctant to simply list pricing. I don't know about pricing direct from CUI, but digikey sells them starting at single quantity and will happily

Re: [Emc-users] EMC Fest 2010 ??

2010-01-12 Thread Jeff Epler
I hope to attend, and I hope to see fellow developers and users there. It would be great if we can get a developer area for 6-8 networked PCs and internet access, as past years have shown this is a great way to work together on bugs or new features. Does someone know who to talk to about that?

Re: [Emc-users] [Emc-developers] list of real time modules with syntax?

2010-01-12 Thread Jeff Epler
I have added some documentation for several of the kinematics components which did not have manual pages. The documentation is in the development version of the software, but as far as I know the gantrykins documentation applies equally to the 2.3.x versions of emc2. Gantry kinematics:

Re: [Emc-users] Latency test numbers confusing

2010-01-13 Thread Jeff Epler
The text mode latency tests in /usr/realtime* have a different structure and details than the graphical test. The graphical test more accurately reflects what emc's realtime performance will be. Besides involving additional emc code (rtapi), the graphical latency test is usually run with two

Re: [Emc-users] two stepper motors on the x axis

2010-01-13 Thread Jeff Epler
stepconf will not allow this, because it usually is misconfiguration. you can add 'net' lines in your custom.hal to achieve this goal, however. Jeff -- This SF.Net email is sponsored by the Verizon Developer Community

Re: [Emc-users] homing using index

2010-01-14 Thread Jeff Epler
In your hal, use net xindex axis.0.index-enable = ppmc.0.encoder.00.index-enable and so on for the other axes. ('net' is a very handy syntax for 'newsig' + several 'linkXX' commands. = is optional and is a hint for the reader that the communication between the two pins is bidirectional.) In

<    1   2   3   4   5   6   7   8   >