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 [2019/06/10 09:33] – ivan | mycnc:mycnc_setup_examples [2021/11/17 16:07] – ivan | ||
---|---|---|---|
Line 2: | Line 2: | ||
=== How to set up Axes and Pulses per Unit === | === How to set up Axes and Pulses per Unit === | ||
+ | |||
+ | Video tutorial: {{youtube> | ||
During the initial setup, the axes on your machine (X, Y, Z, A, etc) may be plugged differently from the desired software configuration. In order to assign the correct motor to the axis in the myCNC software: | During the initial setup, the axes on your machine (X, Y, Z, A, etc) may be plugged differently from the desired software configuration. In order to assign the correct motor to the axis in the myCNC software: | ||
Line 9: | Line 11: | ||
2. Navigate to **Motor Outputs Configuration** | 2. Navigate to **Motor Outputs Configuration** | ||
- | 3. Assign the correct axis to each attached motor | + | 3. Assign the connected motors |
{{: | {{: | ||
- | In the same window, the general calibration for the pulses per unit can be performed. This is done in order to calibrate the software readings of the machine (how much the machine " | + | In the same window, the general calibration for the pulses per unit can be performed. This is done in order to calibrate the software readings of the machine (how much the machine " |
1. Physically record the position of the spindle/ | 1. Physically record the position of the spindle/ | ||
Line 31: | Line 33: | ||
If the new number of pulses per unit is brought up too high without changing the maximum motor speed, the motors will start making jerking movements when moved. This is due to keeping the **Max Speed** the same. In order to eliminate the jerking movements, bring down the **Max Speed** value in CNC Settings > Axes/Motors until the movement is smooth again. | If the new number of pulses per unit is brought up too high without changing the maximum motor speed, the motors will start making jerking movements when moved. This is due to keeping the **Max Speed** the same. In order to eliminate the jerking movements, bring down the **Max Speed** value in CNC Settings > Axes/Motors until the movement is smooth again. | ||
{{: | {{: | ||
+ | |||
+ | 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. | ||
=== How to set up Tangential Knife Cutting === | === How to set up Tangential Knife Cutting === | ||
Line 51: | 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 387: | 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