Hello Guest it is April 28, 2024, 03:52:39 PM

Author Topic: Canned cycle peck drilling stopped working  (Read 303 times)

0 Members and 1 Guest are viewing this topic.

Canned cycle peck drilling stopped working
« on: July 28, 2023, 01:16:05 AM »
Hi, I have upgraded from Mach4 4.2.0.4721 / ESS 278.1 to Mach4 4.2.0.5165 / ESS 298 (ESS - Ethernet SmoothStepper motion controller).

After few successfull jobs I found a problem - canned cycle peck drilling stopped working. The same gcode that runs successfully on 4721/278.1 does not work on 5165/298 (neither on 5036/298). I stripped the gcode to minimum for readability, down to a single hole drilling:

Code: [Select]
G21 G90 G91.1 G64 G40
G0 Z20.0
G17
(M3 S16680)
G0 X10.0 Y10.0
G98
G83 X10.0 Y10.0 Z5.0 Q1.0 R12.0 F300.0
G80
G0 Z20.0
M5
M30

When Mach4 comes to G83 line, it makes peck drill from Z12.0 to Z11.0, retracts to Z12.0 and stops, does nothing, justs sits at Z12.0 forever.

After downgrading to 4721/278.1 the same code above runs as expected.

Please, any clue on what´s going on here?

Thanks
Re: Canned cycle peck drilling stopped working
« Reply #1 on: July 28, 2023, 10:04:00 AM »
Tested on 5175 wirh Sim and all seems to work as it should. We are going to put it on the test machine we have here with an ess. I will report back after that test.

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Canned cycle peck drilling stopped working
« Reply #2 on: July 30, 2023, 12:14:23 PM »
Brian, dont waste your time.

I went back to 4721/278.1 and upgraded to 4721/298. Peck drilling was working.

Then I started to upgrade only M4 from 4721 to 4768, 4902, another 15 versions, and finally to 5171. After each upgrade I tested the gcode and it was working.

Now I am on 5171/298 and peck drilling works.

Still no evident cause of the described problem. Just a theory - it was a huge jump from 4721/278.1 to 5175/298, and some magic happend during smaller jumps.