Re: Opencockpits USB servo card
Bill
You say the servo card is not responding. To what? is the pitch function ok but the roll is not? Have you tried iocpconsole and the log function to see what is or is not happening - eg is the resultant value of L1 sent to the servo within its movement range?
Regards
David
Re: Opencockpits USB servo card
Hi David,
Nothing was working. Found the problem by comparing the original pitch file to my new file. I had put in the lines;
Var 0001, Link IOCARD_SERVO, Output 1, PosL 1, PosC 511, PosR 1023, Type 1 // Pitch
Var 0002, Link IOCARD_SERVO, Output 2, PosL 1, PosC 511, PosR 1023, Type 1 // Bank
It should have been:
Var 0001, Link USB_SERVOS, Output 1, PosL 1, PosC 511, PosR 1023, Type 1 // Pitch
Var 0002, Link USB_SERVOS, Output 2, PosL 1, PosC 511, PosR 1023, Type 1 // Bank
Sure wish there was a good manual for this stuff.
Bill
Re: Opencockpits USB servo card
Quote:
Originally Posted by
737NUT
Thanks thats a handy link that will help a lot.
Bill
Re: Opencockpits USB servo card
Hi Rockeyes,yeah ive just sorted that out myself by comparing the data scricpt and realised the difference,what a 'wally' for not seeing that!!
Re: Opencockpits USB servo card
Who said the Scotts (Badbill65) haven't got a sense of humour:lol:.
I took my eye off the ball as to speak and just burnt out a servo:-(
The board is OK but let that be a warning to all the new guys who might be reading this. WATCH FOR SERVO STALL !!!!!!
Re: Opencockpits USB servo card
Servo stall!! - tell me! - been there got the T shirt:)
Well you have troubleshot your first programme. Tell me what SIOC manuals/guides you have managed to get and I will send you any extra ones that I have
Regards
David
Re: Opencockpits USB servo card
That’s a kind offer.
I’m using:
1,OPENCOCKPITS IOCcard USBSERVOS INSTALLATION AND USER’S MANUAL V1
2, IOCards Step by step Part2:SIOC language V?
Bill
Re: Opencockpits USB servo card
Quote:
Originally Posted by
Rockeyes
Who said the Scotts (Badbill65) haven't got a sense of humour:lol:.
I took my eye off the ball as to speak and just burnt out a servo:-(
The board is OK but let that be a warning to all the new guys who might be reading this. WATCH FOR SERVO STALL !!!!!!
Thats why you must set-up (your) servo in (your) installation, by setting the left, center, and right after determining these by using the console to manually enter the steps to determine the beginning, middle, and end positions of your servo. All are different even with-in brands!.
Re: Opencockpits USB servo card
Bill
Check your home email account
Regards
David
Re: Opencockpits USB servo card
I apologise for the poor quality, but thought I should show a result of this post.
Got lighting to sort out and some software tweeking still todo.
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/HKkS6yjA1tk&hl=en_GB&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/HKkS6yjA1tk&hl=en_GB&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>