Spindle PWM control missing (parameter 422) - DM500 - Handheld 3-4 Axis CNC Moiton Contr - Digital Dream Technology support
View: 5929|Reply: 7
Print Previous Topic Next Topic

Spindle PWM control missing (parameter 422)

[Copy Link]

3

Threads

11

Posts

43

Credits

Newbie Member

Rank: 1

Credits
43
Jump to the specified floor
Landlord
Posted at 2020-1-30 13:07:27 | Only Author Replies reward |Descending browser |Read mode
Hello,

I'm trying to enable PWM or 0-10V control for my spindle but I can't find anywhere. Looking at the DM500 user manual page 38 it's supposed to have the parameter #422 "definition of PWM level" but it's not present on my controller.

I have updated to the latest firmware but still doesn't appear.

Any help is appreciated. Thanks.
Reply

Use props Report

5

Threads

56

Posts

316

Credits

Super Moderator

Rank: 8Rank: 8

Credits
316
QQ
Sofa
Posted at 2020-1-31 19:57:13 | Only Author
Last edited by enjoy_cnc In 2020-1-31 21:20 Editor

Hello thereSorry
There is an error on page 38 of this manual. There is no parameter 422 in this system.

Does not support PWM and analog control, using multi-stage speed control:

Y01: Spindle start / stop output
Y02: low speed
Y03: Medium speed
Y04: high speed
COM-: common ground
Reply Support Opposition

Use props Report

3

Threads

11

Posts

43

Credits

Newbie Member

Rank: 1

Credits
43
Bench
 Author| Posted at 2020-2-1 18:03:31 | Only Author
Last edited by Kopf In 2020-2-1 18:45 Editor

Oh, really?! That's no good. How can I control a 0-10V spindle with 4 outputs? Do I need an additional device to convert the output into steps of a 0-10V?
Also, would the controller interpret S code to set the spindle outputs? If yes, how's that linked to the 4 outputs?
Reply Support Opposition

Use props Report

5

Threads

56

Posts

316

Credits

Super Moderator

Rank: 8Rank: 8

Credits
316
QQ
Floor
Posted at 2020-2-1 19:42:45 | Only Author

Hello there,
          Yes, it is not possible to output 0-10V output, all are digital signal output, you need to set the inverter working mode to multi-step speed control mode. The speed in this mode cannot be adjusted steplessly. 3 outputs can control 8 speeds.
        The factory default is to shield the S command. Before processing, you need to manually adjust the spindle to a fixed speed.


Y01: Spindle start / stop output
Y02: Low
Y03: Medium
Y04: High



    Y02   Y03  Y04
S1   0     0    0
S2   1     0    0
S3   0     1    0
S4   1     1    0
S5   0     0    1
S6   1     0    1
S7   0     1    1
S8   1     1    1


     Y01
ON    1
OFF   0


Y01 Y02 Y03 Y04 is a digital signal, not an analog signal

Reply Support Opposition

Use props Report

3

Threads

11

Posts

43

Credits

Newbie Member

Rank: 1

Credits
43
5#
 Author| Posted at 2020-2-1 20:48:53 | Only Author
Last edited by Kopf In 2020-2-1 20:53 Editor

Thanks, I did test the outputs and after setting the parameter S220 (Ignore S Code) to 0 and the Y02, Y03 and Y04 do change according to the S**** parameter from my G-Code in 8 proportional steps. Because my spindle controller does not have the Low/Medium/High inputs I presume I would need to manufacture a device to convert such steps into 0-10V steps to communicate with my spindle.

Alternatively, as there's no analog output in the device, would be possible on a new firmware to make one of the digital outputs (Y02 for example) to generate a PWM (1kHz to 10kHz) proportional to the spindle speed to follow the S-Code? This way I can convert the PWM into a 0-10V for my spindle in more than only 8 steps. I still do need to purchase or manufacture a device but would be much better.

Thanks
Reply Support Opposition

Use props Report

5

Threads

56

Posts

316

Credits

Super Moderator

Rank: 8Rank: 8

Credits
316
QQ
6#
Posted at 2020-2-1 21:12:58 | Only Author
Hello there
         I understand what you mean, sorry: if I use one of Y02 03 04 as the source of PWM, then I need to upgrade the hardware program, but currently I cannot upgrade the underlying hardware program remotely.
        However, it can be achieved by other methods. For example, it can be through 232 serial port, and the data protocol adopts MODBUS RTU mode. Then only one slave device that supports the modbus protocol and can output 0-10v analog signals can be used. to realise.

Reply Support Opposition

Use props Report

3

Threads

11

Posts

43

Credits

Newbie Member

Rank: 1

Credits
43
7#
 Author| Posted at 2020-2-1 21:26:21 | Only Author
Thank you for the suggestion but it would be too complex and expensive to setup this way. I'll see if I can find an alternative but I would suggest having an option for the future hardware releases to always have the analog 0-10V or include the PWM at least. I'll try to contact the vendor to see what options they can offer me.

Regards,
Reply Support Opposition

Use props Report

5

Threads

56

Posts

316

Credits

Super Moderator

Rank: 8Rank: 8

Credits
316
QQ
8#
Posted at 2020-2-2 12:57:51 | Only Author
Hello there
OK Understand your ideas, I think that based on this hardware, you can at least implement the PWM function. However, the hardware may be sent back to the vendor for low-level program upgrades.

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