Hi,
I know you can use PQR variables or #variables, but is there a way to pass a string such as "HELLO" to a macro? Something similar to:
M5001 "HELLO"
or even
M5001 ;"HELLO"
if i could access this line in the script...
Thanks,
Alan
Hi,
I know you can use PQR variables or #variables, but is there a way to pass a string such as "HELLO" to a macro? Something similar to:
M5001 "HELLO"
or even
M5001 ;"HELLO"
if i could access this line in the script...
Thanks,
Alan
What do you want to do with the string?
I think you can have the M5001 open a dialog box for text input. Would that work?
Gerry
UCCNC 2017 Screenset
http://www.thecncwoodworker.com/2017.html
Mach3 2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM - CNC Dovetails & Box Joints
http://www.g-forcecnc.com/jointcam.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Hi Gerry,
I want to send a command string of some sort. Right now I have a macro like this:
'Multipass Rectangle
'#2000=X1; #2001=Y1; #2002=X2; #2003=Y2; #2004=Z1; #2005=Z2; #2006=ZPassDepth
'#2007=ToolAdjustment (0 none, 1 inside, or 2 outside)
'#1002=ZClear; #1003=PlungeRate; #1004=FeedRate; #1005=ToolDiam;
#2000=1 #2001=2 #2002=4 #2003=1 #2004=0.0 #2005=-0.5 #2006=0.1 #2007=0 M5002
But it would be nicer to have something more like this:
M5002 "rect,(1,2),(4,1),(0,-0.5,0.1),inside"
Thanks,
Alan
Can't do that with Mach3.But it would be nicer to have something more like this:
M5002 "rect,(1,2),(4,1),(0,-0.5,0.1),inside"
Thanks,
Gerry
UCCNC 2017 Screenset
http://www.thecncwoodworker.com/2017.html
Mach3 2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM - CNC Dovetails & Box Joints
http://www.g-forcecnc.com/jointcam.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)