Re: [Emc-users] Problems Compiling/Running - Update

2007-11-01 Thread Andrew Ayre
Alex,

Sorry, yes, I ran all the commands as root. Constantly typing in sudo
annoys me so I enable the root account. Old skool perhaps...

Andy

Alex Joni wrote:
> On Thu, 2007-11-01 at 12:18 -0700, Andrew Ayre wrote:
>> Another thought - does permissions need to be set on a file somewhere to
>> allow the shared memory to work for all users? I did:
>>
>> ./configure 
>> make
>> make install
>>
>> I didn't run make setuid. Is that still needed for a make install?
>>
>> Andy
> 
> make setuid is not needed,
> but there should be a sudo make install, unless you run the configure,
> make, make install as root.
> (regular users don't have write access to /etc/init.d and /usr..)
> 
> 
> Regards,
> Alex

-- 
Andy
PGP Key ID: 0x67090A54

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problems Compiling/Running - Update

2007-11-01 Thread Andrew Ayre
Jeff,

Does the following script do the same thing?

--
[EMAIL PROTECTED]:/home/andy# cat /usr/realtime/bin/script.sh
#!/bin/bash
mknod -m 666 /dev/rtai_shm c 10 254
for n in `seq 0 9`
do
f=/dev/rtf$n
mknod -m 666 $f c 150 $n
done

[EMAIL PROTECTED]:/home/andy# ls -l /dev | grep shm
crw-rw-rw- 1 root   root   10, 254 2007-11-01 21:04 rtai_shm
drwxrwxrwt 2 root   root40 2007-11-01 21:03 shm
--

Andy

Jeff Epler wrote:
> The following emc2.rules file, which is installed when you install a
> .deb of emc2 (but not by 'make install), makes the rtai_shm device
> accessible to all users:
> ~/emc2-src/debian/extras-Ubuntu-6.06/etc/udev/rules.d$ cat emc2.rules 
> KERNEL=="RTAI_SHM" SYMLINK=="rtai_shm" MODE="0666"
> 
> Jeff

-- 
Andy
PGP Key ID: 0x67090A54

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Stephen Wille Padnos
Ray Henry wrote:

>On Thu, 2007-11-01 at 20:07 -0600, Jon Elson wrote:
>  
>
>>Stephen Wille Padnos wrote:
>>
>>
>>>Jon Elson wrote:
>>>  
>>>
>>>Um, what about the search box at the bottom of every wiki page?
>>>
>>>  
>>>
>>(Blush)  Exposing my inexperience to the whole world in 
>>writing!  Isn't the internet GREAT?!?
>>
>>
>
>I've often thought that that search box ought to be at the top so that
>we'd see it as soon as we opened a page.  I just don't seem to remember
>my admin password or how to edit Joomla to do that.
>
>Rayh
>  
>
Hmm.

I had thought about that as well.

The wiki isn't part of Joomla, so it wouldn't help to remember the 
password ;)
I looked at the emcinfo.pl file, and it's not obvious how to move the 
search box around.  I'll have to wait for (a) someone who knows what the 
heck they're doing to look at it or (b) some free time so I can putter 
around with it.

- Steve


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Ray Henry
On Thu, 2007-11-01 at 20:07 -0600, Jon Elson wrote:
> Stephen Wille Padnos wrote:
> > Jon Elson wrote:

> > Um, what about the search box at the bottom of every wiki page?
> > 
> (Blush)  Exposing my inexperience to the whole world in 
> writing!  Isn't the internet GREAT?!?

I've often thought that that search box ought to be at the top so that
we'd see it as soon as we opened a page.  I just don't seem to remember
my admin password or how to edit Joomla to do that.

Rayh

 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Jon Elson
Stephen Wille Padnos wrote:
> Jon Elson wrote:
> 
> 
>>Cecil Thomas wrote:
>> 
>>
>>
>>>Steve,
>>>That's not the one I remember but it looks like it might be even better.
>>>
>>>I just spent the last 3 hours thinking I was searching the wiki for 
>>>stuff like this and basically came up with nothing.
>>>I guess I don't understand the search methodology.  How does one go 
>>>about finding stuff in the wiki?
>>>   
>>>
>>
>>Ugh!  Unless somebody has gone to the trouble of indexing it, 
>>there is no way I know to do an computer-assisted "search" of 
>>the wiki pages.
>> 
>>
> 
> Um, what about the search box at the bottom of every wiki page?
> 
(Blush)  Exposing my inexperience to the whole world in 
writing!  Isn't the internet GREAT?!?

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Jeff Epler
These items would be in .hal files.

Usually the default values (1 BASE_PERIOD) are OK for most stepper
drivers, so they are omitted from the default configuration files.

If you add these lines, they would be of the form
setp stepgen.0.steplen VALUE
where VALUE is the number of BASE_PERIODs (and so on for each stepgen)

In emc 2.2.0, VALUE will be in nanoseconds instead of BASE_PERIODs.

Jeff

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Alan Condit
Alan Condit <[EMAIL PROTECTED]> writes:

> 
> I read the article in the wiki that SWP pointed out recently.  It generated a
> question.  What file does one find the variables steplen, stepspace, dirsetup
> and dirhold in?
> 
> Alan
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 


Sorry, I guess I wasn't precise enough.  Are they in core_stepper.hal,
xylotex_pinout.hal or some other configuration file?

Alan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] new kinematics

