unable to adjust servo spindle speed

More
13 Jun 2024 01:44 #302919 by jg00163206
Good evening everyone. i recently got my servo spindle en.bergerda.com/filedown.php?id=49 on my mill so i can control it through linuxcnc. the issue im having; i can only turn the spindle on and off in axis. no speed or reverse adjustment in linuxcnc. the only way i can adjust the speed is through pn33 on the drive. i have the drive setup according to the internal speed run configuration in the drive manual. does anyone have any ideas on how i can configure this drive? as usual, you guys are awesome, and thanks in advance.

Please Log in or Create an account to join the conversation.

More
13 Jun 2024 02:21 #302920 by PCW
How is LinuxCNC's spindle speed command communicated to the drive?
(analog, step rate, Modbus etc)

Please Log in or Create an account to join the conversation.

More
14 Jun 2024 03:26 #302984 by jg00163206
step rate

Please Log in or Create an account to join the conversation.

More
14 Jun 2024 12:42 #303005 by PCW
What control hardware are you using?

Basically for a step/dir controlled spindle,
the step generator is set to velocity mode
and the velocity command is the requested
spindle speed and the step generator scale
is the steps per turn.

Can you post your current hal and ini files?
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

More
16 Jun 2024 23:05 #303137 by jg00163206
How would you control it if it was yours. I have a mesa 7i96s for control hardware. I'm open to suggestions on what method of control to use. Furthermore, I'm not familiar with the other methods. I'm not familiar with step rate method either. At this point, I'm just kind of flying blind. Is there any reading on the different methods I could read? I'm not afraid to get my hand dirty to do the work myself, but I get lost in the mountains of information available on this subject. Plus, the manual for the servo I bought is translated from Mandarin so it takes many times of reading it to understand as I am not familiar with rhetoric. And I still don't completely understand it. It comes slowly the more I play with it. en.bergerda.com/filedown.php?id=49 here is the link to that. As always, help is greatly appreciated.

Please Log in or Create an account to join the conversation.

More
17 Jun 2024 04:23 #303146 by PCW
You could either use analog or step/dir
pncconf knows how to setup either mode.

Analog has the advantage that its electrically isolated
but would require and external 10V supply
(most VFDs supply this but servo drives typically do not)
The following user(s) said Thank You: jg00163206

Please Log in or Create an account to join the conversation.

More
18 Jun 2024 14:17 #303265 by jg00163206
what do i need to do to run the open loop test in pncconf? it says i need to set an encoder signal and resolver. im not sure what that means. would 12vdc be too much for the analog voltage signal? i have a 12vdc psu in that cabinet for other accessories. should i reduce it down to ten or just run is @12? and then what? connect the ch6 of the analog servo output to a mesa 7i96s output?

Please Log in or Create an account to join the conversation.

More
18 Jun 2024 16:06 #303280 by PCW
I would not worry about the open loop test
and just test in LinuxCNC.

You only need an encoder if you are doing rigid
tapping or threading.

I dont see maximum input ratings on the analog input
but 12V is probably OK for a 10V input (the output would
never be set to 12V in normal operation if you set the
scaling and maximum output correctly)
The following user(s) said Thank You: jg00163206

Please Log in or Create an account to join the conversation.

More
22 Jun 2024 21:16 #303568 by jg00163206
do you have any resources for scaling and maximum output?

Please Log in or Create an account to join the conversation.

More
23 Jun 2024 00:40 #303579 by PCW
Take a look at the ini file spindle section,
MAX_OUTPUT and OUTPUT_SCALE parameters
The following user(s) said Thank You: jg00163206

Please Log in or Create an account to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum