Spotting Qtplasmac
- paulsao
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 233
- Thank you received: 22
21 Oct 2021 18:32 #223830
by paulsao
Replied by paulsao on topic Spotting Qtplasmac
Here is the Gcode structure for spotting, it would be helpful if you help me see the gFormar.format structure, which is an array that contains the commands.
if (centerPunch) {
writeComment("CENTER PUNCH THE HOLE ONLY");
//writeBlock(feedOutput.format(99999));
writeBlock(mFormat.format(3), $Format.format(2), sFormat.format(1)); //start the torch
writeBlock(gFormat.format(91));
writeBlock(gFormat.format(1), xOutput.format(0.00001));
writeBlock(gFormat.format(90));
//writeBlock("F#<_hal[plasmac.cut-feed-rate]>");
//writeBlock(gFormat.format(0));
}else {
if (centerPunch) {
writeComment("CENTER PUNCH THE HOLE ONLY");
//writeBlock(feedOutput.format(99999));
writeBlock(mFormat.format(3), $Format.format(2), sFormat.format(1)); //start the torch
writeBlock(gFormat.format(91));
writeBlock(gFormat.format(1), xOutput.format(0.00001));
writeBlock(gFormat.format(90));
//writeBlock("F#<_hal[plasmac.cut-feed-rate]>");
//writeBlock(gFormat.format(0));
}else {
Please Log in or Create an account to join the conversation.
- paulsao
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 233
- Thank you received: 22
21 Oct 2021 19:27 #223833
by paulsao
Replied by paulsao on topic Spotting Qtplasmac
Please try it if you can all the possible operations now I'm out of time, I tried some and it seems to work

Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5723
- Thank you received: 2095
21 Oct 2021 22:09 #223842
by phillc54
Replied by phillc54 on topic Spotting Qtplasmac
It may well be that the PP uses a common M5 at the end of every operation. You could change that to M5 $-1 and it will work for all operations.
The following user(s) said Thank You: paulsao
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.061 seconds