2007-11-01 Thread Stuart Stevenson
Gentlemen,
I am working on a kinematics module. This is an outline of what I
want to do.
Comments, suggestions, concerns?

Here goes.

**
Added to the .ini file:

-
[TRAJ]
tool/pivot length
-
in each [AXIS_*]

x axis offset
y axis offset
z axis offset
order of calculation
-


in the new module

In the kinematics module I will have a macro using a 3D rotation
algorithm to calculate x, y and z correction values. Inputs to the
macro will be the commanded position of the axes (X, Y, Z, A, B, C
positions) and either the x, y, and z axis offset values from the
chosen [AXIS_*] section or the current tool length value from the tool
table file (or the default tool/pivot length from the [TRAJ] section).
The module will use the x, y, and z axis offset values and the A,
B, and C axis commanded postions to calculate the correction values.
The calculated correction values will then be added to the X, Y and Z
commanded positions and passed to the next calculation. Eventually the
sum of the axis position commands and the total correction
calculations will be sent to the joint position commands.
The order of calculation value will let the module know the order
in which to calculate the correction values to match the machine's
physical configuration. The order of calculation value could also let
the module know which axis does not need a calculation.
Linear axes will not have geometric correction values therefore
would not need a calculation done. Unless this module is expanded to
cover orthogonal error such as the X axis not being perfectly
perpendicular to the Y axis. This could be done but is beyond the
scope of this exercise.
The calculations will be done and implemented for all machine
positions after the axes are homed.
The difference between the commanded axis positions and the joint
positions will be the accumulated correction values.
thanks
Stuart

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problems Compiling/Running - Update

