![]() | |
| 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
| |||
| |||
| Need clarification on GCode for 4th axis. What is the "unit" of movement for a 4th (or any rotary) axis? Is the 4th axis measured in inches/millimeters (of head-relative movement) like X,Y, and Z, or degrees/radians (of rotation), etc. It is easy enough to make either set of calculations, but have not worked with (or seen) rotary axis code. |
|
#2
| |||
| |||
| It could be machine specific. I use Haas machines with a 4th axis (A) and it is programmed in degrees. These machines have the ability to Circle Wrap which means they map the X or Y axis onto the A axis and for this you need to input a diameter value which the machine then uses to convert between linear measure and angular measure.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#3
| |||
| |||
I had considered the axis-swapping approach, but still need to derive appropriate "units." Since I will be also building my own 4th-axis, it sounds like I can do it however I wish. Just did not want to do something totally contrary to the rest of the world. Given your answer - that it is machine specific - I could write the application to allow users to choose their method, producing code that is likely to be compatible with their specific setup. Thanks for the quick response - adds to my knowledge bank! |
|
#5
| |||
| |||
| That is what I really wanted to know, but did not ask clearly - "What is the normal unit of measure for the A, B, or C axes?" Thanks! That is very helpful! |
| Sponsored Links |
|
#6
| |||
| |||
|
I have only setup and seen these axis in degrees. I would consider that to be the norm. But there is always someone to disagree. Stevo |
|
#7
| |||
| |||
| From what I have seen, default to degrees motion. It sounds like you still need this, so add a G code to change behavior. Much like Geof described. An example might be: G0 X-3.0 Y 0.0 A85.0 (position Y0.0, center of cylinder at rotation for start of laser marking) G201 Z2.0 (G201 made up code to trigger modal wrapping around A at 2.0 radius) G1... (code in XY that the control translates to XA moves) ... G200 (return to normal XY mode) |
![]() |
| Tags |
| 4th axis, gcode, measurement, units |
| 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 |
| Need Help!- Can Bobcad be coaxed into making gcode for a 4 axis hot wire machine? | seanreit | BobCad-Cam | 14 | 06-03-2010 03:56 AM |
| Need Help!- 4th gcode axis problem | fabconv | Visual Mill | 1 | 08-29-2009 07:39 AM |
| Editing Gcode in excel for 9 axis CNC ?? | imanflash | G-Code Programing | 5 | 03-23-2009 10:56 AM |
| What is the gcode to ref 1 axis home after | seanreit | General Metal Working Machines | 6 | 12-07-2008 04:18 PM |
| Toolchanging and offsets gcode programming | ddanutz | G-Code Programing | 12 | 11-04-2006 04:39 PM |