Bump
Hi Tom
Finally had some time to look at (and absorb) SpindleMach3PWM.c . I don't think
that's going to work as it seems to specify a pin for for CW and a pin for CCW.
The unit I have
uses the direction signal to change the relays. There are only 3 input
terminals. PWM, DIR, ground.
The manual says:
Inputs a PWM signal and outputs an analog 0-10VDC.
Uses only two pins, one for PWM and one for direction. It is the
presence of absence of
the valid PWM signal what would start/stop the spindle.
Has two relays that can be used to control the direction and enable and
disable the drive.
And
Go to Config / Ports&Pins / Motor Outputs. Enable the spindle and select the
port and pins you wired for step and direction.
Go to Config / Ports&Pins / Spindle Setup. In the motor control box, check Use
Spindle Motor Output and Step /Dir Motor. Under Pulley Ratios set the pulley
ratios of the machine.
Thanks
Derek
> > Hi Derek,
> >
> > If it was a Step and Direction device than I think that would be a good choice.
> >
> > You didn't include any Link but I Googled and found this:
> >
> > http://cnc4pc.com/Tech_Docs/C41R2_USER_MANUAL.pdf
> >
> > From this it appears the C41 is not a Step and direction but rather a PWM and Direction.
> >
> > PWM and Step Pulses are quite different. Step pulses are usually fixed pulse time with a varying frequency (and typically never go beyond a low percentage duty cycle). PWM is a fixed frequency with a varying pulse width (usually over the full 0-100% duty cycle).
> >
> > There is a SpindleMach3PWM.c example that is probably more appropriate.
> >
> > Regards
> > TK
> >
> >
> >
> >
> >
> > ________________________________
> > From: tig415 <tig416@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, June 20, 2013 4:23 PM
> > Subject: [DynoMotion] Mach3 and PWM spindle speed control
> >
> >
> >
> > Â
> > Hi
> > I'm planning on using a CNC4PC C41 - PWM Variable Speed Control Board to control my VFD. It is a step and direction unit with step as the speed and direction for CW and CCW.
> >
> > After much searching it looks like "SpindleMach3JogsSteveRev2.c" is the best spindle program to use.
> >
> > Am I on the right track or have I found another rabbit hole :)
> >
> > Derek
> >
>