Halt and safe Z move
Posted: Wed Sep 29, 2021 11:15 pm
Hello,
I am having trouble getting the Z-axis to move to safeZ height after implementing a feedhold/halt in Gcode through a C program.
The purpose of the C program is to include thermal protection for the spindle and run the C-program when a thermal switch opens.
The program runs fine except that the spindle does not move up to a safeZ height.
i.e. it executes feedhold and halts the Gcode program and also turns spindle off but it does not raise the spindle.
Actually, it has executed on occasion including safeZ move, but 99% of the time it does not move Z-axis at all.
I can leave it as is but this creates potential to push the run button again, which will simply continue the G code without restarting the spindle. By making a Z-axis move the Gcode will not start without the 'restart' dialogue popup, allowing the user to review conditions and restart the spindle. This is safer, and is what I would like to achieve.
Help with this would be much appreciated.
I am using KStep and Konnect boards with KFlop board.
KMotion435f
Laurence
I am having trouble getting the Z-axis to move to safeZ height after implementing a feedhold/halt in Gcode through a C program.
The purpose of the C program is to include thermal protection for the spindle and run the C-program when a thermal switch opens.
The program runs fine except that the spindle does not move up to a safeZ height.
i.e. it executes feedhold and halts the Gcode program and also turns spindle off but it does not raise the spindle.
Actually, it has executed on occasion including safeZ move, but 99% of the time it does not move Z-axis at all.
I can leave it as is but this creates potential to push the run button again, which will simply continue the G code without restarting the spindle. By making a Z-axis move the Gcode will not start without the 'restart' dialogue popup, allowing the user to review conditions and restart the spindle. This is safer, and is what I would like to achieve.
Help with this would be much appreciated.
I am using KStep and Konnect boards with KFlop board.
KMotion435f
Laurence