Hello Guest it is April 19, 2024, 11:51:49 PM

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 - moorea21

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »
51
Trying it with the box ticked, and using the 6 macros I was testing earlier today. Its really slow, but looks like its okay so far. Maybe that was the problem? I think it's now decrementing an axis waiting for a non existant switch to tell it it's hit the end of its travel, so I'd say it pretty much works now.

Just one box unticked, that seems to have been it.

Thanks again all!

52
Thanks ger, found that; should I tick it's box then??

53
but I don't press cycle start, the message appears just after loading, without me pressing anything.

Just loaded up mach as a fresh install, now getting different behaviour; it stills runs without me pressing anything, now puts 'press Cycle start to srat printing ' message on status line, and then gets stuck generating a path.

That was a) putting M111.m1s in the mach 3 mill macros folder, and
b) loading up m4.txt as a gcode file, which has the call to m111.m1s in it...

I'm sure that youre right, but before, when I had M111 written differently, that also ran without any buttons being pressed. I'll see if I can find that macro and post it here...

Thanks for being patient

54
M4 isn't a macro, and doesn't live in the macro folder, its just a gcode file on my desktop, loaded as such into mach, where it calls M111. M111.m1s gets the value of Var300, prints that to the status line thingy, and stops any Gcode that is running. Or at least, thats what it does when I run it from the vb editor in mach.

The only reason my gcode file starts with an 'm'm is because I had to reupload it under a different name when the attachments upload on this forum froze on me.  'm' was where my finger landed.

55
Hmmm.. Thats not what I expected. I'd consider reloading Mach, but it happened on 2 machines. Even more baffled now.

56
In case this is useful: - its Mach 3.042 020 Demo, standard mach 3 mill xml, no parallel port drivers, no machine attached. Now tested on 2 pcs with same results...

Can someone do me the favour of running the gcode file and macro and seing if it does the same for them?

57
 

To clarify, FirstFile reverts to 0 on shutdown, so this macro should message each time its opened via gcode when mach is first opened,

58
For some reason it won't take a 2nd attachment today, its here instead, renamed, with txt file extension...

59
Attached macro and Gcode file ('.cgf')

When loaded, this starts without me pressing cyclestart, ignores M00, tries to run the macro which gives message 'Terminating Scripts' while a tool path fails to appear.

Running the macro from the vb editor on the same gcode file but without the call to M111 works fine.

Baffled here, as usual...

Why does this happen?

60
Thanks, I hadn't expected it to need ampersands; I ought to have, seeing as VB does. I am rustier than I thought it seems.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »