mycnc:mycnc_setup_examples
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:mycnc_setup_examples [2020/05/14 11:48] – ivan | mycnc:mycnc_setup_examples [2021/11/17 16:07] – ivan | ||
---|---|---|---|
Line 35: | Line 35: | ||
Max Speed is set in units/ | Max Speed is set in units/ | ||
+ | |||
+ | * //NOTE: Overspeed acts in a manner | ||
7. Set the Backlash in units (mm/inch) for each axis. Backlash is the value that allows for some unexpected play in the machine due to clearance or looseness of mechanical parts. When the controller sends a movement command to the motor, the motor may turn briefly before any actual axis movement begins. That turn is defined as backlash, and can be accounted for in this setting. | 7. Set the Backlash in units (mm/inch) for each axis. Backlash is the value that allows for some unexpected play in the machine due to clearance or looseness of mechanical parts. When the controller sends a movement command to the motor, the motor may turn briefly before any actual axis movement begins. That turn is defined as backlash, and can be accounted for in this setting. | ||
Line 57: | Line 59: | ||
=== How to set up a Lathe/ | === How to set up a Lathe/ | ||
+ | |||
+ | [[quickstart: | ||
+ | |||
1. Select Basic profile as " | 1. Select Basic profile as " | ||
Line 393: | Line 398: | ||
+ | === Setting up a 2-motor X+Y X-Y 3D-printer=== | ||
+ | |||
+ | A 3D printer shown below is an example of a setup which utilized the X+Y and X-Y axis configuration in Settings -> Config -> Axes/ | ||
+ | |||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | === Setting up a waterjet system === | ||
+ | |||
+ | Certain CAM software packages can automatically insert necessary waterjet M-codes at some desired distance from the corners to properly accelerate and decelerate the machine. These M-codes are M64/M65, as well as M164/M165 - the first two turn a specified output on/off on the fly without stopping (using the special FlyCut license that we provide), while M164/M165 are reserved for controlling the PWM output. | ||
+ | |||
+ | Some profiles within myCNC software (such as X1366P) contain a Software PLC procedure (WATERJET_SLOWSPEED) that works by monitoring the state of the output that the above codes toggle on and off: | ||
+ | |||
+ | <code C> main() | ||
+ | { | ||
+ | | ||
+ | do{ | ||
+ | a1=gvarget(7184)& | ||
+ | if (a0!=a1) | ||
+ | { | ||
+ | | ||
+ | if (a0==0) //normal speed | ||
+ | { | ||
+ | | ||
+ | }else //slow speed | ||
+ | { | ||
+ | gvarset(9379, | ||
+ | }; | ||
+ | }; | ||
+ | }while(1); | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | The above software PLC monitors the state of the desired output and switches the state of the global variable #9379. Writing " | ||
+ | |||
+ | As mentioned before, this functionality requires a FlyCut license, which is available to purchase on request. | ||
mycnc/mycnc_setup_examples.txt · Last modified: 2024/01/30 12:09 by ivan