Re: [Emc-users] Fest

2009-03-15 Thread Jeff Epler
count me in. jeff -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(T

Re: [Emc-users] Tracer

2009-03-18 Thread Jeff Epler
emc can use a touch probe. most touch probe programs I've seen are concerned with finding Z heights at multiple X,Y locations, but there's no reason that you couldn't write a program to find points on the perimeter of an object instead. In emc 2.2.x, the only probing move is g38.2, "straight pro

Re: [Emc-users] Tracer

2009-03-19 Thread Jeff Epler
I think the answer is "no". G38.x probing moves will not do what you are looking for The only types of probing motions are linear, and they are based on a digital probe input turning on and off. Jeff -- Apps built with

[Emc-users] A collection of emc-related news feeds

2009-03-22 Thread Jeff Epler
On Sat, Mar 21, 2009 at 10:01:55AM -0700, Kirk Wallace wrote: > I try to visit some other websites to check for updates like Chris', > Anders' and others. I wonder if a list of top ten most active/updated > EMC2 sites would be handy on the web and wiki home pages? I run a site called which shows n

Re: [Emc-users] A collection of emc-related news feeds

2009-03-22 Thread Jeff Epler
On Sun, Mar 22, 2009 at 08:51:18AM -0700, Kirk Wallace wrote: > That looks great Jeff, but now I need to figure out what RSS is. EMC2 > made me learn about IRC, I'm glad I did. Sometimes I get into the "well > in my day we didn't have ... in the snow with cardboard in my shoes..." > syndrome. RSS

Re: [Emc-users] A collection of emc-related news feeds

2009-03-22 Thread Jeff Epler
On Sun, Mar 22, 2009 at 11:32:22AM -0700, Kirk Wallace wrote: > On Sun, 2009-03-22 at 09:39 -0500, Jeff Epler wrote: > > On Sat, Mar 21, 2009 at 10:01:55AM -0700, Kirk Wallace wrote: > > > I try to visit some other websites to check for updates like Chris', > > > A

Re: [Emc-users] A collection of emc-related news feeds

2009-03-23 Thread Jeff Epler
The emc2 chat is hosted on chat.freenode.net, channel #emc. You can connect with clients like xchat and gaim, or with a java applet. For more information, please see: http://www.linuxcnc.org/content/view/4/8/lang,en/ Jeff -

Re: [Emc-users] Pluto-P board question ?

2009-03-24 Thread Jeff Epler
If you haven't already bought the pluto-p hardware, I recommend you consider the various interface cards from http://mesanet.com/ or http://pico-systems.com/motion.html instead -- they are better constructed and have a better record of hardware compatability. With that said, the documentation htt

[Emc-users] BETA RELEASE: emc2.3.0beta2

2009-03-25 Thread Jeff Epler
I'm pleased to announce the second beta release of the emc 2.3, emc 2.3.0beta2. The new packages are now available for Ubuntu 8.04 "Hardy Heron". This is a beta release, and should not be installed on production systems. For more information and installation/upgrade instructions, please see http

Re: [Emc-users] emc2.3.0beta2

2009-03-26 Thread Jeff Epler
Did you get a "home all" button in emc2.2? "home all" and the ctrl-home keystroke are only enabled when AXIS thinks that there's a homing order defined in the inifile, and disabled otherwise. (they're just two ways to access the same underlying function) We didn't intentionally change this betwee

Re: [Emc-users] emc2.3.0beta2

2009-03-26 Thread Jeff Epler
stepconf should write an inifile that enables "home all" if you have home switches for all axes. If you don't have home switches, or you have them for only some axes, then axis won't write an inifile that enables "home all". If you do have home switches on all axes, then the "home" button should

Re: [Emc-users] compile problem in lenny

2009-03-27 Thread Jeff Epler
You are missing various important prerequisites to build emc2. RTAI is the kernel with real-time extensions required by emc2 to control machinery. A user has contributed instructions on building it on our wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Debian_Lenny_Compile_RTAI The same us

