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

More
9 years 2 months ago #98080 by tecno

tecno wrote: G'day Rod,

I have no microstepping settings on these AC servodrives not that I can find anyways. Chinese Lichuan B2.
www.europages.se/SHENZHEN-XINLICHUAN-ELE...uction%20Book~2.html

The documentation is very hard to read as it is probably google translated.

Will try to do some more testing to get rid of error message and reach acceptable speed.
These motors/drivers was working OK with Mach3/Kflop where I got very high speeds = just too much ;)
Only difference what I can see is that now I use as in picture instead of only step/dir for input signals to driver.

Attachment not found


This is what I have set on the drivers

Page 23 Pr1.01 is set to 2 (I believe = will confirm)
Page 24 Pr1.22 is set to 0

Page 41 5.2.1 External position mode (3 pages) These are the pages I do not any clear picture of - no timing figures.

5mm pitch on ballscrews, belt reduction 2:1
2500rpm max and 2500ppr encoders.

Please Log in to join the conversation.

More
9 years 2 months ago #98082 by Todd Zuercher

tecno wrote: A1
OK, how is this done (step by step)? Is it not like spindle encoder setting in INI?


It takes one line of hal code per encoder to tie it to the setting in the INI file.
This is what is in my hal file on a machine using a 5i25+7i85S combo.
setp hm2_5i25.0.encoder.00.scale [AXIS_0]ENCODER_SCALE
Yours should be something simular, you just need to start Linuxcnc and look up what the parameter name should be.

Please Log in to join the conversation.

More
9 years 2 months ago #98083 by tecno
OK, thanks for clarification Todd.

I did read that the BIT file had to be fixed and Mesaflash etc...

Will have a look later on today or tomorrow, have to go away.

Please Log in to join the conversation.

More
9 years 2 months ago #98089 by Todd Zuercher

tecno wrote:

tecno wrote: G'day Rod,

I have no microstepping settings on these AC servodrives not that I can find anyways. Chinese Lichuan B2.
www.europages.se/SHENZHEN-XINLICHUAN-ELE...uction%20Book~2.html

The documentation is very hard to read as it is probably google translated.

Will try to do some more testing to get rid of error message and reach acceptable speed.
These motors/drivers was working OK with Mach3/Kflop where I got very high speeds = just too much ;)
Only difference what I can see is that now I use as in picture instead of only step/dir for input signals to driver.

Attachment not found


This is what I have set on the drivers

Page 23 Pr1.01 is set to 2 (I believe = will confirm)
Page 24 Pr1.22 is set to 0

Page 41 5.2.1 External position mode (3 pages) These are the pages I do not any clear picture of - no timing figures.

5mm pitch on ballscrews, belt reduction 2:1
2500rpm max and 2500ppr encoders.


"Microstepping" is really a misnomer when referring to the distance moved by one step plus sent to a position mode servo. Usually the default amount is the length of one encoder count. The manual you linked to refers to it as "Electronic Gear Ratio", and is covered on pg 42-43.

Please Log in to join the conversation.

More
9 years 2 months ago #98090 by tecno
And it is here I get confused as set to 4000 X-axis moves 100mm when commanded G0X100.

Is so that I need to set gear ratio to 2:1 and then have 2000 in scale? 4:1 = 1000 etc?
So this would result in no errors and higher speed maybe?

Difficult with CHINGLISH ;) when I have troubles with English technical manuals.

Please Log in to join the conversation.

More
9 years 2 months ago #98094 by Todd Zuercher
Since step generation speed isn't an issue, I would suggest leaving the "Electronic Gear Ratio" at 1:1 so that one step is equal to one encoder pulse (quadrature). You have 2500 (X4 for quad) ppr encoders and 2:1 belt reduction and 5mm screws. I think your encoder scale should be 4000, and I would set the step scale the same. If you were more limited in the rate you could generate steps (software stepping for example) you could set the "Electronic Gear Ratio" to make it move farther/step at the cost of reduced resolution.

Please Log in to join the conversation.

More
9 years 2 months ago #98095 by tecno
This is what I calculated and have step scale set at 4000.

There must be something wrong as I get the error messages, but what?

forum.linuxcnc.org/39-pncconf/33069-help...oing?start=230#98045

Please Log in to join the conversation.

More
9 years 2 months ago #98096 by PCW
If the scale is correct, are your maximum velocities reasonable?

Have you read the LInuxCNC ini file documentation?

Please Log in to join the conversation.

More
9 years 2 months ago #98099 by Todd Zuercher
4000 steps/mm with a 1000ns step length and 1000ns step space, would have a max theoretical velocity of 125mm/sec (if I calculated it right.)

Please Log in to join the conversation.

More
9 years 2 months ago #98101 by tecno
So I ´m back from a hunting meeting.

PCW
No I am not satisfied with velocity, will look at settings in the drivers tomorrow. Maybe I have forgotten to set drivers to quad.

Todd
I am nowhere near those figures

Still the big Q is why do I get those error messages?

Please Log in to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum