Manual or Tutorials to get started using EMC2

More
08 Sep 2015 02:34 #62215 by BigJohnT
Yes, don't use M2 if the behavior is wrong for your code, instead use %.

Might take an hour for the changes to the manual to show up about using the % but in a bit they will be here.

linuxcnc.org/docs/html/gcode/overview.html#_file_requirements

JT
The following user(s) said Thank You: eFalegname

Please Log in or Create an account to join the conversation.

More
10 Sep 2015 09:19 #62369 by Chipmunk
Hi John

Thanks for a job well done.

Please Log in or Create an account to join the conversation.

More
10 Sep 2015 14:14 - 10 Sep 2015 14:24 #62372 by eFalegname
excerpt of the manual edited by BigJhonT on the end of file requirements

Warning
Using % to wrap a G code file will not do the same thing as using a program end. The machine will be in what ever state the program left it in using %, the spindle and coolant may still be on and things like G90/91 are left as the last program set them. If you don’t use a proper preamble the next program could start in a dangerous condition.

Thank you so much BigJhonT! I can now make the most of my CNC Router, before I have to control the structure and syntax of my subroutines to avoid surprises.

But now I wonder if it would not be better to leave the subroutine with M2 at the end of file?
Last edit: 10 Sep 2015 14:24 by eFalegname.

Please Log in or Create an account to join the conversation.

More
11 Sep 2015 04:47 #62422 by eFalegname
Removing M2 from the subroutine and replacing it for % the program is not executed and the backplot is not visible.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum