- Posts: 19306
- Thank you received: 0
Spindle speed scaling
7 years 7 months ago #128501
by andypugh
Replied by andypugh on topic Spindle speed scaling
There does seem to be some invalid assuming going on in the gs2 driver:
I think that check for haldata->motor_RPM > 5000 is spurious and is what you would need to change.
Then you should be able to set the nameplate-RPM to the correct number.
It doesn't seem to be enforcing a max limit on Motor Hz.
Code:
if (haldata->motor_hz<10)
haldata->motor_hz = 60;
if ((haldata->motor_RPM < 600) || (haldata->motor_RPM > 5000))
haldata->motor_RPM = 1800;
hzcalc = haldata->motor_hz/haldata->motor_RPM;
retval = modbus_write_register(
mb_ctx,
slavedata->write_reg_start,
abs((int)(*(haldata->speed_command)*hzcalc*10))
);
I think that check for haldata->motor_RPM > 5000 is spurious and is what you would need to change.
Then you should be able to set the nameplate-RPM to the correct number.
It doesn't seem to be enforcing a max limit on Motor Hz.
Please Log in to join the conversation.
7 years 7 months ago #128511
by thadwald
Correct; It doesn’t limit the speed at all. All this seems to do is set up the number of poles on the motor
Replied by thadwald on topic Spindle speed scaling
andypugh wrote: I think that check for haldata->motor_RPM > 5000 is spurious and is what you would need to change.
Then you should be able to set the nameplate-RPM to the correct number.
It doesn't seem to be enforcing a max limit on Motor Hz.
Correct; It doesn’t limit the speed at all. All this seems to do is set up the number of poles on the motor
Please Log in to join the conversation.
Time to create page: 0.031 seconds
