PRASADTONAPE Posted February 3, 2015 Share Posted February 3, 2015 Hello, We want to use Rotary Buffer feature for the very first time for one of our CNC Machine. For the same,we have generated a motion program & downloaded to Rotary Buffer. Now we want to check for the "PR" command only after the certain number of lines are executed by Turbo PMAC2-Clipper.We observed that the "PR" value remains same inbetween the execution of rotary motion program.Pl guide How to get the proper value of PR command?? Present Configuration of I variables and sequence of program downloading is: 1)I16=5 2)I17=10 3)I5113=0 4)I5120=10 5)&1 DEF ROT 500 (Rotary buffer is defiened with &1 CS) 6)Downloaded NCProgram of 42 lines through PEWIN PRO2 Editor. 7)After Downloading of NCProgram PR value is read as 34. 8)Then "B0R" Command is issued. And read the value of "PR" is same to 34 during the execution of program. (We have ensured that Motion Program is getting executed properly but PR value is not getting changed during execution of Program) Pl guide how to get the updated PR value? If any addition setting of I/M variables are reqd ? If possible can u send us any sample program for the same ? Aprecaite your support & guidance in advance. Thanks & Regards, Prasad Tonape, Shashwati Dhabekar, shashwati.dhabekar210@gmail.com. Link to comment Share on other sites More sharing options...
steve.milici Posted February 3, 2015 Share Posted February 3, 2015 The "PR" command must be executed while the buffer is open in the addressed CS you can then immediately close the buffer. This can be done in a single line as in: "&1 open rot PR close" You can put this in a watch window as a test. Link to comment Share on other sites More sharing options...
PRASADTONAPE Posted February 4, 2015 Author Share Posted February 4, 2015 The "PR" command must be executed while the buffer is open in the addressed CS you can then immediately close the buffer. This can be done in a single line as in: "&1 open rot PR close" You can put this in a watch window as a test. Thanks Steve. Link to comment Share on other sites More sharing options...
Recommended Posts