Hello Guest it is March 28, 2024, 01:17:53 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - panaceabeachbum

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »
311
General Mach Discussion / feed hold switch question
« on: January 09, 2008, 08:43:54 PM »
I am trying to finish up the re-fitt of one of my machines from desk to mach and I am down to just the cycle start switch and feed hold.
 
Looking at the OEM codes I see 1000 for cycle start , is setup of this switch as simple as assigning the port and pin  my cycle start switch is attached to at OEM Trig 1 in inputs/ports and pins along with 1000 in the hotkey window?

My feedhold switch is a normaly open latching type switch so in desk when its pushed in the pin its attached to is grounded and the feed is paused until the switch is pushed again , unlatching the switch and opening the circuit. is this the type switch needed to work with mach or do I just need a momentary like the cycle start and estop switches?

312
General Mach Discussion / Re: Mach3 ignores Feed Speed
« on: January 01, 2008, 07:48:29 PM »
I am having a similar problem  on occasion, I can run the file the first time after mach is launched and it follows the feed rates called out but when I run the code the second time it does all moves at the rapid speed until I turn mach off and restart it. I can usualy reboot the computer and it clears up

313
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 19, 2007, 11:48:23 AM »
I think I have figured out where my confusion was, I was thinking the max speed value in pulley set up was just a limit on the maximum speed the software would allow but its actualy the speed at which the full 10 volts is avail thru the analog out put. I had the value set at 20k so I had to have s20000 to get a full 10v out, reset it to 3000 and its now in the range I was looking for

314
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 19, 2007, 11:20:34 AM »
yes I have the 12v power supply attached  to the analog side. 
I set up the spindle pulleys as reccomended and am now getting the values I need, I guess I dont fully understand setting up the pulley ratios. Thanks For all the help

315
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 19, 2007, 09:00:55 AM »
I am using a 2hp Baldor three phase AC motor and a teco FM100 VFD . My Encoder(pulse generator) is on the spindle. I am currently running it 1 to 1 to avoid any confsion , the pulley ratio in mach is set for 1 to 1 also. Mach is reading the spindle speed from the pulse generator and I am verifying the readings with an optical tach at both the motor output shaft and the spindle. The encoder is giving accurate readings in mach. My problem is the VFD is looking for a signal between 1 and 10 volts to vary the speed from 400 rpms to 2200 rpms as measured at the motor output shaft and I cant get a high enough voltage out of my analog output unless I have some wild speed entered like 10,000 rpms


My only problem currently is getting the speeds called out (s***) to give me a suitable voltage at the analog out put on the cnc4pc breakout board.  Any value under s1000 has an output of less than 1 volt which is not high enough to even get the motor to turn I have to enter values like s20000 or higher to get the full 10 volts from the analog output.
Does anyone have any thoughts on how I might be able to adjust the output voltage to be in the range needed for the speeds I am calling out , I need values more like 2volts when s150  but currently have to enter a value of s3000 to get 2 volts at the analog output terminals on the cnc4pc board. I can do the fine tunning in the vfd if I can just get it in the right range.

I also wonder how to get the pulse width value in motor configuration to remain constant and not drop by 1 each time the motor config window is opened

316
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 18, 2007, 06:13:01 PM »
the spindle speed creaping up slowly seems to only happen when I have the closed loop spindle control box checked, since S2000 yeilds about 180 actual rpms it makes sense that it just gradualy increasing the speed trying to get the actual speed to match the specified speed.

When I make a change in the pulse width box in motor configuration I can enter a figure as high as 25 but it doesnt seem to help get my actual speed closer to the specified speed, realistic speed callouts ov 100-300 rpms only yeild an output voltage of a few milivolts at the analog out put on the cnc4pc board. Also the value entered in the pulse width box drops by one each time the motor config window is opened and closed.
on the plus side I am getting really good at navigating all the setup windows in mach:)

317
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 18, 2007, 04:50:29 PM »
I will try that in just a minute, I did not know it was possible to go that high, the documentation says 1-5 so I had not tried a higher value, that might solve my problem. I am using v2.61

I do have both spindle feed back and closed loop checked . Does g76 base the z axis feed rate on the actual spindle speed or the value entered in the wizard when generating the g-code?  Reason I ask is I generated a file at S100 , deleted the spindle speed line in the gcode and ran the spindle up to 200 rpm then ran the code , it cut a nice set of threads at aprox 19tpi, I ran the same file at 400 rpms and it cut decent threads at 9.5 tpi

318
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 18, 2007, 03:09:50 PM »
the port is built in the motherboard, when I put the encoder on pin 12 I  moved my optical home for x axis to 13 and it seems to work fine, tried it on 15 , works there also. Now just the spindle speed issue. I dont mind entering huge speed values like s7000 to turn at 300 rpms as long as the threading feature will work properly. I assume the z axis advances a a set distance per revolution based on the actual spindle reading and P.** setting in G76 and I can generate my threading files and then edit the S*** to what ever value I need to get my spindle turning at 150-200 rpms

I also notice that settings change randomly when I exit mach, reboot and restart the software , I choose the setting for mach to zero x and z axis automaticly when I home the machine but this feature is turned off everytime I restart the software. Also  If I set the pulse width to 5 in motor setup, save settings when I re-open the motor config window the pulse width has changed to 4, click OK, open it again and its reset to 3 , drops one everytime the motor settings window is opened then closed

319
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 18, 2007, 02:09:22 PM »
I moved the encoder as reccomended earlier from pin 15 to 13, no change , decided to try it on pin 12 and its working perfectly now, reading dead on with my handheld optical tach so thats now working properly . Now just to figure out this spindle speed issue

320
General Mach Discussion / Re: Need a little spindle encoder timing help
« on: December 18, 2007, 01:15:24 PM »
I have that value on the screen set at 100%
I just hooked the meter to the analog out put and the voltages present are .02 volt higher when the VFD is disconnected . I changed the pulse width to 5 in motor/ spindle config , left # of steps set at 1000 as reccomended in the cnc4pc setup document . With the meter attached to the analog out put on the board I get .1 v at s500, .2 volts at s1000 , 1.9v at s5000 , 3. volts at s10000 which rises to 10.7 volts over 20 seconds , 5.9 volts at s20000 which rises to 10.7 over 10 seconds.  The motor wont start with a speed input of anything less than s2500 which outputs 1.02 volts to the vfd

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »