The issue is that plunge rate is entered in the tool and that shows up in the toolpath. The water jet wants to see that number to determine how long it holds in place to pierce the work. It needs it to be displayed as a prefix "S" followed by time in seconds and finally a period. I had been just hard coding a 2 second default time as I only cut glass but recently found some circumstance where I need different vaules. It is also more user friendly to get it to work correctly.
Code: Select all
[// variables: Change Plunge Rate prefix from F to S
// name, ID, always, prefix, decimals, options
this.registerVariable("plungeRate", "FP", true, "S", 0);
For each remaining toolpath the Waterjet needs a pierce time.
M3
M8
G [FP].
And this is were it falls apart. I have red lined the gcode in a word document highlighting the first few problem instances. The first instance displays the value for Feed Rate and not Plunge Rate.
Code: Select all
M3
M8
G4 S240. Wrong value, should be as above "S2." but instead it grabbed the feed rate value from toolpath 1 "240"
Version:
3.27.8.0 (3.27.
Internet:
QCAD.org
Build Date:
Oct 6 2022
Revision:
dea3962
Qt Version:
5.13.2
Architecture:
x86_64
Compiler:
MSVC++ 14.0 (2015)