![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General CAM Discussion Discuss CAD/CAM software and Design software methods here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
| G codes how does works at one line? Hello, N100 G01 X10 Y10 G01 X20 Y20 ; Which motion When start ? N100 G01 X10 Y10 (first motion start and completed ?) G01 X20 Y20 (second motion start ?); or N100 G01 X10 Y10 G01 X20 Y20 (first motion start and completed second motion start); Thanks. Last edited by bunalmis; 07-24-2003 at 03:42 AM. |
|
#2
| ||||
| ||||
| You can't have duplicate axes on the same line. Nor duplicate G or M codes that are part of the same "group", like M05 and M03, or G01 and G02. 'Rekd
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) Last edited by Rekd; 07-25-2003 at 09:07 AM. |
|
#3
| |||
| |||
| Bunalmis, N100G01X10Y10; N110X20Y20; Will work better. Best regards, GOMEZ107 |
|
#4
| ||||
| ||||
| NC code N100 G01 X10 Y10 G01 X20 Y20 ; In the days of NC (pre-CNC) the line would only execute N100 G01 X0.002 Y0.002 Only one address word per block ";" being End Of Block (EOB) Only the last word would take affect. So an X10 X20 the last word in the block X20 would take affect. And the order of the words in the block would make no difference, other than the order of the address words being read. The format being called "word address format" as opposed to other formats such as, "tab sequential" or "fixed format," to name a few, now obsolete formats. CNC controls differ on how X20 would be understood. Some may understand x20 as X20.0000 without a decimal point. The standard would understand X20 to be X0.0020 Only in some specialized CNC controls would muliple words be allowed. Then the order of let's say the X words would be of importance. But that is not the standard. Modern CNC controls now allow some multiple command words such as preparatory functions G00 G90 G70 G80 in one command block. Fadal CNC for example allows some multiple miscellaneous function words in one block, like M07 M08 or M09 M05 in one command block without being an error. A CNC control could exist to accept N100 G01 X10 Y10 G01 X20 Y20 ; and execute it as: N100 G01 X10.0000 Y10.0000 ; N100 G01 X20.0000 Y20.0000 ; But I know of no such control. And I do not see that such control would be of any advantage. It would only encourge bad programming practices.
__________________ Safety - Quality - Production. Last edited by Paul_S; 07-26-2003 at 09:58 PM. |
![]() |
| 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 |
| single line fonts? | balsaman | General CAM Discussion | 12 | 02-18-2006 12:51 PM |
| Single line mode works well, Auto is not soo good?? | Darc | CamSoft Products | 16 | 10-26-2004 04:29 PM |
| Tool tables | Nimrod | Mastercam | 4 | 11-24-2003 03:31 PM |
| Using "M" codes | jimglass | TurboCNC | 5 | 06-17-2003 07:31 AM |