Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cnc-project on October 27, 2008, 01:14:24 PM

Title: G4 PX & output signal
Post by: cnc-project on October 27, 2008, 01:14:24 PM
How can set comands G4 Px , and output signal inside stop time ? ???
Title: Re: G4 PX & output signal
Post by: Chaoticone on October 27, 2008, 01:27:45 PM
You may want to give a little more detail.

Brett
Title: Re: G4 PX & output signal
Post by: cnc-project on October 27, 2008, 02:25:09 PM
orginal PP:

function pendown()
   if (preheat > 0.001) then
--      modaltext (" G00")
--      modalnumber (" Z", cutheight * scale, "0.0000")
      text (" G04 P")
      number (preheat,"0.###")
      eol()
   end

I want some like :

function pendown()
   if (preheat > 0.001) then
--      modaltext (" G00")
--      modalnumber (" Z", cutheight * scale, "0.0000")
        text (" M7\n")
   text (" G04 P")
      number (preheat,"0.###")
   text (" M9")
   text (" G04 P1")
      eol()
   end

but dont know how do comands in new line set

now have linelike :

"M7 G04 P10 M9 G04 P1"

I was try like ... text (M7\n) but nothing hapends...where is wrong word  or ...
help
Title: Re: G4 PX & output signal
Post by: cnc-project on October 27, 2008, 02:27:34 PM
ok ...I do it ...