[Emc-users] Step Direction

2006-12-28 Thread David at home

Help please

I have successfully ungraded to EMC2 (Ubuntu) and things are running
smoothly with my Stepper motors using the standard set up files. I had
to add/adjusted the step length which now seems fine, but have changed
little else. 

My only problem is, the axis are going the wrong ways!

I've spent about a day playing with various settings -invert / not
and have come to the conclusion, I haven't a clue which setup file I
should be fiddling in. I've even resorted to reading the manual, but I'm
still none the wiser.

Can any tell me the best place add a change of direction command and
what it should look like, please ?

Thanks David

-
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step Direction

2006-12-28 Thread Mario .
Easiest way will be editing HAL file which describes the stepper
output pins connection and you are done in 30 seconds ;-)

On 12/28/06, David at home [EMAIL PROTECTED] wrote:

 Help please

 I have successfully ungraded to EMC2 (Ubuntu) and things are running
 smoothly with my Stepper motors using the standard set up files. I had
 to add/adjusted the step length which now seems fine, but have changed
 little else.

 My only problem is, the axis are going the wrong ways!

 I've spent about a day playing with various settings -invert / not
 and have come to the conclusion, I haven't a clue which setup file I
 should be fiddling in. I've even resorted to reading the manual, but I'm
 still none the wiser.

 Can any tell me the best place add a change of direction command and
 what it should look like, please ?

 Thanks David

 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step Direction

2006-12-28 Thread Sam Sokolik
the easiest way that I know of is to simply change the sign in front or your 
input scale value for the offending axis.  This is in your ini file.

INPUT_SCALE = 81920 0

INPUT_SCALE = -81920 0

sam

- Original Message - 
From: Mario. [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Thursday, December 28, 2006 9:07 AM
Subject: Re: [Emc-users] Step Direction


 Easiest way will be editing HAL file which describes the stepper
 output pins connection and you are done in 30 seconds ;-)

 On 12/28/06, David at home [EMAIL PROTECTED] wrote:

 Help please

 I have successfully ungraded to EMC2 (Ubuntu) and things are running
 smoothly with my Stepper motors using the standard set up files. I had
 to add/adjusted the step length which now seems fine, but have changed
 little else.

 My only problem is, the axis are going the wrong ways!

 I've spent about a day playing with various settings -invert / not
 and have come to the conclusion, I haven't a clue which setup file I
 should be fiddling in. I've even resorted to reading the manual, but I'm
 still none the wiser.

 Can any tell me the best place add a change of direction command and
 what it should look like, please ?

 Thanks David

 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step Direction

2006-12-28 Thread Chris Radek
On Thu, Dec 28, 2006 at 03:08:26PM +, David at home wrote:
 
 Can any tell me the best place add a change of direction command and
 what it should look like, please ?

Just make the INPUT_SCALE negative in the .ini.

Chris

-
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Lowest speed with servo system ?

2006-12-28 Thread Anders Wallin

Hi all,

With a servo system using quadrature encoder feedback, what is the 
slowest speed that can reliably be used ?

I would imagine that there is a problem if there are no counts between 
successive calls to the PID loop ? resulting in jerky instead of smooth 
slow motion ?

any way to improve on this using some smart HAL code ?

The setup I'm planning would use a 1000 line encoder (4000counts/rev) 
motor directly coupled to a 2.5mm/rev ballscrew. If I require one count 
for each call to the PID loop (1 kHz count rate) then that works out to 
0.25rev/s or 15 rpm or a feedrate of 37.5mm/min which does not seem that 
low ??

comments appreciated !

Anders

-
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lowest speed with servo system ?

2006-12-28 Thread Jon Elson
Mario. wrote:

If power rating for the slow motion would be ~10W or so, a big, fast
microstepper stepper motor, like the Shinano Kenshi SKC83D I use could
do the job. With 250 microsteps per electrical phase I get 12500
microsteps per revolution, what can get you really fluent motion.

But that is the system of things I like to use, your conditions may vary.

  

