We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9715a17 commit b2aaf9cCopy full SHA for b2aaf9c
1 file changed
src/hal/components/plasmac.comp
@@ -7,7 +7,7 @@ A plasma cutting table control component for use with the LinuxCNC V2.8 or later
7
8
.I VERSION:
9
.br
10
-1.236
+1.237
11
12
.I SUMMARY:
13
@@ -2245,11 +2245,15 @@ FUNCTION(_) {
2245
cut_recovering = FALSE;
2246
feed_hold = FALSE;
2247
thc_delay_timer = thc_delay;
2248
- if(mode < 2){
2249
- voidlock_on_count = 0;
2250
- state = CUT_MODE_01;
+ if(cut_recovery){
+ if(mode < 2){
+ voidlock_on_count = 0;
2251
+ state = CUT_MODE_01;
2252
+ }else{
2253
+ state = CUT_MODE_2;
2254
+ }
2255
}else{
- state = CUT_MODE_2;
2256
+ state = IDLE;
2257
}
2258
2259
state = IDLE;
0 commit comments