Advanced Search

Search Results (Searched for: )

  • BigJohnT
  • BigJohnT's Avatar
25 Apr 2011 22:43
Replied by BigJohnT on topic M codes

M codes

Category: G&M Codes

You have to change the EMC program.

John
  • BigJohnT
  • BigJohnT's Avatar
25 Apr 2011 22:42
Replied by BigJohnT on topic Re:DIgitizing a part with no probe

Re:DIgitizing a part with no probe

Category: AXIS

Jog to your point copy the numbers from the DRO into your g-code program... simple, tonight.

John
  • prcdslnc13
  • prcdslnc13
25 Apr 2011 15:48
Re:DIgitizing a part with no probe was created by prcdslnc13

Re:DIgitizing a part with no probe

Category: AXIS

I posted this on CNCzone a while back with no avail so ill try it here

Back when I used to program CNC routers for my job we had a router that we could lay a cardboard template down, drive the machine manually and place the axis where we wanted and hit a button and create a point. The software that drive the machine (windows based if I remember right,this was 7ish years ago and it was old then though) would output a dxf which we could open in autocad and create curves off the point cloud.

Im looking to something similar with my router and Emc. Im currently using ubuntu vs 8.04 and I think EMC 2.3. I dont currently have anything special set up in my config file, I dont even have my limit switches wired in yet Im using the probotix stepper drivers and breakout board for my electronics.

Im not at a point where I want to create a probe sequnce or even really make a probe, I would be happy with manually jogging the machine with a fine point bit and pushing a button when I get where I want to be. Really I would be perfectly happy with EMC creating a text file with the coordinates I need. So jog to a point, click a button, Coordinate output. Anyone have any ideas, I need to do this tonight, so simple is great :)
  • sherif.taher
  • sherif.taher
25 Apr 2011 15:45
Replied by sherif.taher on topic Image to G-Code conversion question ?

Image to G-Code conversion question ?

Category: G&M Codes

square was just a test case I created, but it seems that a better alternative is if I can get the shapes in DXF then convert to gcode
  • andradela
  • andradela
25 Apr 2011 15:36 - 25 Apr 2011 22:07
M codes was created by andradela

M codes

Category: G&M Codes

Hello guys, how do I create a new M codes to use with a classic ladder like a M10,M12...
  • BigJohnT
  • BigJohnT's Avatar
24 Apr 2011 20:36 - 24 Apr 2011 20:37
Replied by BigJohnT on topic Image to G-Code conversion question ?

Image to G-Code conversion question ?

Category: G&M Codes

Image to G Code was not designed to just cut the borders of shapes. AFAIK it will cut the entire image only.

It would be a simple task to just write the g-code to cut a square.

And there is not much more info than is in the docs that I know of for image to g code. I assume you read the docs? You might look on the wiki site there might be something there too.

John
  • sherif.taher
  • sherif.taher
24 Apr 2011 20:30
Image to G-Code conversion question ? was created by sherif.taher

Image to G-Code conversion question ?

Category: G&M Codes

Hi,

EMC has the ability to read in GIF files and convert to g-code, I can't find a comprehensive reference about using but I have a simple question.

I tried importing a very simple share (a square), the GIF image has only two colors, white and black. The border is black, EMC converted to a g-code of engraving the square, now what are the options to just score the borders of the square? I don't want any milling inside the shape ?

I'm trying to get some simple shapes from image files and score them off some sheets

thanks
Sherif
  • piasdom
  • piasdom's Avatar
22 Apr 2011 21:05
Replied by piasdom on topic Read axis position

Read axis position

Category: G&M Codes

cool...thanks...didn't think about position.
  • BigJohnT
  • BigJohnT's Avatar
22 Apr 2011 20:13
Replied by BigJohnT on topic Read axis position

Read axis position

Category: G&M Codes

The only problem I see is you don't assign #2 back to 0 for the second loop. So being a do then test loop you only get one pass.

I'm not sure if it is required but It is better to use different numbers for your loops.

o100 do
...
o100 while

o101 do
...
o101 while

John
  • piasdom
  • piasdom's Avatar
22 Apr 2011 19:39
Replied by piasdom on topic Read axis position

Read axis position

Category: G&M Codes

andypugh wrote:

piasdom wrote:

Probably because they both have the same O-number. EMC2 uses the O-number to tell which Do belongs to each While.


so i can't use the same do/while more then once ?

Because you are not saying "offset X by this much" you are saying "offset X so that the current position is this value"


Thanks

  • andypugh
  • andypugh's Avatar
21 Apr 2011 18:44
Replied by andypugh on topic Read axis position

Read axis position

Category: G&M Codes

piasdom wrote:

why doesn't it cut the other do/while.

Probably because they both have the same O-number. EMC2 uses the O-number to tell which Do belongs to each While.

and why do i had to use negative offset to get it to go to the positive side ?

Because you are not saying "offset X by this much" you are saying "offset X so that the current position is this value"
  • piasdom
  • piasdom's Avatar
21 Apr 2011 17:55
Replied by piasdom on topic Read axis position

Read axis position

Category: G&M Codes

why doesn't it cut the other do/while. just cuts it at z-.7.
z-.7 is wrong. why not cut the whole do/while again at x1.9 ?
and why do i had to use negative offset to get it to go to the positive side ?
  • andypugh
  • andypugh's Avatar
21 Apr 2011 15:49
Replied by andypugh on topic Read axis position

Read axis position

Category: G&M Codes

G92 X1.9 means "The current position has an X coordinate of 1.9"

So, if you want cutting to start 1.9" to the right, you can either go to the new point and G92 X0, or stay where you are and say "this is now -1.9, carry on at zero"

A typical use would be a subroutine to cut out a D-sub hole. the calling routine would position the cutter at the centre of the shape, then the subroutine would G92 X0 Y0 and then cut the shape with all coordinates referenced to the centre of the cutout, then G92.1 on exit.
  • piasdom
  • piasdom's Avatar
21 Apr 2011 13:43
Replied by piasdom on topic Read axis position

Read axis position

Category: G&M Codes

well, i tried g92(attached) but i can't get it to do me right :)
i'll offset, but i have to offset it at -1.9 instead of positive 1.9.
and in the file, it cuts one time and at z-.04. the finished depth
is z-.3 in the file.

Attachment while.ngc not found

  • andypugh
  • andypugh's Avatar
21 Apr 2011 13:38
Replied by andypugh on topic Subroutines for EMC2

Subroutines for EMC2

Category: O Codes (subroutines) and NGCGUI

The copyright says "I wrote this code so I get to say how it gets used" the GPL says ".. and the way I say it can be used is: You are free to use it in any way you want, as defined by GPL".

With neither statement you don't know if Igor found the code on the internet, and it actually belongs to Fanuc Inc who will come round with burly lawyers, whether he has no idea where it came from because it has been copied and re-hashed for years.

If there is only a GPL and no copyright you don't know who to ask if you want to negotiate to use it outside the GPL.

So the statements that Igor has made are the minimum required to make it clear that you can use that code in any way you want, change it, pass it on etc.

(But, yes, in this context it seems a bit pedantic)
Displaying 285331 - 285345 out of 286594 results.
Time to create page: 7.286 seconds
Powered by Kunena Forum