Hi.so, for cheapness the PWM controls the RPM manually?.switch it on and turn the pot to get the speed you need?
#DESKCNC MANUAL DRIVER#
the when software switches the spindle on it automatically connects the PWM signal direct to the Driver stage.
simple solution would be to use a 5v change over relay switched on by the software spindle on/off opto and connect the common pin to the Fet driver stage, with the normally closed pin to the micro output, and the normally open to the external PWM i/p. From my point of view it seems a bit daft to have an external PWM in filter it down to DC only to regenerate it for the FET driver stage. so I'm guessing it needs to read the voltage on those two pins to enable one or the other to control the spindle speed.
the STC micro under the board has the speed control 5K pot on pin 15, which is a ADC pin, The ext PWM is feed thro a low pass filter to pin 16 which is also a ADC pin, there is no other signal going to it to indicate software control or hardware control.
#DESKCNC MANUAL MANUAL#
There is a history with the JP 1438 speed control board which CinaCNC use in there controllers, they are supplied without the link lead between the JP382 board and the JP 1438, so software control is not possible, not sure if the missing lead is deliberate due to a design or software fault in the speed control board., there is a manual spindle on/off switch which switches the software opto's input. Hi Ian, The machine is a ChinaCNC 3040, with a Z-DQ 4 axis controller, though the machine is not fitted with the 4th axis.
#DESKCNC MANUAL HOW TO#
PS I now have got the motor to switch on an off with the M3 and M5 commands, but now need know how to set Mach3 to control the spindle speed with M3 Sxxxx, I dont have a pulley wheel on my 48volt dc motor and no idea yet on what base frq to use. Re your last comment in your message, yes i have a problem matching Mach3 settings to the hardware i dont have enough information about the settings which is why i asked for help. YES I've written a simple G-code to test it though it's not needed as you are aware you can run commands from the MDI screen in mach3. nor did it have any spindle control setup because the controller had a manual on/off spindle switch and speed control, probably because a link cable was not fitted between the JP-382A axis control board and the JP 1482 spindle board, which I've now made. include the probe setup even though one was supplied. Ian.Mach3 software came with he cnc machine as a basic package, the mach3 setup instructions booklet that came with it did not. If Mach 3 is a problem for you.you are the problem. Running a simple G code program will get Mach3 to trouble shoot the point where you've made a mistake in your coding.ask me how I know.I'm still learning from the bottom. Have you tried writing a simple G code program with those M commands.in the correctįormat sequence.some people write sloppy code sequences and wonder why they get problems. Ahh, bullsh!t.somewhere the Mach 3 settings you've done are set up wrong.go back to the config menu and set it up again as if it's a new machine on Mach 3.if you still get a wrong response your controller probably is faulty.