- Posts: 18115
- Thank you received: 5334
SSI absolute encoders and analog servos
- PCW
- Offline
- Moderator
-
Less
More
9 years 11 months ago #82799
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
I meant what was the response to
uname -a
uname -a
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
9 years 11 months ago #82810
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Oh LOL same head every day...
Cinci@Cinci:~$ uname -a
Linux Cinci 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
Tero
Cinci@Cinci:~$ uname -a
Linux Cinci 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
Tero
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
9 years 11 months ago - 9 years 11 months ago #82819
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
OK found the DPLL problem:
The DPLL timer value 2 is not updated until you write timer value 1
(and timer value 4 is not updated until you write timer value 3)
As a workaround, just use timer 1
or setp all the timers in order at the start
( I could not duplicate the error because I used timer 1 )
The DPLL timer value 2 is not updated until you write timer value 1
(and timer value 4 is not updated until you write timer value 3)
As a workaround, just use timer 1
or setp all the timers in order at the start
( I could not duplicate the error because I used timer 1 )
Last edit: 9 years 11 months ago by PCW.
The following user(s) said Thank You: terkaa
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
9 years 11 months ago #82823
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
This was it. Thank you very much for help and patience with this problem.
Tero
Tero
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
9 years 11 months ago - 9 years 11 months ago #82835
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
It will get fixed,
I never noticed because all of our test files either just used timer 1
or if multiple timers were used, all 4 timers were initialized, order is not even important
its just that if you never setp timer1 to some value initially you can never change timer 2
the same goes for timer 3 and 4, very weird bug
I never noticed because all of our test files either just used timer 1
or if multiple timers were used, all 4 timers were initialized, order is not even important
its just that if you never setp timer1 to some value initially you can never change timer 2
the same goes for timer 3 and 4, very weird bug
Last edit: 9 years 11 months ago by PCW.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
9 years 9 months ago #85845
by tommylight
Replied by tommylight on topic SSI absolute encoders and analog servos
Terkaa, did you mange to make the encoders work?
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.360 seconds