SSI absolute encoders and analog servos
25 Aug 2016 16:41 #79435
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
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
Tero
Please Log in or Create an account to join the conversation.
25 Aug 2016 18:53 #79441
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
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
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.
25 Aug 2016 19:17 #79442
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Ok, I will run Memory tests and if not I will replace PC with another one to see if it is hardware based.
Tero
Tero
Please Log in or Create an account to join the conversation.
26 Aug 2016 07:51 #79459
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
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
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.
26 Aug 2016 14:08 #79495
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
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)
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.
26 Aug 2016 15:13 #79501
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
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
Tero
Please Log in or Create an account to join the conversation.
26 Aug 2016 22:56 #79521
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
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
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.
25 Oct 2016 12:10 #82034
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Ok,
Here is phase error:
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
Here is phase error:
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.
25 Oct 2016 15:37 - 25 Oct 2016 15:48 #82039
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
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
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.
25 Oct 2016 15:46 #82040
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
I will in few moments. Could this be related:
forum.linuxcnc.org/49-basic-configuratio...wsum-switch-bouncing
Tero
forum.linuxcnc.org/49-basic-configuratio...wsum-switch-bouncing
Tero
Please Log in or Create an account to join the conversation.
Time to create page: 0.475 seconds