Time to setup my lathe with 7i76e

More
11 Dec 2017 20:33 #102934 by PCW
Do you get real time error messages from LinuxCNC?

I would check that all power management options are disabled in the BIOS
( disable Cstates > 1 any CPU speed switching or AMD cool an quiet options also )

If you have a Intel mac, disable IRQ coalescing with ethtool

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

More
11 Dec 2017 20:37 #102935 by tecno
www.jetwaycomputer.com/NC91.html



I do believe that this box is setup the same way as the one in my milling machine,
Above message popped up during running of the pawn.
Attachments:

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

More
11 Dec 2017 21:04 #102937 by PCW
Right so that means its is not meeting its (1 KHz ?) servo thread deadlines

If LinuxCNC works without error on an identical system I would suspect that the BIOS options or perhaps the
grub options are not the same. If nothing else works I would slow the servo thread down to say 500 Hz

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

More
11 Dec 2017 21:09 #102938 by tecno
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000

Is it here to change the numbers?

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

More
11 Dec 2017 21:21 #102939 by PCW
Yes for 500 Hz servo thread you would have:

SERVO_PERIOD = 2000000

If you have very bad Ethernet latency you may also need to change the DPLL settings so the
blah-blah-bla dpll.01.timer-us is set to -200 or so usec instead of the default -50 or -100

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

More
11 Dec 2017 21:32 #102940 by tecno
Hmmmm Ethernet.... Just realized that there is one big difference on these boxes as I wanted to have USB WiFi to work!

forum.linuxcnc.org/pathpilot/33493-relia...wifi?start=50#101431 and so on....

Maybe it is this that is the trouble, will play some more tomorrow and disable USB WiFi and see if that causes my problems. I can either use WiFi or ETH not both so I need to physically unplug the USB dongle.

I really appreciate your kind help here Peter!


Any hints as regards the VFD? Only M4 and fixed speed working!

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

More
11 Dec 2017 21:47 #102941 by PCW
WIFI can definitely be an issue for real time though It may be
soluble by running the servo thread slower..

( The disadvantage of running the servo thread slower is larger chord errors during acceleration
but this is not likely to be an issue until you get to quite high accelerations )

Not sure about the VFD, did you post your hal/ini files somewhere?

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

More
More
12 Dec 2017 12:53 #102990 by tecno
Did a test with following

net spindle-enable hm2_7i76e.0.7i76.0.0.spinena
net spindle-vel-cmd-rpm hm2_7i76e.0.7i76.0.0.spinout >>> from -rm-abs
net spindle-cw hm2_7i76e.0.7i76.0.0.spindir >>> from ccw

Only change is that correct button on screen for CW works but still spinning in reverse and fixed speed.

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

More
12 Dec 2017 14:40 #103001 by PCW
I would halmeter the spindle signals involved and simultaneously use a real meter on the 7I76E
spindle interface pins to figure out what's going on...
The following user(s) said Thank You: DanMN

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

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