585,978 active members*
4,352 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > Need a bit of help identifying some syntax
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008
    Posts
    1

    Need a bit of help identifying some syntax

    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. #2
    Join Date
    Apr 2007
    Posts
    148
    Quote Originally Posted by ethyrial View Post
    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 (inch mode)
    0001 TLCHG I10 T10 10 (change to tool #10)
    0002 SETCSS G3 C444.00 S2000
    0003 RAPID ABS X0.0000 Z5.0000 (rapid to position)
    0004 AUXFUN M8 (coolant on)
    0005 STARTPATH 1 (start toolpath, looks like this is from a cam program)
    0006 RAPID ABS X0.0000 Z0.0000 (rapid to position
    0850 LINE ABS X1.6711 Z0.0000 F0.0100 (controlled feed along x axis, F is feedrate)
    0851 LINE ABS X1.6711 Z-0.0978 F0.0100 (controlled feed along z axis)
    0852 LINE ABS X1.6029 Z-0.0978 F0.0100 (ABS is absolute mode)
    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 (1 second dwell?)
    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.
    Almost looks like a cam generated file prior to conversion, ie the instruction file prior to running it through the post processor. Either that or some type of older conversational language. See the comments I added to the file above. Hope this helps.

  3. #3
    Join Date
    Jun 2007
    Posts
    3757

    Smile Eye candy.

    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. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  4. #4
    Join Date
    Nov 2007
    Posts
    188
    Ezpath is for a Bridgeport cnc I think it does look like it was can generated I have a post in mastercam that will do this check and see if it can be reposted using a different post

Similar Threads

  1. Need help identifying
    By pflynnjr in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 04-18-2007, 05:58 PM
  2. Syntax or just wont work???
    By murphy625 in forum CamSoft Products
    Replies: 1
    Last Post: 04-06-2005, 01:16 AM
  3. syntax error
    By pyroracing85 in forum G-Code Programing
    Replies: 9
    Last Post: 01-28-2005, 02:09 AM
  4. Syntax question
    By doug6949 in forum Mastercam
    Replies: 2
    Last Post: 12-13-2004, 08:14 PM
  5. Help identifying this please
    By studysession in forum Uncategorised MetalWorking Machines
    Replies: 38
    Last Post: 12-05-2004, 08:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •