[Emc-users] gcode variables question

2007-02-16 Thread MichaƂ Geszkiewicz
Hello everyone, I have question about saving variables in *.var file after command.abort() If I abort program in a loop within variables are updated they are writen to file with values that they have after ending the loop. f.e. loop executed 10 times, abort() in 5 interaction, index variable wa

Re: [Emc-users] gcode variables question

2007-02-16 Thread Jeff Epler
Yes, that is behavior you should expect from emc. Except in a few special cases, the code in the .ngc file may be interpreted in advance, even up to the end of the file. Things like variable assignments, modal g- and m- settings, and the like may reflect the state of the interpreter hundreds of l

Re: [Emc-users] Getting Hal prompt back? Also auto dialup?

2007-02-16 Thread jensor
Thanks to all who have replied and provided much appreciated help in overcoming the challenges I have encountered thus far in my EMC2 adventures. I have purchased an Actiontec 56K external modem to bypass the problems presented by my Winmodem and now have my dialup working. By the way is there

Re: [Emc-users] Getting Hal prompt back? Also auto dialup?

2007-02-16 Thread Ray Henry
Hello Jack Glad to hear you got connected. I've tried using the dial on demand stuff but have never gotten it to work for me. It seems to want to connect all the time. BTW those Ubuntu folk that wrote that widget have no clue about dialup. Yes it will fire up and close down a connection but i

Re: [Emc-users] Hardware step generator for 5I20

2007-02-16 Thread Peter C. Wallace
On Thu, 15 Feb 2007, Jon Elson wrote: _snip__ >> > I had to go through all the same on my stepper controller. It isn't all > that hard. Especially > because direction reversals are always going to happen at low speeds, so > a 20 us delay > of t

Re: [Emc-users] Hardware step generator for 5I20

2007-02-16 Thread Peter C. Wallace
On Thu, 15 Feb 2007, John Prentice wrote: > Date: Thu, 15 Feb 2007 19:07:44 - > From: John Prentice <[EMAIL PROTECTED]> > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Hardware step generator for 5I20 > > Hi > > Fro

Re: [Emc-users] Auto dialup?

2007-02-16 Thread jensor
Well I think I have found a more convienient way of handling the dialup. After going through the activation procedure, after closing the browser I just turn off the modem power. When I want to go on line I restore the power to the modem and shortly thereafter it begins dialing in. Another convien

[Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Kirk Wallace
This may be off topic, but due to the open source nature of linux and EMC, I'll take a chance. I have been trying to figure out a method that a typical EMC user could use to make encoders. One method might be to use Lighscribe to burn a rotary scale image to a CDR disk, but cd's are reflective an

[Emc-users] Hal command failure

2007-02-16 Thread jensor
In going through the Hal tutorial again in paragraph 2.3.3 "Making realtime code run" after entering the command: loadrt threads name1=test-thread period=100 I get the following: insmod: error inserting '/usr/realtime-2.6.15-magma/modules/emc2/thread.ko'; -1 Unknown symbol in module HAL:6:

Re: [Emc-users] Hal command failure

2007-02-16 Thread Stephen Wille Padnos
[EMAIL PROTECTED] wrote: >In going through the Hal tutorial again in paragraph 2.3.3 "Making realtime >code >run" after entering the command: > >loadrt threads name1=test-thread period=100 > > That should be period1, not period. - Steve ---

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Alex Joni
> One method might be to use Lighscribe to burn a rotary scale image > to a > CDR disk, but cd's are reflective and practical encoders need to be > transmissive. Maybe an emulsion used for circuit board etching could > be > used on a clear CDROM? Two disks would be needed, one for the scale > an

Re: [Emc-users] Hal command failure

2007-02-16 Thread jensor
Also forgot to mention that when the command show param is issued, I only see siggen.0.update.time siggen.0.update.tmax I don't see the following parameters: siggen.0.amplitude siggen.0.frequency siggen.0.offset Jack Ensor -

Re: [Emc-users] Hal command failure

2007-02-16 Thread jensor
You're right, Steve. It worked when I entered the command correctly. Thanks. Jack Ensor Quoting Stephen Wille Padnos <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > >In going through the Hal tutorial again in paragraph 2.3.3 "Making realtime > code > >run" after entering the command: > > >

Re: [Emc-users] Hal command failure

2007-02-16 Thread jensor
When issuing the command save all saved.hal I get: HAL:18: Can't open 'save' destination 'saved.hal' What needs to be done now? Jack Ensor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Tech

Re: [Emc-users] Hal command failure

2007-02-16 Thread Alex Joni
you want to issue: halcmd save all > saved.hal Also make sure you're in a folder where you have write access (or use a full path for the filename). Regards, Alex - Original Message - From: <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Friday, February 16, 2007 11:

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Javid Butler
You can get reflective optocouplers as well as transmissive ones, although using a disk as you describe it might require an analog comparator on the front end to clean up the signal. Transmissive is easier, since the only linear part is at the edge of the openings. You can get reflective optoc

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread samco
I think mice parts a alex has mentioned are the cheapest. lawrenceG has done some extensive testing http://members.shaw.ca/swstuff/mouse.html I have played with this also - http://www.electronicsam.com/images/KandT/servostart/Fastermouse.png They work very well. My limit at the time was how fast t

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Javid Butler
A quick search on Froogle for "lightscribe drive" and I found a number of drives in the price range of $25 USD. Since the index marks on the Lightscribe disk are in a separate region of the disk I think they are read by a separate sensor. In other words it should not be hard to convert a driv

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Kirk Wallace
I just bought a drive with Lightscribe and I didn't bother to look at the CD's that came with it. It looks like there are about 400 lines per rev. and 80 lines per inch. I was hoping for a 2000 lines per rev. class design. Googling got me a link to Agilent's AEDR-8300 reflective sensor. My first gu

Re: [Emc-users] Home Made Encoder Ideas

2007-02-16 Thread Javid Butler
There are different versions of that sensor, one of which has a 75 line/in resolution. The highest resolution they make is 180 line/in. - Original Message - From: "Kirk Wallace" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" ; "Alex Joni" <[EMAIL PROTECTED]> Sent: Friday,

Re: [Emc-users] Hal command failure

2007-02-16 Thread Jeff Epler
On Fri, Feb 16, 2007 at 04:20:23PM -0500, [EMAIL PROTECTED] wrote: > Also forgot to mention that when the command show param is issued, I only see > siggen.0.update.time > siggen.0.update.tmax > > I don't see the following parameters: > siggen.0.amplitude > siggen.0.frequency > siggen.0.offset Th