Wiki source code of Управление шпинделем (фоновые операции)
Last modified by writer on 2023/09/08 19:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | ===== number GetCurSpindleRPM () ===== | ||
2 | |||
3 | Getting the current spindle speed. | ||
4 | |||
5 | Return value: | ||
6 | |||
7 | * current spindle speed, rpm. | ||
8 | |||
9 | ===== number GetGCodeSpindleRPM () ===== | ||
10 | |||
11 | Getting the current spindle speed specified in the G-code. | ||
12 | |||
13 | Return value: | ||
14 | |||
15 | * current spindle speed specified in the G-code, rpm. | ||
16 | |||
17 | ===== number GetSpindleSpeedOverridePercent () ===== | ||
18 | |||
19 | Obtaining a percentage of overriding the current spindle speed. | ||
20 | |||
21 | Return value: | ||
22 | |||
23 | * the percentage that the actual spindle speed is from the specified. | ||
24 | |||
25 | ===== void SetSpindleSpeedOverridePercent (number value) ===== | ||
26 | |||
27 | Specifies the percentage of overriding the current spindle speed. | ||
28 | |||
29 | Options: | ||
30 | |||
31 | * number value - the desired percentage of overriding the current spindle speed. |