Wiki source code of Поиск базы
Last modified by writer on 2022/11/03 16:41
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | ===== void DoHoming() ===== | ||
| 2 | |||
| 3 | Performing homing simultaneously for all axes. The function returns control after the homing of all axes is completed. | ||
| 4 | |||
| 5 | ===== void DoAxisHoming(number axisId) ===== | ||
| 6 | |||
| 7 | Perform homing for the specified axis. | ||
| 8 | |||
| 9 | Options: | ||
| 10 | |||
| 11 | * number axisId – axis number, an integer from 0 to 8 (one of the constants defined in the **[[Axes>>doc:Руководство пользователя.Описание M-кодов.Описание функций макроязыка.Управление осями.WebHome]] **list can be passed as this parameter). | ||
| 12 | |||
| 13 | ===== void DoAxesMaskHoming(number axesMask) ===== | ||
| 14 | |||
| 15 | Performs a base search simultaneously for the axes defined by the axesMask mask. | ||
| 16 | |||
| 17 | Options: | ||
| 18 | |||
| 19 | * number axesMask – axis mask, an integer in which bits from 0 to 8 indicate whether the corresponding axes are selected. | ||
| 20 | |||
| 21 | ===== bool IsAxisReferenced(number axisId) ===== | ||
| 22 | |||
| 23 | Allows you to check whether the home is searched on the specified axis. | ||
| 24 | |||
| 25 | Options: | ||
| 26 | |||
| 27 | * number axisId – axis number, an integer from 0 to 8 (one of the constants defined in the **[[Axes>>doc:Руководство пользователя.Описание M-кодов.Описание функций макроязыка.Управление осями.WebHome]] **list can be passed as this parameter). | ||
| 28 | |||
| 29 | Return value: | ||
| 30 | |||
| 31 | * true – if homing is performed; | ||
| 32 | * false – if homing is not performed. | ||
| 33 | |||
| 34 | ===== bool IsAxesMaskReferenced(number axesMask) ===== | ||
| 35 | |||
| 36 | Allows you to check whether the homing has been performed for all axes defined by the axesMask mask. | ||
| 37 | |||
| 38 | Options: | ||
| 39 | |||
| 40 | * number axesMask – axis mask, an integer in which bits from 0 to 8 indicate whether the corresponding axes are selected. | ||
| 41 | |||
| 42 | Return value: | ||
| 43 | |||
| 44 | * true – if homing is completed; | ||
| 45 | * false – if homing is not performed. | ||
| 46 | |||
| 47 | ===== void RefAllForced() ===== | ||
| 48 | |||
| 49 | Allows you to forcefully mark all axes as homing done. | ||
| 50 | |||
| 51 | ===== void RefAxisForced(number axisId) ===== | ||
| 52 | |||
| 53 | Allows you to forcefully mark specified axis as homing done. | ||
| 54 | |||
| 55 | Options: | ||
| 56 | |||
| 57 | * number axisId – axis number, an integer from 0 to 8 (one of the constants defined in the **[[Axes>>doc:Руководство пользователя.Описание M-кодов.Описание функций макроязыка.Управление осями.WebHome]] **list can be passed as this parameter). | ||
| 58 | |||
| 59 | ===== void RefAxesMaskForced(number axesMask) ===== | ||
| 60 | |||
| 61 | Allows you to forcefully mark axes specified by the axesMask as homing done. | ||
| 62 | |||
| 63 | Options: | ||
| 64 | |||
| 65 | * number axesMask – axis mask, an integer in which bits from 0 to 8 indicate whether the corresponding axes are selected. | ||
| 66 | |||
| 67 | ===== number GetHomeType() ===== | ||
| 68 | |||
| 69 | Allows you to check selected homing type from settings. | ||
| 70 | |||
| 71 | Return value: | ||
| 72 | |||
| 73 | * integer number denoting the selected homing type (0 - Z axis homing, then simultaneous homing of other axes; 1 - sequential homing staring from the Z axis; 2 - simultaneous homing of all axes). |