I'm having some problems and it seam to be that I have not got pwmgen.N.scale 
set right. I can not follow the manuals.  Listed below is ever thing I could 
find. If I read it correctly the value should be some where from -1 to 1 but 
that does not work.

If I set pwmgen.0.scale to 1 as soon as the amps enable I get a following 
error. Set it to 5.5  and ever thing seam to work except homing it faults out 
with a following error as soon as it try to make the final move. The only way 
that I have got homing to work is to set MAX_VELOCITY to 1 when it should be 
4.16667 witch gives me 250 IPM. 

Donnie


http://www.linuxcnc.org/docs/html/man/man9/pwmgen.9.html

    * (float) pwmgen.<chan>.scale -- Scaling factor to convert value
      from arbitrary units to duty cycle.




http://www.linuxcnc.org/docs/2.1/html/config/stepper/index.html

    setp pwmgen.0.scale 1800 # Change to your spindle's top speed in RPM 

This assumes that the spindle controller's response to PWM is simple: 0% 
PWM gives 0RPM, 10% PWM gives 180 RPM, etc. If there is a minimum PWM 
required to get the spindle to turn, follow the example in the 
nist-lathe sample configuration to use a scale component.




http://www.linuxcnc.org/docview/html//man/man9/pwmgen.9.html

*pwmgen.*/N/*.scale* float rw



http://linuxcnc.org/docs/html/man/man9/hostmot2.9.html

Parameters:

(float rw) scale: Scaling factor to convert 'value' from arbitrary units 
to duty cycle: dc = value / scale. Duty cycle has an effective range of 
-1.0 to +1.0 inclusive.



http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Released

    * hostmot2 changes: Config changes required! pwmgen.scale now works
      as advertised; stepgen timing params are "u32 ns" instead of
      "float seconds"; and stepgens now have a .enable pin which needs
      setting.




http://www.linuxcnc.org/docs/devel/HAL_User_Manual.pdf

7.2.4 Parameters
 (F L O A T) pwmgen.<chan>.scale - Scaling factor to convert value from 
arbitrary units to duty
cycle.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to