Welcome, Guest. Please login or register.
Did you miss your activation email?
April 18, 2014, 12:33:47 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  VB and variables in G code
Pages: « 1 2 3   Go Down
Print
Author Topic: VB and variables in G code  (Read 5189 times)
0 Members and 1 Guest are viewing this topic.
MachineMaster
Active Member

Offline Offline

Posts: 151


View Profile
« Reply #20 on: March 24, 2009, 12:32:25 PM »

What you have there is , it will go to X1Y1 then bore a hole striaght down to -.5 then try to cut the circle (;-) You might want to add in 2 more params.

Param1 sets #550 with Setvar(550,Param1)
#551 gets set with Code"#551=[#550/2]"
From there everything is in place to cut the circle. I am using it and it works great.
Logged
vmax549
Guest
« Reply #21 on: March 24, 2009, 12:58:48 PM »

as long as you can do full depth cuts in one pass(;-)

(;-) TP
Logged
MachineMaster
Active Member

Offline Offline

Posts: 151


View Profile
« Reply #22 on: March 24, 2009, 05:18:08 PM »

OK, I see what you mean. I am cutting holes in a plastic box.
For multiple depths using this macro just feed down and call the macro as many times as needed.
I guess it wouldn't be to hard to modify the macro to increment Z down until #552 variable was reached and set #552 in the G-code.
Logged
Pages: « 1 2 3   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!