![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm new to G-code programming. My questions are: 1) Can I write offsets to the machine memory using DNC? If so, what is the g-code command? For example, can I do the equivalent of G54(x)=1.23 G54(y)=1.52 G54(z)=1.72? 2) Can I read positions in using g-code? Like can I query the machine what is xyz using DNC? If so, how? Thanks in advance for the answers! |
|
#2
| |||
| |||
| You can write offsets using the G10 command; have a look in the Haas manual. G10 L12 G90 P1 R.5 will write the absolut value of 0.5 in to the tool comp table for tool 1. G10 L2 G90 P1 X-5. Y-4. Z-6. will write -5. for the X coordinate, -4. for the Y coordinate and -6. for the Z coordinate into the G54 line for the work offset table. As I suggest read the manual, it is a bit fuzzy at first but gradually gets clear.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FANUC-OMC / PMC ROM WRITING | iNUC | Fanuc | 2 | 06-22-2008 11:32 AM |
| G31 uses machine coordinates? | kerryveenstra | Tormach PCNC | 1 | 04-27-2007 02:45 AM |
| Artcam postprocessor writing | simonl | ArtCam Pro | 3 | 01-06-2007 11:25 PM |
| Writing words | JDARSNEK | G-Code Programing | 1 | 11-27-2006 03:42 PM |
| Okuma Work Coordinates | firedog | General CNC (Mill and Lathe) Control Software (NC) | 7 | 06-09-2005 07:43 PM |