Hello Guest it is April 26, 2024, 06:24:25 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.


Topics - JJ

Pages: 1
1
G-Code, CAD, and CAM discussions / Very Basic G-Code Help
« on: August 29, 2007, 01:31:17 PM »
Hello,

i apologize in advance for the basic nature of my question. 

I am using a custom 3-Axis stepper motor CNC device controlled by Mach3 and a Xylotex controller board. The device has been designed to press buttons on cel phones to stress our phone software.  The following is an example of the G-Code we use to navigate to the phone screen and make a call:

G28.1 Z0 Y0 X0
G0 G49 G40 G17 G50 G90
G82 X0 Y0 Z-.01 P0 R-.001 F150

(Start - Phone 1)
X5.5955 Y6.5254 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(#5 - Phone 1)
X5.9477 Y5.2646 Z-.49 P0

(Send - Phone 1)
X6.6462 Y4.8187 Z-.49 P0

(Pause for 10 seconds)
G4 P10

(Turn Off Phone 1)
X6.8215 Y6.4143 Z-.49 P6

G80
G28
M30


My simple question is what code should I use to add a "slot" here?  I basically need to move a phone's navigation button left, right, up, or down.  I want to accomplish this by cutting a fake slot... bringing the Z down to a given value, then moving the X or Y axis a short linear distance while Z remains down, then returning Z to it's Home position (determined by a limit switch).

Any help is GREATLY appreciated!

Thanks again,

JJ

2
G-Code, CAD, and CAM discussions / M99, M98 problems...
« on: May 11, 2007, 02:58:23 PM »
Hello,

After searching every post with "M99" in it, I still can't find an answer to my problem.

I'm having trouble calling a .tap file with the M99 command.

The following is in a .tap file called Main.tap located in c:\mach3\gcode:

G28.1 Z0 Y0 X0
M99 (Sub.tap) L1
M30

The following is in a .tap file called Sub.tap located in c:\mach3\gcode:

G0 G49 G40 G17 G50 G90
G82 X0 Y0 Z-.01 P0 R-.001 F150
X1.53 Y3.1 Z-.42
M99
%



When I try and load Main.tap, it doesn't load and the GCode display doesn't change.

Please help!

Thanks,

JJ

3
Hello,

I have a 3 axis mill with home limit switches on all 3 axis.  Is there GCode that can replicate the "Ref All Axis Home" button in the 1024.set file of Mach3?  I tried to do a search for this but couldn't find my answer in the forums.

G30 and G28.1 only send the axis to zero based on the current DRO values.  I would like them to go to the home limit switches and then zero the DROs ignoring the current DRO values completely.  Is there a way to do this?

Thanks,

JJ

4
Hello,

I have a need to call the string stored in a UserLabel.  Is there a way to do this?  I've set the value using SetUserLabel, but GetUserLabel is not working for me.

Any help is greatly appreciated.

Thank you,

JJ

Pages: 1