[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 was 5 but value that was writed 
to file was 10.
Is this a correct behavior?

Thanks

Michal


Poukładaj rozrzucone zabawki i zdobądź punkty! 
"Dziewczyńskie porządki" - nowa, niesamowita gra logiczna - Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd74.html&sid=1021



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 lines later than the one that
was executing when you hit abort.

This is a consequence of the way emc "queues up" many motions so that
the real-time code is almost always guaranteed to have motion
information available.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 any way of getting an automatic dialup when I open Firefox?
Currently I must do System-Administration-Networking, select Modem, then select
Activate to get it to dialup. And when I close the browser I must go through the
same process and select Deactivate to get it to hang up the phone line.

Jack Ensor

Quoting Jeff Epler <[EMAIL PROTECTED]>:

> If you get the message "realtime already running", then issue:
> halcmd unload all
> realtime stop
> the second command may need a path:
> /etc/init.d/realtime stop
> 
> On my system (ubuntu 6.06, emc2.1-sim package, urxvt terminal) closing a
> terminal window where halrun is running doesn't lead to any problems.




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 it is not at all state based so if the dialup connection goes away
it hasn't got a clue.

Rayh


On Fri, 2007-02-16 at 08:56 -0500, [EMAIL PROTECTED] wrote:
> 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 any way of getting an automatic dialup when I open 
> Firefox?
> Currently I must do System-Administration-Networking, select Modem, then 
> select
> Activate to get it to dialup. And when I close the browser I must go through 
> the
> same process and select Deactivate to get it to hang up the phone line.
> 
> Jack Ensor
> 
> Quoting Jeff Epler <[EMAIL PROTECTED]>:
> 
> > If you get the message "realtime already running", then issue:
> > halcmd unload all
> > realtime stop
> > the second command may need a path:
> > /etc/init.d/realtime stop
> > 
> > On my system (ubuntu 6.06, emc2.1-sim package, urxvt terminal) closing a
> > terminal window where halrun is running doesn't lead to any problems.
> 
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 the first step in the new direction is not likely to make a motor
> lose sync.
>
> Jon



Yes, thats usually the case but I have some really crappy Compumotor drivers 
that require 125 uSec! Especially bad since they are 256 uStep/Step drives...

One simple way that might work for decent drives is to punt and only update 
DIR on the opposite DDS edge from the step edge.

>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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
>
> From: <[EMAIL PROTECTED]>
>> "Peter C. Wallace" <[EMAIL PROTECTED]> wrote:
>>
>>
>> On the step/dir side: some drives require setup and/or hold times for the
>> dir line with respect to the step line.  Others have minumum step pulse
>> lengths.  Do the generators support this?  Min pulse length isn't that
>> hard,
>> but setup and hold time can be a pain.
>>
>> Example:  You were running along at +10 steps/sec, then you switch to -10
>> steps/sec.  99.999% of the time that is fine.  But if you make the change
>> a microsecond after the DDS has generated an "up" step, it will want to
>> generate a "down" step a microsecond later.  (The DDS accumulator will
>> have only added a tiny amount, so once you switch directions, it will only
>> have to subtract a tiny amount.)  The HAL software stepgen has more code
>> (crufty code at that) to ensure setup and hold times than is required for
>> the DDS itself.
>
> You probably have this in hand  but I grappled with it a while ago. The
> project never got into production but I did lots of 'scope tests and I think
> the module works properly in the file at:
>
> www.castlewoodconsultants.com/Misc/PulseGen.v
>
> It has a simple pulse generator and a ShapeSetupHold module that enforces
> times defined in two registers.
>
> HTH

Thanks, looks about like what I was imagining and probably some things I 
missed...



>
> John Prentice
>
>
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 convienience I found. To get numlock enabled on boot add the following
to the
/etc/Xll/xinit/xinitrc file:

. /usr/bin/numlockx on

I had to go to sudo to do this. But now numlock is on when I boot up like I am
used to.

Jack Ensor

Quoting Ray Henry <[EMAIL PROTECTED]>:

> 
> 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 it is not at all state based so if the dialup connection goes away
> it hasn't got a clue.
> 
> Rayh
> 
> 
> On Fri, 2007-02-16 at 08:56 -0500, [EMAIL PROTECTED] wrote:
> > 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 any way of getting an automatic dialup when I open
> Firefox?
> > Currently I must do System-Administration-Networking, select Modem, then
> select
> > Activate to get it to dialup. And when I close the browser I must go
> through the
> > same process and select Deactivate to get it to hang up the phone line.
> > 
> > Jack Ensor
> > 
> > Quoting Jeff Epler <[EMAIL PROTECTED]>:
> > 
> > > If you get the message "realtime already running", then issue:
> > > halcmd unload all
> > > realtime stop
> > > the second command may need a path:
> > > /etc/init.d/realtime stop
> > > 
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[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 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 and
another for a mask.

Another thought is that if a CDRW laser assembly could be modified to
scan a stationary target, you could apply the magic CDR coating to a
substrate and then use the CDRW scanner to write and read absolute
position data to a rotary or linear scale. Sort of like the helical scan
for magnetic tape used for video or data backup.

The main idea is to trade effort for cost in the pursuit of accurate
position feedback for EMC motion control.

Any thoughts on this?

Kirk


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[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: ERROR: systemv failed, returned 1
HAL:6: ERROR: insmod failed, returned -1

I didn't get this the first time I went through the tutorial.

Appearently something needs to be reset.  Any ideas on this?

Jack Ensor




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 
> and
> another for a mask.

well, if you're already acustomed to lightscribe disks, look at the 
inside of the disk.
You'll see markings that are perfect for an encoder, you just need to 
find (mouse?) 2 optos to work with that.

The markings are pretty visible in this picture I took: 
http://dsplabs.cs.utt.ro/~juve/dropbox/lightscribe/IMG_9645.JPG

Regards,
Alex


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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:
> >
> >loadrt threads name1=test-thread period=100
> >  
> >
> That should be period1, not period.
> 
> - Steve


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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:38 PM
Subject: Re: [Emc-users] Hal command failure


> 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 Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.441 / Virus Database: 268.18.0/689 - Release Date: 
> 15.2.2007 17:40
>
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 optocouplers from both mouser.com and and 
digikey.com.

Javid

- Original Message - 
From: "Alex Joni" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 
Sent: Friday, February 16, 2007 3:17 PM
Subject: Re: [Emc-users] Home Made Encoder Ideas


>> 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
>> and
>> another for a mask.
>
> well, if you're already acustomed to lightscribe disks, look at the
> inside of the disk.
> You'll see markings that are perfect for an encoder, you just need to
> find (mouse?) 2 optos to work with that.
>
> The markings are pretty visible in this picture I took:
> http://dsplabs.cs.utt.ro/~juve/dropbox/lightscribe/IMG_9645.JPG
>
> Regards,
> Alex
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 the
computer could count.

We ended up going with usdigital parts - wheel and sensor
as you can get both for under $50
http://www.electronicsam.com/images/KandT/servostart/Encoder.JPG

sam




On Fri, 16 Feb 2007 13:03:06 -0800
 Kirk Wallace <[EMAIL PROTECTED]> wrote:
> 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 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 and
> another for a mask.
> 
> Another thought is that if a CDRW laser assembly could be
> modified to
> scan a stationary target, you could apply the magic CDR
> coating to a
> substrate and then use the CDRW scanner to write and read
> absolute
> position data to a rotary or linear scale. Sort of like
> the helical scan
> for magnetic tape used for video or data backup.
> 
> The main idea is to trade effort for cost in the pursuit
> of accurate
> position feedback for EMC motion control.
> 
> Any thoughts on this?
> 
> Kirk
> 
> 
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> opinions on IT & business topics through brief
> surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 
drive into an encoder if you do not mind sacrificing a drive for that 
purpose and have the soldering skills.

You might still need to do some signal conditioning, depending on where you 
tap into the sensors.

This is an interesting idea.  If I get time I'll play with it some and post 
my results.

Javid

- Original Message - 
From: "Alex Joni" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 
Sent: Friday, February 16, 2007 3:17 PM
Subject: Re: [Emc-users] Home Made Encoder Ideas


>> 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
>> and
>> another for a mask.
>
> well, if you're already acustomed to lightscribe disks, look at the
> inside of the disk.
> You'll see markings that are perfect for an encoder, you just need to
> find (mouse?) 2 optos to work with that.
>
> The markings are pretty visible in this picture I took:
> http://dsplabs.cs.utt.ro/~juve/dropbox/lightscribe/IMG_9645.JPG
>
> Regards,
> Alex
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 guess is that 80 lines per inch is the maximum resolution for
this sensor. Another guess is that they are using geewiz interpolation
to get the resolution they need for Lightscribe.

Kirk

On Fri, 2007-02-16 at 23:17 +0200, Alex Joni wrote:
> > 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 
> > and
> > another for a mask.
> 
> well, if you're already acustomed to lightscribe disks, look at the 
> inside of the disk.
> You'll see markings that are perfect for an encoder, you just need to 
> find (mouse?) 2 optos to work with that.
> 
> The markings are pretty visible in this picture I took: 
> http://dsplabs.cs.utt.ro/~juve/dropbox/lightscribe/IMG_9645.JPG
> 
> Regards,
> Alex



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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, February 16, 2007 4:36 PM
Subject: Re: [Emc-users] Home Made Encoder Ideas


>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 guess is that 80 lines per inch is the maximum resolution for
> this sensor. Another guess is that they are using geewiz interpolation
> to get the resolution they need for Lightscribe.
>
> Kirk
> 
> On Fri, 2007-02-16 at 23:17 +0200, Alex Joni wrote:
>> > 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
>> > and
>> > another for a mask.
>>
>> well, if you're already acustomed to lightscribe disks, look at the
>> inside of the disk.
>> You'll see markings that are perfect for an encoder, you just need to
>> find (mouse?) 2 optos to work with that.
>>
>> The markings are pretty visible in this picture I took:
>> http://dsplabs.cs.utt.ro/~juve/dropbox/lightscribe/IMG_9645.JPG
>>
>> Regards,
>> Alex
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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

These three were changed into pins during the development cycle, but the
documentation apparently wasn't updated.

Someone probably needs to actually re-record all the sample sessions in
the documentation so that they match the current implementation... any
volunteers?

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users