Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
8 years 1 month ago #117184 by Hakan
The comp thinks you need gear 1, and you have gear 1 engaged = OK.
The speed table says you can use speed 1 between 0 and 80 (spindle) rpm
and that the motor rpm will be between 0 and 2500 rpm in that range.

There is probably something wrong in the table. What did you expect the
motor output to be - 640? Can gear 1 go as high as 310 (spindle) rpm.
What is really the range for gear 1?

The vfd Hz should be easy to fix, let's work on the comp's output for the time being.

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

More
8 years 1 month ago - 8 years 1 month ago #117185 by tecno
Comp is OK as regard what gear I need.
But range of gear 1 should be 80 - 125rpm not 0-80 as I have no use for slower than 80 and that is already pushing the VFD output loading the motor too much.

S80 is gear1 and motor in lowspeed (max 1450rpm on motorshaft geared down via belt drive to max speed of 1250rpm in lowspeed).
Motor should spin about 1077 rpm = 43Hz

I have a small error in ratio numbers as I´ve calculated from max 1000rpm as they should have been calculated from 1250rpm.

But still there is something wrong as the motor spins only at 1.84Hz
Last edit: 8 years 1 month ago by tecno. Reason: added text

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

More
8 years 1 month ago #117187 by tecno
As a side note, homed all my axis and suddenly X is out of order.

Power on but not stiff as I can rotate shaft by hand = no error message on driver.

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

More
8 years 1 month ago - 8 years 1 month ago #117193 by Hakan
You can change this line
Code:
motor_speed_out = speeds[13] * (spindle_speed_in / speeds[i]);
to
Code:
motor_speed_out = speeds[13] * (spindle_speed_in / speeds[i+1]);

That should give motor-out-speed of 1600 because it is based on max-rpm 2500.
As far as I can see, there is no support in the comp for using different max rpm.

You *can* do like this. But it is never good to interfere in someone's line of thought so if
Andy has a better idea then go for that.
1. Add a variable "double motor_max_speed;" where the other variables are declared.
2. Just above the motor_speed_out line
Code:
if (motor_high) motor_max_speed = 2500; else motor_max_speed = 1450; motor_speed_out = motor_max_speed * (spindle_speed_in / speeds[i+1]);
This should give about 928 rpm on motor. Assuming 125 spindle rpm at 1450 motor rpm.

Halcompile and all that to test again.

For the vfd speed, does it need rpm or rps (minutes vs seconds)?
Last edit: 8 years 1 month ago by Hakan.

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

More
8 years 1 month ago - 8 years 1 month ago #117194 by tecno

Hakan wrote: You can change this line

Code:
motor_speed_out = speeds[13] * (spindle_speed_in / speeds[i]);
to
Code:
motor_speed_out = speeds[13] * (spindle_speed_in / speeds[i+1]);

That should give motor-out-speed of 1600 because it is based on max-rpm 2500.
As far as I can see, there is no support in the comp for using different max rpm.

You *can* do like this. But it is never good to interfere in someone's line of thought so if
Andy has a better idea then go for that.
1. Add a variable "double motor_max_speed;" where the other variables are declared.
2. Just above the motor_speed_out line
Code:
if (motor_high) motor_max_speed = 2500; else motor_max_speed = 1450; motor_speed_out = motor_max_speed * (spindle_speed_in / speeds[i+1]);
This should give about 928 rpm on motor. Assuming 125 spindle rpm at 1450 motor rpm.

Halcompile and all that to test again.

For the vfd speed, does it need rpm or rps (minutes vs seconds)?

Code:
omponent GB_2speed; pin in bit spindle-enable-in; pin out bit spindle-enable-out; pin in float spindle-speed-in; pin out float motor-speed-out; pin in bit gear-high; [b]pin in bit motor-high;[/b] <<<<<<<<< this will activate output 10 that is Mootor HighSpeed pin in bit gear-A; pin in bit gear-B; pin in bit gear-C; pin in bit gear-D; pin in bit gear-E; pin out unsigned gear-required; pin out bit message-##[14];
Last edit: 8 years 1 month ago by tecno.

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

More
8 years 1 month ago #117195 by Hakan
I know, but there is no code to set different max speeds when the pin is high or low.
I added that code.

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

Moderators: cmorley
Time to create page: 0.081 seconds
Powered by Kunena Forum