Mesa 5i25 7i76 additional steps after fast movement.

More
7 years 10 months ago #122110 by myankov
Hello

I am in initial stage of setting this Mesa combo. In PnCConf i set the speed to 1500 mm/m . But after i finish PnCConf and start axis max speed is 60 mm/m. I go in .ini and set the speed higher 1200 mm/m just to test.
Here is the bigger problem i have. After fast movement (max speed) i stop pressing the button, but the motor continues to make steps see video :


I use Hp pc with Intel processor.I have stooped everything in BIOS power management, virtualization ect. Both servo thread and base thread are between 20000 and 25000. Closed loop steppers with ma860h- 1600 micro steps.

Do i need faster PC or i am not making correct setting in PnCConf

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
7 years 10 months ago #122174 by PCW
In your HAL file, comment out all the

setp pid.N.maxerror .0005

statements
and all the

net N-vel-cmd => pid.N.command-deriv

statements

(where N is x,y,z)

Please Log in to join the conversation.

More
7 years 10 months ago #122414 by myankov
Ok this worked. Thank you .
But why i had to comment that ?

Please Log in to join the conversation.

More
7 years 10 months ago #122422 by PCW
The maxerror = .0005 works for inches but is way too small for metric machines and does not allow the PID to correct for things like timebase differences between the host computer and the FPGA card. Because of this, its better to disable the PID correction bounding (maxerror defaults to 0 = no bounding) or to set it to say .01 on metric machines.

Also you should set P to 1000 at a 1 KHz servo thread

Please Log in to join the conversation.

Time to create page: 0.126 seconds
Powered by Kunena Forum