Wiki source code of Плазменная резка
Last modified by writer on 2023/09/08 18:37
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | ===== bool Is_THC_Mode() ===== | ||
| 2 | |||
| 3 | Checks if PUMOTIX is in plasma cutting mode. | ||
| 4 | |||
| 5 | Return value: | ||
| 6 | |||
| 7 | * true – if PUMOTIX is in plasma cutting mode; | ||
| 8 | * false – if another mode is active. | ||
| 9 | |||
| 10 | ===== bool IgnoreMovesZ() ===== | ||
| 11 | |||
| 12 | Allows you to check whether the setting in the user interface is active, in which displacements along the Z axis from the G-code are ignored, and are set only from macros based on cutting parameters. | ||
| 13 | |||
| 14 | Return value: | ||
| 15 | |||
| 16 | * true – if the mode is active; | ||
| 17 | * false – if the mode is off. | ||
| 18 | |||
| 19 | ===== number GetTHCCuttingFeed() ===== | ||
| 20 | |||
| 21 | Obtaining the cutting feed rate specified in the plasma cutting parameters. | ||
| 22 | |||
| 23 | Return value: | ||
| 24 | |||
| 25 | * cutting feed rate, mm/min. | ||
| 26 | |||
| 27 | ===== number GetProbeFeed() ===== | ||
| 28 | |||
| 29 | Obtaining the material search speed specified in the plasma cutting parameters. | ||
| 30 | |||
| 31 | Return value: | ||
| 32 | |||
| 33 | * material search speed, mm/min. | ||
| 34 | |||
| 35 | ===== number GetProbeRadius() ===== | ||
| 36 | |||
| 37 | Getting the radius of the search material specified in the parameters of plasma cutting. | ||
| 38 | |||
| 39 | Return value: | ||
| 40 | |||
| 41 | * material search radius, mm. | ||
| 42 | |||
| 43 | ===== number GetPierceHeight() ===== | ||
| 44 | |||
| 45 | Obtaining the ignition height of the arc specified in the plasma cutting parameters. | ||
| 46 | |||
| 47 | Return value: | ||
| 48 | |||
| 49 | * arc ignition height, mm. | ||
| 50 | |||
| 51 | ===== number GetSafeZ() ===== | ||
| 52 | |||
| 53 | Obtaining the height of single crossings specified in the plasma cutting parameters. | ||
| 54 | |||
| 55 | Return value: | ||
| 56 | |||
| 57 | * height of single crossings, mm. | ||
| 58 | |||
| 59 | ===== number GetNozzleHeight() ===== | ||
| 60 | |||
| 61 | Obtaining corrections for nozzle height specified in plasma cutting parameters. | ||
| 62 | |||
| 63 | Return value: | ||
| 64 | |||
| 65 | * correction for nozzle height, mm. | ||
| 66 | |||
| 67 | ===== number GetCuttingHeight() ===== | ||
| 68 | |||
| 69 | Obtaining the working cutting height specified in the plasma cutting parameters. | ||
| 70 | |||
| 71 | Return value: | ||
| 72 | |||
| 73 | * working cutting height, mm. | ||
| 74 | |||
| 75 | ===== void SetTorchOn() ===== | ||
| 76 | |||
| 77 | Turn on the torch. | ||
| 78 | |||
| 79 | ===== void SetTorchOff() ===== | ||
| 80 | |||
| 81 | Turn off the torch. | ||
| 82 | |||
| 83 | ===== void RegDisable() ===== | ||
| 84 | |||
| 85 | Enabling height adjustment lock Z. | ||
| 86 | |||
| 87 | ===== void RegEnable() ===== | ||
| 88 | |||
| 89 | Disabling height adjustment lock Z. | ||
| 90 | |||
| 91 | ===== bool IsSimulationMode() ===== | ||
| 92 | |||
| 93 | Allows you to check whether the execution mode of the UE is active in the simulation mode(without ignition of the cutting torch). | ||
| 94 | |||
| 95 | ===== number GetSimulationHeight() ===== | ||
| 96 | |||
| 97 | Obtaining the height at which the cutting simulation specified in the settings of the simulation mode will take place. | ||
| 98 | |||
| 99 | Return value: | ||
| 100 | |||
| 101 | * cutting simulation height, mm. | ||
| 102 | |||
| 103 | ===== number GetSimulationFeed() ===== | ||
| 104 | |||
| 105 | Receiving the feed with which the cutting simulation specified in the settings of the simulation mode will take place. | ||
| 106 | |||
| 107 | Return value: | ||
| 108 | |||
| 109 | * cutting simulation feed, mm/min. | ||
| 110 | |||
| 111 | ===== bool SimulationMarking() ===== | ||
| 112 | |||
| 113 | Allows you to check whether sheet layout mode for simulation mode is enabled. | ||
| 114 | |||
| 115 | Return value: | ||
| 116 | |||
| 117 | * true – if sheet layout mode is enabled; | ||
| 118 | * false – otherwise. | ||
| 119 | |||
| 120 | ===== number GetProbeStartHeight() ===== | ||
| 121 | |||
| 122 | Getting the height of the beginning of probing specified in the plasma cutting parameters. A value of 0 means that rapid lowering to the height of the start of probing is disabled. | ||
| 123 | |||
| 124 | Return value: | ||
| 125 | |||
| 126 | * height of the beginning of probing, mm. | ||
| 127 | |||
| 128 | ===== void SetTorchOnNoPierce() ===== | ||
| 129 | |||
| 130 | Turn on the torch without delaying the punching of the sheet. | ||
| 131 | |||
| 132 | ===== bool IsNoPierceMode() ===== | ||
| 133 | |||
| 134 | Allows you to check whether the quick ignition mode is enabled without delay for punching while continuing to execute the G-code from the middle of the frame. | ||
| 135 | |||
| 136 | Return value: | ||
| 137 | |||
| 138 | * true – if the quick ignition mode is on; | ||
| 139 | * false – otherwise. | ||
| 140 | |||
| 141 | ===== bool IsPendingMCode() ===== | ||
| 142 | |||
| 143 | Allows you to check whether the [[(% style="color:#8d69b2" %)**M3**>>doc:Руководство пользователя.Описание M-кодов.Стандартные M-коды модуля плазменной резки.WebHome]](%%) macro is executed after the preparation move or from the G-code line containing the [[(% style="color:#8d69b2" %)**M3**>>doc:Руководство пользователя.Описание M-кодов.Стандартные M-коды модуля плазменной резки.WebHome]](%%) command. | ||
| 144 | |||
| 145 | Return value: | ||
| 146 | |||
| 147 | * true – if the macro runs after a preparatory move; | ||
| 148 | * false – if the macro is executed from a G-code line. | ||
| 149 | |||
| 150 | ===== bool UseOmichSensor() ===== | ||
| 151 | |||
| 152 | Allows you to check if the use of the PLL-R2 ohmic sensor is enabled in the settings. | ||
| 153 | |||
| 154 | Return value: | ||
| 155 | |||
| 156 | * true – if the use of the PLL-R2 ohmic sensor is enabled. | ||
| 157 | |||
| 158 | ===== number GetOmichSensorDelta() ===== | ||
| 159 | |||
| 160 | Obtaining the dZ correction value specified in the ohmic sensor settings. | ||
| 161 | |||
| 162 | Return value: | ||
| 163 | |||
| 164 | * the dZ correction value specified in the ohmic sensor settings. | ||
| 165 | |||
| 166 | ===== void SetOmichSensorDelta(number value) ===== | ||
| 167 | |||
| 168 | Setting the dZ correction value for the ohmic sensor. | ||
| 169 | |||
| 170 | Options: | ||
| 171 | |||
| 172 | * number value – the dZ correction value for the ohmic sensor. |