mycnc:mycnc_setup_examples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
mycnc:mycnc_setup_examples [2019/05/23 13:48] – ivan | mycnc:mycnc_setup_examples [2019/05/24 10:35] – ivan | ||
---|---|---|---|
Line 48: | Line 48: | ||
===How to set up a Probing Wizard in Mill profile=== | ===How to set up a Probing Wizard in Mill profile=== | ||
- | In order to properly set up a probe system on 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 set up a probe system on a mill profile from scratch on your machine (especially if the software has not, for any reason, been updated to its latest version) please |
- | + | ||
- | 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/ |
mycnc/mycnc_setup_examples.txt · Last modified: 2024/01/30 12:09 by ivan