2007-11-01 Thread Jeff Epler
The following emc2.rules file, which is installed when you install a
.deb of emc2 (but not by 'make install), makes the rtai_shm device
accessible to all users:
~/emc2-src/debian/extras-Ubuntu-6.06/etc/udev/rules.d$ cat emc2.rules 
KERNEL=="RTAI_SHM" SYMLINK=="rtai_shm" MODE="0666"

Jeff

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problems Compiling/Running - Update

2007-11-01 Thread Alex Joni
On Thu, 2007-11-01 at 12:18 -0700, Andrew Ayre wrote:
> Another thought - does permissions need to be set on a file somewhere to
> allow the shared memory to work for all users? I did:
> 
> ./configure 
> make
> make install
> 
> I didn't run make setuid. Is that still needed for a make install?
> 
> Andy

make setuid is not needed,
but there should be a sudo make install, unless you run the configure,
make, make install as root.
(regular users don't have write access to /etc/init.d and /usr..)


Regards,
Alex


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problems Compiling/Running - Update

2007-11-01 Thread Andrew Ayre
Another thought - does permissions need to be set on a file somewhere to
allow the shared memory to work for all users? I did:

./configure 
make
make install

I didn't run make setuid. Is that still needed for a make install?

Andy

 Original Message 

A little bit more info:

When this function is called:

retval = rtapi_shmem_getptr(mem_id, &mem);

mem_id = 1. Upon return, mem = 0x0 and retval = 0.

So it seems the shared memory system doesn't work properly as mem should
never be set to zero. This is pretty much the limit of my debugging
abilities.

Andy

Andrew Ayre wrote:
> Thanks. It seg faults at line 2350 in hal_lib.c:
> 
> static int init_hal_data(void)
> {
>   /* has the block already been initialized? */
>   if (hal_data->version != 0) {
> 
> It appears that hal_data is NULL at this point. Here is the call stack:
> 
> hal/utils/halcmd_main.c:195 (main)
> hal/utils/halcmd.c:109 (halcmd_startup)
> hal/hal_lib.c:2350 (hal_init)
> 
> Andy
> 
> Jeff Epler wrote:
>> A system call trace (produced by using "strace") or a backtrace at the
>> time of the segmentation fault (produced using "gdb") would be helpful
>> in pinpointing the location of the problem.
>>
>> You can find information how to use these utilities on many pages on the
>> internet.
>>
>> Jeff
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>>
> 

-- 
Andy
PGP Key ID: 0x67090A54


-- 
Andy
PGP Key ID: 0x67090A54

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Alex Joni
> >>I guess I don't understand the search methodology.  How does one go 
> >>about finding stuff in the wiki?
> >>
> >Ugh!  Unless somebody has gone to the trouble of indexing it, 
> >there is no way I know to do an computer-assisted "search" of 
> >the wiki pages.
> >
> Um, what about the search box at the bottom of every wiki page?
> 

There is also the search box on the www.linuxcnc.org page.
it searches on google for the whole linuxcnc.org domain,
that includes wiki.linuxcnc.org and even cvs.linuxcnc.org
(and it also searches www.linuxcnc.org/irc/ <- irclogs)

That would be the place I would try..

Regards,
Alex

PS: the way to do this with google is to use a construction like
"site:foo.com" in the search query. (works if you want to search for
something specific at ti.com, or whatever place..)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Randolph Wilson
On Thursday 01 November 2007 13:01, Stephen Wille Padnos wrote:

> Um, what about the search box at the bottom of every wiki page?
>

One other trick that works just about anywhere, including the wiki - the 
Google "site:" command.

To use it you simply enter the following into the Google search box:

site:url searchterms

example:  site:http://wiki.linuxcnc.org/  stepper

I just tried the above example and it seems to work nicely on the wiki.

Naturally the usual Google search options, switches, and methods apply.

HTH,

Randy

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Kirk Wallace
Ops. I forgot to mention, I think you do a setp in your HAL
configuration file(s) to set these parameters. I haven't actually set
these before, so I am guessing.

On Thu, 2007-11-01 at 11:17 -0700, Kirk Wallace wrote:
> Is this what your looking for?
> 
> http://linuxcnc.org/docs/EMC2_Integrator_Manual.pdf
> 
> Integrators Manual / Chapter 14 / Internal Components / 14.1 Stepgen
> 
> On Thu, 2007-11-01 at 17:53 +, Alan Condit wrote:
> > I read the article in the wiki that SWP pointed out recently.  It generated 
> > a
> > question.  What file does one find the variables steplen, stepspace, 
> > dirsetup
> > and dirhold in?
> > 
> > Alan

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC lathe
Bridgeport mill conversion pending
Zubal lathe conversion pending)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Kirk Wallace
Is this what your looking for?

http://linuxcnc.org/docs/EMC2_Integrator_Manual.pdf

Integrators Manual / Chapter 14 / Internal Components / 14.1 Stepgen

On Thu, 2007-11-01 at 17:53 +, Alan Condit wrote:
> I read the article in the wiki that SWP pointed out recently.  It generated a
> question.  What file does one find the variables steplen, stepspace, dirsetup
> and dirhold in?
> 
> Alan

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC lathe
Bridgeport mill conversion pending
Zubal lathe conversion pending)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Andrew Ayre
I'm not sure offhand, but a useful command to learn in *nix is grep. For
example:

find . | xargs grep steplen

man find
man grep
man xargs

will tell you how to use these commands.

Andy

Alan Condit wrote:
> I read the article in the wiki that SWP pointed out recently.  It generated a
> question.  What file does one find the variables steplen, stepspace, dirsetup
> and dirhold in?
> 
> Alan


-- 
Andy
PGP Key ID: 0x67090A54

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] steplen, stepspace, dirsetup, dirhold

2007-11-01 Thread Alan Condit
I read the article in the wiki that SWP pointed out recently.  It generated a
question.  What file does one find the variables steplen, stepspace, dirsetup
and dirhold in?

Alan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet I/O

2007-11-01 Thread Jon Elson
[EMAIL PROTECTED] wrote:
> Do those ARM processors include floating point? My guess is not. Those
> 70+ MIPs might not go as far as you think if you have to do floating
> point in software. I'd rather not go to the alternative of converting
> everything to fixed point.
I had thought they did, but I'm guessing it is done with a 
software library.  It does have a barrel shifter and mulitplier, 
though.

That certainly is a big negative factor in the idea of porting 
even a major chunk of EMC2 to the ARM7.  But, my little project
for a parallel port replacement, if I can ever make it work, 
would not need any floating point, it is just moving bytes of 
I/O back and forth.

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2007-11-01 Thread Jon Elson
Kirk Wallace wrote:
> On Wed, 2007-10-31 at 20:15 -0600, Jon Elson wrote:
> 
>>Kirk Wallace wrote:
>>
>>>What is the best way to drive a 4hp, 90VDC, 40A spindle motor on a
>>>Hardinge CHNC? Some of the large DC motors I have seen, look like
>>>universal motors which would operate on AC or DC. Does anyone know if
>>>the CHNC spindle motor could  work on AC? I'm thinking, a few dimmer
>>>switches in parallel and a stepper to turn the dials ;). I wonder if it
>>>would be cheaper to go with a 3-phase motor and VFD. Thanks.
>>
>>No, these motors are NOT universal motors.  You could rectify 
>>the mains to drive the motor, but then it would draw 40 A from 
>>the line.  You should be able to find an SCR drive for this. 
>>You can't parallel dimmers, they can't be trusted to give the 
>>same pulse width.  
> 
> 
> I was joking about the dimmers. So far I have found this:
> 
> http://www.baldor.com/products/detail.asp?1=1&page=1&catalogonly=1&catalog=BC155&product=DC+Controls&family=One+Way%7Cvw%5FDCControls%5FOneWay&voltage=180
> 
Yes, but as a 5 Hp drive for 180 V motors, it is a 20 A drive.
Also, I'm pretty sure it is a single-quadrant drive, so it will 
provide no braking.  That may be a problem.
> but this puts out 180V and I need 90V. Plus it seems that this kind of
> controller does not interface with a computer well at all.
I'm pretty sure there would be a way to adapt it for computer 
control.  It may, or may not, require the pot connection to be 
isolated.  There are ways to do that.
  It's
