Re: [Emc-users] Zeroing rotary axis

2008-10-15 Thread Jeff Epler
Ian, Thanks for your report. I've reproduced the problem and I believe I've fixed it. (A nod goes to SWPadnos for noticing the factor of 25.4 hidden in the numbers you cited) (It is easy for anyone to see the problem by modifying sim_9axis.ini to change [TRAJ]UNITS to mm. Then run emc. MDI to

Re: [Emc-users] EMC2 and the Sherline mill

2008-10-15 Thread Jeff Epler
Do you have limit switches? If you do not, then remove the configuration for limit switches. In stepconf, this means setting the pin setup to unused for pins which are currently listed as limit of one kind or another. If you do, verify that they are hooked up as you intended. Use halmeter

Re: [Emc-users] EMC2 and the Sherline mill

2008-10-16 Thread Jeff Epler
On Thu, Oct 16, 2008 at 04:38:09AM -0400, John Domville wrote: No limit switches. Where do I find the step config ? Was that part of the machine config I set up originally through the config wizard? Yes. If you are using stepconf, it's the page entitled parallel port setup.

Re: [Emc-users] synchronizing two servo motors on the same axis

2008-10-19 Thread Jeff Epler
Yes. Using HAL, you can connect the same commanded position (e.g., axis.0.motor-pos-cmd) to any number of things, something like net Xpos-cmd axis.0.motor-pos-cmd = stepgen.0.position-cmd stepgen.4.position-cmd You can only connect one feedback position, though: net Xpos-fbd

Re: [Emc-users] Serial IO Interface

2008-10-20 Thread Jeff Epler
For slow I/O like coolant, a device attached to a serial or USB port can be appropriate in emc2. You'll probably have to write your pic firmware and an emc2 hal driver in tandem, since there's not an established protocol for this (unlike, say, stepdirection signals). Conceptually, the PC side is

Re: [Emc-users] synchronizing two servo motors on the same axis

2008-10-20 Thread Jeff Epler
On Mon, Oct 20, 2008 at 04:50:11PM +0200, Sasa Vilic wrote: This mean than, that I cannot use two servo motors for the same axis, because each motor has its own encoder. Is it than possible to use two axis, to control same joint? In the case of two servo motors, you would have two pid

Re: [Emc-users] hot wire cutting

2008-10-21 Thread Jeff Epler
emc is capable of controlling 6 linear and 3 rotary axes. Your type of machine might be called XYZUV when moving motors on both bridges. I don't believe there are any configuration examples of wire cutting machines. However, we'd be happy to help you get it working with emc--it sounds like a

Re: [Emc-users] hot wire cutting

2008-10-21 Thread Jeff Epler
Any combination of axes is possible in emc, you can do XZUW and XYZUW if that's what you prefer. Jeff - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications

Re: [Emc-users] hot wire cutting

2008-10-21 Thread Jeff Epler
[Chris sent me this message in private, but then suggested that I should send the answer to the list as well] On Tue, Oct 21, 2008 at 07:23:35PM +, Chris Epicier wrote: Hi Jeff I'd be more than happy to get this up running through emc. The machine is currently thought to have one single

Re: [Emc-users] G-Code definition

2008-10-22 Thread Jeff Epler
Contouring mode: G64 P- --- The P-number for G64 P- is a distance. This enables the naive cam detector and enables blending with a tolerance. Naive cam detector == Successive G1 moves that involve only the XYZ axes that deviate less than P- from a straight

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread Jeff Epler
On Wed, Oct 22, 2008 at 08:10:26PM -0700, Dave Engvall wrote: BTW - it appears that the hal stg driver doesn't have an index output or am I again missing something. If you mean a HAL pin which allows you to continuously monitor the state of the physical index input, I believe you are

Re: [Emc-users] Parallel port in the future - query

2008-10-30 Thread Jeff Epler
On Thu, Oct 30, 2008 at 12:34:36PM +, alan wrote: So really my query is also about the future. Where will emc go if parallel ports become a thing of the past? It can go to systems that still have parallel ports, even after they become unusual in new consumer PCs. It can go to systems where

Re: [Emc-users] encoders

2008-11-02 Thread Jeff Epler
You are likely to see two kinds of encoders: TTL and differential (rs422). TTL means there's a single wire for the each signal (e.g. A), and it roughly follows TTL voltage level for high and low signals. differential means there are two wires for each signal (e.g., A+ and A-). The logic-level

Re: [Emc-users] LINUX OS question

2008-11-02 Thread Jeff Epler
On Sun, Nov 02, 2008 at 06:34:01PM -0500, John Domville wrote: In the pre-windows, DOS days it was possible to type: DIR/W LPT1 By default, installing emc takes away all parallel-port devices from regular linux programs. This reduces the kinds of problems where a program tries to probe an

Re: [Emc-users] n00b question: EMC and CNC machines

2008-11-03 Thread Jeff Epler
Hi Dave. Yes, for stepper motor machines, emc creates a pulse for each and every incremental motion of the motors -- a typical machine might have 8000 pulses per inch, and that machine moving at 2 inches per second would generate 16000 pulses per second. After interpreting the gcode, the details

Re: [Emc-users] n00b question: EMC and CNC machines

2008-11-04 Thread Jeff Epler
On Tue, Nov 04, 2008 at 05:42:01AM -0500, Mark Wendt (Contractor) wrote: Just curious, what size is the pulse word and what info does it contain? Is there a velocity pulse, or are there separate pulses for step and direction? Most common are step and direction. Here's the anatomy

Re: [Emc-users] Run Keystick Without X

2008-11-05 Thread Jeff Epler
In emc 2.2.x, the emc script always tries to create a terminal to run keystick inside. In the development version, this has been changed. keystick will start with DISPLAY unset (I just tested this with configs/sim/keystick.ini). Here's the main change that made this possible:

Re: [Emc-users] Run Keystick Without X

2008-11-05 Thread Jeff Epler
Also, you'll have to specify the inifile directly on the commandline; the configuration chooser is graphical only. Jeff - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

Re: [Emc-users] Run Keystick Without X

2008-11-05 Thread Jeff Epler
On Wed, Nov 05, 2008 at 03:56:59PM -0700, Carl Helquist wrote: With the help of the responses so far I have keystick running in a bash shell. For now I haven't applied all of Jon's changes to the emc start script. Well, actually a copy called emcnox so I don't mess up my currently

Re: [Emc-users] Acceleration

2008-11-06 Thread Jeff Epler
For trivial kinematics machines, emc should always stay within the inifile acceleration limits. If it doesn't, there's a bug. The main acceleration-related difference I recall for arcs is that the centripetal acceleration required to follow the arc may affect the maximum attainable velocity.

Re: [Emc-users] Home Switches

2008-11-07 Thread Jeff Epler
Here's the page I always refer to when emc's DRO shows something different than what I expect: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems#So_if_you_re_lost_what_should_you_do Jeff - This SF.Net email is

Re: [Emc-users] Lathe support

2008-11-09 Thread Jeff Epler
On Sun, Nov 09, 2008 at 11:32:21PM +, Leslie Newell wrote: Looking at the interpreter, it appears that X is always read with the read_x function in rs274ngc/interp_read.cc. If that is the case, a simple tweak to that function should be all that is needed. What is would be the 'approved'

Re: [Emc-users] inverting signal

2008-11-11 Thread Jeff Epler
On the parport there is an 'in-not' pin for every 'in' pin. http://www.linuxcnc.org/docview/html//hal_drivers.html#r1_1_2 it sounds like you should use in-not in your case: net home+limitX parport.0.pin-11-in-not = axis.0.neg-lim-sw-in Jeff

Re: [Emc-users] Hello World!!

2008-11-11 Thread Jeff Epler
Welcome. On Tue, Nov 11, 2008 at 09:47:42PM +0200, Ahmed Elghamrawi wrote: So.. blah blah.. how i am what i do.. the point is: were to begin? We have a fair idea what programming should be, studied that but we have never did it for real. We don't have an actual machine in our hands yet, but

[Emc-users] RELEASED: emc 2.2.7

2008-11-11 Thread Jeff Epler
I'm pleased to announce the next release of the emc 2.2 series, emc 2.2.7. This version contains many bugfixes, including many enhancements and bugfixes for the new hostmot2 (hm2) family of drivers for the Mesa PCI and parport cards such as 5i20 and 7i33. For users of the hostmot2 family of

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

2008-11-11 Thread Jeff Epler
On Tue, Nov 11, 2008 at 07:25:25PM -0700, Sebastian Kuzminsky wrote: A couple of minor clarifications about the hostmot2 changes: Thanks, sorry I didn't get it right in the original mail. Jeff - This SF.Net email is

Re: [Emc-users] RELEASED emc2.2.2.7

2008-11-13 Thread Jeff Epler
On Wed, Nov 12, 2008 at 09:58:37PM -0500, Kent A. Reed wrote: Am I just imagining it or does the home directory name sporadically jump back and forth between emc2.2.2.x and emc2_2.2.x as x increases? For the .tar.gz from the package server, it should consistently be the debian convention,

Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7

2008-11-14 Thread Jeff Epler
Please show us the list of kernel modules that are loaded immediately after you log in but before you run emc. You can do this by opening Applications Accessories Terminal, then typing dmesg, then by pasting the result into your reply. The *top* lines are probably going to be the important

Re: [Emc-users] setting G54?

2008-11-15 Thread Jeff Epler
On Fri, Nov 14, 2008 at 10:19:14PM -0700, [EMAIL PROTECTED] wrote: What is L2? What it does? G10 L2 means that this operation is being applied to a coordinate system. In future versions of emc, other L values will indicate other things being modified. FOr instance, G10 L1 will manipulate

Re: [Emc-users] servo amplifier

2008-11-15 Thread Jeff Epler
On Sat, Nov 15, 2008 at 06:26:51PM +0100, Ádám Novák wrote: Would geckodrives work with EMC2 for example with an I/O board that creates STP/DIR signals to drive the motor? You can use step+direction servos hooked to the parport with emc, but this has two big drawbacks. First, on dumb I/O like

Re: [Emc-users] XYZ Directions

2008-11-15 Thread Jeff Epler
negate [AXIS_#]SCALE for stepdirection machines, you can also reverse the polarity of the direction pin. Jeff - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [Emc-users] Stepconf Sherline

2008-11-16 Thread Jeff Epler
On Sun, Nov 16, 2008 at 06:30:24PM -0600, Heinz Reimer wrote: In summary, for users of Sherline drivers who have problems with their machine setup, I think the best bet is still to use the sample stepper XYZA configuration, with ini file edited to match the factory settings. Stepconfig

Re: [Emc-users] How can I reduce the DAC noise

2008-11-18 Thread Jeff Epler
On Mon, Nov 17, 2008 at 10:50:32PM +0800, Howard Chan wrote: http://myweb.polyu.edu.hk/~icwfchan/P1.png This graph does not show measured noise in the DAC output. To measure that you would have to hook a scope or other diagnostic equipment to the physical DAC output pin on the mesa servo

Re: [Emc-users] jdi.py interact with hal and IO

2008-11-18 Thread Jeff Epler
Python programs can be userspace hal components. If I were faced with this problem, I would make my enhanced jdi program have the necessary hal pins, and connect them to whatever external signals have to drive progress. Jeff

Re: [Emc-users] Pic a servo

2008-11-20 Thread Jeff Epler
There are several systems along these lines that already exist: pico-systems ppmc, mesanet.com's 7i43, and pluto_servo all use the EPP protocol for this purpose, and each one has established its own protocol details. There's also this project, though I'm not sure of the state of it:

Re: [Emc-users] AUTO mode ERROR?

2008-11-20 Thread Jeff Epler
On Thu, Nov 20, 2008 at 05:46:37PM -0700, [EMAIL PROTECTED] wrote: I write simple program with G and M code, and safe it in .txt format. When I open program in EMC2 it give error- bad code “377” No, the actual error you encountered was almost certainly: Bad character '\377' used

Re: [Emc-users] AUTO mode ERROR?

2008-11-20 Thread Jeff Epler
I have verified that saving a Text or Text Encoded file from openoffice 2.4 is incompatible with emc. openoffice writes something at the beginning of the file called a unicode byte order mark; don't worry if you don't understand what that means, but *do* understand that openoffice will apparently

Re: [Emc-users] standalone installation packages

2008-11-21 Thread Jeff Epler
emc2 does use the standard package management system on ubuntu, dpkg. Within a release series, (e.g., during 2.2.x) you can upgrade with a single .deb. Going from 2.1.x to 2.2.x is more hairy, because we often require new external packages. To upgrade from 2.2.x to 2.2.7, download the relevant

Re: [Emc-users] standalone installation packages

2008-11-21 Thread Jeff Epler
On Fri, Nov 21, 2008 at 03:17:26PM +, acondit wrote: Why are the hardy dists not also under http://linuxcnc.org/emc2/dists/hardy/ like the dapper and breezy dists rather than http://linuxcnc.org/hardy/dists/hardy/ Then you would only have to bookmark

[Emc-users] Running with more than 1G of RAM (was Re: First try with Ted's Sample)

2008-11-22 Thread Jeff Epler
On Fri, Nov 21, 2008 at 09:48:51AM -0600, Jack Coats wrote: Is there still an issue with running with more than 1G of RAM? Some have found the kernel version on the emc2 hardy live cd to be incompatible with their system with 1GB ram, requiring the 'mem=900M' trick mentioned elsewhere in this

Re: [Emc-users] pyvcp using scale widget

2008-11-22 Thread Jeff Epler
With the 'net' line commented, use halcmd show to find the name of the pin. perhaps there's a typo in your xml file or your hal file and you haven't spotted it yet. Jeff - This SF.Net email is sponsored by the Moblin Your

Re: [Emc-users] Named O word subroutines not working

2008-11-23 Thread Jeff Epler
As far as I can tell, named subroutines aren't in 2.2.x. (they're in the development version, and your test program works there) However, I'm not sure why you don't get an error at the first line with o. That should be fixed to give a clear error message instead. Jeff

Re: [Emc-users] Named O word subroutines not working

2008-11-23 Thread Jeff Epler
On Sun, Nov 23, 2008 at 09:30:25PM +, Mike Merrett wrote: oA_routine1 sub In the next bugfix release, this will now give the improved error Bad number format when the first line with o is encountered. Can you indicate where you saw the named o-words mentioned so that I can make sure it

Re: [Emc-users] dm_crypt and EMC2/RTAI

2008-11-23 Thread Jeff Epler
I'm not aware of a specific reason why this was deactivated in our kernels, if it was included in the ubuntu stock kernels. If you want to rebuild your own kernel with this enabled (it should make a kernel compatible with the regular emc2 packages), I detailed how to do it back in september:

Re: [Emc-users] Named O word subroutines not working

2008-11-24 Thread Jeff Epler
On Mon, Nov 24, 2008 at 05:57:39AM -0600, John Thornton wrote: I found it and corrected it. Thanks John. This correction should already be in the online version of the docs, and will be in the next bugfix update as well. Jeff

Re: [Emc-users] dm_crypt and EMC2/RTAI

2008-11-24 Thread Jeff Epler
On Mon, Nov 24, 2008 at 12:33:56PM -0800, Thomas L Marshall wrote: Is it possible to simply compile the module and copy it in place??? No, not easily. The scripts for building the kernel do some complicated things, and I'm not sure how to get things to the state where you can just build one

Re: [Emc-users] No EMC2

2008-11-25 Thread Jeff Epler
If I understand correctly, you had a Breezy (5.10) system that you upgraded to Dapper (6.06). As a rule, we recommend *against* using the distribution upgrade to go from one version of Ubuntu to another. This generally renders emc2 unusable, as you have discovered. If you haven't yet erased the

Re: [Emc-users] Friction compensation

2008-11-26 Thread Jeff Epler
At present, emc2 doesn't have any friction compensation. However, there are several avenues you might go down to add it: in the motion controller, or as a HAL component. At first glance, it looks like the place to add this in the motion controller would be in the function presently known as

Re: [Emc-users] Parallel port erratic access

2008-11-27 Thread Jeff Epler
What is the input circuit like on your stepper driver board? (pull-up, pull-down, filter, buffer, opto, etc) When you say that you didn't see this using ubuntu 8, do you mean the linuxcnc.org 8.04 disc with emc2, or do you mean an unmodified ubuntu downloaded from somewhere else such as

Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread Jeff Epler
On Tue, Dec 02, 2008 at 04:21:38AM -0700, rtwas wrote: Hello, I upgraded to 2.2.7 and noticed that I am no longer able to execute the touch-off menu or even slew the axis manually after an M00 is encountered in the g-code program. Is this intentional? As far as I know, emc2 has always

Re: [Emc-users] 2.2.7, no touch-off available after M00???

2008-12-02 Thread Jeff Epler
On Tue, Dec 02, 2008 at 01:07:43PM +0100, Rob Jansen wrote: Hi, I'm not sure this is related to M00 No, it's probably not. I have a similar problem on my 2.2.2 system. At a sudden moment touch off won't work anymore. As soon as I enter a value, the OK button is grayed out. A bug in

Re: [Emc-users] Pluto-P

2008-12-03 Thread Jeff Epler
On Wed, Dec 03, 2008 at 10:06:28AM -0500, John Kasunich wrote: It is probably the cheapest hardware step generation option, but that shows. The quality of the board is marginal, connections are to tiny headers, etc. The price difference between knjn.com's pluto-p ($60) and mesanet.com's

Re: [Emc-users] 2nd Tool Offset

2008-12-04 Thread Jeff Epler
emc has an X tool offset for lathes, but doesn't presently have a Y tool offset. Adding a Y tool offset involves touching a lot of code, from the tool table parser to the interpreter to the user interfaces; it's not to be undertaken lightly. If someone contributes a patch we'd sure look at

Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Jeff Epler
Have you successfully used any devices with hal_input? If not, then carefully read the section PERMISSIONS AND UDEV in the hal_input manpage, and craft an appropriate rule for your device. Jeff -- SF.Net email is

Re: [Emc-users] Would you please tell me the name of the file which describing the trivial kinematics' transformation?

2008-12-09 Thread Jeff Epler
In the source tree, emc2.2/src/emc/kinematics/trivkins.c Jeff -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help

Re: [Emc-users] Touch-trigger Probe

2008-12-09 Thread Jeff Epler
In the current version of emc, it's only possible to probe for one of the transitions (G38.2: not touching to touching). In the development version there are additional codes including G38.4 which is indeed indented for detecting when the probe goes from touching to not touching. (There are also

Re: [Emc-users] can't find the src file

2008-12-09 Thread Jeff Epler
On Wed, Dec 10, 2008 at 08:50:31AM +0800, ygdan1001 wrote: Dear sir: Firstly,thank you, Jeff! But, I can't find the src file. I am a beginner in the Linux. I find in place/file system/etc/emc2, is it right? Thanks a lot! Regards! No. The source files are normally useful only to

Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-14 Thread Jeff Epler
Here's a program that does something like what you asked for. You might also be interested in the file 'interesting-subroutines.ngc', which should be installed in the examples directory. Jeff (- CUT HERE --) O100 sub (square [x0] [y0] [z0]

Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-14 Thread Jeff Epler
You can also view that file, useful-subroutines.ngc, from the comfort of an internet-connected computer: http://cvs.linuxcnc.org/cvs/emc2/nc_files/useful-subroutines.ngc?rev=1.4;content-type=text%2Fplain Jeff --

[Emc-users] RELEASED: emc 2.2.8

2008-12-14 Thread Jeff Epler
I'm pleased to announce the next release of the emc 2.2 series, emc 2.2.8. This release contains a fix for a rare bug that caused incorrect movement for G2 and G3 arc moves, as well as a few other things. The new packages are now available for Ubuntu 8.04 Hardy Heron in the package repositories.

Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-16 Thread Jeff Epler
On Mon, Dec 15, 2008 at 11:05:08PM -0500, BRIAN GLACKIN wrote: If I wanted to do multiples of a more complex part, could I simply do a coordinate shift in the O100 subroutine, execute lines of code, return to the global coordinate system and end that subroutine? It should reduce the number of

Re: [Emc-users] Following Error Problem Using 5i20 and Stepper Motors

2008-12-16 Thread Jeff Epler
A bunch of us, including Matt, John K, Peter and Seb worked further on troubleshooting this on irc earlier. This bug specifically affects hostmot2 systems where the step rate is above 60% or so of the maximum step rate given the user specified step length and space. Peter has now identified a

Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?

2008-12-17 Thread Jeff Epler
On Wed, Dec 17, 2008 at 12:14:13PM -0700, Sebastian Kuzminsky wrote: I'm not sure how the m5i20/hostmot driver handles this... the old driver simply has this setting hardcoded, and can't chage it without a recompile. I forget what value is hardcoded, though. Jeff

Re: [Emc-users] latency-test Results .avi makes the numbers huge

2008-12-22 Thread Jeff Epler
After identifying things that cause large latencies, one possible solution is to simply remember not to do that thing--at least if it's something easy to not do, like start viewing a movie. One nice thing about servo systems with hardware encoder counting is that after a large latency, you'll get

Re: [Emc-users] Hallo

2008-12-23 Thread Jeff Epler
I assume that you are using emc2 installed from our cd, and updated to the latest version via the network. When running emc from the terminal, you would type something like this: cd ~/emc2/configs/my-mill emc my-mill.ini to run the my-mill.ini configuration in ~/emc2/configs/my-mill. You

Re: [Emc-users] Building EMC2 2.2.8

2008-12-27 Thread Jeff Epler
note that after installing gettext, you probably need to re-run configure for it to be picked up. Jeff -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net

Re: [Emc-users] hostmot2 stepgen piout

2008-12-29 Thread Jeff Epler
Typical steppinout: IO Connections for P4 Pin#I/OPri. funcSec. funcChan Pin funcPin Dir 1 48 IOPort StepGen 0Step/Table1(Out) 3 49 IOPort StepGen 0Dir/Table2(Out) 5 50

Re: [Emc-users] Ubunto Installation Problems

2008-12-30 Thread Jeff Epler
When that happens, it indicates that the installer is not able to read the cd. I'm not aware of any troubleshooting information that it is useful to gather at that point, or any specific solutions to this problem besides trying a new CD burn if you haven't already. You might try downloading the

Re: [Emc-users] Is this list working?

2008-12-31 Thread Jeff Epler
On Wed, Dec 31, 2008 at 09:21:10AM -0500, Donnie Timmons wrote: I'm new and have made a request for some info and never received a reply. Is this mail list work? This message appeared on the list. However, it's the first message I've ever received from you on the list. Jeff

Re: [Emc-users] EMC startup error

2009-01-03 Thread Jeff Epler
On Sat, Jan 03, 2009 at 05:41:49PM -0500, Donnie Timmons wrote: I'm have some problem the first the first time I start EMC after power on I get error and EMC will not start but start it again and it runs. Attached is a copy of the terminal screen. Do you use hal_manualtoolchange in your

Re: [Emc-users] EMC startup error

2009-01-03 Thread Jeff Epler
It must be a different problem than the one I was guessing at .. if you get any errors at shutdown, those would be useful to see. So would the last 20 lines or so that are shown when you type 'dmesg' at the commandline. Jeff

Re: [Emc-users] 3 questions

2009-01-06 Thread Jeff Epler
On Tue, Jan 06, 2009 at 10:27:11PM +0800, ygdan1001 wrote: Dear sir: Now I download EMC2 directory in tarball to the windows and copy them onto the CD. And put them into the Ubuntu, but I'm still confused. 1. Where I should put the directory if I compile the kinematic modle? I don't know how

Re: [Emc-users] Two motors, one axis

2009-01-06 Thread Jeff Epler
On Tue, Jan 06, 2009 at 12:32:08PM -0600, Len Shelton wrote: I know this has been covered before, but I cannot find it... How do you connect two pins to the same signal to be able to, for instance, use two stepper motors on the same axis? You can do this in one or more 'net' commands: On

[Emc-users] NOMINATION: Sam Sokolik

2009-01-06 Thread Jeff Epler
The things that Chris said last time when he nominated Sam still ring true for me: | I nominate Sam, who we all know as skunkworks on irc, for a Board | position. He is a tireless advocate for EMC and generously helps | and teaches many people. | | Sam is not an EMC programmer and previously the

[Emc-users] SECONDED NOMINATION: Chris Radek

2009-01-06 Thread Jeff Epler
Jeff -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Emc-users

Re: [Emc-users] Nomination: Jeff Epler

2009-01-06 Thread Jeff Epler
I accept the nomination. Jeff -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB

Re: [Emc-users] New cutter compensation algorithm in TRUNK

2009-01-08 Thread Jeff Epler
On Thu, Jan 08, 2009 at 06:54:37AM +, Leslie Newell wrote: Looks good. It would be nice if you could enable these: reading/writing motion's digital/analog ins/outs I don't think it is possible to enable reading inputs. Consider the following: ( already in cutter comp mode ) N000 G0

Re: [Emc-users] New cutter compensation algorithm in TRUNK

2009-01-08 Thread Jeff Epler
On Thu, Jan 08, 2009 at 09:01:54PM +, Leslie Newell wrote: How is that handled currently? ( already in cutter comp mode ) N000 G0 X0 Y0 N100 G1 X1 N200 M66 P1 L0 (intended to say: immediately read digital input 1 to #5399) N300 G1 Y[1-2*#5399] ( so this line either goes to Y1 or

Re: [Emc-users] New cutter compensation algorithm in TRUNK

2009-01-08 Thread Jeff Epler
On Thu, Jan 08, 2009 at 09:26:39PM +, Leslie Newell wrote: Fair enough for exact stop but what about CV? It would potentially try to look ahead past the read. No, I believe you'll find it exact-stops at that point. Jeff

Re: [Emc-users] 'Radius to end of arc differs from radius to start' problem

2009-01-15 Thread Jeff Epler
emc 2.2.8 shows the following error when your gcode is loaded: Radius to end of arc differs from radius to start: start=(X-6.3015,Y0.2511) center=(X-6.3015,Y0.4633) end=(X-6.1515,Y0.1890) r1=0.2121 r2=0.3126 this arc is noncircular by much more than the tolerance emc2 uses for arcs.

Re: [Emc-users] Override (force) HAL inputs

2009-01-16 Thread Jeff Epler
You should go with John's proposed solution, using HAL realtime components to perform the logic between the physical input and the panel item. It's a much better idea than Stephen's. Jeff -- This SF.net email is

Re: [Emc-users] Probing Results

2009-01-17 Thread Jeff Epler
A comment of the form (PROBEOPEN filename.txt) will open filename.txt and store the 9-number coordinate of each successful straight probe in it. The file must be closed with (PROBECLOSE). http://linuxcnc.org/docs/html/gcode_main.html#sub:G38.2:-Straight-Probe Jeff

Re: [Emc-users] Probing Results

2009-01-17 Thread Jeff Epler
As you showed in your first post, you can save the results of a probe operation to another numbered parameter, if you want to use it during the same part program. The results of (PROBEOPEN) are for processing with some other software according to the various needs of different users. If you want

Re: [Emc-users] spindle speed in PID mode

2009-01-19 Thread Jeff Epler
I'm pretty sure you're right: to work correctly, bot the command and feedback of a PID have to be in the same units, e.g., in revolutions per second. Jeff -- This SF.net email is sponsored by: SourcForge Community

Re: [Emc-users] emc-2.2.8 in sim-axis mode question(s)

2009-01-19 Thread Jeff Epler
On Mon, Jan 19, 2009 at 05:49:56PM -0500, Gene Heskett wrote: select the sim stuff and it asks to copy the files to the users dir for editing, and I confirm. selecting one of the sims for axis (there seem to be 3 trees, sim, sim-1, and sim-2, whats the diff?) You create a new one every

Re: [Emc-users] Debugging kinematics modules (was Re: 5axhydrotelkins)

2009-01-20 Thread Jeff Epler
Actually, I discovered that someone I had apparently already documented a lot of this stuff on the wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?DebuggingRtapi Including this item which is an important one: To make gdb find the source files, it seems necessary to use the

Re: [Emc-users] EMC2 Simulation

2009-01-20 Thread Jeff Epler
On Tue, Jan 20, 2009 at 03:30:15PM -0500, Dennis wrote: Is there ANY way to tell the precompiled EMC2 to run in simulation mode? Or is my only choice to recompile EMC2 with the simulation flags set? Unfortunately, this isn't possible, and we don't offer precompiled --enable-simulator builds

Re: [Emc-users] Rattling steppers losing steps

2009-01-23 Thread Jeff Epler
It's worse than that -- in 2.2.x, stepconf will always use a mode called doublestep, in which step pulse width is limited to 1/4 of the BASE_PERIOD by the hardware driver even though the GUI will appear to accept larger values. This is an unfortunate limitation, but the changes to stepconf to fix

Re: [Emc-users] Servo Error

2009-01-25 Thread Jeff Epler
In motion.c:rtapi_app_main(), rtapi_set_msg_handler(emc_message_handler); emc_message_handler sends RTAPI_MSG_ERROR-level messages to task through emcmotErrorPut, and task puts them in nml. -- This SF.net email is

Re: [Emc-users] Rattling steppers losing steps

2009-01-26 Thread Jeff Epler
starting from a stepconf file, you need to at least * delete all the parport.0.pin-##-out-reset lines in your hal file * delete the 'addf parport.0.reset' line in your hal file * delete the 'setp parport.0.reset-time' line in your hal file * set the steplen and stepspace parameters to datasheet

Re: [Emc-users] Networking?

2009-01-26 Thread Jeff Epler
Installing the package linux-ubuntu-modules-hardy-rtai makes certain additional hardware work with our modified kernel. If you have to download them manually, I believe these are the two files you need to install:

Re: [Emc-users] 7i43 and pinout.

2009-01-26 Thread Jeff Epler
On Tue, Jan 27, 2009 at 01:15:18AM -0200, Richard Acosta wrote: Hello again, there is something i'm missing, or i can't understand. Should i recompile EMC or hostmot after modifying that file? I thougt i have seen a command to tell on runtime inside a .hal file where the encoder is

Re: [Emc-users] EMC2 Simulation (Alex Joni)

2009-01-30 Thread Jeff Epler
the ubuntu package manager verifies that installed packages come from a source you trust. If not, it gives an error like the one you show. To accept the key we use on our packages, execute these two commands in a terminal while you have an internet connection available: gpg --keyserver

Re: [Emc-users] Debugging kinematics modules (was Re: 5axhydrotelkins)

2009-01-30 Thread Jeff Epler
On Fri, Jan 30, 2009 at 11:39:27AM -0600, Stuart Stevenson wrote: Gentlemen, I read the link. It helped a lot. I am able to use gdb to do limited debug of the kinematics file. I need to be able to stop the debug (I think it is disable 'n') and run the control and then restart the debug to

Re: [Emc-users] Debugging kinematics modules (was Re: 5axhydrotelkins)

2009-01-31 Thread Jeff Epler
did you continue after you disabled? Jeff -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

Re: [Emc-users] 10kHz Enable Signal?

2009-02-01 Thread Jeff Epler
To get a 10kHz square wave, you need to have BASE_PERIOD 5 or lower. Then simply set up a pwmgen. Here's a starting point for you. it may require tweaking. # Create one PWM generator. place this line early in your hal file. loadrt pwmgen output_type=0 # Do the computations for

Re: [Emc-users] multi-pass threading 5i20 problem lathe

2009-02-01 Thread Jeff Epler
If the encoder position in hal generally tracks the correct position but gets worse over multiple revolutions, I would look to problems outside the PC. For instance, if the problem is not present when you turn the spindle by hand, then it could be noise from the spindle motor coupled into the

Re: [Emc-users] EMC2 and CAN-BUS motor controller

2009-02-06 Thread Jeff Epler
There are not presently any CAN-Bus hardware interfaces supported by emc2 for position control. The kinds of hardware interfaces that lend themselves to emc2 compatability are described on our wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Emc2HardwareDesign I don't know anything about

Re: [Emc-users] Writing another user interface software

2009-02-08 Thread Jeff Epler
Consider setting this up so that sensed edge of material counts as a probe trigger for G38.2 probing moves. Then, your program could * place the machine in mdi mode * do several mdi commands involving G38.2 probe movements * use the status buffer to determine the machine's position when the

Re: [Emc-users] Creating HAL modules, howto?

2009-02-08 Thread Jeff Epler
WARNING: hal_ready [/tmp/tmpgODa1T/ddt.ko] undefined! these messages are because the kernel doesn't know about the symbols provided by emc. You can safely ignore this warning at compile time; the true test is whether the component loads. Jeff

<    1   2   3   4   5   6   7   8   >