mycnc:independent_pulse_generator
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
mycnc:independent_pulse_generator [2019/10/03 14:10] – ivan | mycnc:independent_pulse_generator [2019/10/03 14:31] – ivan | ||
---|---|---|---|
Line 276: | Line 276: | ||
< | < | ||
- | By setting these values in the M03.plc and SPN.plc procedures, we obtain the generation of the required 750 kHz frequency when the spindle speed is set to 4500, as well as smooth frequency control over the entire range from 0 to 4500 rpm. | + | By setting these values in the M03.plc and SPN.plc procedures, we will generate |
**A method for evaluating the required acceleration of a generator** | **A method for evaluating the required acceleration of a generator** | ||
- | The unit of the generator | + | One unit of the generator |
- | This means that with such an acceleration, | + | |
- | + | ||
- | If, in our case, the maximum frequency is 750,000, then the acceleration must be equal to the same value in order to “accelerate” to this frequency in 1 second. | + | |
**Test code for spindle start-up and spindle speed adjustment procedures**: | **Test code for spindle start-up and spindle speed adjustment procedures**: | ||
Line 319: | Line 316: | ||
- | gvarset(8131, | + | gvarset(8131, |
k=671223; | k=671223; | ||
freq=val*k; //calculate the RAW frequency | freq=val*k; //calculate the RAW frequency | ||
if (freq> | if (freq> | ||
- | gvarset(8130, | + | gvarset(8130, |
Line 361: | Line 358: | ||
==== Low level CNC registers to control independent pulse generator ==== | ==== Low level CNC registers to control independent pulse generator ==== | ||
- | This is for records only. Users don't have to use low-level access. | + | This is for records only. Users don't have to utilize these settings which are changed by having |
^ Register Name ^ Address ^ Description ^ | ^ Register Name ^ Address ^ Description ^ |
mycnc/independent_pulse_generator.txt · Last modified: 2022/02/11 15:45 by ivan