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/05/21 13:43] – ivan | mycnc:mycnc_setup_examples [2020/05/22 14:04] – 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 48: | Line 56: | ||
===How to set up a Probing Wizard in Mill profile=== | ===How to set up a Probing Wizard in Mill profile=== | ||
- | In order to set up a mill profile from scratch on your machine (especially if the software has not, for any reason, been updated to its latest version) please | + | In order to properly |
- | + | ||
- | 1. In **CNC Settings > PLC > Hardware PLC**, check that the command **TRIG04** is created. The program should contain the following code: | + | |
- | + | ||
- | < | + | |
- | main() | + | |
- | { | + | |
- | gvarset(9122, | + | |
- | + | ||
- | if (gvarget(6060)!=0x57) | + | |
- | { | + | |
- | message=PLCCMD_MOTION_BREAK; | + | |
- | timer=30; | + | |
- | }; | + | |
- | + | ||
- | exit(99); | + | |
- | }; | + | |
- | </ | + | |
- | {{:mycnc: | + | |
- | + | ||
- | 2. In **CNC Settings > Probing Wizard > Probing Macro Wizard**, click **Generate All Probing Macros** and **Generate PLC Probing procedure M288**. Among other settings, this generates the necessary windows | + | |
- | {{:mycnc: | + | |
- | + | ||
- | 3. If you want to set the particular port that you are using for your sensor, go to Go to **CNC Settings > Probing Wizard > Probing Config** and click the **Enable Probe sensor protection** button after setting the particular port desired (Port 9 for this example). This setting will be automatically mirrored in the **CNC Settings > Triggers/ | + | |
- | {{: | + | |
- | + | ||
- | 4. Double-check the TRIG04 procedure from Step 1, and edit it back to the code above if it had been changed (this can occur on older versions of the software). | + | |
- | + | ||
- | The probe wizard setup should now be complete. | + | |
=== How to set up a Lathe/ | === How to set up a Lathe/ | ||
Line 337: | Line 317: | ||
+ | ===How to set up Homing Handler=== | ||
+ | |||
+ | If the machine has stopped unexpectedly, | ||
+ | |||
+ | The Homing Handler can be set up by using the following instructions: | ||
+ | |||
+ | 1. Go to **Settings > Config > PLC > Software PLC** and select **HOMING_HANDLER** | ||
+ | {{: | ||
+ | |||
+ | 2. In the HOMING_HANDLER code, put the two forward slashes in front of the **exit(99); | ||
+ | {{: | ||
+ | |||
+ | Note that the axes for which the homing is not required (Axis C in this case) have also been commented out. If only select axes need to be included in the homing procedure after the emergency stop, these can be configured in the code by adding/ | ||
+ | {{: | ||
+ | |||
+ | At this point, in an emergency stop situation, myCNC will prompt the user to run the homing procedure for the selected axes before any other action is taken after starting the machine back up again. | ||
+ | |||
+ | In order to disable the Homing Handler, add the two forward slashes in front of **exit(99); | ||
mycnc/mycnc_setup_examples.txt · Last modified: 2024/01/30 12:09 by ivan