Hello Guest it is April 19, 2024, 05:15:23 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cbyrdtopper

711
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 21, 2017, 02:15:39 PM »
Here is something weird.  I can manually change the numbers in the Reg File and it updates the DRO, but not the other way around.  In the industrial version.

712
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 21, 2017, 01:31:41 PM »
Yes.  3481.  Downloaded it about an hour ago. 11-21-17

713
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 21, 2017, 12:53:36 PM »
I've run into a problem.

I'm trying to link the DRO to a #VAR.  On the hobby version I can change the DRO's "Parameter" and it updates the #VAR. 

In the industrial version I change the same settings and it does not change the #VAR. 

I've been starting at #500 on the Hobby version.  On the industrial I've tried several ranges and no luck. 

714
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 21, 2017, 12:10:30 PM »
Okay thanks for the update and the info.  Getting ready to try this Macro B Programming out on a little setup.

715
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 21, 2017, 10:52:09 AM »
So, I'm going to start testing this Macro B Programming.  I need to purchase an industrial license.  However, I don't really like the layout of the Industrial Screen.  Can I use the Hobby Screens on the industrial version?

716
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 20, 2017, 09:02:59 PM »
That is a great explanation.   It makes a lot of sense.   
I was playing with the DRO Variables and was able to get the GCode variables to work with them.   So that was exciting.   I'm going to play around more in the morning with this and do some more research on the loops.   

717
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 20, 2017, 06:13:15 PM »
Okay.  That's great. 
Here is a very VERY rough idea of what we want to accomplish. 
Is this the right track at all?

O1000
#YAxis
#XAxis
#100 = GrindToDimension
#101 = Rough Increment 1
#102 = Rough Increment 2
#103 = Finish Increment
#104 = Spark Outs
#105 = X Start
#106 = X End
#107 = Feed Left
#108 = Feed Right
#109 = Grind Feed

M3 (Spindle On)
M8 (Coolant On)

(Rough Grind until the first switch.)
WHILE [#1000 NE 1] 
DO
G91G01 Y [#101] F [#109] (Feed in the Rough 1 Increment amount.)
G90G01 X [#106] F [#107] (Feed XStart to XEnd)
G90G01 X [#105] F [#108] (Feed XEnd to XStart)
END

(Rough Grind until the second switch.)
WHILE [#1001 NE 1]
DO
G91G01 Y [#102] F [#109] (Feed in the Rough 2 Increment amount.)
G90G01 X [#106] F [#107] (Feed XStart to XEnd)
G90G01 X [#105] F [#108] (Feed XEnd to XStart)
END

(Finish Grind until the third switch.)
WHILE [#1002 NE 1]
DO
G91G01 Y [#103] F [#109] (Feed in the Finish Increment amount.)
G90G01 X [#106] F [#107] (Feed XStart to XEnd)
G90G01 X [#105] F [#108] (Feed XEnd to XStart)
END

M5 (Spindle Off)
M9 (Coolant Off)
M30 (End Program)

718
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 20, 2017, 06:02:56 PM »
Here is his post.
http://www.machsupport.com/forum/index.php/topic,35666.0.html

I want this information to be used in the G Code.  For example, I can set DRO 500 to be my Rough Inc. at .002".  In my G code I use #500 to link it to the DRO?

719
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 20, 2017, 05:36:08 PM »
Another Question
Is there a #VAR for DRO's?  I need to read a few DROs for Rough Inc., Finish Inc., Spark Outs, Etc...

720
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 20, 2017, 02:40:37 PM »
Awesome!  This should work nicely then.  My dad started the thread for the While Loops in a macro, not updating the screen while it is running.  We may very well be able to use this instead.  It would be a lot simpler.  Thanks for the info, I'm sure more questions will pop up.  I will try to keep this thread posted on my progress as well.  Thanks for the resources Steve.