Digital Dream Technology support

Title: DDCSV 2.1 M3 spindle control erratic [Print This Page]

Author: picclock    Time: 2020-2-12 22:03
Title: DDCSV 2.1 M3 spindle control erratic
Switching the output of M3/5 works fine from the Spindle button on the panel. However it is prone to errors using the M3 M5 commands.
I disconnected everything from the controller and just connected an LED with resister to the Spindle output. This worked fine from the panel.

I ran a simple gcode script which comprised a sequence of M3 and M5 commands with suitable delays of 1.5 secs on and 5 secs off. The parameters were set as shown :
(------------ Spindle parameters --------------)
#98=2300 (Maximum spindle speed at maximum voltage VSO) (min99.000; max99999.000 rpm)
#219=0 (Pause spindle) (0-No; 1-Yes)
#220=0 (Spindle speed source) (0- G-code; 1- By default, that is, from parameter 221)
#221=500 (Default spindle speed) (min.10.000; max99999.000 rpm)
#222=1 (Execution of M3 / M5 commands) (0-No; 1-Yes)
#224=0.000 (Time delay, for unwinding / stopping the spindle) (min0.000; max9.000 sec)
#227=1 (Active level M3 / M5, 1 appears to be active low) (1-Low; 0-High)
#422=0 (VSO control voltage increases or decreases at spindle start) (0-Increases; 1-Decreases)
#433=0 (Rise / fall rate of control voltage VSO) (min0; max65535 more-slower)

and the gcode run :-
S500
M3
G04 P1500
M5
G04 P5000
M3
G04 P1500
M5
etc ....

After a few steps the led is missing on and off times, as though the M commands are not always being executed after the G04 delays.

Also checked it with M8/9. Same errors.

Any help much appreciated

Best Regards

picclock




Author: Belwect    Time: 2020-2-13 14:47
The code should look like this:
S500M3
G4 P5000
M5
G4 P5000
S500M3
G4 P5000
M5
G4 P5000
S500M3
G4 P5000
M5
G4 P5000
S500M3
G4 P5000
M5
M30
Author: picclock    Time: 2020-2-14 16:05
Last edited by picclock In 2020-2-14 17:24 Editor

@belwect
Thanks for the gcode, but it makes no difference. I uploaded a video, https://www.facebook.com/martin.dare.79/videos/3092056770819063/, demonstrating the issue running your gcode. I change the delay to 2000 to prevent anyone slipping into a coma :-). (thx Keith Appleton).

Best Regards

picclock
Author: noel841106    Time: 2020-2-27 16:55
I jus connect this controller. M3 and others outpust have only 5mA sink current. Very weak controller. Take bigger resistor.
Author: picclock    Time: 2020-3-2 16:37
Last edited by picclock In 2020-3-6 15:42 Editor

@ noel841106
check out 2nd post of https://madmodder.net/index.php/topic,13053.0.html

If you are really stuck and need more current you will have to install an emitter follower PNP transistor, say bc327 or bc328 or similar. The c(ollector) pin connects to gnd, The b(ase) to the DDCSV output and the (e)mitter to the load. This will drive 100mA+. A pullup resister of say 10k between the DDCSV output and supply +ve will be needed.

Hope this helps

Best Regards

picclock
Author: Gonzo0333    Time: 2020-11-8 00:22
Вы решили проблему с М3/М5?




Welcome Digital Dream Technology support (http://bbs.ddcnc.com/) Powered by Discuz! X3