DDCSV 2.1 M3 spindle control erratic - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 9399|Reply: 6
Print Previous Topic Next Topic

DDCSV 2.1 M3 spindle control erratic

[Copy Link]

1

Threads

4

Posts

79

Credits

Registered member

Rank: 2

Credits
79
Jump to the specified floor
Landlord
Posted at 2020-2-12 22:03:25 | Only Author Replies reward |Descending browser |Read mode
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



Reply

Use props Report

5

Threads

36

Posts

1231

Credits

Gold member

Rank: 6Rank: 6

Credits
1231
Sofa
Posted at 2020-2-13 14:47:36 | Only Author
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
Reply Support Opposition

Use props Report

1

Threads

4

Posts

79

Credits

Registered member

Rank: 2

Credits
79
Bench
 Author| Posted at 2020-2-14 16:05:24 | Only Author
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
Reply Support Opposition

Use props Report

0

Threads

3

Posts

10

Credits

Newbie Member

Rank: 1

Credits
10
Floor
Posted at 2020-2-27 16:55:53 | Only Author
I jus connect this controller. M3 and others outpust have only 5mA sink current. Very weak controller. Take bigger resistor.
Reply Support Opposition

Use props Report

1

Threads

4

Posts

79

Credits

Registered member

Rank: 2

Credits
79
5#
 Author| Posted at 2020-3-2 16:37:50 | Only Author
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
Reply Support Opposition

Use props Report

0

Threads

1

Posts

6

Credits

Newbie Member

Rank: 1

Credits
6
6#
Posted at 2020-11-8 00:22:15 | Only Author
Вы решили проблему с М3/М5?
Reply Support Opposition

Use props Report

0

Threads

5

Posts

16

Credits

Newbie Member

Rank: 1

Credits
16
7#
Posted at 2024-6-28 13:24:25 | Only Author
Reply Support Opposition

Use props Report

You need to log in before you can reply Login | Register now

This forum Credits Rules

Shenzhen Digital Dream Numerical Technology Co., Ltd. support
Adress:507,A Building,Leibo Industry Zone,No. 22 Jinxiu East Road,Kengzi Street,Pingshan district,Shenzhen City,P.R. of China
Phone:13244704799
E-mail:info@ddcnc.com

TEL

0755-87654321

Wchat

Website designed by DigitalDream Technology Support
Quick Reply Back to top Back to list