> beginning to look like DC lathe spindle drives are a specialty item,
> which means, hard to find and big bucks to buy or repair.
> 
Well, you need a DC motor drive, not necessarily a DC "spindle" 
drive.  A true DC servo spindle drive would be a four-quadrant 
servo amp.  That would work quite well, too.  But, servo axis 
amps at 40 A are less common, but they do exist.
> 
>>If it is a standard-frame motor, then you 
>>could go the 3-phase and VFD route.  That may not give you the 
>>range of speeds and torque required.
> 
> 
> The newer VFD's are much better with this aren't they?
No, not if the DC motor was designed to produce rated HP over a 
5:1 speed range.  This is the problem with the Monarch 10EE, for 
instance.  There was only back gear and direct drive, all other 
speed control was done with the motor.  So, it had a fairly 
modest HP rating, but could deliver it from something like 20% 
to 200% of nominal speed.  An off-the-shelf AC motor can't do 
this, no matter what the VFD is capable of delivering.  You get 
a linear power ramp from zero power at zero speed to rated power 
at rated speed, then linear power to however much you want to 
overspeed the motor.  The DC motor way with a high-torque motor 
replaces the belt drive or gearbox, the AC motor just can't 
replicate that low-end torque, unless you put in a FIVE times 
higher HP motor.

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Stephen Wille Padnos
Jon Elson wrote:

>Cecil Thomas wrote:
>  
>
>>Steve,
>>That's not the one I remember but it looks like it might be even better.
>>
>>I just spent the last 3 hours thinking I was searching the wiki for 
>>stuff like this and basically came up with nothing.
>>I guess I don't understand the search methodology.  How does one go 
>>about finding stuff in the wiki?
>>
>>
>Ugh!  Unless somebody has gone to the trouble of indexing it, 
>there is no way I know to do an computer-assisted "search" of 
>the wiki pages.
>  
>
Um, what about the search box at the bottom of every wiki page?

