Hello Guest it is March 29, 2024, 01:54:39 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - qwertysimo

Pages: 1 2
1
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.

2
Mach4 General Discussion / 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

3
General Mach Discussion / Re: Machining time or run time
« on: February 24, 2018, 07:00:46 AM »
I daresay it is a shame that simulation option was removed from M4.
With all information about machine and gcode available, what else is needed to output very precise runtime estimation?!

Thanks Craig.

4
General Mach Discussion / Re: Machining time or run time
« on: February 24, 2018, 04:49:32 AM »
Hi,

is there a way to get an estimate of the runtime for a file once it is loaded into Mach4?

I cannot find simulate option on Toolpath page in any screen.

Thanks.

5
Mach4 General Discussion / Re: M code macros do not run
« on: September 21, 2017, 03:34:38 AM »
Anyway, isnt it a bit strange?
Lua scripts assigned to on-screen buttons work OK even without the plugin enabled.
What is different with macros placed in Macros folder?

6
Mach4 General Discussion / Re: M code macros do not run
« on: September 21, 2017, 03:30:45 AM »
Craig, it is not the "G code file editor" issue! Meanwhile I found this:

Enable the mcLua plugin. 

Steve

After enabling the plugin, Operator/Edit-Debug scripts opens my script in mcLua editor as expected and all mcs files were compiled upon Mach4 startup.

Craig, Steve, thanks!

7
Mach4 General Discussion / Re: M code macros do not run
« on: September 21, 2017, 03:22:27 AM »
I did another test. I deleted my Macros folder from C:\Mach4Hobby\Profiles\QR\ and copied Macros folder from C:\Mach4Hobby\Profiles\Mach4Mill\

The same problem, No script engine found for C:\Mach4Hobby\Profiles\QR\Macros\m111.mcs

8
Mach4 General Discussion / Re: M code macros do not run
« on: September 21, 2017, 03:12:43 AM »
if you go Operator/Edit-Debug scripts the list of scripts in your profile will be displayed, a very simple test to prove that the file has been placed correctly.

First, I loaded default unmodified Mach4Mill profile. Operator/Edit-Debug scripts menu item opened a file selection dialog window showing content of C:\Mach4Hobby\Profiles\Mach4Mill\Macros folder.
When I selected my testing macro named m111.mcs, mcLua editor opened and I could successfully compile and debug my macro.

Then, I loaded my profile named "QR". Operator/Edit-Debug scripts menu item opened file selection dialog window showing files in C:\Mach4Hobby\Profiles\QR\Macros.
Here comes the problem. When I select m111.mcs, mcLua editor does not open! Instead, Mach4 displays this message in status bar:
No script engine found for C:\Mach4Hobby\Profiles\QR\Macros\m111.mcs

Files m111.mcs placed in Mach4Mill\Macros and QR\Macros are the exact copies, with the same name, file extension and content.

Any idea?

9
Mach4 General Discussion / Re: M code macros do not run
« on: September 21, 2017, 01:12:48 AM »
Hi Craig,

as I wrote, "Mach4 ignores all mcs files in my C:\Mach4Hobby\Profiles\QR\Macros\ (profile name is QR)", this is not the issue.

Other ideas?

Thanks.


Boris


10
Mach4 General Discussion / M code macros do not run
« on: September 20, 2017, 05:21:50 PM »
Hi,

this might be a trivial issue but I cannot figure it out. Mach4 ignores all mcs files in my C:\Mach4Hobby\Profiles\QR\Macros\ (profile name is QR). Bottom of wxMach screen shows active profile QR.

I created m111.mcs for testing with this content:
Code: [Select]
function m111()
wx.wxMessageBox( "here" )
end

if (mc.mcInEditor() == 1) then
m111()
end
After running m111 from MDI nothing happens.


I copied m111.mcs to \Profiles\Mach4Mill\Macros, loaded Mach4Mill profile and the macro works. Mach4 upon startup also compiled mcs files in folder and corresponding mcc files appeared in the same folder. This does not happen with my QR profile.

Please, can you advice how to fix this? It looks like it is related only to my custom profile.


Thanks.


Boris


Best regards
Boris

Pages: 1 2