Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:28:48 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  No mcode shown on dry run?
Pages: 1   Go Down
Print
Author Topic: No mcode shown on dry run?  (Read 120 times)
0 Members and 2 Guests are viewing this topic.
Fred_evans
Active Member

Offline Offline

Posts: 126


View Profile
« on: December 11, 2011, 09:43:50 AM »

Hello you chaps-

I typed in the code (as shown page 3.10 of the manual) for a dry run   

I put line numbers and remarks in (to only do one word at a time)
to help understand and debug

two questions- first one just to understand the logic

when i cycle (single step) the highlighted line on
the screen is the next line to be executerd - while the line
under the toolpath display is the line previous line already executed.

Am I correct in assuming the the highlighted line will be the next line
to be run and the displayed line under the toolpath is the line just
executed?

second question
the last line "m 30" doesnt appear on the screen ?

is this all correct or am i missing something?

many thanks
fred evans


n1 g 20 (input in inches)
n2 g40 (cancel cutter compensation)
n3 g49 ( cancel tool length compensation)
n4 g80 (cancel canned cycle)
n5 g90 ( use absolute dimension input )
n6 g94              ( feed will be per minute)( imperial and standard modes)
n7 g00 x0.3 z0.05   (rapid to x=.3 and z=.05 just off the outer edge of size required)
n8 f4               (set feed to 4 inches per minute)      
n9 S1000 M0         (set revs to 1000 rpm and stop the program)
n10 G01 X0.28        (feed at feedrate to position x=.28)   
n11 G01 Z-1.2        (feed at feedrate to 1.2 inches before 0 of the z axis)(FIRST CUT)
n12 G00 X 0.3        (fast feed out to x=.3)      
n13 G00 z0.05        (fast feed to z=0.05)(starting position of z axis on next cut)   
n14 G01 X0.26        (feedrate to x=.26) (starting position of x axis on the second cut)
n15 G01 Z-1.2         (feed at feedrate to z= -1.2 )(SECOND CUT)
n16 G00 X0.3        (rapid feed to x=.3)
n17 G00 Z0.05        (rapid fees to z=0.05)(starting position of zaxis on next cut)
n18 M30              (REWIND)
Logged

think of the trees-- use both sides of the computer paper
BR549
Active Member

Offline Offline

Posts: 2,558


View Profile
« Reply #1 on: December 11, 2011, 09:52:28 AM »

HIYA Fred, Put an  % in after the M30.   Mach requires an empty line after the last word in the file. The % is used a lot to make it visible.

n1 g 20 (input in inches)
n2 g40 (cancel cutter compensation)
n3 g49 ( cancel tool length compensation)
n4 g80 (cancel canned cycle)
n5 g90 ( use absolute dimension input )
n6 g94              ( feed will be per minute)( imperial and standard modes)
n7 g00 x0.3 z0.05   (rapid to x=.3 and z=.05 just off the outer edge of size required)
n8 f4               (set feed to 4 inches per minute)     
n9 S1000 M0         (set revs to 1000 rpm and stop the program)
n10 G01 X0.28        (feed at feedrate to position x=.28)   
n11 G01 Z-1.2        (feed at feedrate to 1.2 inches before 0 of the z axis)(FIRST CUT)
n12 G00 X 0.3        (fast feed out to x=.3)     
n13 G00 z0.05        (fast feed to z=0.05)(starting position of z axis on next cut)   
n14 G01 X0.26        (feedrate to x=.26) (starting position of x axis on the second cut)
n15 G01 Z-1.2         (feed at feedrate to z= -1.2 )(SECOND CUT)
n16 G00 X0.3        (rapid feed to x=.3)
n17 G00 Z0.05        (rapid fees to z=0.05)(starting position of zaxis on next cut)
n18 M30              (REWINd)
%


Just a thought, (;-) TP
Logged
ger21
Global Moderator
*
Online Online

Posts: 2,619



View Profile WWW
« Reply #2 on: December 11, 2011, 10:00:13 AM »

Or just hit "Enter" after the last line you type. Mach3 needs a carriage return to see the last line.
Logged

Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!