It's best to start with a single word when searching.  I think the 
search uses the entire phrase when you use multiple words, so "step 
config" will look for those two words, separated by one space - probably 
not what you want.  (at least, that's what it seems to do in my limited 
testing)

- Steve


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avoiding Following Error

2007-11-01 Thread Jon Elson
Cecil Thomas wrote:
> Steve,
> That's not the one I remember but it looks like it might be even better.
> 
> I just spent the last 3 hours thinking I was searching the wiki for 
> stuff like this and basically came up with nothing.
> I guess I don't understand the search methodology.  How does one go 
> about finding stuff in the wiki?
Ugh!  Unless somebody has gone to the trouble of indexing it, 
there is no way I know to do an computer-assisted "search" of 
the wiki pages.

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2007-11-01 Thread Kirk Wallace
On Thu, 2007-11-01 at 05:29 -0600, RogerN wrote:
> I would first look on eBay for DC drives within the 90V 40A range.  All 
> the drives I have worked with have current limit adjustment, you could 
> use a 100A drive adjusted to 40% current limit.  You may have to get a 
> higher voltage drive and limit the output voltage by with the Max Speed 
> adjustment.  Many industrial applications are replacing DC motors & 
> drives with AC VS motors and drives, ie there should be a surplus of DC 
> drives.

I have a love-hate relationship with eBay. I love that you can find some
really cool stuff at good prices. I hate the fact that I have to be on
eBay's schedule. Some times, I just want to buy what I want, at a decent
price, and not worry about if or when I can get it. For the couple of
days I have been looking, I am not getting a good feeling about these
drives. What sort of keywords should I be using?

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC lathe
Bridgeport mill conversion pending
Zubal lathe conversion pending)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet I/O

2007-11-01 Thread Kenneth . Lerman

Do those ARM processors include floating point? My guess is not. Those
70+ MIPs might not go as far as you think if you have to do floating
point in software. I'd rather not go to the alternative of converting
everything to fixed point.

Ken

On Tue, Oct 30, 2007 at 12:31:18PM -0600, Jon Elson wrote:
> Rafael Skodlar wrote:
> > 
> > This brings up another option, build an open source EMC controller 
> > PCI[e] card with slow, medium and high speed ports that could be used to 
> > control buses. Speeds would need to be determined based on what is 
> > required for machine world. If build with an FPGA, it would be very 
> > flexible and handle a lot of logic and speed and could be programmed for 
> > different needs: use with lathe, 3D routers and torch machines, or even 
> > run real time functions.
> This may be what Paul Corner has been ranting about for some 
> time.  Port EMC(your flavor here) to one of the ARM all-in-one 
> CPUs, and keep the GUI on a PC.  There are a bunch of details, 
> the biggest being how to access the G-code and configuration 
> files.  It would probably require more memory than they 
> currently fit into such chips as the AT91SAM7X series, I think 
> 256 K it the max.  There apparently is a substantial speed 
> penalty for external memory.  There would need to be some 
> process on the PC supporting file serving to the ARM, but I 
> suppose NFS would work.  Without all the Linux OS overhead and 
> virtual PC nightmares of the current PC architecture, the 70+ 
> MIPS of the ARM processors might be sufficient.
> 
> Once the file serving question is handled, the only serious 
> remaining effort (I think) would be porting rtapi to one of the 
> competing ARM RTOS options.
> 
> A very interesting idea, but it could be fairly time consuming 
> to deal with all the intricacies of such a big porting effort.
> It would sure make a NEAT package, and the board could be quite 
> cheap.  These ARM microcontrollers are in the $7 - 14 range, 
> they need an additional $12 or so of parts to implement 
> Ethernet, and maybe under $10 for extra memory.  I would think 
> that pat could be done for under $100.  Add an FPGA to do step 
> generation or PWM drive and a bunch of I/O connections, and you
> are up to maybe $200 for a commercial product.
> 
> Jon
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2007-11-01 Thread Kirk Wallace
On Wed, 2007-10-31 at 21:50 -0500, Ray Henry wrote:
> I've got several of these motors out in the garage and I don't think any
> of them would handle AC.  The ones I've got are real DC motors with
> quite a few windings and a massive commutator.
> 
> There were at least two DC motors used in these, rated at 3 hp and 5 hp
> nominal.  If you look at the drive for these you'll see the ability to
> source about 100 amps at 90 volts -- way more than nominal.  That is how
> they were able to get up to speed, 3000 or 3600 in a couple of
> revolutions.
> 
> They also used a large crowbar to kill off deceleration when regenerated
> voltage got to about 105 volts.  That stopped them in a couple turns
> also.
> 
> Rayh
> 
> 
> On Wed, 2007-10-31 at 14:23 -0700, Kirk Wallace wrote:
> > What is the best way to drive a 4hp, 90VDC, 40A spindle motor on a
> > Hardinge CHNC? Some of the large DC motors I have seen, look like
> > universal motors which would operate on AC or DC. Does anyone know if
> > the CHNC spindle motor could  work on AC? I'm thinking, a few dimmer
> > switches in parallel and a stepper to turn the dials ;). I wonder if it
> > would be cheaper to go with a 3-phase motor and VFD. Thanks.

