SSI absolute encoders and analog servos

More
25 Aug 2016 16:41 #79435 by terkaa
Adding "pcie_aspm=off" to grub may take care of this. I will try it tomorrow. I will try to see what I can get out of halscope. Any detailed info of what I should check with scope?

Tero

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

More
25 Aug 2016 18:53 #79441 by PCW
Large latencies or problems with the time of day clock can cause loss of sync (that why I worry about the NMI)
I'll setup a copy of your config here and run it couple of days to see if I see any issues since I have not tested the SSI stuff
more recently than around 2.6

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

More
25 Aug 2016 19:17 #79442 by terkaa
Ok, I will run Memory tests and if not I will replace PC with another one to see if it is hardware based.

Tero

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

More
26 Aug 2016 07:51 #79459 by terkaa
Hmmm after modifying config to :

loadrt hm2_pci config="ssi_chan_1=yencoder%32e

#SSI stuff
setp hm2_5i25.0.ssi.01.frequency-khz 400
setp hm2_5i25.0.ssi.01.timer-number 2
setp hm2_5i25.0.dpll.02.timer-us -150
setp hm2_5i25.0.ssi.01.yencoder.scale 10000

This warning is gone... I moved this to ssi_channel 1 and also used timer no 2.

Tero

Tero

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

More
26 Aug 2016 14:08 #79495 by PCW
Its extremely unlikely that the SSI warning is related to SSI or timer channels
Its probably more likely a random hardware or PC latency issue of some kind

(I have been running ssi channel 0 and timer 1 on my test machine for about a day now -- no issues)

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

More
26 Aug 2016 15:13 #79501 by terkaa
Might it be an issue with 5i25 card itself? I am asking because it just hit me that this is the card you sent me free of charge(test card of some sort) Because you were temporary out of stock. I forgot to replace it with brand new one....


Tero

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

More
26 Aug 2016 22:56 #79521 by PCW
Its unlikely its related to the 5I25 (a bad card is much more likely to have a bad I/O pin or not be recognized, this is more likely a system issue)

Have you tried looking at the DPLL phase error? Sometimes the PCI clock is far enough off that the DPLL base frequency
needs to be tweaked

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

More
25 Oct 2016 12:10 #82034 by terkaa
Ok,

Here is phase error:

File Attachment:


Seems weird to me... Same pattern than I have with axis. f-error

forum.linuxcnc.org/38-general-linuxcnc-q...id-tuning-once-again

Tero

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

More
25 Oct 2016 15:37 - 25 Oct 2016 15:48 #82039 by PCW
Hmm... No lock at all so cannot possible work, can you post your hal and ini files here.

Also what is the scale of the horizontal in that halscope plot? it looks like the
DPLL base frequency has been set completely wrong somehow
Last edit: 25 Oct 2016 15:48 by PCW.

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

More
25 Oct 2016 15:46 #82040 by terkaa
I will in few moments. Could this be related:

forum.linuxcnc.org/49-basic-configuratio...wsum-switch-bouncing

Tero

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

Moderators: PCWjmelson
Time to create page: 0.108 seconds
Powered by Kunena Forum