Hello Guest it is December 12, 2024, 09:06:14 PM

Author Topic: Simple Macro  (Read 2293 times)

0 Members and 1 Guest are viewing this topic.

Simple Macro
« on: January 03, 2016, 11:13:29 AM »
Want to create a park button, and practice simple macros...have read the previous posts, can't get rid if the "null missing after newline"

Here is what I want

G0 Z1
G0 Y12

Have tried

Code "G0 Z1"
Code "G0 Y12"

Code "G0 Z1
G0 Y12"

All with and without a final carriage return...

Leslie







 

Offline ger21

*
  • *
  •  6,295 6,295
    • The CNC Woodworker
Re: Simple Macro
« Reply #1 on: January 03, 2016, 11:16:50 AM »
Code "G0 Z1"
While IsMoving()
Wend
Code "G0 Y12"
While IsMoving()
Wend
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Simple Macro
« Reply #2 on: January 03, 2016, 11:28:10 AM »
You are single handedly my personal tutor!

Thanks again!
Leslie
Re: Simple Macro
« Reply #3 on: January 03, 2016, 11:49:19 AM »
Same error, but just before commiting hari-kari, I saw that the button function was set for G-Code...changed it to "Execute basic script" and all is well!

Thanks again