Re: [Emc-users] emc2.3.0beta2

2009-03-28 Thread Jeff Epler
On Sat, Mar 28, 2009 at 12:38:48AM +, Steve Blackmore wrote: > I found that stepconf doesn't create a lathe style tooltable, and if you > do try to touch a tool off, it fails with "cannot have an x tool offset > with orientation 0" This is a bug. I entered it on sourceforge. For now, you can

Re: [Emc-users] Circular blade Mill

2009-03-29 Thread Jeff Epler
AXIS is not really designed to show "custom" tool shapes. I think your goal can only be achieved by modifying the source code to draw the shape you want. In case you want to try doing this, I'll go ahead and get a bit technical. This is the code in the "axis" program that draws the tool -- a sha

Re: [Emc-users] Need Help With Classicladder

2009-04-01 Thread Jeff Epler
On Wed, Apr 01, 2009 at 02:11:34AM +, Chris Morley wrote: > the pin motion.motion-inpos doen't seem to exist anymore > try changing it to motion.in-position. I made a note about this incompatible change on the wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UPDATING

Re: [Emc-users] gcode local variables + other question

2009-04-02 Thread Jeff Epler
On Thu, Apr 02, 2009 at 08:13:42PM +0100, alan battersby wrote: > My question is, are variables #1 etc also global in the sense that if I > set #1= 99 before the call is its value pushed on some stack and > retrieved again after the call or is the value just overwritten by the > parameter value of

Re: [Emc-users] Home made spindle encoder question.

2009-04-03 Thread Jeff Epler
Why is it important that the signals be close to 90 degrees out of phase? Here's why: imagine they're some smaller amount (e.g., 45 degrees). That means that there's a smaller time for at least one of the 4 states of the quadrature progression at any given speed. In the 45 degree case, it makes

Re: [Emc-users] Latency Test Result Questions

2009-04-05 Thread Jeff Epler
The jitter really leads to two calculations (together with the step driver timings you enter): * the maximum step rate (bigger jitter -> lower step rate) * the direction setup/hold value (no real effect on step rate) If your configuration still starts and doesn't give the "unexpected realtime de

Re: [Emc-users] emc2.3.0 beta2 - odd behavior with G64 P-

2009-04-07 Thread Jeff Epler
Thanks for your report. Another user had reported this problem on irc, and we already have a fix for the problem that will be in the next release. Besides the workaround of not using G64 P-, I believe that specifying half-circles rather than full circles will avoid the problem. As you observed,

Re: [Emc-users] emc2.3.0 beta2 - odd behavior with G64 P-

2009-04-08 Thread Jeff Epler
On Tue, Apr 07, 2009 at 10:29:51PM -0500, Jon Elson wrote: > I can't answer this, but I think we need a lot more info on what the > G-code for these holes looks like. The gcode that causes these problems can be as simple as G0 X??? Y??? G3 I1 F100 M2 i.e., a full circle of radius 1 wi

Re: [Emc-users] probe_parport; what does it do?

2009-04-13 Thread Jeff Epler
probe_parport enables "ISA PNP" parallel ports which are not assigned an I/O address by the BIOS. probe_parport is expected to have no effect for PCI parports. Some on-board parports behave like "ISA PNP" ports, though. Jeff --

Re: [Emc-users] EMC2 typed versus scripted commands

2009-04-15 Thread Jeff Epler
On Wed, Apr 15, 2009 at 08:20:24PM +, James Reed wrote: > > How big is 2.3.0 Beta 2? Can I load it on a USB stick and transfer it to the > computer in the shop (miles away)? Yes, you can fit the required files on all but the smallest USB sticks. See the "Installing off-line" section of htt

Re: [Emc-users] My plans are to use a SheevaPlug to power EMC 20090414 99suspense

