![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am new to g code programming. The equipment that I have has a poorly written section on programming. I am trying to interpret this line of code so that I can rewrite it the way that I want G65 p9096 X8.145 Y35.5 I15.79 J-12.5 Q3 K3 B1 H1 A130 I believe that The I and J are the dimension movements of the part. The Q and K are the number of parts to make in X and Y??? If that is true, I don't know what the B and H are. I know that the A130 is the cutting program. Last edited by somajr; 01-25-2007 at 10:23 PM. |
|
#3
| |||
| |||
| 070127-0750 EST USA somajr: G65 p9096 is an external subroutine call to the subroutine stored at program Onumber 9096. The parameters following the subroutine call are delimited by a non-printing character, probably space. Each parameter is identified by a single character address alphabetic letter. In the subroutine the alpha address is mapped to a #number address. Any alpha address can be used for any function you want, but there are logical reasons to perform certain associations between the letter and function. You could really confuse someone by mapping an X address to perform a Y motion in the subroutine. HAAS has their manuals on their web site. In the MACROS section they define their mapping of letters to #numbers. This probably is nearly identical to Fanuc. As dcoupar said you need to analyze the subroutine O9096 to determine what is the purpose of each parameter. . |
|
#4
| |||
| |||
I believe that is the callout to state that this is a grid pattern. There is a similar command that is used (P9073) if you are going to morror the part. The rest of the line is the part that I am a little confused about. |
|
#5
| |||
| |||
| 070126-1009 EST USA somajr: In HAAS the mappings from letter parameters in the calling line to #numbers in the subroutine are as follows for your parameters: X = #24 Y = #25 I = #4 J = #5 Q = #17 K = #6 B = #2 H = #11 A = #1 Go into your O9096 subroutine and analyze how these #number variables are used. . |
| Sponsored Links |
|
#6
| |||
| |||
| I played with it today. The first part is the start point on the sheet (x and y). The second callout is the incremental movement and dirction per part (I +/-= x +/- and J +/-= y +/-). The third callout is how many parts to make in each direction on the grid (Q=x and K=y direction). The B1 is the callout for which part to start with using the grid system. The P9096 is just a sub-routine for this layout. I cut over 200 1/8in parts today! I am going to try and cut some thicker material tommorrow! Thanks for your help |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |