Servo Jog PNCCONF Open loop test

More
10 years 7 months ago #71469 by marsheng
I did post this earlier in Setup but I think it should be here.

I'm running MESA 7I48 and servo drives and motors. The encoder is on the back of the motor. If I turn the motor, CC or CCW by hand, I get the axis value incrementing on the DRO. When using the test in the config program and stepping the motor, I get a nice smooth rotation, around 3 rpm in the CCW direction, however I get about 300 rpm in the CW direction.

I have put a meter on the input to the Servo card and this is what I have.
CW a pulse around 0.5 volt The hm2_5i20_0_encoder.00.position increments by 2 units
CCW around 5 volt. The hm2_5i20_0_encoder.00.position increments by 20 units

Not sure where to go from here ?

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

More
10 years 7 months ago #71476 by cmorley
Is this a step and direction drive or analog servo?
7i48...I guess analog servo.

Can you try the using linuxcnc rather then the test...servo test is fairly new.
And then please post your config files....could be a scaling problem.

Chris M

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

More
10 years 7 months ago #71611 by marsheng
No eBay APP ID and/or Cert ID defined in Kunena configurationI tried a second motor and servo and have the same issue.
I have attached the files.

I'm using MCG inc DMC 6D drives set to voltage mode.
See

I have to get this going. I see from my profile that I joined 5 years ago and still don't have a machine up and running. Hmm.

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

More
10 years 7 months ago #71679 by andypugh
I am rather confused about your talk of "pulses" and "steps". 2 counts for 0.5V and 20 counts for 5V is at least consistent.

The HAL looks OK, but the PID gains and suchlike clearly need some tuning.
Also, if you are using FF1 then you probably want to connect the velocity feedback to the pid.N.feedback-deriv pins.

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

More
10 years 7 months ago #71695 by marsheng
Hi Andy

Thanks for the reply. The settings are the default from a new installation of 2.7.
I have not changed them (except X where P=1) . I assume that they would be at least a starting point.

The P=50 is quite strange as from experience P is normally around 1-5

Does anything in the setup explain why the + jog works and the - jog runs away ?

Thanks Wallace.

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

More
10 years 7 months ago #71696 by PCW
Wrong PWM mode for a 7I48 can behave this way

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

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