Of course conditions will vary.  The machine in question is a big 
servo-controlled
milling machine, and axis speeds of several hundred IPM are planned.  The OP
was asking what the minimum speeds might be without motion breaking down 
into
discrete steps.   If ONLY such low speeds were being planned, a huge 
servo would not
make sense.

Jon

-
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa m5i20 PWM frequency ?

2006-12-28 Thread Peter C. Wallace
 Jon tells me his amplifiers are optimized for 50 kHz PWM frequency. Does
 anyone know in what range the PWM frequency is adjustable on the Mesa
 M5i20 ?
 

 Its limited to ~33 KHz at the moment (33.3 MHz PCI clock /1024)

 It would be pretty easy to use the 50 MHz clock instead to the max would be 
 close to 50 KHz, or double that for 100 KHz or so maximum.

 50 KHz is pretty high for PWM, as the switching losses in the HBridge go up, 
 and the dead time becomes more of the total cycle time. If the PWM is not 
 used directly to drive a HBridge, (just filtered to generate an analog 
 current threshold or something) then using the interleaved PWM option will 
 result lower ripple, so such a high PWM rate is not needed, but dont use the 
 interleaved option if the PWM drives an HBridge directly...

 The manual talks about 10-bit PWM with a 33MHz clock so 1024 ticks
 equals 31us or 32.2 kHz
 is it possible to use a higher PWM frequency than this ?
 
 AW


OK I've made 4 new FPGA configurations:


1. HM5-4E - 4 axis 33 MHz PWM clock

Same as before, just added R/O ID/REV/AXIS register and MCLK freq register

ID/REV reads AA010004 (low half is # of axis), MCLK reads 33. MHz



2. HM5-8E - 8 axis 33 MHz PWM clock

Same as before, just added R/O ID/REV/AXIS register and MCLK freq register

ID/REV reads AA010008 (low half is # of axis), MCLK reads 33. MHz



3. HM5-4EH - 4 axis 100 MHz PWM clock

Modified so basic clock for PWM and interrupt rate is 100 MHz

ID/REV reads AA020004 (low half is # of axis), MCLK reads 100 MHz



4. HM5-8EH - 8 axis 100 MHz PWM clock

Modified so basic clock for PWM and interrupt rate is 100 MHz

ID/REV reads AA020008 (low half is # of axis), MCLK reads 100 MHz





FPGA configurations 3 and 4 allow PWM rates up to 97.6 KHz (100 MHz/1024)

Anders had asked for 66MHz master clock which I can do easily, (by doubling 
the PCI clock) but I figured that using the on card 50 MHz oscillator (which 
is used to generate the 100 MHz) has the advantage of known frequency, where 
the PCI bus clock could be anywhere from 32 to 33. MHz. Also, having PWM 
rates up to 97.6 KHz allows some headroom if someone wants to play with 
optimum PWM rate for a given HBridge.

If 66 MHz PWM clock is really desired, I could probably use two DCMs and 
quadruple the 50 MHz to 200 MHz then divide that by 3 for a known 66.6 
MHz, but cascading DCMs is a nuisance in Spartan2.

I can send the source and bit files tommorow. (where?)



Peter Wallace



-
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step Direction

2006-12-28 Thread Andy Ibbotson
David,
Try reversing the sign of the INPUT_SCALE parameter in the AXIS_#
section of your .ini file.  I used this to reverse the direction of my
steppers i.e.

INPUT_SCALE = 12000 0 turns clockwise

INPUT_SCALE = -12000 0 should turn anti-clockwise

Hope this helps.
Andy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David at
home
Sent: 28 December 2006 15:08
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] Step Direction


Help please

I have successfully ungraded to EMC2 (Ubuntu) and things are running
smoothly with my Stepper motors using the standard set up files. I had
to add/adjusted the step length which now seems fine, but have changed
little else. 

My only problem is, the axis are going the wrong ways!

I've spent about a day playing with various settings -invert / not
and have come to the conclusion, I haven't a clue which setup file I
should be fiddling in. I've even resorted to reading the manual, but I'm
still none the wiser.

Can any tell me the best place add a change of direction command and
what it should look like, please ?

Thanks David


-
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.phpp=sourceforgeCID=DEVDE
V
___
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.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users