Digital Dream Technology support

Title: Spindle PWM control missing (parameter 422) [Print This Page]

Author: Kopf    Time: 2020-1-30 13:07
Title: Spindle PWM control missing (parameter 422)
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.
Author: enjoy_cnc    Time: 2020-1-31 19:57
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

Author: Kopf    Time: 2020-2-1 18:03
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?

Author: enjoy_cnc    Time: 2020-2-1 19:42

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


Author: Kopf    Time: 2020-2-1 20:48
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
Author: enjoy_cnc    Time: 2020-2-1 21:12
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.


Author: Kopf    Time: 2020-2-1 21:26
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,
Author: enjoy_cnc    Time: 2020-2-2 12:57
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.






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