Fehlmann Picomax 100 Retrofit

More
3 years 2 months ago #277893 by PCW
Replied by PCW on topic Fehlemann Picomax 100 Retrofit
Your PWM setup is not correct for the 7I97, these are the correct settings:

# ---PWM Generator signals/setup---
setp   hm2_7i97.0.pwmgen.00.output-type 1 #PWM pin0
setp   hm2_7i97.0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0

 

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

More
3 years 2 months ago #277938 by anfänger
Thanks I‘ll give it a try.
Made this Hal a while ago, and now not sure if I modified my lathe file or used another base to start.

Scale is not finally set, cause I don’t know it yet, after I switched from glasscales to encoder feedback.

But wrong direction of scales usually results in a runaway axis…

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

More
3 years 2 months ago #278465 by anfänger
I measured all the axis and corrected all input and output scale parameters, so they should be right.
and PCW was right... All my other hal files use the same settings he mentioned, so I adjusted them.
but Ist didn't fix my problem in total.
It's still oscillating, but I can jog now.

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

More
3 years 2 months ago #278472 by tommylight

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

More
3 years 2 months ago #278483 by anfänger
Hi, I know this tuning tutorial and used it before, my problem is.
My servo system is oscillating right away.
Even with 0.00001 Deadband and P at 10.

When using a potentiometer for as analog input the servo runs smooth ans stable.

Sot it something that comes in interaction with linuxcnc.
Maybe the PID from the drive and linuxcnc don't work well together.

The oscillation range is +- 40 increments,
but there is something else odd,
the DRO is running at a different scale than the encoder position.

 

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

More
3 years 2 months ago #278485 by PCW
Replied by PCW on topic Fehlemann Picomax 100 Retrofit
Are the encoders rotary or linear encoders?
Is the analog out scale set for full speed (in machine units per second) at +10V?
(if not, the units for FF1 and P are unknown)

I would get the encoder and analog scaling right,
FF1 right and then worry about fine tuning

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

Time to create page: 0.199 seconds
Powered by Kunena Forum