Hello Guest it is April 27, 2024, 09:39:22 PM

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 - JJ

Pages: « 1 2
11
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

12
Thanks Brian, I feel dumb.  :-\

Apparently when I tried 28.1 the first time, I forgot to add the X0 Y0 Z0 after it.

Hopefully my questions are a little less novice in the future. Heh...

JJ

13
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

14
OK, maybe my first post was not specific enough.  ;)

I'm trying to create a set of buttons to emulate canned scenarios after prompting for a custom name.

To do this, I created 3 VB buttons and a UserLabel (Userlabel1) to display the name of the .tap file input by the user.

The first button's VB labeled "Teach Scenario 1"

Dim Prog1
Prog1 = InputBox ("What is the name of this scenario? Be sure to add '.tap' at the end of the file name. EX: MediaPlayer.tap")
SetUserLabel (1, Prog1) 
OpenTeachFile Prog1
Code "G0 G49 G40 G17 G80 G50 G90"
Code "G82 X0.0 Y0.0 Z-.01000 P0 R-.001000 F150" 

The second button's VB script labeled "End Teach 1"

Dim InfLoop
InfLoop = InputBox ("Do you want this scenario to loop continuously when ran? Y or N")
Code "G80"
Code "G28"
If InfLoop = "Y" Then
   Code "M47"
ElseIf InfLoop = "y" Then
   Code "M47"
End If
Code "M30"
CloseTeachFile         


The Last button labeled "Run Scenario 1"

Dim Prog1_1
Prog1_1 = GetUserLabel1
ChDir "d:\mach3\gcode"
LoadRun (Prog1_1)



I want this last button to be able to be pressed during Teach mode for another .tap file and enter all of it's code into the current .tap file on the fly.  I also want this button to run the tap file listed in UserLabel1 if the button is pressed while NOT in teach mode for another .tap file.  Am I going about this the wrong way?  I understand I probably will need to add an if/then statement in the last button to give it this duel capability, but to get started I need it to run the file listed in the UserLabel and not simply the last file taught.  I don't see a way to call the string currently in UserLabel1.  Prog1_1 = GetUserLabel1 is not working for this.

I hope this helps to clarify my question.

Thank you,

JJ
 

15
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

16
Hello!

I currently work for Qualcomm Inc. and we're using Mach 3 to drive a custom made CNC device we're using to stress test our phones.  In a nutshell, the device pushes buttons on the phone and it's touchscreen to automate various phone operations so we can stress the software and debug them.  The configurability of your software makes it a perfect solution for this project!  The screen editor has allowed us to emulate a touch screen changing as you press it while executing the proper G-Code.  No other solution we found could do this except for the Mach series.  I just want to say thank you to all who post on the forums... your questions and the subsequent support have bailed me out many many times!

I do have a question of my own, but it does not pertain to the Mach software in particular.  What I would like to know is what program was used to create all the training .swf files on the video tutorials page?  I'm looking to create something similar to train our engineers on the operation of our device.

Thanks in advance!

JJ

Pages: « 1 2