On Fri, 5 Jul 2019, John Dammeyer wrote:
Date: Fri, 5 Jul 2019 11:21:38 -0700 From: John Dammeyer <[email protected]> Reply-To: "Enhanced Machine Controller (EMC)" <[email protected]> To: "'Enhanced Machine Controller (EMC)'" <[email protected]> Subject: [Emc-users] Spindle ControlI have a small module (DC_06) from Homann Designs for generating the 0V to 10V voltage for spindle VFD from step pulses that range from 0Hz to 25kHz for 0% to 100% respectively .Under MACH3 it's easy to use because one just clicks on the Ports and Pins menu entry and up comes the dialog with this section. http://www.autoartisans.com/mill/SpindleStep_Dir.jpgWith LinuxCNC it appears that there is only support (documented) for PWM to spindle speed.What do I set up in the HAL and INI files so that S3000 creates 25kHz stepping pulses (100%) for3000 RPM and one of the outputs is set high/low for M3/M4?Is the PWM module even required? Thanks John
You would need (for a parallel port) to add a stepgen component, set it into velocity mode and set the scaling so that a velocity command of 3000 gives you 25 KHz (setp stepgen.N.position-scale 8.333 ) then net motions absolute speed command to the stepgens velocity command
for forward and reverse you net the desired parallel port pins to motions spindle forward or reverse pinsFor a Mesa card you basically do the same thing except you dont need to load a stepgen component, instead the firmware you are using must have a free hardware stepgen for the rate --> analog converter
_______________________________________________ Emc-users mailing list [email protected] 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.
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
