icedragon_41005 Posted July 21, 2015 Share Posted July 21, 2015 I am having an issue with a program buffer reset command getting injected into an open buffer. Essentially I am downloading a program (with an open in the beginning and a close at the end) then issuing a b command to reset the program pointer. It is almost as if the program download is being reported as complete before the close executes. Is there some way of telling when there is a buffer open so that I can suspend all communication until the close has occurred? Link to comment Share on other sites More sharing options...
steve.milici Posted July 21, 2015 Share Posted July 21, 2015 Bit 19 of the "???" command is for this purpose - it is an on-line command only so it is never buffered. This bit is 1 if any motion program buffer (PROG or ROT) is open for entry. It is 0 if none of these buffers is open. Link to comment Share on other sites More sharing options...
icedragon_41005 Posted July 21, 2015 Author Share Posted July 21, 2015 I am having an issue with a program buffer reset command getting injected into an open buffer. Essentially I am downloading a program (with an open in the beginning and a close at the end) then issuing a b command to reset the program pointer. It is almost as if the program download is being reported as complete before the close executes. Is there some way of telling when there is a buffer open so that I can suspend all communication until the close has occurred? This works thank you for your help. Link to comment Share on other sites More sharing options...
Recommended Posts