Hello Guest it is March 28, 2024, 09:31:49 AM

Author Topic: 1st pierce is longer...  (Read 22344 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: 1st pierce is longer...
« Reply #50 on: September 10, 2014, 04:06:19 PM »
Ignore my last post, too late to edit it now.

I see block delete is built in function triggered by a line starting with "/"

It was the title "block delete" which made me think it altered the code, however the code my post outputs has line numbers and I have no idea how to get the / code in front of them - from what I've read it must be the first character on a line.

Anyway, my method works ok, at least the option part, as yo the rest of the macro code, time will tell I guess.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: 1st pierce is longer...
« Reply #51 on: September 11, 2014, 04:27:12 AM »
Question:-

If "ArcOk" is configured in ports & pins and the signal is being sent to Mach from the plasma system, is it ALWAYS present inside Mach OR does it get turned off when "THC Off" is selected on screen????

I'm just thinking through traps that might stop my revised M03 macro from working and not having permanent access to "ArcOk" would be one of them, this would cause a time-out and stop the job from being able to run.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: 1st pierce is longer...
« Reply #52 on: September 12, 2014, 10:58:00 AM »
From a reply by Tom at CandCNC it seems that when THC is turned off in Mach, all three inputs - ArcOk, Up & Down are ignored by Mach.

That means I cannot run code without THC using my edited M03 macro (above).

Oh well, it's better as it is, at least I get predictable pierce timings now.

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: 1st pierce is longer...
« Reply #53 on: September 12, 2014, 11:18:27 AM »
Well I thought I'd leave you to just try it but anyway...

You've misconstrued what Tom has told you. (not like you Dave >:D)

ArcOK, Up and Down ARE indeed ignored by Mach's THC system when Mach's THC is turned off. That however does NOT mean they aren't present. Just because Mach's internal THC ignores them doesn't mean your macro will.

As long as Tom's THC still send the signals even when Mach's THC is off (which it darn well should) then you're fine.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: 1st pierce is longer...
« Reply #54 on: September 12, 2014, 02:17:08 PM »
Aww c'mon, that answer was ambiguous and vague, even on a good day ;)

I saw the point that mach ignores the inputs if THC is off and took 'mach' as being the whole software system, easy mistake.

Anyways, thanks  again for your patience and the reply.

That little bit of code in the M03 macro makes a massive amount of difference, at least in my impression of the whole system. Have been running stuff all afternoon and it's performing drill marks, cuts and pierces perfectly :)

Dave

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: 1st pierce is longer...
« Reply #55 on: September 13, 2014, 03:04:33 AM »
 ;)