Hello Guest it is January 27, 2020, 08:07:50 AM

Author Topic: G4 PX & output signal  (Read 2229 times)

0 Members and 1 Guest are viewing this topic.

Offline cnc-project

*
  •  9 9
  • moja mala beba
    • View Profile
    • www.cnc-project.com
G4 PX & output signal
« on: October 27, 2008, 01:14:24 PM »
How can set comands G4 Px , and output signal inside stop time ? ???

Offline Chaoticone

*
  • *
  •  5,634 5,634
  • Precision Chaos
    • View Profile
Re: G4 PX & output signal
« Reply #1 on: October 27, 2008, 01:27:45 PM »
You may want to give a little more detail.

Brett
;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 cnc-project

*
  •  9 9
  • moja mala beba
    • View Profile
    • www.cnc-project.com
Re: G4 PX & output signal
« Reply #2 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

Offline cnc-project

*
  •  9 9
  • moja mala beba
    • View Profile
    • www.cnc-project.com
Re: G4 PX & output signal
« Reply #3 on: October 27, 2008, 02:27:34 PM »
ok ...I do it ...