Search found 32 matches

by jackgiz
Wed Aug 28, 2024 1:57 am
Forum: C Programs
Topic: Y Squaring Program
Replies: 2
Views: 7434

Re: Y Squaring Program

Hi Tom,
That was it. Thanks.
Jack
by jackgiz
Sun Aug 25, 2024 3:29 am
Forum: C Programs
Topic: Y Squaring Program
Replies: 2
Views: 7434

Y Squaring Program

Hi Tom, In the process of getting my Spindle working and using the Console Screen I noticed an error message every time I ran the Simple Home Index with Auto Squaring program. Funny thing is the program seems to square my Y axis just fine. Z and X zeroing work fine. Squaring the Y axis at fast speed...
by jackgiz
Thu Aug 15, 2024 12:05 am
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, That was it (insert fireworks here) Changing the frequency and changing the FACTOR to .0000442 gave me almost perfect linear voltage (or close enough for making sawdust) on my 24,000 RPM spindle. 2.47V at 6000 5.0V at 12000 7.70 at 18000 10.00 at 24000 Thank you so much. You have the patienc...
by jackgiz
Wed Aug 14, 2024 5:00 pm
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, I think I found something. if I use the Jog command on the console I can vary the voltage. Jog6=.1 0 volts Jog6=.2 .24 V Jog6=.4 .29 V Jog6=.6 .44 V Jog6=.8 2.71 V Jog6=1 9.91 V Not very linear and looks like I need a pretty small FACTOR. Using .0001 as the FACTOR I can now duplicate the Jog...
by jackgiz
Wed Aug 14, 2024 3:36 pm
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom,
One other thing, if I reduce the MAXPWM the voltage also reduces but still will not vary with different speed inputs.
by jackgiz
Wed Aug 14, 2024 2:32 am
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, Sorry to keep being a pain. somehow you are not running the program you think you are How embarrassing. Now the print statement prints tons of meaningless lines so I know the function is work. I removed the print statement. This made a big difference: FPGA(IO_PWMS + 1) = 1; I connected the C...
by jackgiz
Mon Aug 12, 2024 10:16 pm
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, Appears that I'm making baby steps. I changed the S back to Execute Prog to run the mill jog program. All 4 programs are set the Var 1. Is that correct? See attachment 1. I changed the init program back to channel 6 and did the Step Response as shown in your example. See attachment 2. AIso c...
by jackgiz
Sun Aug 11, 2024 8:26 pm
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, I set up channel 6 as a DAC output with the same settings in the example. That didn't work so I used channel 7 thinking that might make a difference. I set the S command in KmotionCNC to DAC with the settings in the example. See attachment 1. I followed the "Setup Gcode 4 Axis PWM SignMag.c"...
by jackgiz
Sun Aug 11, 2024 2:56 am
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom,
Thanks for the reply. There appears to be a problem with the link you provided. When clicking on it I just get "The requested page could not be found."
Jack
by jackgiz
Thu Aug 08, 2024 12:52 am
Forum: Hardware Interface Issues
Topic: Spindle Interface II
Replies: 19
Views: 19867

Re: Spindle Interface II

Hi Tom, My CNC programming has been on the back burner for awhile. I've been manually turning my spindle on and off and setting the speed but I want to get things talking together. Right now I have 2 problems. Using the programs in the C Programs directory and your previous help I can turn the spind...