Toolchange triggers limit switch = reset of current program - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 7666|Reply: 6
Print Previous Topic Next Topic

Toolchange triggers limit switch = reset of current program

[Copy Link]

7

Threads

13

Posts

79

Credits

Registered member

Rank: 2

Credits
79
Jump to the specified floor
Landlord
Posted at 2019-12-18 06:14:14 | Only Author Replies reward |Positive sequence Browse |Read mode
Hey there, when my program calls M0 for the tool change my Machine moves to the top end of my z axis and triggers the limit switch. The result is that my program gets stopped and I have to start it again by manually typing the line it stopped before. How can I prevent the from happening?
Thanks for your help!
Reply

Use props Report

1

Threads

27

Posts

1166

Credits

Gold member

Rank: 6Rank: 6

Credits
1166
7#
Posted at 2019-12-23 18:00:21 | Only Author
Reply Support Opposition

Use props Report

7

Threads

13

Posts

79

Credits

Registered member

Rank: 2

Credits
79
6#
 Author| Posted at 2019-12-21 18:56:30 | Only Author
Last edited by denishegemann In 2019-12-21 22:51 Editor

this is what happens before the toolchange

G0 Z4.
G28 G91 Z0.
G90

(2D ADAPTIVE1 4)
M5
M0
T4 M6
S24000 M3
G54
G0 X-50.813 Y65.255


the z0 could be an issue right?

1. I'll try to look at the safez.nc file. Where do I find it? on the usb?
2. I use the mach3 post-processor I got recommended in your facebook group. What postpreocessor should I use if G43 is not supported or how should I modify my gcode to only use the supported g-code?
Reply Support Opposition

Use props Report

1

Threads

27

Posts

1166

Credits

Gold member

Rank: 6Rank: 6

Credits
1166
5#
Posted at 2019-12-21 03:12:37 | Only Author
You can test :

- Remove all internal text of "safez.nc". Please backup your file before.
- Look at some value in the "eng" file that moves Z axis above limits.

G43 i think is not supported.
Reply Support Opposition

Use props Report

7

Threads

13

Posts

79

Credits

Registered member

Rank: 2

Credits
79
Floor
 Author| Posted at 2019-12-20 20:22:03 | Only Author
this is part of my g-code right around the toolchange (2D ADAPTIVE1 4)
M5
M0
T4 M6
S24000 M3
G54
G0 X-50.813 Y65.255
G43 Z4. H1
Z-2.6
Reply Support Opposition

Use props Report

7

Threads

13

Posts

79

Credits

Registered member

Rank: 2

Credits
79
Bench
 Author| Posted at 2019-12-20 20:19:39 | Only Author
Last edited by denishegemann In 2019-12-20 20:24 Editor

No, that is 5mm thats not the reason. The spindle also moves to top z-axis position at the beginning of the programm. however, just at the tool change event the limit switches cause an alarm and prevent the machine from continuing
Reply Support Opposition

Use props Report

1

Threads

27

Posts

1166

Credits

Gold member

Rank: 6Rank: 6

Credits
1166
Sofa
Posted at 2019-12-18 19:24:22 | Only Author
Maybe #82 "Z axis safe height" ?
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