If these are Hardinge parts, could you be persuaded to part with any of
these drives or motors?

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC lathe
Bridgeport mill conversion pending
Zubal lathe conversion pending)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2007-11-01 Thread Kirk Wallace
On Wed, 2007-10-31 at 20:15 -0600, Jon Elson wrote:
> Kirk Wallace wrote:
> > What is the best way to drive a 4hp, 90VDC, 40A spindle motor on a
> > Hardinge CHNC? Some of the large DC motors I have seen, look like
> > universal motors which would operate on AC or DC. Does anyone know if
> > the CHNC spindle motor could  work on AC? I'm thinking, a few dimmer
> > switches in parallel and a stepper to turn the dials ;). I wonder if it
> > would be cheaper to go with a 3-phase motor and VFD. Thanks.
> No, these motors are NOT universal motors.  You could rectify 
> the mains to drive the motor, but then it would draw 40 A from 
> the line.  You should be able to find an SCR drive for this. 
> You can't parallel dimmers, they can't be trusted to give the 
> same pulse width.  

I was joking about the dimmers. So far I have found this:

http://www.baldor.com/products/detail.asp?1=1&page=1&catalogonly=1&catalog=BC155&product=DC+Controls&family=One+Way%7Cvw%5FDCControls%5FOneWay&voltage=180

but this puts out 180V and I need 90V. Plus it seems that this kind of
controller does not interface with a computer well at all. It's
beginning to look like DC lathe spindle drives are a specialty item,
which means, hard to find and big bucks to buy or repair.

> If it is a standard-frame motor, then you 
> could go the 3-phase and VFD route.  That may not give you the 
> range of speeds and torque required.

The newer VFD's are much better with this aren't they?

>   If you want smooth, 
> controlled reversing, then you need a DC servo drive.  If you 
> don't need a complete 4-quadrant servo drive, then the SCR DC 
> motor drives may be the way to go.  Baldor and plenty of others 
> make these, they show up on eBay all the time.
> 
> Jon



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2007-11-01 Thread RogerN
I would first look on eBay for DC drives within the 90V 40A range.  All 
the drives I have worked with have current limit adjustment, you could 
use a 100A drive adjusted to 40% current limit.  You may have to get a 
higher voltage drive and limit the output voltage by with the Max Speed 
adjustment.  Many industrial applications are replacing DC motors & 
drives with AC VS motors and drives, ie there should be a surplus of DC 
drives.


- Original Message - 
From: "Kirk Wallace" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 

Sent: Wednesday, October 31, 2007 3:23 PM
Subject: [Emc-users] Off Topic, DC Spindle Motor


> What is the best way to drive a 4hp, 90VDC, 40A spindle motor on a
> Hardinge CHNC? Some of the large DC motors I have seen, look like
> universal motors which would operate on AC or DC. Does anyone know if
> the CHNC spindle motor could  work on AC? I'm thinking, a few dimmer
> switches in parallel and a stepper to turn the dials ;). I wonder if 
> it
> would be cheaper to go with a 3-phase motor and VFD. Thanks.
> -- 
> Kirk Wallace (California, USA
> http://www.wallacecompany.com/machine_shop/
> Hardinge HNC lathe
> Bridgeport mill conversion pending
> Zubal lathe conversion pending)
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a 
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users