Hello Guest it is April 25, 2024, 11:28:30 AM

Author Topic: Question about Mach3  (Read 6097 times)

0 Members and 1 Guest are viewing this topic.

Question about Mach3
« on: December 10, 2007, 09:35:21 PM »
Hi

i'm a noob but learning fairly good between school work .. but i was wondering, how come when i try to enter on a 'zero position' (zero the bit, etc) i hit enter or click to a new line, it always reverts back to zero's (indicated in the image below)

am i suppose to write a program in a txt first, import the programming and then be able to set zero positions? Thank you in advance for any assistance

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Question about Mach3
« Reply #1 on: December 10, 2007, 10:02:42 PM »
You should be able to enter any number you wish by clicking the dro, typing the number in then hit your enter key as long as the DROs are displaying work coord. and not machine coord. If you want to zero the DRO, just click the zero buton beside it.

Is this what your asking?

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Question about Mach3
« Reply #2 on: December 10, 2007, 10:43:28 PM »
i was kind of pretending i had a cube or rectangle and try to zero the position on the corner, but for that i'd need to know the stats of my figure and have it showing in that view box (which currently i'm not 100% sure how to do), so i think i need to do some more tutorials

I apologize  if it's not to much trouble, and i know it's such a noobish question, but if anyone could quickly explain (in very short jot note form) how to put the dimensions in for a simple rectangle .. 12" by 6" or whatever, would be outstanding help

What i'd like to do is have a rectangle, so i can practice programming different drill patterns to get used to it. like cutting a hole and having to loop the programming over and over but a little deeper each time, stuff like that

Anyway, Huge thanks in advance for any help

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Question about Mach3
« Reply #3 on: December 10, 2007, 11:06:21 PM »
This is the code I used for surfacing a block down to the right thickness (actualy, sawed most of it off then only made a couple of passes). I hope this helps. You could put this in to see a box. It will help you understand it a little I think.  G0s are rapids adn G1s are feeds. You can also click on the gcode buton to open a list that might help. Graham is a G-code GURU and I mean Gcode GUUUUUUUUURUUUUUUUUU.  ;D  You can do this to help a little too. Jog to the center of you travel in all directions. Go to the mdi screen and type, G 54 (hit enter) G0 x1 (hit enter) G1 x0 F15 (hit enter) Type G1 X1 Y1 F15 (HE) Type G0 X0 Y0 (HE) Notice it only needs a f value when you are doing a feed (G1).