2009-04-15 Thread Jeff Epler
As far as I know, rtai (the real-time kernel that emc2 uses on x86 ubuntu systems) does not currently support the Sheeva ARM CPU. Before emc2 can run on a system to control hardware, you have to either port a supported rtos to it, or port rtapi to an rtos that is available for that system. It is

Re: [Emc-users] compile emc2 in Glade or eclipse

2009-04-16 Thread Jeff Epler
On Wed, Apr 15, 2009 at 10:27:53PM -0400, An Pham Duc wrote: > I am a beginner in linux programming. Please tell me how to use the compiler > such as Glade or Eclipse to compile emc2 source. emc2 compiles with configure and make as shown in our documentation. You should read the documentation of y

Re: [Emc-users] raid across shelves

2009-04-16 Thread Jeff Epler
On Thu, Apr 16, 2009 at 05:04:57PM -0400, Andrey Dmitriev wrote: > I have been told, that it's not recommended to have a raid group > across shelves, yet we have a few setups that are working just fine, > however I might not just be aware of either risk, or a potential > performance degradation. Pe

Re: [Emc-users] New user interface development question.

2009-04-17 Thread Jeff Epler
There's essentially no documentation of the user interface APIs besides the source code. If you want to develop an interface in C++, have a look at shcom.hh and a user of the shcom code such as emcrsh.cc. If you want to develop an interface in Python, have a look at 'pydoc emc', which is autogene

Re: [Emc-users] Problem when resuming from "M0" command when using AXIS

2009-04-17 Thread Jeff Epler
In the upcoming emc 2.3 we've improved this. The message that is now a "pop-up" will instead show in the corner of the axis window, and you can hit S or click the pause/resume icon immediately. To dismiss the individual messages, you can click the X, or hit ctrl-space to dismiss them all. With t

Re: [Emc-users] New user interface development question.

2009-04-17 Thread Jeff Epler
On Fri, Apr 17, 2009 at 07:50:46PM -0400, John Guenther wrote: > Thanks Jeff, I went looking for pydoc.emc and could not find it on my > emc2=2.3.0 installation. Where does one find this typically? I did a > find on the entire machine and did not come up with it "pydoc emc" is a command to type

Re: [Emc-users] how to install kernel headers

2009-04-17 Thread Jeff Epler
On Sat, Apr 18, 2009 at 09:29:47AM +0800, ygdan1001 wrote: > > Dear sir: > There is an error when I build emc2 realtime, please tell me how to install > kernel headers package. 2.1. Preparing Ubuntu to compile emc2 [...] 2.1.2. On Ubuntu with EMC2 package already installed Use

Re: [Emc-users] Default nc file suffix change?

2009-04-19 Thread Jeff Epler
If you're using AXIS, you can add to the default suffix list by specifying [FILTERS] PROGRAM_EXTENSION = .xyzzy My favorite extension when you do this, .xyzzy files will be shown by default, and you'll be able to double-click to open them. However, this does not change the behavior when y

Re: [Emc-users] Default nc file suffix change?

2009-04-19 Thread Jeff Epler
On Sun, Apr 19, 2009 at 11:02:25AM -0400, John Guenther wrote: > Jeff, > > Sorry for my ignorance about EMC at this point, but where do make this > change? In your .ini file, such as ~/emc/configs/my-mill/my-mill.ini. If you are using stepconf, you have to make this change after you're done runn

[Emc-users] RELEASED: emc 2.3.0

2009-04-19 Thread Jeff Epler
I'm pleased to announce the first stable release of the 2.3 series, emc 2.3.0. This version has many new features compared to emc 2.2.8. The new packages are now available for Ubuntu 8.04 "Hardy Heron" in the package repositories. Because this version is incompatible with emc 2.2.8 in several mi

Re: [Emc-users] Axis question

