mycnc:tangential_knife_support
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:tangential_knife_support [2018/08/28 20:59] – skirillov | mycnc: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 " | + | Tangential knife control activated if the value of " |
- | In this case input g-code file is modified automatically to support tangential knife: | + | In this case, input 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, " | ||
+ | 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 - | ||
+ | < | ||
+ | gvarset(7005, | ||
+ | </ | ||
+ | |||
+ | For example | ||
+ | <code C __HANDLER_INIT.plc> | ||
+ | main() | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{mycnc: | ||
{{youtube> | {{youtube> | ||
mycnc/tangential_knife_support.txt · Last modified: 2023/01/09 11:26 by ivan