I spend a lot of time editing and adding programs that were made by other people. Is there a way to insert a stop command in the program so I had have the program run to a certain point then stop. I know other CMM OS's have this feature. I didn't see it in PC DIMS. I have version 2022.2.
So you can "BREAKPOINT" a spot in the routine with (CTL+B). which will stop the execution wherever the red circle is placed within the edit window.
You can just earmark the code with a "Bookmark" (CTL + F2), which will make a teal color wherever the cursor is when you select the command. It won't stop the routine however.
You can also create a comment which will pause the execution until a user affirms the comment with a mouse click or the enter/spacebar on the jogbox or keyboard: COMMENT/OPER or COMMENT/YESNO or COMMENT/INPUT (will allow you to add operator entry data you can use as an assign or report value)
I do comments all the time. If I add features / edit a prg when the change is coming up I have the comment stop the prg, so you can let it run at full speed and when the prg stops, you can move forward cautiously with the jogbox in hand. I do the same after all my changes are completed so I can then let the prg run out on its own and I dont need to baby sit.