Hello Guest it is May 12, 2021, 01:27:30 AM

Author Topic: M06 not working  (Read 8063 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

*
  • *
  •  5,626 5,626
  • Precision Chaos
    • View Profile
Re: M06 not working
« Reply #10 on: December 04, 2015, 08:19:35 AM »
Are you using a custom profile or one of Machs default profiles? I would try one of the unaltered defaults and see if it works in it. Lots of changes to the default profiles (ini) that yours may not have. 
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: M06 not working
« Reply #11 on: December 04, 2015, 03:46:33 PM »
its a custom one
Re: M06 not working
« Reply #12 on: December 05, 2015, 11:04:00 PM »
Thanks to everyone for the suggestions

So far have been able to eliminate the error messages -  seems it was caused by the windows date somehow reverting back to the start up time of the new/old  MB - probably occured when I  replaced the battery on the MB, but I do remember resetting the date and time after the change.
No impact on the M06 problem though.
I'm fairly confident that the .ini file is now being updated correctly.

Previously I'd started reading/learning Lua, so I'd already looked for syntax errors in the M6 macro, with no luck there. Also logging on, reinstalling with administrator rights - no luck there either.
The M4 history logging is great - attached is a log from the machine running a short section of GCode that has a couple of M06 commands in it - (V 2803).
From what I can determine from the log, it seems to me that Mach4 is working correctly.  I'm now thinking that the machine configuration setup is not correct and/or the maping is incomplete somehow ...............but I could be wrong.

Have now just completed retesting with M4 version 2336 as blockhead suggested. Result however is the same  - no stops for M6.  When compared, Machine and history log files for both Versions 2336 and 2803 are essentially the same
  So I'm now at the stage where I'd really appreciate it if someone with much greater knowledge could have a look at the attached log and machine file and see what they can determine from it before I annoy mach support.
Having a reference or generic machine file that is known to work  (to compare inputs/outputs that have been enabled or not etc) would be very helpful. Attached is the log file for V2803 and machine.ini file.

 Once again thanks in advance for suggestions and help.

 

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: M06 not working
« Reply #13 on: December 05, 2015, 11:58:59 PM »
your machine2, shows you have ESS and sim plug you don't want these two in there if you're running darwin, sim can cause problems.
 
it also comes up with this
[ToolChangeSettings]
ToolChangeMsgBox=0
and
M6=155

are you loading the .ini file up from a clean install, or are you adding it to a profile. or are you starting with a clean profile what is a copy of Mach4Mill what you name then you do all the settings and install the needed plugin and removing sim, and have you checked that M6 is in the macro folder under your profile name.

straight out doing a clean install not setting any setting at all and adding no plugins does this problem still happen, it should not, this will give you a logging of what should happen with a manual tool change

Offline DazTheGas

*
  •  753 753
  • DazTheGas
    • View Profile
Re: M06 not working
« Reply #14 on: December 06, 2015, 03:04:29 AM »
As blockhead says, do a clean install and use all defaults (default profile) and the sim as the motion controller then try, if all is ok then you can add bit by bit,

Daz
Theres always time for a choccy biccy
Re: M06 not working
« Reply #15 on: December 07, 2015, 03:23:36 AM »
Success..............M06 macro is now working.

Interestingly, the keyboard is working correctly now, also probing appears to now work (correctly!). Don't know what was going on before................

Basically, as suggested, I deleted all of Mach4 including profiles, and reinstalled and setup from scratch. Got the sim plugin only working and tested, then installed, configured Darwin and Mach4 - testing at each step and loging results. Finally a full test.

Thanks blockhead, Daz and others for suggestions and time - I greatly appreciated your feedback.This forum is definately a great resource.

Richard

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: M06 not working
« Reply #16 on: December 07, 2015, 01:47:13 PM »
good stuff have fun
Re: M06 not working
« Reply #17 on: January 21, 2016, 03:23:18 PM »
I have the same problem M06 ,  when I run this test code it only stops after M30

G0G90G54G17G40G49G80
G0X4.0Y0.0Z1.0T1
M6
G0X10.0Y-5.0Z1.0
T2M6
M30


I have read the other posts tried the run as admin, has anyone solved the problem?

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: M06 not working
« Reply #18 on: January 21, 2016, 04:13:00 PM »
make sure the M6 macro starts with M not m
Re: M06 not working
« Reply #19 on: January 21, 2016, 04:24:27 PM »
The M6 Macro is found ?   I don't have it in my Macro folder
« Last Edit: January 21, 2016, 04:42:18 PM by AA1PI »