SSI absolute encoders and analog servos

More
14 Nov 2016 16:36 #82795 by PCW
what is uname -a

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

More
14 Nov 2016 17:11 #82798 by terkaa
Common linux command to check kernel type/version?

linux.die.net/man/1/uname


Tero

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

More
14 Nov 2016 17:16 #82799 by PCW
I meant what was the response to
uname -a

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

More
14 Nov 2016 20:39 #82810 by terkaa
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

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

More
15 Nov 2016 00:35 - 15 Nov 2016 00:49 #82819 by PCW
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 )
Last edit: 15 Nov 2016 00:49 by PCW.
The following user(s) said Thank You: terkaa

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

More
15 Nov 2016 06:40 #82823 by terkaa
This was it. Thank you very much for help and patience with this problem.


Tero

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

More
15 Nov 2016 16:03 - 15 Nov 2016 16:15 #82835 by PCW
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
Last edit: 15 Nov 2016 16:15 by PCW.

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

More
15 Jan 2017 20:16 #85845 by tommylight
Terkaa, did you mange to make the encoders work?

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

More
16 Jan 2017 05:21 #85875 by terkaa
Hi,

Yes machine has been in use for few months now. Works 100% ok.

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

More
17 Jan 2017 02:07 #85885 by tommylight
Would you mind sharing config files, as it would save me a lot of time, and i am badly pressed for time ( it is 3:01AM here). I already have the hal and ini you shared here, but that uses simulated stuff, i just need the SSI part for reading and feedback. Never used them, but i learned a lot from this thread and other resources, so thank you very much for sharing.
Tomorrow (well today already ) i am connecting one encoder and see what happens.
I have a similar setup to yours, namely 6i25/7i77/7i74/7i70/7i71 and a revolving tool changer, and two X axis, one 6450mm long and one 400mm.
Plenty of fun!
Regards,
Tom

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

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