On Friday 31 March 2017 10:44:48 Joe Hildreth wrote: > Gene, > > I commented out the following variables: > > [EMCMOT] section > COMM_TIMEOUT = 1.0 > COMM_WAIT = 0.010 > > [TRAJ] section > CYCLE_TIME = 0.010 > > Fired up the machine with the link on the desktop and didn't see any > warnings or anything through the axis gui. Was able to jog all three > axis of the machine. I didn't have time before leaving for work to do > any more testing. (After reading your response a second time, I see > you also removed the CYCLE_TIME for [EMCIO]. That was not one I was > asking about because I found it in the INI documentation. although I > see your point.) > > My setup is parport driven stepper system with configs created by > stepconf using the axis gui. I launched the controller with the link > that stepconf placed on the destop. Should I be starting it from > command line to see the error you have or something else? > I have not started LCNC from the gui in better than a decade, I always have an open terminal, and type "linuxcnc -l", w/o the quotes, which runs the last selected config. So I see a bit of checking and debugery on that screen as it starts and/or stops. It currently shows this:
gene@shop:~/linuxcnc/configs/my-mill-atom-3$ linuxcnc -l LINUXCNC - 2.8.0-pre1-2948-g5405b9e Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-3' Machine configuration file is 'my-mill-atom-3.ini' Starting LinuxCNC... . Found file(REL): ./my-mill-atom-3.hal note: MAXV max: 0.290 units/sec 17.400 units/min note: LJOG max: 0.290 units/sec 17.400 units/min note: LJOG default: 0.200 units/sec 12.000 units/min note: AJOG max: 40.000 units/sec 2400.000 units/min note: AJOG default: 20.000 units/sec 1200.000 units/min note: jog_order='XYZA' note: jog_invert=set([]) task: main loop took 0.114146 seconds Shutting down and cleaning up LinuxCNC... task: 7260 cycles, min=0.000056, max=0.114146, avg=0.005173, 1 latency excursions (> 10x expected cycle time of 0.005000s) gene@shop:~/linuxcnc/configs/my-mill-atom-3$ I have a 5i25 laying in front of that machine which I intend to put in that box sometime this summer. That, and another 10 volts of motor power, will triple the speed of an air cut. In your ini file, there is a debug enable setting, which can make the terminal show a lot more info than is shown above, see the docs for a very terse description of what does what. Thats not saying I detest the gui, but because I'm getting more capable at pyvcp stuffs, my axis gui keeps adding more things that will be or are usefull on that machine. Like on this lathe I'm rebuilding and converting, now has a spindle tach, 3 buttons under that to tally motor power and spindle direction if its on and turning, and now two more below that to show the currently selected size of the move for one detent click/move of the dials I put on the front of the apron. Still not done with that, but making progress ATM rebuilding the countershaft because someone back in the mists of time, changed the spindle drive belts and re-installed the spindles drive pulley backwards on the shaft, so that when the belts were aligned, the pulley missed the key, threw it away, leaving the setscrew to try and hold it from slipping. Horrible failure, and both the shaft and the pulley bore were eat out by the slippage. So I am fitting it with a taperlock hub, currently clamped down on the mill table with counterbores in the flange for the draw screws yet to be bored, and the tapping of the holes which will be done by rigid tapping on the mill. No hurry as amazon won't ship the last of the bearings for at least another 2 weeks. The manual I have on this style of drive says the two shafts are spinning in a pair of needle roller cartridges on each end of each shaft, but when I took it apart, they were bronze bushings and running too hot regardless of the grease I pumped in. > John suggest I open an issue on this but want to make sure I am not > including something that I shouldn't or vice versa before I do. Thats the procedure, serving as a reminder that something needs some TLC. Some of my own code could stand a lot of that. OTOH, like this, it works anyway. :) But getting rid of cruft is always a good thing. I often long for the days when every byte of code had a memory cost, it made us carefull when memory was $400 for 4k of static. > Regards. > > Joe Hildreth > > > Interesting comment, John K. > > > > So I fired up the editor and took both CYCLE_TIME settings in the > > .ini file out of the ini file for my small mill. > > > > On running it, trajectory did not complain, but emcio did, saying it > > was useing the default timing of .01 seconds, same as the ini file > > setting. That did not prevent it from running. So I restored that > > one, but left it commented out in the [TRAJ] section. > > > > Based on that, the [TRAJ] section CYCLE_TIME could probably go away. > > > > But does changing the one in [EMCIO] actually do anything in the way > > of optimizing things better when generating motor steps in software? > > Or conversely in a 5i25 or work-alike card where there is not a base > > thread? > > > > Whomever has kicked those "tires" recently should be able to > > comment. Adding to the wiki files under EMCIO would also be a nice > > clarification. > > ---------------------------------------------------------------------- >-------- Check out the vibrant tech community on one of the world's > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
