SSI absolute encoders and analog servos

More
9 years 11 months ago #82795 by PCW
what is uname -a

Please Log in to join the conversation.

More
9 years 11 months ago #82798 by terkaa
Common linux command to check kernel type/version?

linux.die.net/man/1/uname


Tero

Please Log in to join the conversation.

More
9 years 11 months ago #82799 by PCW
I meant what was the response to
uname -a

Please Log in to join the conversation.

More
9 years 11 months ago #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 to join the conversation.

More
9 years 11 months ago #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 )

Please Log in to join the conversation.

More
9 years 11 months ago #82823 by terkaa
This was it. Thank you very much for help and patience with this problem.


Tero

Please Log in to join the conversation.

More
9 years 11 months ago #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

Please Log in to join the conversation.

More
9 years 9 months ago #85845 by tommylight
Terkaa, did you mange to make the encoders work?

Please Log in to join the conversation.

More
9 years 9 months ago #85875 by terkaa
Hi,

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

Please Log in to join the conversation.

More
9 years 9 months ago #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 to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum