User Tools

Site Tools


mycnc:tangential_knife_support

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mycnc:tangential_knife_support [2018/08/28 20:59] skirillovmycnc:tangential_knife_support [2018/08/28 21:39] skirillov
Line 5: Line 5:
 ==== What is Tangential control in myCNC ==== ==== What is Tangential control in myCNC ====
  
-Tangential knife control activated if value of "1" is written into Global variable #7005.+Tangential knife control activated if the value of "1" is written into Global variable #7005.
  
-In this case input g-code file is modified automatically to support tangential knife:+In this caseinput g-code file is modified automatically to support tangential knife:
   - Positioning blocks (G0-code) is modified. CNC Control software looks at the next motion code, calculates motion direction angle and add C-axis rotation into the G0 code to follow the next motion.   - Positioning blocks (G0-code) is modified. CNC Control software looks at the next motion code, calculates motion direction angle and add C-axis rotation into the G0 code to follow the next motion.
   - For Arc interpolation codes (G2, G3) - CNC control add C-axis rotation to follow motion direction   - For Arc interpolation codes (G2, G3) - CNC control add C-axis rotation to follow motion direction
Line 27: Line 27:
  
  
 +The #7005 variable can be set in Software PLC, "____HANDLER_INIT.plc".
  
 +Software PLC procedure ____HANDLER_INIT is running at the start of myCNC control software right after a complete configuration sent to the controller.
 +
 +It's very easy to add a line to set the variable 7005 - 
 +<code>
 +gvarset(7005,1);
 +</code>
 +
 +For example
 +<code C __HANDLER_INIT.plc>
 +main()
 + {
 +   gvarset(60000,1);  //run Servo ON procedure
 +   gvarset(7005,1);   //Enable Tangential Knife control
 +   exit(99);
 +};
 +
 +</code>
 +
 +{{mycnc:setup:mycnc-tangential-knife-002.png}}
  
  
 {{youtube>gU8MtJpsN8o?800x500}} {{youtube>gU8MtJpsN8o?800x500}}
  
mycnc/tangential_knife_support.txt · Last modified: 2023/01/09 11:26 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki