![]() | |
| 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
| |||
| |||
| Hi everyone. Right now I'm programming a post-processor than can draw the movements of the machine tool with the graphic interface of matlab. However, i need to know if there exists a specific G code command (like G00, G01, G03, G20, etc.) that enables me to draw an inclined plane. I know it is possible to do so simply by the standard straight line instructions (G00 and G01) and with the coordinates in the space of such lines (x,y,z), but i need to know if it is possible to define a plane (xy, xz or yz) and then rotate it by theta degrees around an axis in particular. For example, if there exist a comand like the next one i would like to know: G## T## A(X, Y or Z) X## Y## where G## is the command, T## is the angle theta that the plane will be rottated, A is the axis around it will be rotated and X and Y are the coordinates of the plane that will be rotated (it could be aswell X## Z## or Y## Z##). Thanku... |
|
#2
| ||||
| ||||
With G00, the axis will perform random path, depending on the relative distance for each axis, from origin to destination. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#5
| |||
| |||
| Thanks guys. However, what i really need is: Having an arc or circular interpolation (no matter if is CW or CCW), can I rotate and/or translate it to a general plane in space different than the standar XY, ZX, YZ achivied with the G17, G18 and G19 commands? Thanks again, i never realise how helpful this forums can be... |
| Sponsored Links |
|
#6
| |||
| |||
A more "universal" approach would be to produce APT code and then make a post to convert that to g-code (or use a ready-made post as most of them input APT). However I can't help you with that, I've never gotten much into APT. That been said, there are ways to work on inclined planes. On HAAS machines (I think Fanuc too) you can use G68 with G17-19 to rotate the XY,XZ or YZ planes. You have to specify the rotation point coordinates and the angle of rotation. Nikolas |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |