mycnc:linear_encoder_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
mycnc:linear_encoder_setup [2020/11/23 12:31] – ivan | mycnc:linear_encoder_setup [2021/03/11 15:06] – ivan | ||
---|---|---|---|
Line 33: | Line 33: | ||
THIS SECTION OF THE MANUAL IS A WORK-IN-PROGRESS. Please contact the myCNC Support Team should any questions arise. | THIS SECTION OF THE MANUAL IS A WORK-IN-PROGRESS. Please contact the myCNC Support Team should any questions arise. | ||
- | Going through the setup process for linear encoder feedback: | + | Going through the setup process for linear encoder feedback |
1. | 1. | ||
- | At this point, the PID number, motor output and encoder channel number should be respectively equal. | + | In this step, we want to make sure that the PID number, motor output and encoder channel number |
- | I.e - | + | |
- | PID0, Motor0, Encoder0 | + | |
- | PID1, Motor1, Encoder1 | + | |
- | PID2, Motor2, Encoder2 | + | |
- | It is possible to customize arbitrarily, | + | For example: |
+ | ^ PID ^ Motor ^ Encoder # ^ | ||
+ | | PID0 | Motor0 | Encoder0 | | ||
+ | | PID1 | Motor1 | Encoder1 | | ||
+ | | PID2 | Motor2 | Encoder2 | | ||
- | [IMAGE 1] | + | It is possible to customize arbitrarily, |
+ | |||
+ | {{: | ||
2. | 2. | ||
- | Registers for displaying the magnitude of the PID mismatch | + | Registers for displaying the magnitude of the PID error are registers |
- | for PID 0, 1, 2, 3 ... respectively | + | |
3. | 3. | ||
- | Baseline Profile for Ruler, Feedback and PID - X1366M4E | + | X1366M4E |
For PID tuning, it is recommended to output these registers to display the error value on the error indicator | For PID tuning, it is recommended to output these registers to display the error value on the error indicator | ||
- | and on the corresponding " | + | and on the corresponding " |
- | Now the XML settings in the profile | + | The following |
- | For those who have a profile already in work and a complete update is difficult, you need to make changes manually | + | |
- | 4. | + | 4. Error magnitude display |
- | Error magnitude display, coordinates-4.xml file | + | |
<code XML>< | <code XML>< | ||
- | <gitem where=" | + | <gitem where=" |
- | | + | displayAlignment=" |
+ | | ||
+ | fontSize=" | ||
| | ||
| | ||
| | ||
- | <gitem where=" | + | <gitem where=" |
- | | + | displayAlignment=" |
+ | | ||
+ | fontSize=" | ||
| | ||
| | ||
| | ||
- | <gitem where=" | + | <gitem where=" |
- | | + | displayAlignment=" |
+ | | ||
+ | fontSize=" | ||
| | ||
| | ||
| | ||
- | <gitem where=" | + | <gitem where=" |
- | | + | displayAlignment=" |
+ | | ||
+ | fontSize=" | ||
| | ||
| | ||
| | ||
- | In the current version, registers 9232, 9233, ... were used at this location. | + | In the current version, registers 9232, 9233, etc are used instead (you may need to edit your XML file if using an older version). |
- | five. | + | 5. Display of the error graphs |
- | Display of the following | + | |
- | X-bottab-left-mill.xml file | + | |
- | The type myscope is responsible for displaying oscillograms | + | |
- | Find and correct | + | |
- | with variables 9016, 9017, 9018 - for errors | + | |
<code XML>< | <code XML>< | ||
Line 100: | Line 102: | ||
| | ||
- | [IMAGE 2 HERE] | + | {{: |
6. | 6. | ||
- | In order for registers 9016, ... to show an error, the PID must be enabled. | + | In order for registers 9016, etc to show an error, the PID must be enabled. |
This requires 2 steps - | This requires 2 steps - | ||
- | 1) Check enable | + | 1) Check the '' |
2) Start the Servo-ON procedure by writing " | 2) Start the Servo-ON procedure by writing " | ||
< | < | ||
- | For automatic | + | For automatic |
- | For manual start, there is a Servo-ON button, which, in turn, starts the __HANDLER_SERVO_ON | + | |
- | And in it, in turn, there is a necessary | + | |
- | Servo-ON signals | + | |
- | [IMAGE 3 HERE] | + | {{: |
- | [IMAGE 4 HERE] | + | {{: |
- | By means of a multiplier and a divider, the " | + | By means of a multiplier and a divider, the " |
- | The controller will then operate with this program value. | + | |
- | That is, in the " | + | |
- | (If the PIDs are turned off and not used, but you just need to have a position indication, then other registers | + | If the PIDs are turned off and not used, but you simply |
- | Now also write the correct " | + | At this point, it is necessary to input the correct |
mycnc/linear_encoder_setup.txt · Last modified: 2021/03/11 15:06 by ivan