Poor work G28 - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 12691|Reply: 14
Print Previous Topic Next Topic

Poor work G28

[Copy Link]

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
Jump to the specified floor
Landlord
Posted at 2018-7-19 23:47:57 | Only Author Replies reward |Descending browser |Read mode
Hello.
How do I get G28 to work properly?
For example, I need to send the z-axis to the machine home.
I am writing G90 G28 Z0
The tool first goes to point 0 in the current coordinate system (for example, G54), and then all axes go to machine 0.
How to move, only one axis in the machine 0?
Reply

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
recommend
 Author| Posted at 2018-7-24 20:08:38 | Only Author
ytliu Posted at 2018-7-24 19:56
Hi,Nikolay81!
I basically understand your needs, I will try to design an example according to the  ...

For example M300 S5000 P280.
The command works in 3D printers.
It reproduces the sound, built-in buzzer, 5000 milliseconds, 280 hertz.
But the frequency can not be set. It is enough that the machine squeaks when it is necessary to replace the instrument.

Excuse me. I accidentally pressed the "support" button.
I hope I did not mess up anything on the forum :-)
Reply Support 1 Opposition 0

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
recommend
Posted at 2018-7-24 19:56:20 | Only Author
Nikolay81 Posted at 2018-7-24 15:15
Dear ytliu.
I will explain my situation.
I am the chief engineer of the company Aerotechservice ht ...

Hi,Nikolay81!
I basically understand your needs, I will try to design an example according to the process you said. In addition, the "-add the ability to play the audio signal from the g-code" that you mentioned is not very clear. Is it controlled by an IO?
Reply Support 1 Opposition 0

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Sofa
Posted at 2018-7-20 08:22:37 | Only Author
Hi Nikolay81:
According to your request, I have changed the implementation of G28 (O9028) in slib.nc, Unzip the attachment and reinstall slib.nc on the controller.

slib.zip

1.79 KB, Down times: 1090

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
Bench
 Author| Posted at 2018-7-20 17:32:42 | Only Author
ytliu Posted at 2018-7-20 08:22
Hi Nikolay81:
According to your request, I have changed the implementation of G28 (O9028) in slib.nc ...

Many thanks! Now the Z can be parked separately from other axes. But, as before, with the command G90 G28 X0 Y0 Z0, the axes first go to 0 of the current coordinate system, and only then, to machine zero. Can I have them go straight to the machine zero?
Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
Floor
 Author| Posted at 2018-7-20 17:43:42 | Only Author
Also, the G53 command, which many like, works incorrectly with the Z axis. For example, G90 G53 Х0 У0 will send the X and Y axes to the machine 0. Аnd G90 G53 Z0 will move the z-axis to the machine coordinate -19mm. Can you fix this command?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
5#
Posted at 2018-7-21 16:21:20 | Only Author
Nikolay81 Posted at 2018-7-20 17:43
Also, the G53 command, which many like, works incorrectly with the Z axis. For example, G90 G53 Х0  ...

G28 instruction format: G28X_Y_Z_A_
Among them, X, Y, Z, A are the coordinates of the intermediate point (below the current workpiece coordinate system) when returning to the machine zero. After the command is executed, all controlled axes will be quickly positioned to the intermediate point and then from the intermediate point to the machine zero.
If you want to return an axis directly to the machine zero via the G28 command, such as the Z axis, use:
G91G28Z0

In the DDCSV system, G53 is not a machine coordinate system movement command. The slib.nc in the attachment expands the G153 command for you. By this command, the tool can be moved to the desired machine coordinate position.

install(2018-07-21-96).zip

575.49 KB, Down times: 1515

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
6#
 Author| Posted at 2018-7-21 19:30:51 | Only Author
ytliu Posted at 2018-7-21 16:21
G28 instruction format: G28X_Y_Z_A_
Among them, X, Y, Z, A are the coordinates of the intermediate ...

Many thanks. G28 works correctly. G153, also works, but not quite right. In G53 you can set the speed. A G153 moves the X and Y axes at a speed of G0, and the Z axis with speed  "Z axies lifting protection speed". In the case G53, I write G53 G0 X1 Y-1 Z-1 and all the axes go to the point X1 Y-1 Z-1 with the speed G0 . Or I write G53 G1 Х1 Y-1 Z-1 F800 and all the axes go to the point Х1 Y-1 Z-1 at a speed of 800. With the G153 command this does not work. Can you add a change in speed to G153? Or, at least, to make the z-axis move at a speed G0?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
7#
Posted at 2018-7-21 20:19:54 | Only Author
Last edited by ytliu In 2018-7-21 20:23 Editor
Nikolay81 Posted at 2018-7-21 19:30
Many thanks. G28 works correctly. G153, also works, but not quite right. In G53 you can set the sp ...

Attachment installation file supports G153 speed control

install(2018-07-21-96).zip

575.49 KB, Down times: 1654

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
8#
 Author| Posted at 2018-7-23 16:48:37 | Only Author
ytliu Posted at 2018-7-21 20:19
Attachment installation file supports G153 speed control

Thank you very much! Now everything works perfectly.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
9#
Posted at 2018-7-23 16:54:58 | Only Author
Nikolay81 Posted at 2018-7-23 16:48
Thank you very much! Now everything works perfectly.

Reply Support Opposition

Use props Report

15

Threads

139

Posts

517

Credits

Senior Member

Rank: 4

Credits
517
10#
 Author| Posted at 2018-7-24 00:32:04 | Only Author

I was happy early.
Adding the G153 command made additional bugs.
I launch the program:
G90 G21 G54
G153 Z-2 F2000
M0(tool name)
G0 Z0.5
M3 S21000
G0 X24.50Y-6.00
On the line "M0 (tool name)" it should pause and write on the screen "M0 (tool name)" - that is, the name of the tool.
But he writes an empty line. If before "M0 (tool name)" is for example "G91 G28 Z0" everything will be fine.
Further, after "M0 (tool name)", while the machine is paused, I bring the tool manually to the billet and zero all axes.
Then I press start.
Further, it should raise the Z axis by 0.5 mm and run the spindle. And in the previous firmware, it happened.
But now, he first raises Z to an arbitrary large number (from 19 to 25mm, I do not know what it depends on), and then lowers it to 0.5mm. In this case, it can rest against the axis limit.
How to fix these 2 problems?
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