![]() | |
| 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 all, I was given a piece of something resembling g-code at work and told to decipher it... having never worked with this stuff before, I'm a bit lost. I'm guessing the first couple lines are machine specific, but the syntax for the rest is just slightly different from what's in tutorials online - for instance, what's going on with the out of order and repeated line numbers? Is there a difference between "Dwell" used here and "G04?" Pasting the first few lines below.. could anyone point me in the right direction? Thanks in advance! 0000 EZPATH|SX 1 MODE|INCH 0001 TLCHG I10 T10 10 0002 SETCSS G3 C444.00 S2000 0003 RAPID ABS X0.0000 Z5.0000 0004 AUXFUN M8 0005 STARTPATH 1 0006 RAPID ABS X0.0000 Z0.0000 0850 LINE ABS X1.6711 Z0.0000 F0.0100 0851 LINE ABS X1.6711 Z-0.0978 F0.0100 0852 LINE ABS X1.6029 Z-0.0978 F0.0100 0878 LINE ABS X1.6229 Z-0.0978 F0.0010 0879 LINE ABS X1.6029 Z-0.0978 F0.0100 0880 LINE ABS X1.6129 Z-0.0978 F0.0100 5881 LINE ABS X1.6429 Z-0.0978 F0.0010 0882 LINE ABS X1.6029 Z-0.0978 F0.0100 0883 LINE ABS X1.6329 Z-0.0978 F0.0100 0884 LINE ABS X1.6629 Z-0.0978 F0.0010 0085 LINE ABS X1.6029 Z-0.0978 F0.0100 0886 LINE ABS X1.6529 Z-0.0978 F0.0100 0887 LINE ABS X1.6829 Z-0.0978 F0.0010 0888 LINE ABS X1.6029 Z-0.0978 F0.0100 0889 LINE ABS X1.6729 Z-0.0978 F0.0100 0890 LINE ABS X1.7029 Z-0.0978 F0.0010 0891 LINE ABS X1.6029 Z-0.0978 F0.0100 0892 LINE ABS X1.6929 Z-0.0978 F0.0100 0893 LINE ABS X1.7229 Z-0.0978 F0.0010 0894 LINE ABS X1.6029 Z-0.0978 F0.0100 0895 LINE ABS X1.7129 Z-0.0978 F0.0100 0896 LINE ABS X1.7429 Z-0.0978 F0.0010 0897 LINE ABS X1.6029 Z-0.0978 F0.0100 0898 LINE ABS X1.7329 Z-0.0978 F0.0100 0899 LINE ABS X1.7629 Z-0.0978 F0.0010 0900 LINE ABS X1.6029 Z-0.0978 F0.0100 0901 LINE ABS X1.7529 Z-0.0978 F0.0100 0902 LINE ABS X1.7787 Z-0.0978 F0.0010 0903 DWELL S1.0000 0040 LINE ABS X1.6029 Z-0.0978 F0.0100 0000 LINE ABS X1.6029 Z-0.0978 F0.0100 0001 LINE ABS X1.6029 Z-0.1955 F0.0100 0902 LINE ABS X1.5387 Z-0.1955 F0.0100 0928 LINE ABS X1.5587 Z-0.1955 F0.0010 0929 LINE ABS X1.5387 Z-0.1955 F0.0100 0930 LINE ABS X1.5487 Z-0.1955 F0.0100 0931 LINE ABS X1.5787 Z-0.1955 F0.0010 0932 LINE ABS X1.5387 Z-0.1955 F0.0100 0933 LINE ABS X1.5687 Z-0.1955 F0.0100 0934 LINE ABS X1.5987 Z-0.1955 F0.0010 0935 LINE ABS X1.5387 Z-0.1955 F0.0100 0936 LINE ABS X1.5887 Z-0.1955 F0.0100 0937 LINE ABS X1.6187 Z-0.1955 F0.0010 0938 LINE ABS X1.5387 Z-0.1955 F0.0100 0939 LINE ABS X1.6087 Z-0.1955 F0.0100 0940 LINE ABS X1.6387 Z-0.1955 F0.0010 0941 LINE ABS X1.5387 Z-0.1955 F0.0100 0942 LINE ABS X1.6287 Z-0.1955 F0.0100 0943 LINE ABS X1.6587 Z-0.1955 F0.0010 0944 LINE ABS X1.5387 Z-0.1955 F0.0100 0405 LINE ABS X1.6487 Z-0.1955 F0.0100 0946 LINE ABS X1.6787 Z-0.1955 F0.0010 0470 LINE ABS X1.5387 Z-0.1955 F0.0100 0480 LINE ABS X1.6687 Z-0.1955 F0.0100 0490 LINE ABS X1.6987 Z-0.1955 F0.0010 0500 LINE ABS X1.5387 Z-0.1955 F0.0100 0051 LINE ABS X1.6887 Z-0.1955 F0.0100 0952 LINE ABS X1.7125 Z-0.1955 F0.0010 0953 DWELL S1.0000 0954 LINE ABS X1.5387 Z-0.1955 F0.0100 0950 LINE ABS X1.5387 Z-0.1955 F0.0100 0591 LINE ABS X1.5387 Z-0.2933 F0.0100 0592 LINE ABS X1.4787 Z-0.2933 F0.0100 0598 LINE ABS X1.4987 Z-0.2933 F0.0010 ... etc. |
|
#2
| |||
| |||
|
|
#3
| ||||
| ||||
| Some controllers just use line numbers for Eye Candy. For instance the BOSCH CC-120 adds inserted line like N+220 The only time the number has relevance is if some error stops things the message can have the BLOCK NUMBER (as is sometimes more correctly called) At line 1 tool change can use a tool number, an offset table, for particular tools and an index number. Imagine a tool changer carousel (the I10 ?) tool 10 (station on turret to use the tool in) and 10 the offset,length,wear etc. information for the the tool. ON some machines, even different spindles on a turret can have different lengths. eg LONG NOSE for stiff short slab mill. Short nose for LONG DRILLS. Do you have any idea where the file came from?
__________________ Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way. |
![]() |
| 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 identifying | pflynnjr | Stepper Motors and Drives | 0 | 04-18-2007 11:58 AM |
| Syntax or just wont work??? | murphy625 | CamSoft Products | 1 | 04-05-2005 07:16 PM |
| syntax error | pyroracing85 | G-Code Programing | 9 | 01-27-2005 07:09 PM |
| Syntax question | doug6949 | Mastercam | 2 | 12-13-2004 01:14 PM |
| Help identifying this please | studysession | General Metal Working Machines | 38 | 12-05-2004 01:40 PM |