Choose between two PC's, both have issues

More
5 years 7 months ago #201251 by andypugh
I ran a PC with 50k latency for quite a long time. Though eventually I ended up putting a Mesa 7i43 in the box. This kept all the interfaces the same but gave much better encoder counting. The improvement in step timing was less obvious as software stepping could max out the motors.

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

More
5 years 7 months ago #202135 by seuchato

johanneshk wrote: Here's the result for the latency test script for computer 1 after putting in the Quadro 4000:

Code:
36005 secs servo min: -55.700 uS max: 55.100 uS sdev: 1.600 uS terminated latency-test ... ........... Closing browser firefox with WID of 27263366 terminated glxgears ... Done. .......... ================================================================================ Swap useage: prerun: 420, running: 420 ================================================================================ CPU core temperatures:

Seems like I'm on the right track now (?).

Kindly post the complete .hw file. Your excerpt ain't enough :-)
greez
chris

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

More
5 years 5 months ago #208726 by johanneshk
Hello,

I've successfully cut a few things on my CNC. Very happy with it and Linuxcnc. Now I want to enable the Watchdog/charge pump on my breakout board .

The problem is: Something's not working, the CNC doesn't move and the LED indicating 'active charge pump signal' on the board isn't on. The board requires a charge pump frequency of at least 10kHz. If configured the charge pump on pin 16.

I set 'Base Period Maximum Jitter' to 40000ns which gives me a max step rate of 20kHz. This should be enough to create a charge pump frequency of exactly 10kHz or am I misunderstanding? I've created the configuration with the stepconf wizard (attached).

I've read elsewhere to remove 'net estop-out charge-pump.enable iocontrol.0.user-enable-out' from the HAL, but that didn't work for me.

Any ideas?

Thanks!

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

More
5 years 5 months ago #208732 by PCW
From your .ini file:

Code:
[EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 62500 SERVO_PERIOD = 1000000

You would need a base period of of 50000 ns to get a 10 KHz charge
pump signal.

The current 62500 ns would give you 8 KHz

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

More
5 years 5 months ago #208804 by andypugh
Stepconf adds a "bit extra for luck" to your base thread jitter number. You can edit the INI by hand if you need to, as PCW has suggested.

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

Time to create page: 0.248 seconds
Powered by Kunena Forum