Hello Guest it is May 10, 2024, 07:02:40 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

701
Mach4 General Discussion / Re: Message Box with Cancel?
« on: December 21, 2017, 10:04:30 AM »
Yes!   Awesome, I'm going to try this once I get back to the shop today. 

702
Mach4 General Discussion / Message Box with Cancel?
« on: December 21, 2017, 09:22:21 AM »
So the simple wx.messagebox is great.  But is there a wx.widget that gives me a message box with "Okay" and "Cancel" as options to choose?

703
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: December 14, 2017, 04:52:31 PM »
Here is a video of our In Process Gauging.
This is working out great!!  It was holding within 0.0001" on over 100 parts, then we set up on another operation. 
https://www.youtube.com/watch?v=kOIo9YLQ3cQ&t=27s

704
Mach4 General Discussion / Re: Has anyone used 4 Axis in Mach4
« on: December 13, 2017, 05:50:03 PM »
Mauri,
We haven't had issues with Mach4 4th Axis.    http://www.byrdtool.com/shelix   this is what we manufacture.
I've never changed the Machine Plane using G17, G18, or G19; but maybe this has something to do with what Axis drives the Feedrates.  Someone else smarter than me will have to chime in on this.  However, tomorrow I'm going to test this out for myself.  Figure out if changing this changes which axis drives our feedrate. 
-Chad

705
Mach4 General Discussion / Re: Motion Controller recommendation
« on: December 09, 2017, 10:30:08 AM »
We have used the ESS from Warp9 and the HiCON Integra from Vital Systems. 
I'm a big fan of the HiCON Integra from Vital Systems.  It is rock solid and gives you 24V I/O, Spindle Control, Backlash, and very good support.
The ESS is reliable with Mach4, we have some small issues with Mach3, but so far with Mach4 it has been very reliable.  The ESS is very good for the Cost.

706
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: December 07, 2017, 05:20:20 PM »
Thanks, Steve.
It was a lot of fun learning and writing this Macro B Code. 
Thanks for all the help, and the references.  We purchased that book, it is a gold mine of information. 
I'm anxious to get the Auto Measure System put on the machine.  I just finished machining the top side of the riser plate for the Unit, hopefully going to test the fit tomorrow when I get it finished.

707
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: December 07, 2017, 02:11:13 PM »
https://www.youtube.com/watch?v=gf8KETp5PCY
Here is a link to the video I took this morning.
Mach4 Macro B Programming.

Move to the left side of what is to be ground.  This is to Check our "Left End" Position
We touch off the part. 
Grind to Final Dimension + .0015"
Check the Dimension, and adjust the Y Position if necessary
Type in final dimension in the "Grind to Dimension" DRO.
Grind
Check the dimension. 

708
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: December 07, 2017, 11:53:35 AM »
The Mach Support team is now aware of this issue.  I did have 1 DRO working correctly so I just copied it a bunch of times.  I got the Macro B Programming working nicely as well.  Thanks to Steve for pointing us to this book, we purchased the "Fanuc CNC Custom Macros" By Peter Smid, A wonderful book to learn how to write custom macros.
I got my issues fixed with the While Loops as well, a mistake on my end.  I took the loop out of the main program and put the loop in a Sub Program and it worked as expected.

Some things that I learned:
ORGANIZATION!!
In the book Peter Smid says to have a detailed plan laid out.  A very helpful tip.  Our plan was already laid out in Mach3 format, so I had to transfer that info from VB Script into Macro B.  Having it detailed and organized to begin with saved a lot of time. 
I did re-organize some sections to improve work flow, but again, I did it to start out to make my life easier.

Take/Make Notes in the Code.
When creating new variables (#VARS) or "N" lines, put it at the top of your code as a reference to keep track of what has been used and for what purpose.
I Made several notes in each section of the code.  Better to overstate what you did or are doing rather than question what you did a week or year later.

Work on a piece at a time.
I'm really bad at trying to cram in as much work at one time.  With this project, I took my time.  I first worked on the most basic function we use, the Grind to Dimension section of code first.  I got it working the way I wanted and moved on to Plunge Grinding.
This made it easy to re-use the Heart of the grinding code over and over in one sub program. 

Tidy Everything Up
Once I was happy with my first draft of fully finished code, I went through the entire code, made note of #VARS and "N" lines I missed.  Cleaned up some notes and cleaned up the Code. 
I sorted it out into sections, this made making further changes a breeze.

I took a quick video of Dad running the code on the machine.  It took about 2 hours to install Mach4 and get it running this new code. 
We are very pleased at the functionality of this Macro B Programming.  It is very powerful and it seems, so far, to be very reliable with Mach4.
Thanks for all who helped me out in this project.

709
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 22, 2017, 08:38:30 AM »
Going back through the Hobby Version, running some tests.  My DRO's and #VARS are not linked anymore.  They were working fine yesterday, this morning they stopped working correctly.

The Industrial version, the DRO's and #VARS still do not work together properly.

710
Mach4 General Discussion / Re: Can you use Inputs with Macro B Programming.
« on: November 22, 2017, 08:19:09 AM »
I checked the code this morning.  If I don't have the M98 in the loop, it doesn't go back to check the condition, it does the loop infinitely.

But I put the M98 back in the loop and it ran through the code just fine.  That's what's so strange about it, most of the time it works, but sometimes it hangs on that M98 line.