Manual or Tutorials to get started using EMC2
08 Sep 2015 02:34 #62215
by BigJohnT
Replied by BigJohnT on topic Re:Manual or Tutorials to get started using EMC2
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
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.
10 Sep 2015 09:19 #62369
by Chipmunk
Replied by Chipmunk on topic Manual or Tutorials to get started using EMC2
Hi John
Thanks for a job well done.
Thanks for a job well done.
Please Log in or Create an account to join the conversation.
- eFalegname
-
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
10 Sep 2015 14:14 - 10 Sep 2015 14:24 #62372
by eFalegname
Replied by eFalegname on topic Re:Manual or Tutorials to get started using EMC2
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?
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.
- eFalegname
-
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
11 Sep 2015 04:47 #62422
by eFalegname
Replied by eFalegname on topic Manual or Tutorials to get started using EMC2
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