%
O5000 (F_PROFILE_T1.TAP)
N1 G15 G17 G20 G90 G94 G99 G64
N2 (SUBROUTINES: O9000 .. O 0)         
N3 (G10 L12 P51 R0.375)
N4 G90 G17
N5 G80 G49 G40
N6 G80
N7 G54
N8 (*TOOL 1 - DIA 0.75 - Heigth 2.*)
N9 M6T1
N10 G43 H1 D51  S3740 M3M8
N11 (----------------------)
N12 (F-PROFILE-T1 - PROFILE)
N13 (----------------------)
N14 G0 Z0.25
N15 G0 X-1.175 Y-1.175
N16  Z0.079
N17
N18 G1 Z-0.24 F4
N19   Y-1.825 F20
N20   X-6.825
N21   Y-1.175
N22   X-1.175
N23   X-0.725 Y-0.822
N24   Y-2.275
N25   X-7.275
N26   Y-0.725
N27   X-0.725
N28   Y-0.822
N29   X-0.275
N30   Y-2.725
N31   X-7.725
N32   Y-0.275
N33   X-0.275
N34   Y-0.822
N35   X-0.145
N36   Y-2.855
N37   X-7.855
N38   Y-0.145
N39   X-0.145
N40   Y-0.822
N41 G0 Z0.25
N42 G0
N43
N44  X-1.175 Y-1.175
N45  Z0.079
N46
N47 G1 Z-0.48 F4
N48   Y-1.825 F20
N49   X-6.825
N50   Y-1.175
N51   X-1.175
N52   X-0.725 Y-0.822
N53   Y-2.275
N54   X-7.275
N55   Y-0.725
N56   X-0.725
N57   Y-0.822
N58   X-0.275
N59   Y-2.725
N60   X-7.725
N61   Y-0.275
N62   X-0.275
N63   Y-0.822
N64   X-0.145
N65   Y-2.855
N66   X-7.855
N67   Y-0.145
N68   X-0.145
N69   Y-0.822
N70 G0 Z0.25
N71 G0
N72
N73  X-1.175 Y-1.175
N74  Z0.079
N75
N76 G1 Z-0.72 F4
N77   Y-1.825 F20
N78   X-6.825
N79   Y-1.175
N80   X-1.175
N81   X-0.725 Y-0.822
N82   Y-2.275
N83   X-7.275
N84   Y-0.725
N85   X-0.725
N86   Y-0.822
N87   X-0.275
N88   Y-2.725
N89   X-7.725
N90   Y-0.275
N91   X-0.275
N92   Y-0.822
N93   X-0.145
N94   Y-2.855
N95   X-7.855
N96   Y-0.145
N97   X-0.145
N98   Y-0.822
N99 G0 Z0.25
N100 G0
N101
N102  X-1.175 Y-1.175
N103  Z0.079
N104
N105 G1 Z-0.96 F4
N106   Y-1.825 F20
N107   X-6.825
N108   Y-1.175
N109   X-1.175
N110   X-0.725 Y-0.822
N111   Y-2.275
N112   X-7.275
N113   Y-0.725
N114   X-0.725
N115   Y-0.822
N116   X-0.275
N117   Y-2.725
N118   X-7.725
N119   Y-0.275
N120   X-0.275
N121   Y-0.822
N122   X-0.145
N123   Y-2.855
N124   X-7.855
N125   Y-0.145
N126   X-0.145
N127   Y-0.822
N128 G0 Z0.25
N129 G0
N130
N131  X-1.175 Y-1.175
N132  Z0.079
N133
N134 G1 Z-1.2 F4
N135   Y-1.825 F20
N136   X-6.825
N137   Y-1.175
N138   X-1.175
N139   X-0.725 Y-0.822
N140   Y-2.275
N141   X-7.275
N142   Y-0.725
N143   X-0.725
N144   Y-0.822
N145   X-0.275
N146   Y-2.725
N147   X-7.725
N148   Y-0.275
N149   X-0.275
N150   Y-0.822
N151   X-0.145
N152   Y-2.855
N153   X-7.855
N154   Y-0.145
N155   X-0.145
N156   Y-0.822
N157 G0 Z0.25
N158 G0
N159
N160  X-1.175 Y-1.175
N161  Z0.079
N162
N163 G1 Z-1.44 F4
N164   Y-1.825 F20
N165   X-6.825
N166   Y-1.175
N167   X-1.175
N168   X-0.725 Y-0.822
N169   Y-2.275
N170   X-7.275
N171   Y-0.725
N172   X-0.725
N173   Y-0.822
N174   X-0.275
N175   Y-2.725
N176   X-7.725
N177   Y-0.275
N178   X-0.275
N179   Y-0.822
N180   X-0.145
N181   Y-2.855
N182   X-7.855
N183   Y-0.145
N184   X-0.145
N185   Y-0.822
N186 G0 Z0.25
N187 G0
N188
N189  X-1.175 Y-1.175
N190  Z0.079
N191
N192 G1 Z-1.68 F4
N193   Y-1.825 F20
N194   X-6.825
N195   Y-1.175
N196   X-1.175
N197   X-0.725 Y-0.822
N198   Y-2.275
N199   X-7.275
N200   Y-0.725
N201   X-0.725
N202   Y-0.822
N203   X-0.275
N204   Y-2.725
N205   X-7.725
N206   Y-0.275
N207   X-0.275
N208   Y-0.822
N209   X-0.145
N210   Y-2.855
N211   X-7.855
N212   Y-0.145
N213   X-0.145
N214   Y-0.822
N215 G0 Z0.25
N216 G0
N217
N218  X-1.175 Y-1.175
N219  Z0.079
N220
N221 G1 Z-1.75 F4
N222   Y-1.825 F20
N223   X-6.825
N224   Y-1.175
N225   X-1.175
N226   X-0.725 Y-0.822
N227   Y-2.275
N228   X-7.275
N229   Y-0.725
N230   X-0.725
N231   Y-0.822
N232   X-0.275
N233   Y-2.725
N234   X-7.725
N235   Y-0.275
N236   X-0.275
N237   Y-0.822
N238   X-0.145
N239   Y-2.855
N240   X-7.855
N241   Y-0.145
N242   X-0.145
N243   Y-0.822
N244 G0 Z0.25
N245 G0
N246 M5
N247 M9
N248 G0 Z0.250
N249 G0 x1.5 Y1.5
N250 M30
%
O9001
N251 (--------------------)
N252 (- CHANGE TOOL -)
N253 (--------------------)
N254 G80 G49 G40 M9 M5
N255 G90
N256 M99
%

Hope this helps,
Brett

Haha, found a new smiley O0
« Last Edit: December 10, 2007, 11:10:44 PM by Chaoticone »
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Question about Mach3
« Reply #4 on: December 10, 2007, 11:31:16 PM »
Thanks

I'll check it out and mess it up, see if i can figure it all out
Re: Question about Mach3
« Reply #5 on: December 12, 2007, 09:50:45 PM »
Thanks again .. i have another question tho

I had some free time from studying arc gouging and read over your code , i can see and understand the movement fairly well but i was curious at which line did you specify the dimensions of the rectangle figure? like the whole piece? Thanks again for your help and any future help

and have a happy xmas, Thanks

Code: [Select]
O5000 (F_PROFILE_T1.TAP)
N1 G15 G17 G20 G90 G94 G99 G64
N2 (SUBROUTINES: O9000 .. O 0)         
N3 (G10 L12 P51 R0.375)
N4 G90 G17
N5 G80 G49 G40
N6 G80
N7 G54
N8 (*TOOL 1 - DIA 0.75 - Heigth 2.*)
N9 M6T1
N10 G43 H1 D51  S3740 M3M8
N11 (----------------------)
N12 (F-PROFILE-T1 - PROFILE)
N13 (----------------------)
N14 G0 Z0.25
N15 G0 X-1.175 Y-1.175
N16  Z0.079
N17
N18 G1 Z-0.24 F4
N19   Y-1.825 F20
N20   X-6.825
N21   Y-1.175
N22   X-1.175
N23   X-0.725 Y-0.822

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Question about Mach3
« Reply #6 on: December 12, 2007, 10:34:43 PM »
I didn't. It is starting in the center and going outwards to the edges. It sees the toolpath, not the part. You could do this for a box.

G0 X-1.0Y-1.0
G1 X-2.0 F10
Y-2.0
X-1.0
Y-1.0

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!