kramrellim Posted January 28, 2016 Share Posted January 28, 2016 I need some help setting up the Feed per Rev with the NCpro software. Here's what I have. Umac Motor #5 is my spindle. Max speed is 300rpm. I have 270000 cts per rev. I'm processing the encoder in the encoder conversion table at entry #15 "Timebase conversion with scaled differentiation" The processed data Address is $3515. Looks like there are some addressing in the OEM.h file that needs to be changed? Also, The NC setup will not allow a Max rpm of less than 1000. I force this value in the spindle plc. Any help would be appreciated. Link to comment Share on other sites More sharing options...
steve.milici Posted January 28, 2016 Share Posted January 28, 2016 The "feed per rev" feature is automatically setup in the generated code by NC Setup. There are many places where this is placed into the code. To do this manually is not recommended nor is it documented. NC Setup should allow the setting for Max RPM. Do you get an error response? Link to comment Share on other sites More sharing options...
kramrellim Posted January 28, 2016 Author Share Posted January 28, 2016 The "feed per rev" feature is automatically setup in the generated code by NC Setup. There are many places where this is placed into the code. To do this manually is not recommended nor is it documented. NC Setup should allow the setting for Max RPM. Do you get an error response? The NC Setup program would not allow a value of 300 in the Max rpm field. I realize the spindle.plc and override.plc are created automatically by the NC setup. I don't want to edit them. The address mapping does not seem to be changed in the OEM.h file based on the infomation supplied in the NC Setup program. The Nc setup program does not ask about the Encoder registry that you are using. Link to comment Share on other sites More sharing options...
steve.milici Posted January 28, 2016 Share Posted January 28, 2016 The basic FPR functionality is in "OVERRIDE.PLC" and "OEM.H". See the following: FPR_TIMEBASE_M SPND_TIMEBASE_M FPR_SCALE_M FPR_TIMEBASE FPR_TIMEBASE_ADR SPND_TIMEBASE_ADR FPR_SCALE_ADR You can modify VS_SPINDLE_MAX_RPM_M and VS_SPINDLE_MAX_LIM_M in "SPINDLE.PLC" Link to comment Share on other sites More sharing options...
Recommended Posts