Problem with delay DIR-STEP - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 45220|Reply: 63
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
Landlord
Posted at 2018-8-7 06:21:31 | All floors
If there are losing steps when changing direction,you do not need to adjust parameter #416, you only need to change the definition of the pulse level of the relevant axis (#418-#421).

Parameter #416 is recommended to set 300ns.

脉冲方向说明.png (10.06 KB, Down times: 573)

脉冲方向说明.png
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Sofa
Posted at 2018-8-7 06:27:44 | All floors
In addition, you can also change the pulse trigger definition of the drive to solve such problems.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Bench
Posted at 2018-8-7 18:25:53 | All floors
Nikolay81 Posted at 2018-8-7 14:11
Perhaps we do not understand each other well.
I will try to explain.
For Leadshine drivers, and for  ...

For this problem, I need your cooperation.

Let's first look at the CW / CCW mode, will there be a loss of steps?

Parameters #230-#233(command type) and #234-#237(DIR in CW/CCW mode) have been added to the configuration file. You can set the command type to CW/CCW mode, and set  the direction of movement of axis via #234-#237.

If the controller is in CW/CCW mode, configure the drive to the same mode.

install.zip

12.66 KB, Down times: 1346

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Floor
Posted at 2018-8-7 20:38:11 | All floors
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: 597)

DM556.png

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

DDCSV.png
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
5#
Posted at 2018-8-7 22:12:47 | All floors
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: 502)

164245.png
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
6#
Posted at 2018-8-8 06:08:45 | All floors
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: 401)

20180808063302.png
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
7#
Posted at 2018-8-8 17:10:07 | All floors
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

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
8#
Posted at 2018-8-9 06:15:41 | All floors
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

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
9#
Posted at 2018-8-9 06:48:27 | All floors
ytliu Posted at 2018-8-9 06:15
Have you replaced the resistor? The problem now is that the optocoupler does not work properly durin ...

Ia=(5V-0.7V)/(270+100)=11.6ma < 16ma

When operating at high frequencies, the logic signal current cannot meet the requirements, resulting in lost steps.

20180809063433.png (97.51 KB, Down times: 400)

20180809063433.png

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

DM556.png
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
10#
Posted at 2018-8-9 23:20:58 | All floors
Nikolay81 Posted at 2018-8-9 14:37
Thank you. I also read the instructions to these drivers and consulted with familiar electronics en ...

I have encountered many customers who have lost steps due to the "Time interval between DIR & pulse". By changing the pulse level, this problem can be solved very well.

As for the problem you are currently experiencing, you must first replace the resistor, and subsequent analysis is meaningful. After replacing the resistor, if there is still a problem, I will purchase LEADSHINE 556 and verify it myself.

Since this update involves hardware logic, I have to be very cautious, please understand.
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