Greetings; I am trying to knock up a holefinder using G38.2's to find the sides of a hole in the hub of a timing pulley.
My lathe has decided it won't run the spindle motor despite my seeing the drive signals activity in the LED's on the BOB. If I have to wrestle that 300+ lb toolbox its sitting on, out and turn it around far enough to access the doghouse I built on the back of the head, it IS going to get a new head with the all metal gears kit in it, and an XL pulley on the countershaft drive, and an ALU, much smaller & lower speed XL pulley on the end of the 3/1 countershaft between the motor and this troublesome pulley I keep burning up. And its this new pulley that is an 8mm bore, that needs to go out to a 9mm bore, or I take the jackshaft out and take it someplace that can trim it's OD down to 8mm and restore the keyway. The diff I don't like. Its easier IMO to bore the sprocket. This will however leave it with a pretty thin wall. So I am trying to get my bore job as well centered as the machine can measure. If it later breaks, its too small and I'd like to get a few rpms back, so the pulley can then be replaced with a higher tooth count and the belt stretched by half the inscrease in the tooth count. At that point, I don't mind making a shaft with a 10 or 12mm nose so I can order a stock pulley at 30% of the cost of a custom bored 9mm now. But here is my new problem. The machine has been homed, and about 15 lines of code written that assumes its at 0,0,0 (all balls) home, which it is, then drives the machine to where I just manually drove it to put the touch bit inside the hub, full length of it. I have now written 2 lines of code that SHOULD, without moving the machine, put the G55 and G56 maps at all balls, AND zero the DRO too. Running the code, with a G4 P5 after the G55, and again after the G56 commands, results in the MDI screen never changing from the offsets developed by my driving the machine to the location it should start searching for side of hole contacts. Its mode display should show a g55 for 5 seconds, and a G56 for 5 seconds. But they are ignored. The spindle starts in reverse at about 100 rpm, runs for 10 seconds and shuts down. If its "in the hole" no machine motion takes place. I am doing 2 co-ord maps, G54 (G10 L2 P1) at the home position, and once it reaches the working position, a G55 reset (I think, its a G10 L2 P2 x0.000000 y0.000000 z0.000000 Executing the g55 or g56 from the mdi after it has run, changes nothing except the mode thats displayed. The DRO is unaffected. I have also did the G10 L2 P2 while it was in the G55 or G56 modes, zero effect on the DRO. What I want to do is convince the machine it is at 0,0,0, including the dro, without diddling the machines limits as set in the ini file. In my checking here, the G92 family seems to reset the G53 (machine internel co-ordinates) map too, cheerfully ignoring the effect that has on the software set in the .ini file machine limits. And the only real recovery is to nuke the linuxcnc.var file while its not running, and home it truely from scratch when invoked. Thats a PIMA. Doesn't calculate etc. I am obviously missing something, but what? Latest 2.8.0pre installed. I check daily & update if its available. 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> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
