Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: CCWood on December 19, 2019, 09:31:47 PM

Title: PCNC 1100, Mach4 /ESS, Spindle Speed Control
Post by: CCWood on December 19, 2019, 09:31:47 PM
Hi All, I recently inherited a PCNC 1100. My brother had used the machine with Mach 3 and ESS. The PC he used to run the machine crashed, and we replaced it, but due to failing health he had not been able set up everything.
I have upgraded it to Mach4 with ESS and have everything working except the spindle speed control. I am using Step and Direction for spindle control... If anyone is using a similar set up, could you give me some tips on how to setup and adjust the spindle speed from mach?
Thanks in advance,
Andy
Title: Re: PCNC 1100, Mach4 /ESS, Spindle Speed Control
Post by: Graham Waterworth on December 20, 2019, 07:47:24 PM
Spindle drives need the motor settings in Mach to be set to 1000 steps and 1500 velocity and then the output pin to be any pin you have spare this is then the feed for the spindle input signal.  You also have to set the in and max spindle speed in the pulleys table.
Title: Re: PCNC 1100, Mach4 /ESS, Spindle Speed Control
Post by: mcardoso on December 23, 2019, 11:47:18 AM
CCWood,

I am using Mach 4 and an ESS with a Step/Dir spindle.

In the configuration you would set up your spindle as Motor 5 (or anything else) and axis OB1 (or anything else). In the Mach 4 control config, you would map Motor 5 to axis OB1.

In the ESS plugin config, you would configure the spindle as "OB" and configure the correct output pins in the ESS config. You would need to wire these and your enable (if you have one) to the drive. When configured correctly, the ESS will know to output pulses on the specified pins to generate spindle motion.