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

More
8 years 1 month ago #117585 by tecno
At last I am getting somewhere but not quite there.

1. I have never used the manual gearbox and obviously I have misread the gearbox label ;)
HighGear must be set net high-gear-signal => GB-3speed.0.gear-high <= hm2_7i76e.0.7i76.0.0.input-14-not

2. scaling to be at setp hm2_7i76e.0.7i76.0.0.spinout-scalemax 2000

3. Gear speeds
E
S255 > 257 /47.3Hz
E+HG
S325 > 315 /46.2Hz

D
S430 > 429 /47.5Hz
D+HG
S540 > 525 /46.2Hz

C
S715 > 714 /47.4Hz
C+HG
S900 > 876 /46.3Hz

B
S1190 > NOTHING
B+HG
S1500 > 1444 /45.89Hz

A
S2000 > 1949 /47.45Hz
A+HG
S2500 > NOTHING

File Attachment:

File Name: GB_3speed_...5-2.comp
File Size:1.24 KB

File Attachment:

File Name: GB_3speed_...9-15.hal
File Size:18.78 KB


INI still max 2500 rpm

So where start to search for why B and A+HG does not work, any hints on where to look?

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

More
8 years 1 month ago #117594 by tecno
Found another slam creeper

B
S1190 > NOTHING (was 0x48)

int reqd_gear[12] = {0x0, 0x01, 0x21, 0x02, 0x22, 0x04, 0x24, 0x08, 0x28, 0x10, 0x30, 0x0};


So A+HG is the last problem, assume that something is not set correctly in hal or ini

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

More
8 years 1 month ago #117599 by Hakan
Haha I am sure slam creeper does not translate into something understandable :)

Guess you need to work with halshow for all the pins to figure out the last one.

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

More
8 years 1 month ago #117600 by tecno
Good news is that the comp is working alright, tested to run VFD with fixed frequency and A+HG works also so all numbers are OK for gear settings.

So my conclusion is that there must be a parameter setting in the VFD that goes in overload or something like that when selecting A + HG 2001-2500 rpm.

www.vfds.com/manuals/mitsubishi/mitsubishi-a500-manual.pdf
Reading the manual is creepy for me = so many parameters and to see what is the ones to be adjusted.

So in short I´m a happy camper with the comp now. Small tweaks needs to be done.

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

More
8 years 1 month ago - 8 years 1 month ago #117601 by tecno
Oops to fast to rule out the comp.



Gear required 48 is there but nothing on output so there must be something else wrong in comp.
Code:
FUNCTION(_){ int actual, message, motor_max_speed; int i; // These need to be edited to suit the gearbox int speeds[12] = {0, 255, 325, 430, 540, 715, 900, 1190, 1500, 2000, 2500, 0x1P30}; int reqd_gear[12] = {0x0, 0x01, 0x21, 0x02, 0x22, 0x04, 0x24, 0x08, 0x28, 0x10, 0x30, 0x0}; if (spindle_speed_in == 0) return; actual = (gear_high * 0x20 + gear_A * 0x10 + gear_B * 0x08 + gear_C * 0x04 + gear_D * 0x02 + gear_E * 0x01); for (i = 0; spindle_speed_in > speeds[i] && i < 10; i++); gear_required = reqd_gear[i]; if (gear_required == actual && gear_required != 0x0){ // We are in the right gear spindle_enable_out = spindle_enable_in; motor_speed_out = speeds[10] * (spindle_speed_in / speeds[i+1]); message = 0; } else { int j; motor_speed_out = 0; spindle_enable_out = 0; for (j = 0; j < 10; j++) { message(j) = 0; } message(i) = 1; } }
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 #117702 by tecno
I have now solved the puzzle and the comp works :)

Error was on this line
Code:
motor_speed_out = speeds[10] * (spindle_speed_in / speeds[i+1]); correct line motor_speed_out = speeds[10] * (spindle_speed_in / speeds[i]);
setp hm2_7i76e.0.7i76.0.0.spinout-scalemax adjusted accordingly and now set to 2585 and it is pretty much spot on at 500rpm.
Slightly nonlinear upwards but within acceptable tolerance.

Thanks for all the help to get this part of my milling machine project working.

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

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