2009-04-19 Thread Jeff Epler
Yes, this is one of the new features in emc 2.3.0. I modified the sample axis_9axis config file to specify [DISPLAY] GEOMETRY=XAYZ The meaning of [DISPLAY]GEOMETRY is described in the documentation: http://linuxcnc.org/docs/2.3/html/config_ini_config.html#sub:AXIS-Interface besides A

Re: [Emc-users] Missing hosmot2 firware packages for Dapper Drake EMC2 2.3.0

2009-04-20 Thread Jeff Epler
On Mon, Apr 20, 2009 at 09:28:14PM +1000, John Pfleger wrote: > The HOSTMOT2 firmware package does not seem available. It looks like there was an error creating the Dapper package repository for emc2.3. Until this is fixed, you can directly download the firmware .deb (I recommend saving it and th

Re: [Emc-users] Compiling EMC2 (Simulator) on Suse 10.2

2009-04-20 Thread Jeff Epler
A web search indicates this is a bug in Suse's gettext package. https://bugzilla.novell.com/show_bug.cgi?id=264110 You can probably work around this problem by making the following change in src/emc/usr_intf/stepconf/Submakefile: -PYI18NSRCS += emc/usr_intf/stepconf/stepconf.py emc/usr_intf/st

Re: [Emc-users] Missing hosmot2 firware packages for Dapper Drake EMC2 2.3.0

2009-04-21 Thread Jeff Epler
On Mon, Apr 20, 2009 at 09:28:14PM +1000, John Pfleger wrote: > The HOSTMOT2 firmware package does not seem available. It does for Hardy on > my test system. This has now been fixed. After updating package lists again, the firmware packages should be listed as available. Jeff -

Re: [Emc-users] RELEASED: emc 2.3.0

2009-04-21 Thread Jeff Epler
On Sun, Apr 19, 2009 at 02:00:09PM -0500, Jeff Epler wrote: > Ubuntu 6.06 "Dapper Drake" packages should follow within a few days. The packages for Dapper are now available as well. Jeff -- Stay on top of e

Re: [Emc-users] Broken link to HAL_Documentation.pdf

2009-04-22 Thread Jeff Epler
On Wed, Apr 22, 2009 at 12:25:28PM +1000, John Pfleger wrote: > FYI > > >From the document page http://www.linuxcnc.org/content/view/5/5/lang,en/ > the link the HAL Manual PDF is broken (404) > > http://www.linuxcnc.org/docs/HAL_Documentation.pdf I've corrected the link. The updated URL is http

Re: [Emc-users] Help with second parallel port for pendant

2009-04-22 Thread Jeff Epler
On Wed, Apr 22, 2009 at 06:02:49AM -0700, George Reeder wrote: > I am copying lines from "CHAPTER 22 MPG PENDANT   22.2 Hook it up in HAL" > to my Servo_Sim .hal file and running the Servo_Sim program after I install > each line in the .hal file. Most lines go in and the program still runs > how

Re: [Emc-users] Help installing simulator on opensuse 11.0

2009-04-22 Thread Jeff Epler
My first guess is that configure did not detect the necessary packages to build the parts of emc2 that require Python -- hal_manualtoolchange is one such part. If configs/sim/tkemc.ini works, that would tend to indicate that this is the cause. If it also doesn't work, then there's probably some o

Re: [Emc-users] Help with second parallel port for pendant

2009-04-22 Thread Jeff Epler
On Wed, Apr 22, 2009 at 10:06:22AM -0700, George Reeder wrote: > Hi, > Thanks for the help. I sure appreciate it. > I have every line working now except the two: > > net scale1 mux4.0.se10 <= parport.1.pin-09-in > net scale2 mux4.0.se11 <= parport.1.pin-10-in > > Any ideas what else could be the p

Re: [Emc-users] problem with hal_joystick on emc2.3

2009-04-23 Thread Jeff Epler
On Thu, Apr 23, 2009 at 01:31:13PM +0300, Kenny wrote: > Hi, > I just upgraded from emc2.2.8 to emc2.3 and it will not startup with my > Logitech Joypad configuration. > > HAL: ERROR: pin_new called after hal_ready > ERROR: button 0 export failed with err=-3 > custom_postgui.hal:6: pin 'joypad.axi

Re: [Emc-users] Hello to everybody and problems with home on index

2009-04-26 Thread Jeff Epler
Homing to index with steppers plus encoders is not going to work out of the box. Offhand, I'm not sure what it would take to make it work. In the normal situation (servos plus encoders), emc's motion controller sees the index pulse and changes an internal motor offset accordingly. (basically, the

Re: [Emc-users] Units and Touch Off Feature

2009-04-27 Thread Jeff Epler
On Sun, Apr 26, 2009 at 07:04:47PM -0700, Kirk Wallace wrote: > It seems that the Touch Off feature uses the units that are currently > selected. Yes, it uses the display units. For radius vs diameter mode, it uses the active gcode (it can't go off of displayed units, because both radius and diam

Re: [Emc-users] make

2009-05-01 Thread Jeff Epler
On Fri, May 01, 2009 at 03:04:32PM +0800, ygdan1001 wrote: > checking for glib... configure: error: no -- required until somebody makes > modbu s optional This line. It means something. Jeff -- Register Now & Save for

Re: [Emc-users] make

2009-05-01 Thread Jeff Epler
On Fri, May 01, 2009 at 08:53:37PM +0800, ygdan1001 wrote: > > Thanks Jeff. > But what should I do about it ? Install the required package using your operating system's package management system. Jeff -- Register Now &

Re: [Emc-users] Are there still gamepad problems in 2.3?

2009-05-02 Thread Jeff Epler
If your configuration uses hal_joystick, it will not work in 2.3.0. This issue was reported before, and it will be fixed in 2.3.1, but that's not released yet. If your configuration uses hal_input, then as far as I know it'll work properly in 2.3.0. Jeff -

Re: [Emc-users] Spindle Servo Soft Start

2009-05-06 Thread Jeff Epler
On Wed, May 06, 2009 at 04:37:07PM +1000, Frank Tkalcevic wrote: > I've just configured my first emc project, a 9x20 lathe conversion. I'm > using a large servo for the spindle - I'm hoping to be able to use it as a > 4th axis for some light engraving down the track. > > My problem - I've set up

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-06 Thread Jeff Epler
On Thu, May 07, 2009 at 07:00:06AM +1000, Frank Tkalcevic wrote: > Thanks. I used "limit3" and it produced nice looking s-curves. Start up > was fine, but the stop was a bit painful. I use the motion.enable signal to > enable the pid and pwgen on my 5i20. When the spindle is stopped, the motor

Re: [Emc-users] Emc-users Digest, Vol 37, Issue 15

2009-05-07 Thread Jeff Epler
you're using feedback speed to decide when to turn off the spindle? why not use commanded speed instead? or maybe just a timeout based on the 3 second time you mentioned for acceleration (the component 'timedelay' can do this)? Jeff --

Re: [Emc-users] Display issues

2009-05-08 Thread Jeff Epler
On Fri, May 08, 2009 at 03:54:05PM +1000, Frank Tkalcevic wrote: > toolpath preview being displayed all grey, or on top of other windows. I don't know about the other issues you mentioned, but this is usually caused by Desktop Effects, which Ubuntu enables by default on certain Intel video chipset

[Emc-users] RELEASED: emc 2.3.1

2009-05-16 Thread Jeff Epler
I'm pleased to announce the first bugfix release in the emc 2.3 series, emc 2.3.1. A number of problems in the 2.3.0 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, this w

Re: [Emc-users] [Emc-developers] RELEASED: emc 2.3.1

2009-05-17 Thread Jeff Epler
On Sat, May 16, 2009 at 09:30:43PM -0500, Jeff Epler wrote: > The new packages are now available for Ubuntu 8.04 "Hardy Heron" in the > package repositories. If you already installed emc 2.3.0, this will be > offered as an update. An error on my part prevented this release fr

Re: [Emc-users] deboucing inputs

2009-05-18 Thread Jeff Epler
most likely cause: failure to 'addf' the function exported by debounce. here's a standalone hal file that demonstrates debounce (run it with 'halcmd -I debouncedemo.hal' and use halscope to view the signals) http://emergent.unpy.net/index.cgi-files/sandbox/debouncedemo.hal and a screenshot of

Re: [Emc-users] I Need help optimizing the step generation - I found some specs?

2009-05-19 Thread Jeff Epler
On Mon, May 18, 2009 at 11:39:40PM -0700, Michael Jones wrote: > LOGIC CONTROL TO POWER DRIVE TIMING > Symbol Parameter Test Conditions Min. Typ. Max. Unit > Source Current Turn-off Delay 300 ns [...] > > Does this help in deciding on the "correct" values to plug in to EMC? No. These appear to be

Re: [Emc-users] Single index pulse revisited

2009-05-19 Thread Jeff Epler
On Tue, May 19, 2009 at 09:31:46PM +0100, Steve Blackmore wrote: > On Tue, 19 May 2009 18:00:40 +0100, you wrote: > > >Just a quick followup on my query about using a single index pulse for > >threading. I got it set up on my lathe with a magnet and a hall sensor. > >It reads the speed pretty ac

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, i

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

[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 lea

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 enterp

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 op

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 system

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 wit

Re: [Emc-users] sudo: comp: command not found

2009-06-08 Thread Jeff Epler
If using run-in-place, do not use sudo with comp --install. "sudo comp --install" is required for run-installed systems, because your user does not have permission to modify system files, and installed systems put realtime components in a system directory. With a run-in-place system, the same use

Re: [Emc-users] Puzzling Interpreter Error

2009-06-10 Thread Jeff Epler
I narrowed down your program into a very short one: O1 IF [0] O2 DO #<_x>=0 O2 WHILE [#<_x>] O1 END M2 It looks like a bug to me as well. Jeff -- Crystal Reports - New Free Runtime and 30 Day Tri

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 pl

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 poin

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 trig

Re: [Emc-users] emc.nbl

2009-06-12 Thread Jeff Epler
On TRUNK, you should be able to remove [EMC]NML_FILE from your inifile. WHen you do this, emc.nml in a default location will be used instead. All the sample inifiles on TRUNK were edited to work this way around May 4 2009. The Makefiles on TRUNK no longer make any copies of emc.nml. I believe Al

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 simp

[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 wil

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.fre

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 Emc-users@lists.sourcefo

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

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 i

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] Trouble with Python

2009-06-30 Thread Jeff Epler
When running from inside the emc script, the environment variable INI_FILE_NAME holds the inifile, and the environment variable NMLFILE holds the nmlfile. AXIS generally passes a "-ini" flag to subprograms that benefit from it, like debuglevel. Jeff --

Re: [Emc-users] [emc-users] Building from source

2015-09-19 Thread Jeff Epler
It looks like you're missing some python-related packages, namely the one that provides pyconfig.h and the one that provides _tkinter.so. On my Debian Jessie system the relevant packages seem to be libpython2.7-dev: /usr/include/python2.7/pyconfig.h python-tk: /usr/lib/python2.7/lib-dynloa

Re: [Emc-users] [emc-users] Building from source

2015-09-20 Thread Jeff Epler
On Sun, Sep 20, 2015 at 03:40:39AM +, Evan Foss wrote: > On Sun, Sep 20, 2015 at 2:35 AM, Jeff Epler wrote: > > It looks like you're missing some python-related packages, namely the > > one that provides pyconfig.h and the one that provides _tkinter.so. > > Yes I

Re: [Emc-users] Ethernet Hostmot2 (drop packets at init)

2015-09-20 Thread Jeff Epler
17 00:00:00 2001 From: Jeff Epler Date: Sun, 20 Sep 2015 15:28:30 -0500 Subject: [PATCH] WIP hm2_eth: batch writes from hm2_force_write --- src/hal/drivers/mesa-hostmot2/hm2_eth.c |2 +- src/hal/drivers/mesa-hostmot2/hostmot2-lowlevel.h |2 ++ src/hal/drivers/mesa-hostmot2/host

Re: [Emc-users] Hostmot2 (Use two cards)

2015-10-11 Thread Jeff Epler
The "waitpid" error is a very generic error that indicates some sub-program has failed. So look for other messages that give a more specific indication of the problem. Here is a loadrt line I used when I was testing 3 hostmot2 ethernet boards: loadrt hm2_eth config="num_encoders=1 num_pwmgen

Re: [Emc-users] Hostmot2 (Use two cards)

2015-10-13 Thread Jeff Epler
On Mon, Oct 12, 2015 at 01:07:42PM +0100, andy pugh wrote: > On 12 October 2015 at 03:37, Jeff Epler wrote: > > loadrt hm2_eth config="num_encoders=1 num_pwmgens=1 num_stepgens=1 > > enable_raw=1,enable_raw=1" > > board_ip=192.168.1.123,192.168.1.122,192.

Re: [Emc-users] 2.7.0, new trajectory planner, lost it's perfect pitch

2015-10-19 Thread Jeff Epler
On Mon, Oct 19, 2015 at 11:30:14PM +, Robert Ellenberg wrote: > would you mind sharing the g-code so I can > take a look at the slow spots? A version of this program is in the sample nc_files as "daisy.ngc". It needs to be modified to run on a 3-axis machine, and only "sounds good" on a high-

Re: [Emc-users] Ethernet Hostmot2 (drop packets at init)

2015-10-27 Thread Jeff Epler
rites from force_write (2015-10-27 20:27:05 -0500) -------- Jeff Epler (2): hm2_eth: make write queueing explicit, not implicit hm2_eth: explicitly queue up writes from force_write src/hal/drivers/mesa-hostmot2/hm2_eth.c |

Re: [Emc-users] cutter offset misunderstanding

2015-10-28 Thread Jeff Epler
Can you please say what version of LinuxCNC you are running, and provide a complete program which illustrates the problem, rather than just a snippet? Please also use G41.1 D- instead of G41 so that the program does not depend on the details of your tool table, or provide the relevant tool table l

Re: [Emc-users] Fwd: backlash compensation

2015-10-30 Thread Jeff Epler
For the following testing, I used the 2.7 branch at ref v2.7.1-26-g21ae480 (26 commits past the most recent release, 2.7.1) I tested backlash compensation by modifying configs/sim/axis/axis.ini to add backlash to the X axis: [AXIS_0] ... -BACKLASH = 0.000 +BACKLASH = 0.100 I star

Re: [Emc-users] Fwd: backlash compensation

2015-10-31 Thread Jeff Epler
On Fri, Oct 30, 2015 at 11:03:30PM -0400, Tom Easterday wrote: > Thanks Jeff. I was using a dial indicator and moving back and forth > before and after setting "BACKLASH = 0.0005" and found no difference. I > think I was homed but will verify next time I am at the machine and will > also try your

Re: [Emc-users] Looping and axis

2015-11-05 Thread Jeff Epler
http://linuxcnc.org/docs/html/gui/axis.html#axis:preview-control use a special comment recognized by AXIS (and by other programs sharing the same library for preview plot generation) to terminate the generation of the preview at any point you choose. Jeff

Re: [Emc-users] linuxcnc-dev in Synaptic when using uspace (was Carousel Component)

2015-11-05 Thread Jeff Epler
You need to look for the properly named package: linuxcnc-uspace-dev - PC based motion controller for real-time Linux -- ___ Emc-users mailing list Emc-users@lists.sourceforge.n

<    2   3   4   5   6   7   8   9   10   >