CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-21-2008, 10:20 PM
 
Join Date: Jul 2008
Location: USA
Posts: 1
ethyrial is on a distinguished road
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.
Reply With Quote

  #2   Ban this user!
Old 07-22-2008, 07:14 AM
 
Join Date: Apr 2007
Location: USA
Posts: 148
JDenyer232 is on a distinguished road

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.
Reply With Quote

  #3   Ban this user!
Old 07-22-2008, 04:56 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road
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. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #4   Ban this user!
Old 07-23-2008, 09:05 PM
chucker's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 132
chucker is on a distinguished road

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
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 10:15 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361