Creating a custom M command - On 2 Page - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
Author: neel8440924
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 | All floors Replies reward |Descending browser |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

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
Sofa
 Author| Posted at 2019-7-16 22:36:25 | All floors
Thank you now it works.
Is there keyboard shortcut for switching M3, M8 and M10 outputs?
Reply Support Opposition

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
Bench
 Author| Posted at 2019-7-17 14:04:13 | All floors
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

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

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

Use props Report

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
5#
 Author| Posted at 2019-7-23 06:28:58 | All floors
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
6#
 Author| Posted at 2019-7-23 14:18:04 | All floors
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

3

Threads

18

Posts

181

Credits

Registered member

Rank: 2

Credits
181
7#
 Author| Posted at 2019-7-23 23:04:07 | All floors
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

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