![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello, I am a beginner working with a motenc-lite board to control a XYZ axis + spindle milling machine (servo motor). I want to connect the DAC3 output to the spindle so that I can control the speed of the spindle by codes like S500. Currently the DAC1, 2 and 3 outputs are connected to provide voltages to X,Y,Z axis. What should I set in my hal files in order to give out analog voltage signals from DAC3 output to the spindle? Thank you so much. Jacky |
|
#2
| |||
| |||
| I will take a stab.. Net spindle-speed-cmd motion.spindle-speed-out => motenc.0.dac-03-value # this should be the ratio between your rpm vs S command. setp motenc.0.dac-03-gain 1 there is an offset also you may have to play with setp motenc.0.dac-03-offset 0 |
|
#3
| |||
| |||
| Thank you samco ![]() Currently I can get +/- 10V from DAC3 if I set the spindle move forward or reverse. However, I am still not able to see the voltage change when I increase or decrease the speed of the spindle. Is there any way to do it? Thanks |
|
#6
| |||
| |||
| By the way, I have another question regarding to the I/O setting. In the I/O.hal, the default for amp enables are: # Connect amp enables to motion controller. linksp Xenable => motenc.0.out-08 linksp Yenable => motenc.0.out-09 linksp Zenable => motenc.0.out-10 Since my milling machine only provides one amp connector for all X,Y and Z axis, is there any way that I can connect them into 1 output instead of 3 outputs? (e.g. motenc.0.out-08 for all of them) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with NCnet Lite.... | gearsoup | General CNC (Mill and Lathe) Control Software (NC) | 4 | 06-24-2011 12:29 PM |
| Need Help!- Problem connecting spindle inverter to brakeout board C11G | 6bx | General Electronics Discussion | 21 | 02-23-2011 03:09 PM |
| problem with ram board | diegobertoli | Fanuc | 0 | 01-30-2009 02:11 PM |
| Problem with Sieg spindle board | jfmichel | Syil Products | 3 | 02-23-2007 03:11 PM |
| I/O board problem | squarewave | CamSoft Products | 16 | 10-28-2004 11:00 PM |