Problem with delay DIR-STEP - On 6 Page - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
Author: Nikolay81
Print Previous Topic Next Topic

Problem with delay DIR-STEP

[Copy Link]

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
15#
Posted at 2018-8-9 06:15:41 | Only Author
Have you replaced the resistor? The problem now is that the optocoupler does not work properly during high frequency operation due to excessive series resistance.
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
14#
 Author| Posted at 2018-8-9 04:08:35 | Only Author
ytliu Posted at 2018-8-8 17:10
Yes, the controller cannot support CW/CCW due to hardware.

I understood why steps are lost and how to fix it. Please read the article in the attached file. Also there is the original article in the Russian language. Maybe it will be interesting to someone.
I could not attach the file to the message, and put it on Google Drive
https://drive.google.com/open?id ... zTQGxHBonuvyN_-mcTn
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
13#
Posted at 2018-8-8 17:10:07 | Only Author
Nikolay81 Posted at 2018-8-8 15:16
Does the controller not support CW / CCW for hardware reasons?
Or will it be possible to add CW / CC ...

Yes, the controller cannot support CW/CCW due to hardware.
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
12#
 Author| Posted at 2018-8-8 15:16:58 | Only Author
Does the controller not support CW / CCW for hardware reasons?
Or will it be possible to add CW / CCW support in a programmatic way over time?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
11#
Posted at 2018-8-8 06:08:45 | Only Author
Last edited by ytliu In 2018-8-8 06:33 Editor
Nikolay81 Posted at 2018-8-8 01:37
The CW / CCW mode unfortunately does not work properly.
In this mode, depending on the direction o ...

Sorry, I made a mistake. Parameter #230-#233 If configured as 1, the output mode is A/B phase mode, the controller does not support CW/CCW output mode.

20180808063302.png (4.94 KB, Down times: 427)

20180808063302.png
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
10#
 Author| Posted at 2018-8-8 01:37:07 | Only Author
ytliu Posted at 2018-8-7 22:12
If the R107 and R112 in the controller are not convenient to replace, you can replace the 270 ohm  ...

The CW / CCW mode unfortunately does not work properly.
In this mode, depending on the direction of travel, the pulses must be generated at the STEP or DIR output.
Instead, when this mode is enabled, pulses are generated simultaneously at the STEP and DIR outputs.
Of course, the axis twitches and does not want to move.
Settings # 234- # 237 do not change anything.
What am I doing wrong?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
9#
Posted at 2018-8-7 22:12:47 | Only Author
Nikolay81 Posted at 2018-8-7 21:45
It is interesting.
I can see a part of the DDCSV schematic diagram with outputs STEP / DIR?

If the R107 and R112 in the controller are not convenient to replace, you can replace the 270 ohm resistor in the drive with 150 ohms.

In addition, in the latest controller, R107 and R112 have become 22 ohms.

164245.png (8.14 KB, Down times: 535)

164245.png
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
8#
 Author| Posted at 2018-8-7 21:45:09 | Only Author
ytliu Posted at 2018-8-7 20:38
I carefully read the LEADSHINE-556 user manual. The problem should be caused by the current-limitin ...

It is interesting.
I can see a part of the DDCSV schematic diagram with outputs STEP / DIR?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
7#
Posted at 2018-8-7 20:38:11 | Only Author
Last edited by ytliu In 2018-8-7 20:43 Editor
Nikolay81 Posted at 2018-8-7 19:33
Thank you.
I am very glad that you are ready to solve this situation.
For dealers, customers' appe ...

I carefully read the LEADSHINE-556 user manual. The problem should be caused by the current-limiting resistor R. The series resistance(R) of the pulse/direction signal of the DDCSV controller is 100 ohms,which will cause insufficient drive current,Especially at high frequencies, the front end optocoupler of the driver may not be turned on normally.

You can replace the R107 and R112 resistors with 0 ohms.

DM556.png (156.95 KB, Down times: 630)

DM556.png

DDCSV.png (1.32 MB, Down times: 643)

DDCSV.png
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
6#
 Author| Posted at 2018-8-7 19:33:06 | Only Author
ytliu Posted at 2018-8-7 18:25
For this problem, I need your cooperation.

Let's first look at the CW / CCW mode, will there be a ...

Thank you.
I am very glad that you are ready to solve this situation.
For dealers, customers' appeals for losing steps are the biggest "headache".
At a distance, it is impossible to understand what happened - the screw is wedged, the drivers are not properly configured, the wires have a problem, or the controller is buggy.
And all cases of loss of steps, through the fault of the controller, should be known and have a solution.
The problem is not as simple as it seems.
The fact is that on programs like:
G91
G1 X + 10 F2000
G1 X-10
G1 X + 10
G1 X-10
G1 X + 10
G1 X-10
and so on,
steps are not lost.
For any values of the parameters # 416 and # 418- # 421.
And on complex programs (example in the screenshot) - are lost for any values of # 418- # 421.
But an increase of # 416 to 7000 helps.

Today I'll take the oscilloscope, and I'll try to understand what there really is a delay, between DIR and STEP.
I need a little time, maybe a couple of days. I want to accurately identify the problem.


Prog.jpg (111.89 KB, Down times: 626)

Prog.jpg

StepsLost.rar

4.19 KB, Down times: 1317

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