Wiki source code of Управление шпинделем
Last modified by writer on 2023/02/09 19:53
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
6.1 | 1 | ===== number SpindleGetCurRPM() ===== |
![]() |
1.1 | 2 | |
![]() |
6.1 | 3 | Getting the current spindle speed. |
![]() |
1.1 | 4 | |
![]() |
6.1 | 5 | Return value: |
![]() |
1.1 | 6 | |
![]() |
6.1 | 7 | * current spindle speed, rpm. |
![]() |
1.1 | 8 | |
![]() |
6.1 | 9 | ===== number GetGCodeSpindleRPM() ===== |
![]() |
3.1 | 10 | |
![]() |
6.1 | 11 | Getting the current spindle speed specified in the G-code. |
![]() |
3.1 | 12 | |
![]() |
6.1 | 13 | Return value: |
![]() |
3.1 | 14 | |
![]() |
6.1 | 15 | * current spindle speed specified in the G-code, rpm. |
![]() |
3.1 | 16 | |
![]() |
6.1 | 17 | ===== number SpindleGetOverridePercent() ===== |
![]() |
1.1 | 18 | |
![]() |
6.1 | 19 | Obtaining a percentage of overriding the current spindle speed. |
![]() |
1.1 | 20 | |
![]() |
6.1 | 21 | Return value: |
![]() |
1.1 | 22 | |
![]() |
6.1 | 23 | * the percentage that the actual spindle speed is from the specified. |
![]() |
1.1 | 24 | |
![]() |
6.1 | 25 | ===== void SpindleStartCW() ===== |
![]() |
1.1 | 26 | |
![]() |
6.1 | 27 | Turn on the spindle clockwise. |
![]() |
1.1 | 28 | |
![]() |
6.1 | 29 | ===== void SpindleStartCCW() ===== |
![]() |
1.1 | 30 | |
![]() |
6.1 | 31 | Turn on spindle rotation counterclockwise. |
![]() |
1.1 | 32 | |
![]() |
6.1 | 33 | ===== void SpindleStartCWRPM(number rpm) ===== |
![]() |
1.1 | 34 | |
![]() |
6.1 | 35 | Turns on the spindle clockwise at the indicated rotation speed. |
![]() |
1.1 | 36 | |
![]() |
6.1 | 37 | Options: |
![]() |
1.1 | 38 | |
![]() |
6.1 | 39 | * number rpm – desired spindle rotation speed. |
![]() |
1.1 | 40 | |
![]() |
6.1 | 41 | ===== void SpindleStartCCWRPM(number rpm) ===== |
![]() |
1.1 | 42 | |
![]() |
6.1 | 43 | Turns on the spindle counterclockwise at the indicated rotation speed. |
![]() |
1.1 | 44 | |
![]() |
6.1 | 45 | Options: |
![]() |
1.1 | 46 | |
![]() |
6.1 | 47 | * number rpm – desired spindle rotation speed. |
![]() |
1.1 | 48 | |
![]() |
6.1 | 49 | ===== void SpindleStop() ===== |
![]() |
1.1 | 50 | |
![]() |
6.1 | 51 | Stop spindle rotation. |
![]() |
3.1 | 52 | |
![]() |
6.1 | 53 | ===== bool GetSpindleAutoStop() ===== |
![]() |
3.1 | 54 | |
![]() |
6.1 | 55 | Allows you to check if the option to automatically turn off the spindle when stopping the G-code execution is active. |
![]() |
3.1 | 56 | |
![]() |
6.1 | 57 | Return value: |
![]() |
3.1 | 58 | |
![]() |
6.1 | 59 | * true – if automatic spindle turn off when G-code execution is stopped is active. |