tzqdo Posted August 11, 2011 Share Posted August 11, 2011 I'm pluzzed and lost in the 768-paged TURBO SRM. 1.How to count the running time? 2.Is there a way to do some logging into the card? If there already is a log in the card, how to fetch it? Any input is wished and helpful! Link to comment Share on other sites More sharing options...
curtwilson Posted August 11, 2011 Share Posted August 11, 2011 tzqdo: In Turbo PMAC, register X:$0 (suggested M-variable M0->X:$0,0,24) counts up once per servo cycle starting at power-on/reset. This is what most people use for the running time. Note that as a 24-bit register, it rolls over after 16 million servo cycles -- about 2 hours at the default servo update rate. I am not sure what you mean by logging. Can you clarify please? Link to comment Share on other sites More sharing options...
tzqdo Posted August 11, 2011 Author Share Posted August 11, 2011 tzqdo: In Turbo PMAC, register X:$0 (suggested M-variable M0->X:$0,0,24) counts up once per servo cycle starting at power-on/reset. This is what most people use for the running time. Note that as a 24-bit register, it rolls over after 16 million servo cycles -- about 2 hours at the default servo update rate. I am not sure what you mean by logging. Can you clarify please? Thanks for your input.Your sugesstion is very good and cleary, I also find in the SRM that the coordinate timer plays a similary role. The rolling over problem may be resolved by updating three golbal registers when the timer overflows in which the hours,minites,and seconds are stored, respectively. The second question,that is,I wonder if pmac maintains a log itself, in the log some information just like the received code file name and the time can be recorded. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted August 12, 2011 Share Posted August 12, 2011 Whenever you download a file to PMAC from the host PC, a .LOG file is generated in the same folder as the file you downloaded. This file is stored on the host, not on PMAC. Link to comment Share on other sites More sharing options...
tzqdo Posted August 14, 2011 Author Share Posted August 14, 2011 Whenever you download a file to PMAC from the host PC, a .LOG file is generated in the same folder as the file you downloaded. This file is stored on the host, not on PMAC. OK,I get it.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts