top of page
CNC BLOG
Search
Mike Lynch
5 min read
A Custom Macro For Thread Milling
As you know, custom macro is a very powerful programming feature that allows you to include computer programming-like commands in a...
6,778 views0 comments
Mike Lynch
6 min read
Setting Up User Defined G and M codes
Parameters control countless things about the way your CNC machine tools behave. In each Parameter preference segment, we will expose...
6,812 views0 comments
Mike Lynch
7 min read
Outputting Fixture Offset Settings
Two special commands are used in custom macro B to send data out through the communications port (RS-232c port). One called BPRNT allows...
2,959 views0 comments
Mike Lynch
3 min read
Another way to get arguments into a custom macro
For part family applications, one way to provide arguments (input variables) for the custom macro is to list them right at the beginning...
460 views0 comments
Mike Lynch
3 min read
Special calculation programs
As you know, with custom macro B you have a computer programming language built right into your CNC control. And along with many CNC...
531 views0 comments
Mike Lynch
3 min read
Single-Stepping Through Calculation And Logic Commands
The function of Single Block, of course, is to allow a setup person or operator to step through a program command-by-command. If the...
262 views0 comments
Mike Lynch
2 min read
Bar puller macro with bar replacing alarm included
Submitted by: Manuel Martinez of Horst Engineering & Mfg This is a custom Macro I created for our operators to load a bar into the...
263 views0 comments
Mike Lynch
9 min read
Eliminating calculations for offset entries
Almost every offset entry your operators make requires some kind of calculation to be done before an offset adjustment can be made. Say,...
411 views0 comments
Mike Lynch
1 min read
Protecting #500 series permanent common variables
Many applications for custom macro B require the use of permanent common variables. These variables range in the #500 series and, of...
1,138 views0 comments
Mike Lynch
2 min read
The SETVN command
In custom macro B, SETVN stands for Set Variable Name. It allows you to place a short message – up to eight characters long – next to...
1,583 views0 comments
Mike Lynch
2 min read
A face milling custom macro
Suggested by Glenn J. Doutrich Sr. of Inside Development Systems, Inc. I’ve had several requests recently for this custom macro – so,...
3,737 views0 comments
Mike Lynch
2 min read
Creating user defined M codes
Custom macro B allows you to create your own G and M codes. That is, when a G or M code having the number you create is commanded, the...
1,747 views0 comments
Mike Lynch
2 min read
Making machines compatible with M codes
As pointed out in the G code primer of this issue, machine tool builders vary when it comes to M code numbering. If you have similar...
78 views0 comments
Mike Lynch
5 min read
Getting data into custom macros
One of the major benefits of custom macro B, especially with part family and user created canned cycle applications, is the ability to...
259 views0 comments
Mike Lynch
2 min read
A custom macro A program to safely check and position a cutoff tool
by George Bahn About 10 years ago we purchased a couple of Tsugami’s SX20 sliding-headstock machines. These machines require 2 programs...
482 views0 comments
Mike Lynch
1 min read
Making user defined G codes modal
As you probably know, is possible to create user defined G codes with custom macro B. That is, you can cause the machine to execute a...
364 views2 comments
Mike Lynch
4 min read
Six steps for creating a loop
One of the most powerful features of custom macro B is looping. With just a few commands, a loop can generate hundreds, even thousands of...
3,481 views0 comments
Mike Lynch
4 min read
Rounding or truncating to a specific number of decimal places
Suggested by Keith Recker of GMT Corporation There are times when a custom macro programmer needs to round a calculated value to a given...
1,327 views0 comments
Mike Lynch
1 min read
Limiting wear offset amount
Submitted by Suhas L. More of Macro CNC Solutions If an operator makes a mistake with an offset entry, the results can be disastrous....
125 views0 comments
Mike Lynch
5 min read
Three-point arc center macro
By Brian Glick of Vermeer Corporation This is a macro I wrote to be able to find the center of an arc from three points. This gives...
759 views0 comments
bottom of page