Hello all. I have a program I run that uses two cutters. The program is a pattern that is repeated multi times on the same part. I have a VMC with an extra table that extends the X-axis, with a servo (I use the B-axis to control it). The pattern stays the same on all parts but the location on the part changes (B-axis). I need to figure out a way to have Mach3 bring up a popup menu that ask what the B-axis value needs to be then moves to that location and runs the pattern.
The parts are various lengths, so some have 1 pattern up to 10 patterns. Is there a way to make Mach3 ask how many locations for the pattern?
What would be nice is for Mach3 to prompt for the amount of patterns, then ask for each B value for each pattern. This might be asking for to much but this isn't going to be a one part run. I will be making these for years (hopefully).
Here is the program:
N1 G00 G40 G80 G90
T01 M06 (3/16 2 FLUTE CRB EM)
S3200 M03
G00 G54 B0 X0 Y0 (This is the B value I need to change)
G43 Z.1 H01
G01 Z-.245 F4.
G41 D01 X0 Y-.0144 F15.
X.7874 Y-.0144
G03 X.7874 Y.0144 I0 J.0144
G01 X-.7874 Y.0144
G03 X-.7874 Y-.0144 I0 J-.0144
G01 X0 Y-.0144
G40 X-.002 Y.001
G00 Z.1
X-.0547 Y-.0079
G01 Z-.245 F50.
G41 D01 X-.0441 Y-.0185 F15.
G03 X-.03 Y-.0244 I.0141 J.0141
G01 X.7874 Y-.0244
G03 X.7874 Y.0244 I0 J.0244
G01 X-.7874 Y.0244
G03 X-.7874 Y-.0244 I0 J-.0244
G01 X0 Y-.0244
X.7874 Y-.0244
G03 X.7874 Y.0244 I0 J.0244
G01 X-.7874 Y.0244
G03 X-.7874 Y-.0244 I0 J-.0244
G01 X0 Y-.0244
X.03 Y-.0244
G03 X.0441 Y-.0185 I0 J.02
G40 G01 X.0547 Y-.0079
G00 Z6.0
M01
N1 G00 G40 G80 G90
T02 M06 (#19 STUB DRILL)
S3200 M03
G00 G54 B0 X-1.2992 Y0 (This is the B value I need to change)
G43 Z.1 H02
G81 G98 Z-.312 R.1 F10.
X1.2992 Y0
G00 Z6.0
M30
%