Quantcast
Channel: CNCzone.com- Largest Forums for CNC Professional and Hobbyist alike!
Viewing all articles
Browse latest Browse all 72891

KmotionCNC - Sending information to user program?

$
0
0
Hi,
Servo's are tuned up, a little feed-forward gain, I gain around .011, and the response looks great!

Now,

to control my spindle, I have an enabling relay driven by the relay driver outputs... and a DAC that sends an analog signal to the spindle drive to tell it what speed to run at. I can't just wire this relay "on", as it is what prevents my spindle draw-bar from opening if the spindle is turning.

To run CW @ 3500 (100% speed) I need to send a -10V signal to the drive.
To run CCW @ 3500, the signal would need to be +10V.

I can't seem to see how to set this up in the Kmotion screen. I also can't figure out how to pass the speed and direction to a user program. If I could pass the direction and speed to a user program, I'd have no problem getting this working. Is there a way to do this? I'm a bit confused about how to use the "Persist.UserData" to make this work.

Any ideas?

Thanks again!
-Nick

Viewing all articles
Browse latest Browse all 72891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>