Creating a custom M command - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
12Next
Return to List Add thread
View: 17614|Reply: 13
Print Previous Topic Next Topic

Creating a custom M command

[Copy Link]

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
Jump to the specified floor
Landlord
Posted at 2019-7-16 21:21:23 | Only Author Replies reward |Positive sequence Browse |Read mode
It was mentioned earlier that custom m instruction (M200.nc-M9999.nc) is possible.
For example i put G01 G53 X20 Y20 F2000 in M2000.nc and copy it in system folder, then i run test.nc which contains M2000 from udisk, but it does not work. I cannot figure out how to make it work?
On a side note in 111 version, i interchange G53/G153 tunctionality,
G01 G53 X20 Y20 F2000 work at F=2000 without problem, but
G00 G53 X20 Y20 still work at #76 default operation speed and not at #80 G0 speed
Reply

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
14#
Posted at 2019-7-24 06:55:48 | Only Author
Ver:2019-07-23-112 Description:
1. Fixed an error that the file list could not be displayed in the file page without inserting USB stick;
2. Correct the error that the A axis cannot be stopped in the CONT mode in some controllers;
3. M8 / M9 can be manually toggled during "AUTO" via the toolpath key;

install(2019-07-23-112).zip

609.82 KB, Down times: 1723

Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
13#
 Author| Posted at 2019-7-23 23:04:07 | Only Author
Is it possible to manually toggle M8/M9 during "AUTO", via toolpath key, now i can do everything i need without keyboard if this works?
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
12#
Posted at 2019-7-23 17:19:38 | Only Author
By extending the keyboard '2' and '3', you can change the M8/M9 and M10/M11 states in any state.

install.zip

609.83 KB, Down times: 697

Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
11#
 Author| Posted at 2019-7-23 14:18:04 | Only Author
M3 spindle output manually toggle is dangerous during "AUTO", but M8/M9 coolant and M10/M11 mist manual toggle is common on many industrial cnc machines.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
10#
Posted at 2019-7-23 07:06:51 | Only Author
There is no problem with the implementation. Are you sure that this is safe?
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
9#
 Author| Posted at 2019-7-23 06:28:58 | Only Author
Is it possible to manually toggle M8/M9, M10/M11 output while g code is running "AUTO", if M code is encountered in gcode running, it can change output accordingly?
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
8#
 Author| Posted at 2019-7-18 14:33:30 | Only Author
Thank you everything works correctly. Very nice.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
7#
Posted at 2019-7-18 07:24:02 | Only Author
Ver:2019-07-18-111 Description:
1. Add M3/M5, M8/M9, M10/M11 hotkeys: ‘1’, ‘2’, ‘3’
2. Increase the toolpath key function configuration, which can be configured as an external output control key.

install(2019-07-18-111).zip

610.12 KB, Down times: 1023

Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
6#
 Author| Posted at 2019-7-17 14:04:13 | Only Author
Any keys that you think is comfortable can work, i plan to use arduino to add switches to panel.
Can you add 2: M8/M10 response to pararmeter #3 Function of toolpath key. It can work as follows pressing toolpath key toggle M8 output and Shift/2nd key then toolpath key toggle M10 output.
Thank you.
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